|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<OrcFile.Version> org.apache.hadoop.hive.ql.io.orc.OrcFile.Version
public static enum OrcFile.Version
Create a version number for the ORC file format, so that we can add non-forward compatible changes in the future. To make it easier for users to understand the version numbers, we use the Hive release number that first wrote that version of ORC files. Thus, if you add new encodings or other non-forward compatible changes to ORC files, which prevent the old reader from reading the new format, you should change these variable to reflect the next Hive release number. Non-forward compatible changes should never be added in patch releases. Do not make any changes that break backwards compatibility, which would prevent the new reader from reading ORC files generated by any released version of Hive.
Enum Constant Summary | |
---|---|
V_0_11
|
|
V_0_12
|
Field Summary | |
---|---|
static OrcFile.Version |
CURRENT
|
Method Summary | |
---|---|
static OrcFile.Version |
byName(String name)
|
int |
getMajor()
Get the major version number. |
int |
getMinor()
Get the minor version number. |
String |
getName()
Get the human readable name for the version. |
static OrcFile.Version |
valueOf(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. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final OrcFile.Version V_0_11
public static final OrcFile.Version V_0_12
Field Detail |
---|
public static final OrcFile.Version CURRENT
Method Detail |
---|
public static OrcFile.Version[] values()
for (OrcFile.Version c : OrcFile.Version.values()) System.out.println(c);
public static OrcFile.Version valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static OrcFile.Version byName(String name)
public String getName()
public int getMajor()
public int getMinor()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |