public static class TableOptions.CompactionOptions.DateTieredCompactionStrategyOptions extends TableOptions.CompactionOptions<TableOptions.CompactionOptions.DateTieredCompactionStrategyOptions>
Modifier and Type | Class and Description |
---|---|
static class |
TableOptions.CompactionOptions.DateTieredCompactionStrategyOptions.TimeStampResolution |
TableOptions.CompactionOptions.DateTieredCompactionStrategyOptions, TableOptions.CompactionOptions.LeveledCompactionStrategyOptions, TableOptions.CompactionOptions.SizeTieredCompactionStrategyOptions, TableOptions.CompactionOptions.Strategy, TableOptions.CompactionOptions.TimeWindowCompactionStrategyOptions
enabled, freeformOption, tombstoneCompactionIntervalInDay, tombstoneThreshold, uncheckedTombstoneCompaction
public TableOptions.CompactionOptions.DateTieredCompactionStrategyOptions baseTimeSeconds(Integer baseTimeSeconds)
If no call is made to this method, the default value set by Cassandra is 3600 (1 hour).
baseTimeSeconds
- the size of the first window.public TableOptions.CompactionOptions.DateTieredCompactionStrategyOptions maxSSTableAgeDays(Integer maxSSTableAgeDays)
If no call is made to this method, the default value set by Cassandra is 365.
maxSSTableAgeDays
- the maximum age of the SSTables to compact.public TableOptions.CompactionOptions.DateTieredCompactionStrategyOptions minThreshold(Integer minThreshold)
If no call is made to this method, the default value set by Cassandra is 4.
minThreshold
- the new value.public TableOptions.CompactionOptions.DateTieredCompactionStrategyOptions maxThreshold(Integer maxThreshold)
If no call is made to this method, the default value set by Cassandra is 32.
maxThreshold
- the new value.public TableOptions.CompactionOptions.DateTieredCompactionStrategyOptions timestampResolution(TableOptions.CompactionOptions.DateTieredCompactionStrategyOptions.TimeStampResolution timestampResolution)
If no call is made to this method, the default value set by Cassandra is MICROSECONDS
.
timestampResolution
- TableOptions.CompactionOptions.DateTieredCompactionStrategyOptions.TimeStampResolution.MICROSECONDS
or TableOptions.CompactionOptions.DateTieredCompactionStrategyOptions.TimeStampResolution.MILLISECONDS
.public String build()
build
in class TableOptions.CompactionOptions<TableOptions.CompactionOptions.DateTieredCompactionStrategyOptions>
Copyright © 2012–2024. All rights reserved.