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, usesNamedValues
getQueryString, hasValues, toString
disableTracing, enableTracing, getConsistencyLevel, getDefaultTimestamp, getFetchSize, getOutgoingPayload, getReadTimeoutMillis, getRetryPolicy, getSerialConsistencyLevel, isBatchIdempotent, isIdempotent, isTracing, setConsistencyLevel, setDefaultTimestamp, setFetchSize, 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
object