public class BatchExecutionContext
extends java.lang.Object
PreExecutionHook and
PostExecutionHook
The queryOrIdList field, provides a list of objects which
may be used to identify the individual statements in the batch.
Currently, these objects will be one of two types (and the list may
contain a mixture of the two). A String indicates the statement is
a regular (i.e. non-prepared) statement, and is in fact the CQL
string for the statement. An MD5Digest object indicates a prepared
statement & may be used to retrieve the corresponding CQLStatement
using QueryProcessor.getPrepared()| Modifier and Type | Field and Description |
|---|---|
java.util.List<java.lang.Object> |
queryOrIdList |
QueryState |
queryState |
java.util.List<java.util.List<java.nio.ByteBuffer>> |
variables |
| Constructor and Description |
|---|
BatchExecutionContext(QueryState queryState,
java.util.List<java.lang.Object> queryOrIdList,
java.util.List<java.util.List<java.nio.ByteBuffer>> variables) |
public final QueryState queryState
public final java.util.List<java.lang.Object> queryOrIdList
public final java.util.List<java.util.List<java.nio.ByteBuffer>> variables
public BatchExecutionContext(QueryState queryState, java.util.List<java.lang.Object> queryOrIdList, java.util.List<java.util.List<java.nio.ByteBuffer>> variables)
Copyright © 2014 The Apache Software Foundation