public static class Create.Options extends TableOptions<Create.Options>
TableOptions.AdditionalWritePolicyValue, TableOptions.CachingRowsPerPartition, TableOptions.CompactionOptions<T extends TableOptions.CompactionOptions>, TableOptions.CompressionOptions, TableOptions.ReadRepairValue, 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.
|
additionalWritePolicy, bloomFilterFPChance, buildInternal, caching, caching, cdc, comment, compactionOptions, compressionOptions, dcLocalReadRepairChance, defaultTimeToLive, freeformOption, gcGraceSeconds, indexInterval, maxIndexInterval, memtableFlushPeriodInMillis, minIndexInterval, populateIOCacheOnFlush, readRepair, readRepairChance, replicateOnWrite, speculativeRetry
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 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–2024. All rights reserved.