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, requestSizeInBytes, toString
disableTracing, enableTracing, getConsistencyLevel, getDefaultTimestamp, getFetchSize, getHost, getNowInSeconds, getOutgoingPayload, getReadTimeoutMillis, getRetryPolicy, getSerialConsistencyLevel, isBatchIdempotent, isIdempotent, isTracing, setConsistencyLevel, setDefaultTimestamp, setFetchSize, setHost, setIdempotent, setNowInSeconds, 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–2020. All rights reserved.