true up branch with main

This commit is contained in:
Jonathan Shook
2024-04-03 10:20:45 -05:00
parent 71c52cabb7
commit 13eb05bfe0
2 changed files with 2 additions and 2 deletions

View File

@@ -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),

View File

@@ -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);