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, getLastHost, getNowInSeconds, getOutgoingPayload, getPartitioner, getReadTimeoutMillis, getRetryPolicy, getSerialConsistencyLevel, isBatchIdempotent, isIdempotent, isLWT, isTracing, setConsistencyLevel, setDefaultTimestamp, setFetchSize, setHost, setIdempotent, setLastHost, 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–2024. All rights reserved.