public static class Create.Options extends TableOptions<Create.Options>
TableOptions.CachingRowsPerPartition, TableOptions.CompactionOptions<T extends TableOptions.CompactionOptions>, TableOptions.CompressionOptions, TableOptions.NodeSyncOptions, TableOptions.SpeculativeRetryValue
idempotent, NULL_PAYLOAD_VALUE
Modifier and Type | Method and Description |
---|---|
protected void |
addSpecificOptions(List<String> options) |
Create.Options |
clusteringOrder(String columnName,
SchemaBuilder.Direction direction)
Add a clustering order for this table.
|
Create.Options |
compactStorage()
Enable the compact storage option for the table.
|
bloomFilterFPChance, buildInternal, caching, caching, cdc, comment, compactionOptions, compressionOptions, dcLocalReadRepairChance, defaultTimeToLive, freeformOption, gcGraceSeconds, indexInterval, maxIndexInterval, memtableFlushPeriodInMillis, minIndexInterval, nodeSync, nodeSync, populateIOCacheOnFlush, readRepairChance, replicateOnWrite, speculativeRetry
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 Create.Options clusteringOrder(String columnName, SchemaBuilder.Direction direction)
To define the order on multiple columns, call this method repeatedly. The columns will be declared in the call order.
columnName
- the clustering column name.direction
- the clustering direction (DESC/ASC).Options
object.public Create.Options compactStorage()
Options
object.protected void addSpecificOptions(List<String> options)
addSpecificOptions
in class TableOptions<Create.Options>
Copyright © 2012–2019. All rights reserved.