public abstract class BatchQueryOptions
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static BatchQueryOptions |
DEFAULT |
protected QueryOptions |
wrapped |
Modifier | Constructor and Description |
---|---|
protected |
BatchQueryOptions(QueryOptions wrapped,
java.util.List<java.lang.Object> queryOrIdList) |
Modifier and Type | Method and Description |
---|---|
abstract QueryOptions |
forStatement(int i) |
ConsistencyLevel |
getConsistency() |
java.util.List<java.lang.Object> |
getQueryOrIdList() |
ConsistencyLevel |
getSerialConsistency() |
long |
getTimestamp(QueryState state) |
static BatchQueryOptions |
withoutPerStatementVariables(QueryOptions options) |
static BatchQueryOptions |
withPerStatementVariables(QueryOptions options,
java.util.List<java.util.List<java.nio.ByteBuffer>> variables,
java.util.List<java.lang.Object> queryOrIdList) |
public static BatchQueryOptions DEFAULT
protected final QueryOptions wrapped
protected BatchQueryOptions(QueryOptions wrapped, java.util.List<java.lang.Object> queryOrIdList)
public static BatchQueryOptions withoutPerStatementVariables(QueryOptions options)
public static BatchQueryOptions withPerStatementVariables(QueryOptions options, java.util.List<java.util.List<java.nio.ByteBuffer>> variables, java.util.List<java.lang.Object> queryOrIdList)
public abstract QueryOptions forStatement(int i)
public ConsistencyLevel getConsistency()
public ConsistencyLevel getSerialConsistency()
public java.util.List<java.lang.Object> getQueryOrIdList()
public long getTimestamp(QueryState state)
Copyright © 2017 The Apache Software Foundation