public static enum OrcFile.Version extends java.lang.Enum<OrcFile.Version>
Modifier and Type | Field and Description |
---|---|
static OrcFile.Version |
CURRENT |
Modifier and Type | Method and Description |
---|---|
static OrcFile.Version |
byName(java.lang.String name) |
int |
getMajor()
Get the major version number.
|
int |
getMinor()
Get the minor version number.
|
java.lang.String |
getName()
Get the human readable name for the version.
|
static OrcFile.Version |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OrcFile.Version[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OrcFile.Version V_0_11
public static final OrcFile.Version V_0_12
public static final OrcFile.Version CURRENT
public static OrcFile.Version[] values()
for (OrcFile.Version c : OrcFile.Version.values()) System.out.println(c);
public static OrcFile.Version 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 OrcFile.Version byName(java.lang.String name)
public java.lang.String getName()
public int getMajor()
public int getMinor()
Copyright © 2012 The Apache Software Foundation