public static enum Partitioning.Strategy extends java.lang.Enum<Partitioning.Strategy>
Enum Constant and Description |
---|
BUCKET |
DAY |
FUNCTION |
HOUR |
IDENTITY |
LIST |
MONTH |
RANGE |
TRUNCATE |
YEAR |
Modifier and Type | Method and Description |
---|---|
static Partitioning.Strategy |
getByName(java.lang.String name) |
static Partitioning.Strategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Partitioning.Strategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Partitioning.Strategy IDENTITY
public static final Partitioning.Strategy YEAR
public static final Partitioning.Strategy MONTH
public static final Partitioning.Strategy DAY
public static final Partitioning.Strategy HOUR
public static final Partitioning.Strategy BUCKET
public static final Partitioning.Strategy TRUNCATE
public static final Partitioning.Strategy LIST
public static final Partitioning.Strategy RANGE
public static final Partitioning.Strategy FUNCTION
public static Partitioning.Strategy[] values()
for (Partitioning.Strategy c : Partitioning.Strategy.values()) System.out.println(c);
public static Partitioning.Strategy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static Partitioning.Strategy getByName(java.lang.String name)