@DefaultCoder(value=AvroCoder.class) public static enum PartitionMetadata.State extends java.lang.Enum<PartitionMetadata.State>
Enum Constant and Description |
---|
CREATED |
FINISHED |
RUNNING |
SCHEDULED |
Modifier and Type | Method and Description |
---|---|
static PartitionMetadata.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PartitionMetadata.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PartitionMetadata.State CREATED
public static final PartitionMetadata.State SCHEDULED
public static final PartitionMetadata.State RUNNING
public static final PartitionMetadata.State FINISHED
public static PartitionMetadata.State[] values()
for (PartitionMetadata.State c : PartitionMetadata.State.values()) System.out.println(c);
public static PartitionMetadata.State 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 null