public static enum OrcFile.Version extends Enum<OrcFile.Version>
| Enum Constant and Description |
|---|
FUTURE
The generic identifier for all unknown versions.
|
UNSTABLE_PRE_2_0
Do not use this format except for testing.
|
V_0_11 |
V_0_12 |
| Modifier and Type | Field and Description |
|---|---|
static OrcFile.Version |
CURRENT |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static final OrcFile.Version V_0_11
public static final OrcFile.Version V_0_12
public static final OrcFile.Version UNSTABLE_PRE_2_0
public static final OrcFile.Version FUTURE
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(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 static OrcFile.Version byName(String name)
public String getName()
public int getMajor()
public int getMinor()
Copyright © 2013–2023 The Apache Software Foundation. All rights reserved.