Enum TableOptions.CompactionOptions.Strategy
- java.lang.Object
-
- java.lang.Enum<TableOptions.CompactionOptions.Strategy>
-
- com.datastax.driver.core.schemabuilder.TableOptions.CompactionOptions.Strategy
-
- All Implemented Interfaces:
Serializable,Comparable<TableOptions.CompactionOptions.Strategy>
- Enclosing class:
- TableOptions.CompactionOptions<T extends TableOptions.CompactionOptions>
public static enum TableOptions.CompactionOptions.Strategy extends Enum<TableOptions.CompactionOptions.Strategy>
Compaction strategies. Possible values: SIZED_TIERED, LEVELED, DATE_TIERED AND TIME_WINDOW
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DATE_TIEREDLEVELEDSIZED_TIEREDTIME_WINDOW
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringstrategyClass()StringtoString()static TableOptions.CompactionOptions.StrategyvalueOf(String name)Returns the enum constant of this type with the specified name.static TableOptions.CompactionOptions.Strategy[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SIZED_TIERED
public static final TableOptions.CompactionOptions.Strategy SIZED_TIERED
-
LEVELED
public static final TableOptions.CompactionOptions.Strategy LEVELED
-
DATE_TIERED
public static final TableOptions.CompactionOptions.Strategy DATE_TIERED
-
TIME_WINDOW
public static final TableOptions.CompactionOptions.Strategy TIME_WINDOW
-
-
Method Detail
-
values
public static TableOptions.CompactionOptions.Strategy[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TableOptions.CompactionOptions.Strategy c : TableOptions.CompactionOptions.Strategy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TableOptions.CompactionOptions.Strategy valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
strategyClass
public String strategyClass()
-
toString
public String toString()
- Overrides:
toStringin classEnum<TableOptions.CompactionOptions.Strategy>
-
-