Package com.exasol.adapter.capabilities
Enum PredicateCapability
- java.lang.Object
-
- java.lang.Enum<PredicateCapability>
-
- com.exasol.adapter.capabilities.PredicateCapability
-
- All Implemented Interfaces:
Serializable
,Comparable<PredicateCapability>
public enum PredicateCapability extends Enum<PredicateCapability>
List of all Predicates (scalar functions returning bool) supported by EXASOL.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AND
And predicate capability.BETWEEN
Between predicate capability.EQUAL
Equal predicate capability.IN_CONSTLIST
In constlist predicate capability.IS_JSON
Is json predicate capability.IS_NOT_JSON
Is not json predicate capability.IS_NOT_NULL
Is not null predicate capability.IS_NULL
Is null predicate capability.LESS
Less predicate capability.LESSEQUAL
Lessequal predicate capability.LIKE
Like predicate capability.LIKE_ESCAPE
The LIKE predicate with the optional escape character definedNOT
Not predicate capability.NOTEQUAL
Notequal predicate capability.OR
Or predicate capability.REGEXP_LIKE
Regexp like predicate capability.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Predicate
getPredicate()
Gets predicate.static PredicateCapability
valueOf(String name)
Returns the enum constant of this type with the specified name.static PredicateCapability[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AND
public static final PredicateCapability AND
And predicate capability.
-
OR
public static final PredicateCapability OR
Or predicate capability.
-
NOT
public static final PredicateCapability NOT
Not predicate capability.
-
EQUAL
public static final PredicateCapability EQUAL
Equal predicate capability.
-
NOTEQUAL
public static final PredicateCapability NOTEQUAL
Notequal predicate capability.
-
LESS
public static final PredicateCapability LESS
Less predicate capability.
-
LESSEQUAL
public static final PredicateCapability LESSEQUAL
Lessequal predicate capability.
-
LIKE
public static final PredicateCapability LIKE
Like predicate capability.
-
LIKE_ESCAPE
public static final PredicateCapability LIKE_ESCAPE
The LIKE predicate with the optional escape character defined
-
REGEXP_LIKE
public static final PredicateCapability REGEXP_LIKE
Regexp like predicate capability.
-
BETWEEN
public static final PredicateCapability BETWEEN
Between predicate capability.
-
IN_CONSTLIST
public static final PredicateCapability IN_CONSTLIST
In constlist predicate capability.
-
IS_NULL
public static final PredicateCapability IS_NULL
Is null predicate capability.
-
IS_NOT_NULL
public static final PredicateCapability IS_NOT_NULL
Is not null predicate capability.
-
IS_JSON
public static final PredicateCapability IS_JSON
Is json predicate capability.
-
IS_NOT_JSON
public static final PredicateCapability IS_NOT_JSON
Is not json predicate capability.
-
-
Method Detail
-
values
public static PredicateCapability[] 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 (PredicateCapability c : PredicateCapability.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PredicateCapability 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
-
getPredicate
public Predicate getPredicate()
Gets predicate.- Returns:
- the predicate
-
-