Package | Description |
---|---|
com.datastax.driver.core.schemabuilder |
A CQL3 schema builder.
|
Modifier and Type | Method and Description |
---|---|
TableOptions.CompactionOptions.DateTieredCompactionStrategyOptions |
TableOptions.CompactionOptions.DateTieredCompactionStrategyOptions.baseTimeSeconds(Integer baseTimeSeconds)
Sets the size of the first window.
|
static TableOptions.CompactionOptions.DateTieredCompactionStrategyOptions |
SchemaBuilder.dateTieredStrategy()
Create options for the date-tiered compaction strategy, to use in a CREATE or ALTER TABLE statement.
|
TableOptions.CompactionOptions.DateTieredCompactionStrategyOptions |
TableOptions.CompactionOptions.DateTieredCompactionStrategyOptions.maxSSTableAgeDays(Integer maxSSTableAgeDays)
Stop compacting SSTables only having data older than these specified days.
|
TableOptions.CompactionOptions.DateTieredCompactionStrategyOptions |
TableOptions.CompactionOptions.DateTieredCompactionStrategyOptions.maxThreshold(Integer maxThreshold)
Sets the maximum number of SSTables to allow in a minor compaction.
|
TableOptions.CompactionOptions.DateTieredCompactionStrategyOptions |
TableOptions.CompactionOptions.DateTieredCompactionStrategyOptions.minThreshold(Integer minThreshold)
Sets the minimum number of SSTables to trigger a minor compaction
If no call is made to this method, the default value set by Cassandra is 4.
|
TableOptions.CompactionOptions.DateTieredCompactionStrategyOptions |
TableOptions.CompactionOptions.DateTieredCompactionStrategyOptions.timestampResolution(TableOptions.CompactionOptions.DateTieredCompactionStrategyOptions.TimeStampResolution timestampResolution)
Sets the timestamp resolution, depending on the timestamp unit of the data you insert.
|
Copyright © 2012–2018. All rights reserved.