public static enum OrcProto.CompressionKind extends Enum<OrcProto.CompressionKind> implements com.google.protobuf.ProtocolMessageEnum
orc.proto.CompressionKind
Enum Constant and Description |
---|
LZ4
LZ4 = 4; |
LZO
LZO = 3; |
NONE
NONE = 0; |
SNAPPY
SNAPPY = 2; |
ZLIB
ZLIB = 1; |
ZSTD
ZSTD = 5; |
Modifier and Type | Field and Description |
---|---|
static int |
LZ4_VALUE
LZ4 = 4; |
static int |
LZO_VALUE
LZO = 3; |
static int |
NONE_VALUE
NONE = 0; |
static int |
SNAPPY_VALUE
SNAPPY = 2; |
static int |
ZLIB_VALUE
ZLIB = 1; |
static int |
ZSTD_VALUE
ZSTD = 5; |
Modifier and Type | Method and Description |
---|---|
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<OrcProto.CompressionKind> |
internalGetValueMap() |
static OrcProto.CompressionKind |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static OrcProto.CompressionKind |
valueOf(int value) |
static OrcProto.CompressionKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OrcProto.CompressionKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OrcProto.CompressionKind NONE
NONE = 0;
public static final OrcProto.CompressionKind ZLIB
ZLIB = 1;
public static final OrcProto.CompressionKind SNAPPY
SNAPPY = 2;
public static final OrcProto.CompressionKind LZO
LZO = 3;
public static final OrcProto.CompressionKind LZ4
LZ4 = 4;
public static final OrcProto.CompressionKind ZSTD
ZSTD = 5;
public static final int NONE_VALUE
NONE = 0;
public static final int ZLIB_VALUE
ZLIB = 1;
public static final int SNAPPY_VALUE
SNAPPY = 2;
public static final int LZO_VALUE
LZO = 3;
public static final int LZ4_VALUE
LZ4 = 4;
public static final int ZSTD_VALUE
ZSTD = 5;
public static OrcProto.CompressionKind[] values()
for (OrcProto.CompressionKind c : OrcProto.CompressionKind.values()) System.out.println(c);
public static OrcProto.CompressionKind 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 final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
public static OrcProto.CompressionKind valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<OrcProto.CompressionKind> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static OrcProto.CompressionKind valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2013–2016 The Apache Software Foundation. All rights reserved.