org.apache.hadoop.hive.ql.hooks
Enum WriteEntity.WriteType

java.lang.Object
  extended by java.lang.Enum<WriteEntity.WriteType>
      extended by org.apache.hadoop.hive.ql.hooks.WriteEntity.WriteType
All Implemented Interfaces:
Serializable, Comparable<WriteEntity.WriteType>
Enclosing class:
WriteEntity

public static enum WriteEntity.WriteType
extends Enum<WriteEntity.WriteType>


Enum Constant Summary
DDL_EXCLUSIVE
           
DDL_NO_LOCK
           
DDL_SHARED
           
DELETE
           
INSERT
           
INSERT_OVERWRITE
           
UPDATE
           
 
Method Summary
static WriteEntity.WriteType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static WriteEntity.WriteType[] 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

DDL_EXCLUSIVE

public static final WriteEntity.WriteType DDL_EXCLUSIVE

DDL_SHARED

public static final WriteEntity.WriteType DDL_SHARED

DDL_NO_LOCK

public static final WriteEntity.WriteType DDL_NO_LOCK

INSERT

public static final WriteEntity.WriteType INSERT

INSERT_OVERWRITE

public static final WriteEntity.WriteType INSERT_OVERWRITE

UPDATE

public static final WriteEntity.WriteType UPDATE

DELETE

public static final WriteEntity.WriteType DELETE
Method Detail

values

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

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

valueOf

public static WriteEntity.WriteType 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.