org.apache.hadoop.hive.metastore.events
Enum PreEventContext.PreEventType

java.lang.Object
  extended by java.lang.Enum<PreEventContext.PreEventType>
      extended by org.apache.hadoop.hive.metastore.events.PreEventContext.PreEventType
All Implemented Interfaces:
Serializable, Comparable<PreEventContext.PreEventType>
Enclosing class:
PreEventContext

public static enum PreEventContext.PreEventType
extends Enum<PreEventContext.PreEventType>


Enum Constant Summary
ADD_PARTITION
           
ALTER_PARTITION
           
ALTER_TABLE
           
CREATE_DATABASE
           
CREATE_TABLE
           
DROP_DATABASE
           
DROP_PARTITION
           
DROP_TABLE
           
LOAD_PARTITION_DONE
           
 
Method Summary
static PreEventContext.PreEventType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PreEventContext.PreEventType[] 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

CREATE_TABLE

public static final PreEventContext.PreEventType CREATE_TABLE

DROP_TABLE

public static final PreEventContext.PreEventType DROP_TABLE

ALTER_TABLE

public static final PreEventContext.PreEventType ALTER_TABLE

ADD_PARTITION

public static final PreEventContext.PreEventType ADD_PARTITION

DROP_PARTITION

public static final PreEventContext.PreEventType DROP_PARTITION

ALTER_PARTITION

public static final PreEventContext.PreEventType ALTER_PARTITION

CREATE_DATABASE

public static final PreEventContext.PreEventType CREATE_DATABASE

DROP_DATABASE

public static final PreEventContext.PreEventType DROP_DATABASE

LOAD_PARTITION_DONE

public static final PreEventContext.PreEventType LOAD_PARTITION_DONE
Method Detail

values

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

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

valueOf

public static PreEventContext.PreEventType 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 © 2011 The Apache Software Foundation