Package | Description |
---|---|
com.datastax.driver.core.schemabuilder |
A CQL3 schema builder.
|
Modifier and Type | Method and Description |
---|---|
TableOptions.CompactionOptions.SizeTieredCompactionStrategyOptions |
TableOptions.CompactionOptions.SizeTieredCompactionStrategyOptions.bucketHigh(Double bucketHigh)
Size-tiered compaction strategy (STCS) considers SSTables to be within the same bucket if
the SSTable size diverges by 50% or less from the default bucket_low and default
bucket_high values: [average-size × bucket_low, average-size × bucket_high].
|
TableOptions.CompactionOptions.SizeTieredCompactionStrategyOptions |
TableOptions.CompactionOptions.SizeTieredCompactionStrategyOptions.bucketLow(Double bucketLow)
Size-tiered compaction strategy (STCS) considers SSTables to be within the same bucket if
the SSTable size diverges by 50% or less from the default bucket_low and default
bucket_high values: [average-size × bucket_low, average-size × bucket_high].
|
TableOptions.CompactionOptions.SizeTieredCompactionStrategyOptions |
TableOptions.CompactionOptions.SizeTieredCompactionStrategyOptions.coldReadsRatioToOmit(Double coldReadsRatio)
The maximum percentage of reads/sec that ignored SSTables may account for.
|
TableOptions.CompactionOptions.SizeTieredCompactionStrategyOptions |
TableOptions.CompactionOptions.SizeTieredCompactionStrategyOptions.maxThreshold(Integer maxThreshold)
Sets the maximum number of SSTables to allow in a minor compaction.
|
TableOptions.CompactionOptions.SizeTieredCompactionStrategyOptions |
TableOptions.CompactionOptions.SizeTieredCompactionStrategyOptions.minSSTableSizeInBytes(Long minSSTableSize)
The SizeTieredCompactionStrategy groups SSTables for compaction into buckets.
|
TableOptions.CompactionOptions.SizeTieredCompactionStrategyOptions |
TableOptions.CompactionOptions.SizeTieredCompactionStrategyOptions.minThreshold(Integer minThreshold)
Sets the minimum number of SSTables to trigger a minor compaction
|
static TableOptions.CompactionOptions.SizeTieredCompactionStrategyOptions |
SchemaBuilder.sizedTieredStategy()
Create options for the size-tiered compaction strategy, for use in a CREATE or ALTER TABLE
statement.
|
Copyright © 2012–2024. All rights reserved.