Class CQLD4PreparedStmtDiagnostics
java.lang.Object
io.nosqlbench.adapter.cqld4.diagnostics.CQLD4PreparedStmtDiagnostics
This should only be used when there is an exception thrown by some higher level logic.
The purpose of this class is to do a more thorough job of checking each step of binding
values to a prepared statement, and to provide useful feedback to the user
explaining more specifically what the problem was that caused the original error to be thrown.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.datastax.oss.driver.api.core.cql.BoundStatementbindStatement(com.datastax.oss.driver.api.core.cql.BoundStatement bound, com.datastax.oss.driver.api.core.CqlIdentifier colname, Object colval, com.datastax.oss.driver.api.core.type.DataType coltype) static Cqld4CqlPreparedStatementrebindWithDiagnostics(com.datastax.oss.driver.api.core.cql.PreparedStatement preparedStmt, LongFunction<Object[]> fieldsF, long cycle, Exception exception)
-
Constructor Details
-
CQLD4PreparedStmtDiagnostics
public CQLD4PreparedStmtDiagnostics()
-
-
Method Details
-
bindStatement
public static com.datastax.oss.driver.api.core.cql.BoundStatement bindStatement(com.datastax.oss.driver.api.core.cql.BoundStatement bound, com.datastax.oss.driver.api.core.CqlIdentifier colname, Object colval, com.datastax.oss.driver.api.core.type.DataType coltype) -
rebindWithDiagnostics
public static Cqld4CqlPreparedStatement rebindWithDiagnostics(com.datastax.oss.driver.api.core.cql.PreparedStatement preparedStmt, LongFunction<Object[]> fieldsF, long cycle, Exception exception)
-