com.alibaba.druid.sql.dialect.oracle.ast.clause
Enum ModelClause.ModelRuleOption
java.lang.Object
java.lang.Enum<ModelClause.ModelRuleOption>
com.alibaba.druid.sql.dialect.oracle.ast.clause.ModelClause.ModelRuleOption
- All Implemented Interfaces:
- Serializable, Comparable<ModelClause.ModelRuleOption>
- Enclosing class:
- ModelClause
public static enum ModelClause.ModelRuleOption
- extends Enum<ModelClause.ModelRuleOption>
UPSERT
public static final ModelClause.ModelRuleOption UPSERT
UPDATE
public static final ModelClause.ModelRuleOption UPDATE
AUTOMATIC_ORDER
public static final ModelClause.ModelRuleOption AUTOMATIC_ORDER
SEQUENTIAL_ORDER
public static final ModelClause.ModelRuleOption SEQUENTIAL_ORDER
name
public final String name
values
public static ModelClause.ModelRuleOption[] 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 (ModelClause.ModelRuleOption c : ModelClause.ModelRuleOption.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ModelClause.ModelRuleOption 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
toString
public String toString()
- Overrides:
toString in class Enum<ModelClause.ModelRuleOption>
Copyright © 2012 Alibaba Group. All Rights Reserved.