Package com.exasol.adapter.sql
Enum Predicate
- java.lang.Object
-
- java.lang.Enum<Predicate>
-
- com.exasol.adapter.sql.Predicate
-
- All Implemented Interfaces:
Serializable,Comparable<Predicate>
public enum Predicate extends Enum<Predicate>
List of all predicates (scalar functions returning bool) supported by EXASOL.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANDAnd predicate.BETWEENBetween predicate.EQUALEqual predicate.IN_CONSTLISTIn constlist predicate.IS_JSONIs json predicate.IS_NOT_JSONIs not json predicate.IS_NOT_NULLIs not null predicate.IS_NULLIs null predicate.LESSLess predicate.LESSEQUALLessequal predicate.LIKELike predicate.NOTNot predicate.NOTEQUALNotequal predicate.OROr predicate.REGEXP_LIKERegexp like predicate.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PredicatevalueOf(String name)Returns the enum constant of this type with the specified name.static Predicate[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AND
public static final Predicate AND
And predicate.
-
OR
public static final Predicate OR
Or predicate.
-
NOT
public static final Predicate NOT
Not predicate.
-
EQUAL
public static final Predicate EQUAL
Equal predicate.
-
NOTEQUAL
public static final Predicate NOTEQUAL
Notequal predicate.
-
LESS
public static final Predicate LESS
Less predicate.
-
LESSEQUAL
public static final Predicate LESSEQUAL
Lessequal predicate.
-
LIKE
public static final Predicate LIKE
Like predicate.
-
REGEXP_LIKE
public static final Predicate REGEXP_LIKE
Regexp like predicate.
-
BETWEEN
public static final Predicate BETWEEN
Between predicate.
-
IN_CONSTLIST
public static final Predicate IN_CONSTLIST
In constlist predicate.
-
IS_NULL
public static final Predicate IS_NULL
Is null predicate.
-
IS_NOT_NULL
public static final Predicate IS_NOT_NULL
Is not null predicate.
-
IS_JSON
public static final Predicate IS_JSON
Is json predicate.
-
IS_NOT_JSON
public static final Predicate IS_NOT_JSON
Is not json predicate.
-
-
Method Detail
-
values
public static Predicate[] 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 (Predicate c : Predicate.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Predicate 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
-
-