org.apache.hadoop.hive.ql.io.orc
Enum OrcProto.CompressionKind

java.lang.Object
  extended by java.lang.Enum<OrcProto.CompressionKind>
      extended by org.apache.hadoop.hive.ql.io.orc.OrcProto.CompressionKind
All Implemented Interfaces:
Serializable, Comparable<OrcProto.CompressionKind>, org.spark_project.protobuf.Internal.EnumLite, org.spark_project.protobuf.ProtocolMessageEnum
Enclosing class:
OrcProto

public static enum OrcProto.CompressionKind
extends Enum<OrcProto.CompressionKind>
implements org.spark_project.protobuf.ProtocolMessageEnum

Protobuf enum org.apache.hadoop.hive.ql.io.orc.CompressionKind


Enum Constant Summary
LZO
          LZO = 3;
NONE
          NONE = 0;
SNAPPY
          SNAPPY = 2;
ZLIB
          ZLIB = 1;
 
Field Summary
static int LZO_VALUE
          LZO = 3;
static int NONE_VALUE
          NONE = 0;
static int SNAPPY_VALUE
          SNAPPY = 2;
static int ZLIB_VALUE
          ZLIB = 1;
 
Method Summary
static org.spark_project.protobuf.Descriptors.EnumDescriptor getDescriptor()
           
 org.spark_project.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
           
 int getNumber()
           
 org.spark_project.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
           
static org.spark_project.protobuf.Internal.EnumLiteMap<OrcProto.CompressionKind> internalGetValueMap()
           
static OrcProto.CompressionKind valueOf(org.spark_project.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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NONE

public static final OrcProto.CompressionKind NONE
NONE = 0;


ZLIB

public static final OrcProto.CompressionKind ZLIB
ZLIB = 1;


SNAPPY

public static final OrcProto.CompressionKind SNAPPY
SNAPPY = 2;


LZO

public static final OrcProto.CompressionKind LZO
LZO = 3;

Field Detail

NONE_VALUE

public static final int NONE_VALUE
NONE = 0;

See Also:
Constant Field Values

ZLIB_VALUE

public static final int ZLIB_VALUE
ZLIB = 1;

See Also:
Constant Field Values

SNAPPY_VALUE

public static final int SNAPPY_VALUE
SNAPPY = 2;

See Also:
Constant Field Values

LZO_VALUE

public static final int LZO_VALUE
LZO = 3;

See Also:
Constant Field Values
Method Detail

values

public static OrcProto.CompressionKind[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (OrcProto.CompressionKind c : OrcProto.CompressionKind.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static OrcProto.CompressionKind valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getNumber

public final int getNumber()
Specified by:
getNumber in interface org.spark_project.protobuf.Internal.EnumLite
Specified by:
getNumber in interface org.spark_project.protobuf.ProtocolMessageEnum

valueOf

public static OrcProto.CompressionKind valueOf(int value)

internalGetValueMap

public static org.spark_project.protobuf.Internal.EnumLiteMap<OrcProto.CompressionKind> internalGetValueMap()

getValueDescriptor

public final org.spark_project.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
Specified by:
getValueDescriptor in interface org.spark_project.protobuf.ProtocolMessageEnum

getDescriptorForType

public final org.spark_project.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
Specified by:
getDescriptorForType in interface org.spark_project.protobuf.ProtocolMessageEnum

getDescriptor

public static final org.spark_project.protobuf.Descriptors.EnumDescriptor getDescriptor()

valueOf

public static OrcProto.CompressionKind valueOf(org.spark_project.protobuf.Descriptors.EnumValueDescriptor desc)


Copyright © 2014 The Apache Software Foundation. All rights reserved.