public static enum OrcFile.WriterVersion extends Enum<OrcFile.WriterVersion>
The ids are assigned sequentially from 6 per a WriterImplementation so that readers that predate ORC-202 treat the other writers correctly.
Enum Constant and Description |
---|
CUDF_ORIGINAL |
FUTURE |
HIVE_12055 |
HIVE_13083 |
HIVE_4243
fixed stripe/file maximum statistics and string statistics to use utf8 for min/max.
|
HIVE_8732 |
ORC_101 |
ORC_135 |
ORC_14 |
ORC_203 |
ORC_517 |
ORC_CPP_ORIGINAL |
ORIGINAL |
PRESTO_ORIGINAL |
SCRITCHLEY_GO_ORIGINAL |
TRINO_ORIGINAL |
Modifier and Type | Method and Description |
---|---|
static OrcFile.WriterVersion |
from(OrcFile.WriterImplementation writer,
int val)
Convert the integer from OrcProto.PostScript.writerVersion to the enumeration with
unknown versions being mapped to FUTURE.
|
int |
getId() |
OrcFile.WriterImplementation |
getWriterImplementation() |
boolean |
includes(OrcFile.WriterVersion fix)
Does this file include the given fix or come from a different writer?
|
static OrcFile.WriterVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OrcFile.WriterVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OrcFile.WriterVersion ORIGINAL
public static final OrcFile.WriterVersion HIVE_8732
public static final OrcFile.WriterVersion HIVE_4243
public static final OrcFile.WriterVersion HIVE_12055
public static final OrcFile.WriterVersion HIVE_13083
public static final OrcFile.WriterVersion ORC_101
public static final OrcFile.WriterVersion ORC_135
public static final OrcFile.WriterVersion ORC_517
public static final OrcFile.WriterVersion ORC_203
public static final OrcFile.WriterVersion ORC_14
public static final OrcFile.WriterVersion ORC_CPP_ORIGINAL
public static final OrcFile.WriterVersion PRESTO_ORIGINAL
public static final OrcFile.WriterVersion SCRITCHLEY_GO_ORIGINAL
public static final OrcFile.WriterVersion TRINO_ORIGINAL
public static final OrcFile.WriterVersion CUDF_ORIGINAL
public static final OrcFile.WriterVersion FUTURE
public static OrcFile.WriterVersion[] values()
for (OrcFile.WriterVersion c : OrcFile.WriterVersion.values()) System.out.println(c);
public static OrcFile.WriterVersion 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 OrcFile.WriterImplementation getWriterImplementation()
public int getId()
public static OrcFile.WriterVersion from(OrcFile.WriterImplementation writer, int val)
writer
- the writer implementationval
- the serialized writer versionpublic boolean includes(OrcFile.WriterVersion fix)
fix
- the required fixCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.