Search in sources :

Example 1 with DDBQueryOp

use of io.nosqlbench.adapter.dynamodb.optypes.DDBQueryOp in project nosqlbench by nosqlbench.

the class DDBQueryOpDispenser method apply.

@Override
public DDBQueryOp apply(long cycle) {
    Table table = tableFunc.apply(cycle);
    QuerySpec queryspec = querySpecFunc.apply(cycle);
    return new DDBQueryOp(ddb, table, queryspec);
}
Also used : Table(com.amazonaws.services.dynamodbv2.document.Table) DDBQueryOp(io.nosqlbench.adapter.dynamodb.optypes.DDBQueryOp) QuerySpec(com.amazonaws.services.dynamodbv2.document.spec.QuerySpec)

Aggregations

Table (com.amazonaws.services.dynamodbv2.document.Table)1 QuerySpec (com.amazonaws.services.dynamodbv2.document.spec.QuerySpec)1 DDBQueryOp (io.nosqlbench.adapter.dynamodb.optypes.DDBQueryOp)1