mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
true up branch with main
This commit is contained in:
@@ -83,7 +83,7 @@ public class CqlD4BatchStmtDispenser extends Cqld4BaseOpDispenser {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Cqld4CqlOp apply(long value) {
|
public Cqld4CqlOp getOp(long value) {
|
||||||
Statement bstmt = opfunc.apply(value);
|
Statement bstmt = opfunc.apply(value);
|
||||||
return new Cqld4CqlBatchStatement(
|
return new Cqld4CqlBatchStatement(
|
||||||
getSessionFunc().apply(value),
|
getSessionFunc().apply(value),
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ public class CqlD4BatchStmtMapper implements OpMapper<Cqld4CqlOp> {
|
|||||||
*/
|
*/
|
||||||
public OpDispenser<Cqld4CqlOp> apply(ParsedOp op) {
|
public OpDispenser<Cqld4CqlOp> apply(ParsedOp op) {
|
||||||
|
|
||||||
ParsedOp subop = op.getAsSubOp("op_template");
|
ParsedOp subop = op.getAsSubOp("op_template", ParsedOp.SubOpNaming.ParentAndSubKey);
|
||||||
int repeat = op.getStaticValue("repeat");
|
int repeat = op.getStaticValue("repeat");
|
||||||
OpMapper<Cqld4CqlOp> subopMapper = adapter.getOpMapper();
|
OpMapper<Cqld4CqlOp> subopMapper = adapter.getOpMapper();
|
||||||
OpDispenser<? extends Cqld4CqlOp> subopDispenser = subopMapper.apply(subop);
|
OpDispenser<? extends Cqld4CqlOp> subopDispenser = subopMapper.apply(subop);
|
||||||
|
|||||||
Reference in New Issue
Block a user