public static enum SchemaManager.OpType extends Enum<SchemaManager.OpType>
Enum Constant and Description |
---|
ADD_COPY_FIELD |
ADD_DYNAMIC_FIELD |
ADD_FIELD |
ADD_FIELD_TYPE |
DELETE_COPY_FIELD |
DELETE_DYNAMIC_FIELD |
DELETE_FIELD |
DELETE_FIELD_TYPE |
REPLACE_DYNAMIC_FIELD |
REPLACE_FIELD |
REPLACE_FIELD_TYPE |
Modifier and Type | Method and Description |
---|---|
static SchemaManager.OpType |
get(String label) |
abstract boolean |
perform(CommandOperation op,
SchemaManager mgr) |
static SchemaManager.OpType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchemaManager.OpType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchemaManager.OpType ADD_FIELD_TYPE
public static final SchemaManager.OpType ADD_COPY_FIELD
public static final SchemaManager.OpType ADD_FIELD
public static final SchemaManager.OpType ADD_DYNAMIC_FIELD
public static final SchemaManager.OpType DELETE_FIELD_TYPE
public static final SchemaManager.OpType DELETE_COPY_FIELD
public static final SchemaManager.OpType DELETE_FIELD
public static final SchemaManager.OpType DELETE_DYNAMIC_FIELD
public static final SchemaManager.OpType REPLACE_FIELD_TYPE
public static final SchemaManager.OpType REPLACE_FIELD
public static final SchemaManager.OpType REPLACE_DYNAMIC_FIELD
public static SchemaManager.OpType[] values()
for (SchemaManager.OpType c : SchemaManager.OpType.values()) System.out.println(c);
public static SchemaManager.OpType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract boolean perform(CommandOperation op, SchemaManager mgr)
public static SchemaManager.OpType get(String label)
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.