Package com.exasol.adapter.sql
Enum AbstractSqlPredicateJson.KeyUniquenessConstraint
- java.lang.Object
-
- java.lang.Enum<AbstractSqlPredicateJson.KeyUniquenessConstraint>
-
- com.exasol.adapter.sql.AbstractSqlPredicateJson.KeyUniquenessConstraint
-
- All Implemented Interfaces:
Serializable
,Comparable<AbstractSqlPredicateJson.KeyUniquenessConstraint>
- Enclosing class:
- AbstractSqlPredicateJson
public static enum AbstractSqlPredicateJson.KeyUniquenessConstraint extends Enum<AbstractSqlPredicateJson.KeyUniquenessConstraint>
A list of expected key uniqueness constraints.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description WITH_UNIQUE_KEYS
The With unique keys.WITHOUT_UNIQUE_KEYS
The Without unique keys.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AbstractSqlPredicateJson.KeyUniquenessConstraint
of(String value)
Of sql predicate is json .String
toString()
static AbstractSqlPredicateJson.KeyUniquenessConstraint
valueOf(String name)
Returns the enum constant of this type with the specified name.static AbstractSqlPredicateJson.KeyUniquenessConstraint[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WITH_UNIQUE_KEYS
public static final AbstractSqlPredicateJson.KeyUniquenessConstraint WITH_UNIQUE_KEYS
The With unique keys.
-
WITHOUT_UNIQUE_KEYS
public static final AbstractSqlPredicateJson.KeyUniquenessConstraint WITHOUT_UNIQUE_KEYS
The Without unique keys.
-
-
Method Detail
-
values
public static AbstractSqlPredicateJson.KeyUniquenessConstraint[] 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 (AbstractSqlPredicateJson.KeyUniquenessConstraint c : AbstractSqlPredicateJson.KeyUniquenessConstraint.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractSqlPredicateJson.KeyUniquenessConstraint 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 nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<AbstractSqlPredicateJson.KeyUniquenessConstraint>
-
of
public static AbstractSqlPredicateJson.KeyUniquenessConstraint of(String value)
Of sql predicate is json . key uniqueness constraint.- Parameters:
value
- the value- Returns:
- the sql predicate is json . key uniqueness constraint
-
-