public class ExecutionContext
extends java.lang.Object
PreExecutionHook
The CQL string representing the statement being executed is optional
and is not present for prepared statements. Contexts created for the
execution of regular (i.e. non-prepared) statements will always
contain a CQL string.Modifier and Type | Field and Description |
---|---|
ThriftClientState |
clientState |
com.google.common.base.Optional<java.lang.String> |
queryString |
java.util.List<java.nio.ByteBuffer> |
variables |
Constructor and Description |
---|
ExecutionContext(ThriftClientState clientState,
java.lang.String queryString,
java.util.List<java.nio.ByteBuffer> variables) |
public final ThriftClientState clientState
public final com.google.common.base.Optional<java.lang.String> queryString
public final java.util.List<java.nio.ByteBuffer> variables
public ExecutionContext(ThriftClientState clientState, java.lang.String queryString, java.util.List<java.nio.ByteBuffer> variables)
Copyright © 2015 The Apache Software Foundation