public enum CrailNodeType extends Enum<CrailNodeType>
| Enum Constant and Description |
|---|
DATAFILE |
DIRECTORY |
KEYVALUE |
MULTIFILE |
STREAMFILE |
TABLE |
| Modifier and Type | Method and Description |
|---|---|
int |
getLabel() |
boolean |
isContainer() |
boolean |
isDataFile() |
boolean |
isDirectory() |
boolean |
isKeyValue() |
boolean |
isMultiFile() |
boolean |
isStreamFile() |
boolean |
isTable() |
static CrailNodeType |
parse(int label) |
static CrailNodeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CrailNodeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CrailNodeType DATAFILE
public static final CrailNodeType DIRECTORY
public static final CrailNodeType MULTIFILE
public static final CrailNodeType STREAMFILE
public static final CrailNodeType TABLE
public static final CrailNodeType KEYVALUE
public static CrailNodeType[] values()
for (CrailNodeType c : CrailNodeType.values()) System.out.println(c);
public static CrailNodeType 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 getLabel()
public boolean isDirectory()
public boolean isDataFile()
public boolean isMultiFile()
public boolean isStreamFile()
public boolean isTable()
public boolean isKeyValue()
public boolean isContainer()
public static CrailNodeType parse(int label)
Copyright © 2018 The Apache Software Foundation. All rights reserved.