org.apache.hadoop.hive.ql.hooks
Enum WriteEntity.WriteType
java.lang.Object
java.lang.Enum<WriteEntity.WriteType>
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>
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
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.