org.apache.hadoop.hive.ql.io.orc
Enum OrcFile.OrcTableProperties

java.lang.Object
  extended by java.lang.Enum<OrcFile.OrcTableProperties>
      extended by org.apache.hadoop.hive.ql.io.orc.OrcFile.OrcTableProperties
All Implemented Interfaces:
Serializable, Comparable<OrcFile.OrcTableProperties>
Enclosing class:
OrcFile

public static enum OrcFile.OrcTableProperties
extends Enum<OrcFile.OrcTableProperties>

Enum container for all orc table properties. If introducing a new orc-specific table property, add it here.


Enum Constant Summary
BLOCK_PADDING
           
COMPRESSION
           
COMPRESSION_BLOCK_SIZE
           
ENABLE_INDEXES
           
ROW_INDEX_STRIDE
           
STRIPE_SIZE
           
 
Method Summary
 String getPropName()
           
static OrcFile.OrcTableProperties valueOf(String name)
          Returns the enum constant of this type with the specified name.
static OrcFile.OrcTableProperties[] 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

COMPRESSION

public static final OrcFile.OrcTableProperties COMPRESSION

COMPRESSION_BLOCK_SIZE

public static final OrcFile.OrcTableProperties COMPRESSION_BLOCK_SIZE

STRIPE_SIZE

public static final OrcFile.OrcTableProperties STRIPE_SIZE

ROW_INDEX_STRIDE

public static final OrcFile.OrcTableProperties ROW_INDEX_STRIDE

ENABLE_INDEXES

public static final OrcFile.OrcTableProperties ENABLE_INDEXES

BLOCK_PADDING

public static final OrcFile.OrcTableProperties BLOCK_PADDING
Method Detail

values

public static OrcFile.OrcTableProperties[] 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 (OrcFile.OrcTableProperties c : OrcFile.OrcTableProperties.values())
    System.out.println(c);

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

valueOf

public static OrcFile.OrcTableProperties 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

getPropName

public String getPropName()


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