Class DDBGetItemOp
java.lang.Object
io.nosqlbench.adapter.dynamodb.optypes.DynamoDBOp
io.nosqlbench.adapter.dynamodb.optypes.DDBGetItemOp
-
Field Summary
Fields inherited from class io.nosqlbench.adapter.dynamodb.optypes.DynamoDBOp
ddb -
Constructor Summary
ConstructorsConstructorDescriptionDDBGetItemOp(com.amazonaws.services.dynamodbv2.document.DynamoDB ddb, com.amazonaws.services.dynamodbv2.document.Table table, com.amazonaws.services.dynamodbv2.document.spec.GetItemSpec getItemSpec) -
Method Summary
Modifier and TypeMethodDescriptioncom.amazonaws.services.dynamodbv2.document.Itemapply(long value) Run an action for the given cycle.longProvide the result size for an operation.
-
Constructor Details
-
DDBGetItemOp
public DDBGetItemOp(com.amazonaws.services.dynamodbv2.document.DynamoDB ddb, com.amazonaws.services.dynamodbv2.document.Table table, com.amazonaws.services.dynamodbv2.document.spec.GetItemSpec getItemSpec)
-
-
Method Details
-
apply
public com.amazonaws.services.dynamodbv2.document.Item apply(long value) Description copied from interface:CycleOpRun an action for the given cycle.
-
getResultSize
public long getResultSize()Description copied from interface:OpResultSizeProvide the result size for an operation. If this value is less than 0, it is disregarded by default, since some operations don't make sense to have a result size, and a zero-value would skew the results for other operations.- Specified by:
getResultSizein interfaceOpResultSize
-