java.lang.Object
java.lang.Enum<Op>
io.ebeaninternal.server.expression.Op
All Implemented Interfaces:
Serializable, Comparable<Op>

public enum Op extends Enum<Op>
Simple operators - equals, greater than, less than etc.
  • Enum Constant Details

    • EXISTS

      public static final Op EXISTS
      Exists (JSON).
    • NOT_EXISTS

      public static final Op NOT_EXISTS
      Not Exists (JSON).
    • BETWEEN

      public static final Op BETWEEN
      Between (JSON).
    • EQ

      public static final Op EQ
      Equal to
    • NOT_EQ

      public static final Op NOT_EQ
      Not equal to.
    • LT

      public static final Op LT
      Less than.
    • LT_EQ

      public static final Op LT_EQ
      Less than or equal to.
    • GT

      public static final Op GT
      Greater than.
    • GT_EQ

      public static final Op GT_EQ
      Greater than or equal to.
  • Method Details

    • values

      public static Op[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Op 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 name
      NullPointerException - if the argument is null
    • bind

      public String bind()
      Return the bind expression include JDBC ? bind placeholder.
    • docExp

      public String docExp()
      Return the doc store expression.