public static enum ChukwaChunk.Field extends Enum<ChukwaChunk.Field>
Enum Constant and Description |
---|
DATA |
DATATYPE |
NAME |
SEQUENCE_ID |
SOURCE |
TAGS |
Modifier and Type | Method and Description |
---|---|
int |
getIndex()
Gets field's index.
|
String |
getName()
Gets field's name.
|
String |
toString()
Gets field's attributes to string.
|
static ChukwaChunk.Field |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChukwaChunk.Field[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChukwaChunk.Field SOURCE
public static final ChukwaChunk.Field TAGS
public static final ChukwaChunk.Field DATATYPE
public static final ChukwaChunk.Field SEQUENCE_ID
public static final ChukwaChunk.Field NAME
public static final ChukwaChunk.Field DATA
public static ChukwaChunk.Field[] values()
for (ChukwaChunk.Field c : ChukwaChunk.Field.values()) System.out.println(c);
public static ChukwaChunk.Field 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 int getIndex()
public String getName()
public String toString()
toString
in class Enum<ChukwaChunk.Field>
Copyright © 2016 Apache Software Foundation. All Rights Reserved.