Package | Description |
---|---|
com.datastax.driver.core.schemabuilder |
A CQL3 schema builder.
|
Modifier and Type | Method and Description |
---|---|
TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions |
TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions.bucketHigh(Double bucketHigh)
Size-tiered compaction strategy (STCS) is used in the newest window, this method sets the
bucketHigh value used in STCS.
|
TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions |
TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions.bucketLow(Double bucketLow)
Size-tiered compaction strategy (STCS) is used in the newest window, this method sets the
bucketLow value used in STCS.
|
TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions |
TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions.compactionWindowSize(Integer compactionWindowSize)
Sets the number of units that make up a window.
|
TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions |
TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions.compactionWindowUnit(TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions.CompactionWindowUnit compactionWindowUnit)
Sets the time unit used to define the window size
|
TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions |
TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions.maxThreshold(Integer maxThreshold)
Sets the maximum number of SSTables to allow in a minor compaction.
|
TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions |
TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions.minSSTableSizeInBytes(Long minSSTableSize)
Size-tiered compaction strategy (STCS) is used in the newest window, this method sets the
minSSTableSize value used in STCS.
|
TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions |
TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions.minThreshold(Integer minThreshold)
Sets the minimum number of SSTables to trigger a minor compaction
|
TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions |
TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions.timestampResolution(TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions.TimeStampResolution timestampResolution)
Sets the timestamp resolution, depending on the timestamp unit of the data you insert.
|
static TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions |
SchemaBuilder.timeWindowCompactionStrategy()
Create options for the time window compaction strategy, to use in a CREATE or ALTER TABLE
statement.
|
TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions |
TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions.unsafeAggressiveSSTableExpiration(Boolean unsafeAggressiveSSTableExpiration)
Allow expired sstables to be dropped without checking if its data is shadowing other
sstables.
|
Copyright © 2012–2024. All rights reserved.