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 ANDBETWEENEQUALIN_CONSTLISTIS_JSONIS_NOT_JSONIS_NOT_NULLIS_NULLLESSLESSEQUALLIKELIKE_ESCAPEThe LIKE predicate with the optional escape character definedNOTNOTEQUALORREGEXP_LIKE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PredicategetPredicate()static PredicateCapabilityvalueOf(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
-
OR
public static final PredicateCapability OR
-
NOT
public static final PredicateCapability NOT
-
EQUAL
public static final PredicateCapability EQUAL
-
NOTEQUAL
public static final PredicateCapability NOTEQUAL
-
LESS
public static final PredicateCapability LESS
-
LESSEQUAL
public static final PredicateCapability LESSEQUAL
-
LIKE
public static final PredicateCapability LIKE
-
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
-
BETWEEN
public static final PredicateCapability BETWEEN
-
IN_CONSTLIST
public static final PredicateCapability IN_CONSTLIST
-
IS_NULL
public static final PredicateCapability IS_NULL
-
IS_NOT_NULL
public static final PredicateCapability IS_NOT_NULL
-
IS_JSON
public static final PredicateCapability IS_JSON
-
IS_NOT_JSON
public static final PredicateCapability IS_NOT_JSON
-
-
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()
-
-