org.apache.hadoop.hive.ql.plan
Enum AlterTableDesc.AlterTableTypes

java.lang.Object
  extended by java.lang.Enum<AlterTableDesc.AlterTableTypes>
      extended by org.apache.hadoop.hive.ql.plan.AlterTableDesc.AlterTableTypes
All Implemented Interfaces:
Serializable, Comparable<AlterTableDesc.AlterTableTypes>
Enclosing class:
AlterTableDesc

public static enum AlterTableDesc.AlterTableTypes
extends Enum<AlterTableDesc.AlterTableTypes>

alterTableTypes.


Enum Constant Summary
ADDCLUSTERSORTCOLUMN
           
ADDCOLS
           
ADDFILEFORMAT
           
ADDPARTITION
           
ADDPROPS
           
ADDSERDE
           
ADDSERDEPROPS
           
ARCHIVE
           
RENAME
           
RENAMECOLUMN
           
REPLACECOLS
           
TOUCH
           
UNARCHIVE
           
 
Method Summary
static AlterTableDesc.AlterTableTypes valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AlterTableDesc.AlterTableTypes[] 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

RENAME

public static final AlterTableDesc.AlterTableTypes RENAME

ADDCOLS

public static final AlterTableDesc.AlterTableTypes ADDCOLS

REPLACECOLS

public static final AlterTableDesc.AlterTableTypes REPLACECOLS

ADDPROPS

public static final AlterTableDesc.AlterTableTypes ADDPROPS

ADDSERDE

public static final AlterTableDesc.AlterTableTypes ADDSERDE

ADDSERDEPROPS

public static final AlterTableDesc.AlterTableTypes ADDSERDEPROPS

ADDFILEFORMAT

public static final AlterTableDesc.AlterTableTypes ADDFILEFORMAT

ADDCLUSTERSORTCOLUMN

public static final AlterTableDesc.AlterTableTypes ADDCLUSTERSORTCOLUMN

RENAMECOLUMN

public static final AlterTableDesc.AlterTableTypes RENAMECOLUMN

ADDPARTITION

public static final AlterTableDesc.AlterTableTypes ADDPARTITION

TOUCH

public static final AlterTableDesc.AlterTableTypes TOUCH

ARCHIVE

public static final AlterTableDesc.AlterTableTypes ARCHIVE

UNARCHIVE

public static final AlterTableDesc.AlterTableTypes UNARCHIVE
Method Detail

values

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

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

valueOf

public static AlterTableDesc.AlterTableTypes 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


Copyright © 2010 The Apache Software Foundation