public class KeyspaceOptions extends SchemaStatement
idempotent, NULL_PAYLOAD_VALUE
Constructor and Description |
---|
KeyspaceOptions(String command,
String keyspaceName) |
Modifier and Type | Method and Description |
---|---|
KeyspaceOptions |
durableWrites(Boolean durableWrites)
Define the durable writes option for the statement.
|
KeyspaceOptions |
replication(Map<String,Object> replication)
Define the replication options for the statement.
|
getKeyspace, getNamedValues, getQueryString, getRoutingKey, getValues, hasValues, setKeyspace, usesNamedValues
getQueryString, getRoutingToken, hasValues, requestSizeInBytes, setRoutingToken, toString
disableTracing, enableTracing, executingAs, getConsistencyLevel, getDefaultTimestamp, getFetchSize, getHost, getOutgoingPayload, getReadTimeoutMillis, getRetryPolicy, getSerialConsistencyLevel, isBatchIdempotent, isIdempotent, isTracing, setConsistencyLevel, setDefaultTimestamp, setFetchSize, setHost, setIdempotent, setOutgoingPayload, setPagingState, setPagingState, setPagingStateUnsafe, setReadTimeoutMillis, setRetryPolicy, setSerialConsistencyLevel
public KeyspaceOptions replication(Map<String,Object> replication)
replication
- replication properties mapKeyspaceOptions
objectpublic KeyspaceOptions durableWrites(Boolean durableWrites)
durableWrites
- durable write optionKeyspaceOptions
objectCopyright © 2012–2019. All rights reserved.