Enum Class IPredicate.Type
- All Implemented Interfaces:
Serializable,Comparable<IPredicate.Type>,Constable
- Enclosing interface:
- IPredicate
Type of predicate
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionComparison predicate.Function call predicate.In predicate.Like predicate.Null predicate.Undefined type. -
Method Summary
Modifier and TypeMethodDescriptionstatic IPredicate.TypeReturns the enum constant of this class with the specified name.static IPredicate.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
COMPARISION
Comparison predicate. One ofIComparisonExpression.Typeis used. Will be used if the predicate pair has a column expression on either side of the comparison operator -
IN
In predicate.IInExpressionis used. Will be used if the IN operand is a column expression. Ie. t.col IN (1,2,3,4) -
LIKE
Like predicate.ILikeExpressionis used Will be used if the LIKE operand is a column expression. Ie. t.col LIKE 'some string' -
NULL
Null predicate. Will be used if the NULL operand is a column expression. Ie. t.col IS (NOT) NULL -
FUNCTION_CALL
Function call predicate. Will be used if the predicate is a function call. Ie. function(1,2,3) -
UNDEFINED
Undefined type. No analyze could be made for this item. Could be a nested OR etc. Can be analyzed by catalog by usingIExpressionVisitorfor building a nested query etc.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-