Enum Class IPredicate.Type

java.lang.Object
java.lang.Enum<IPredicate.Type>
se.kuseman.payloadbuilder.api.catalog.IPredicate.Type
All Implemented Interfaces:
Serializable, Comparable<IPredicate.Type>, Constable
Enclosing interface:
IPredicate

public static enum IPredicate.Type extends Enum<IPredicate.Type>
Type of predicate
  • Enum Constant Details

    • COMPARISION

      public static final IPredicate.Type COMPARISION
      Comparison predicate. One of IComparisonExpression.Type is used. Will be used if the predicate pair has a column expression on either side of the comparison operator
    • IN

      public static final IPredicate.Type IN
      In predicate. IInExpression is used. Will be used if the IN operand is a column expression. Ie. t.col IN (1,2,3,4)
    • LIKE

      public static final IPredicate.Type LIKE
      Like predicate. ILikeExpression is used Will be used if the LIKE operand is a column expression. Ie. t.col LIKE 'some string'
    • NULL

      public static final IPredicate.Type NULL
      Null predicate. Will be used if the NULL operand is a column expression. Ie. t.col IS (NOT) NULL
    • FUNCTION_CALL

      public static final IPredicate.Type FUNCTION_CALL
      Function call predicate. Will be used if the predicate is a function call. Ie. function(1,2,3)
    • UNDEFINED

      public static final IPredicate.Type UNDEFINED
      Undefined type. No analyze could be made for this item. Could be a nested OR etc. Can be analyzed by catalog by using IExpressionVisitor for building a nested query etc.
  • Method Details

    • values

      public static IPredicate.Type[] 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

      public static IPredicate.Type valueOf(String name)
      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 name
      NullPointerException - if the argument is null