public static enum Partitioning.Strategy extends java.lang.Enum<Partitioning.Strategy>
Enum Constant and Description |
---|
BUCKET
The minute partitioning strategy.
|
DAY
The day partitioning strategy.
|
FUNCTION
The hash partitioning strategy.
|
HOUR
The hour partitioning strategy.
|
IDENTITY
The identity partitioning strategy.
|
LIST
The list partitioning strategy.
|
MONTH
The month partitioning strategy.
|
RANGE
The range partitioning strategy.
|
TRUNCATE
The truncate partitioning strategy.
|
YEAR
The year partitioning strategy.
|
Modifier and Type | Method and Description |
---|---|
static Partitioning.Strategy |
getByName(java.lang.String name)
Get the partitioning strategy by 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)
name
- The name of the partitioning strategy.