public static enum TableOptions.CompactionOptions.Strategy extends Enum<TableOptions.CompactionOptions.Strategy>
Enum Constant and Description |
---|
DATE_TIERED |
LEVELED |
SIZED_TIERED |
TIME_WINDOW |
Modifier and Type | Method and Description |
---|---|
String |
strategyClass() |
String |
toString() |
static TableOptions.CompactionOptions.Strategy |
valueOf(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.
|
public static final TableOptions.CompactionOptions.Strategy SIZED_TIERED
public static final TableOptions.CompactionOptions.Strategy LEVELED
public static final TableOptions.CompactionOptions.Strategy DATE_TIERED
public static final TableOptions.CompactionOptions.Strategy TIME_WINDOW
public static TableOptions.CompactionOptions.Strategy[] values()
for (TableOptions.CompactionOptions.Strategy c : TableOptions.CompactionOptions.Strategy.values()) System.out.println(c);
public static TableOptions.CompactionOptions.Strategy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String strategyClass()
public String toString()
toString
in class Enum<TableOptions.CompactionOptions.Strategy>
Copyright © 2012–2020. All rights reserved.