public interface TimeWindowCompactionStrategy<SelfT extends TimeWindowCompactionStrategy<SelfT>> extends CompactionStrategy<SelfT>, SizeTieredCompactionStrategy<SelfT>
Modifier and Type | Interface and Description |
---|---|
static class |
TimeWindowCompactionStrategy.CompactionWindowUnit |
static class |
TimeWindowCompactionStrategy.TimestampResolution |
Modifier and Type | Method and Description |
---|---|
default SelfT |
withCompactionWindow(long size,
TimeWindowCompactionStrategy.CompactionWindowUnit unit) |
default SelfT |
withTimestampResolution(TimeWindowCompactionStrategy.TimestampResolution timestampResolution) |
default SelfT |
withUnsafeAggressiveSSTableExpiration(boolean enabled) |
withBucketHigh, withBucketLow, withColdReadsToOmit, withMaxThreshold, withMinSSTableSizeInBytes, withMinThreshold, withOnlyPurgeRepairedTombstones
withEnabled, withTombstoneCompactionIntervalInSeconds, withTombstoneThreshold, withUncheckedTombstoneCompaction
getOptions, withOption
@NonNull @CheckReturnValue default SelfT withCompactionWindow(long size, @NonNull TimeWindowCompactionStrategy.CompactionWindowUnit unit)
@NonNull @CheckReturnValue default SelfT withUnsafeAggressiveSSTableExpiration(boolean enabled)
@NonNull @CheckReturnValue default SelfT withTimestampResolution(@NonNull TimeWindowCompactionStrategy.TimestampResolution timestampResolution)
Copyright © 2017–2020. All rights reserved.