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
           
ADDSKEWEDBY
           
ALTERBUCKETNUM
           
ALTERLOCATION
           
ALTERPARTITION
           
ALTERPARTITIONPROTECTMODE
           
ALTERPROTECTMODE
           
ALTERSKEWEDLOCATION
           
ARCHIVE
           
COMPACT
           
DROPPARTITION
           
DROPPROPS
           
RENAME
           
RENAMECOLUMN
           
RENAMEPARTITION
           
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
compareTo, equals, 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

DROPPROPS

public static final AlterTableDesc.AlterTableTypes DROPPROPS

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

ALTERPROTECTMODE

public static final AlterTableDesc.AlterTableTypes ALTERPROTECTMODE

ALTERPARTITIONPROTECTMODE

public static final AlterTableDesc.AlterTableTypes ALTERPARTITIONPROTECTMODE

ALTERLOCATION

public static final AlterTableDesc.AlterTableTypes ALTERLOCATION

DROPPARTITION

public static final AlterTableDesc.AlterTableTypes DROPPARTITION

RENAMEPARTITION

public static final AlterTableDesc.AlterTableTypes RENAMEPARTITION

ADDSKEWEDBY

public static final AlterTableDesc.AlterTableTypes ADDSKEWEDBY

ALTERSKEWEDLOCATION

public static final AlterTableDesc.AlterTableTypes ALTERSKEWEDLOCATION

ALTERBUCKETNUM

public static final AlterTableDesc.AlterTableTypes ALTERBUCKETNUM

ALTERPARTITION

public static final AlterTableDesc.AlterTableTypes ALTERPARTITION

COMPACT

public static final AlterTableDesc.AlterTableTypes COMPACT
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 © 2014 The Apache Software Foundation. All rights reserved.