Enum Ops

java.lang.Object
java.lang.Enum<Ops>
com.querydsl.core.types.Ops
All Implemented Interfaces:
Operator, Serializable, Comparable<Ops>, java.lang.constant.Constable

public enum Ops extends Enum<Ops> implements Operator
Ops provides the operators for the fluent query grammar.
Author:
tiwe
  • Enum Constant Details

    • EQ

      public static final Ops EQ
    • NE

      public static final Ops NE
    • IS_NULL

      public static final Ops IS_NULL
    • IS_NOT_NULL

      public static final Ops IS_NOT_NULL
    • INSTANCE_OF

      public static final Ops INSTANCE_OF
    • NUMCAST

      public static final Ops NUMCAST
    • STRING_CAST

      public static final Ops STRING_CAST
    • ALIAS

      public static final Ops ALIAS
    • LIST

      public static final Ops LIST
    • SET

      public static final Ops SET
    • SINGLETON

      public static final Ops SINGLETON
    • ORDINAL

      public static final Ops ORDINAL
    • WRAPPED

      public static final Ops WRAPPED
    • ORDER

      public static final Ops ORDER
    • IN

      public static final Ops IN
    • NOT_IN

      public static final Ops NOT_IN
    • COL_IS_EMPTY

      public static final Ops COL_IS_EMPTY
    • COL_SIZE

      public static final Ops COL_SIZE
    • ARRAY_SIZE

      public static final Ops ARRAY_SIZE
    • CONTAINS_KEY

      public static final Ops CONTAINS_KEY
    • CONTAINS_VALUE

      public static final Ops CONTAINS_VALUE
    • MAP_SIZE

      public static final Ops MAP_SIZE
    • MAP_IS_EMPTY

      public static final Ops MAP_IS_EMPTY
    • AND

      public static final Ops AND
    • NOT

      public static final Ops NOT
    • OR

      public static final Ops OR
    • XNOR

      public static final Ops XNOR
    • XOR

      public static final Ops XOR
    • BETWEEN

      public static final Ops BETWEEN
    • GOE

      public static final Ops GOE
    • GT

      public static final Ops GT
    • LOE

      public static final Ops LOE
    • LT

      public static final Ops LT
    • NEGATE

      public static final Ops NEGATE
    • ADD

      public static final Ops ADD
    • DIV

      public static final Ops DIV
    • MULT

      public static final Ops MULT
    • SUB

      public static final Ops SUB
    • MOD

      public static final Ops MOD
    • CHAR_AT

      public static final Ops CHAR_AT
    • CONCAT

      public static final Ops CONCAT
    • LOWER

      public static final Ops LOWER
    • SUBSTR_1ARG

      public static final Ops SUBSTR_1ARG
    • SUBSTR_2ARGS

      public static final Ops SUBSTR_2ARGS
    • TRIM

      public static final Ops TRIM
    • UPPER

      public static final Ops UPPER
    • MATCHES

      public static final Ops MATCHES
    • MATCHES_IC

      public static final Ops MATCHES_IC
    • STRING_LENGTH

      public static final Ops STRING_LENGTH
    • STRING_IS_EMPTY

      public static final Ops STRING_IS_EMPTY
    • STARTS_WITH

      public static final Ops STARTS_WITH
    • STARTS_WITH_IC

      public static final Ops STARTS_WITH_IC
    • INDEX_OF_2ARGS

      public static final Ops INDEX_OF_2ARGS
    • INDEX_OF

      public static final Ops INDEX_OF
    • EQ_IGNORE_CASE

      public static final Ops EQ_IGNORE_CASE
    • ENDS_WITH

      public static final Ops ENDS_WITH
    • ENDS_WITH_IC

      public static final Ops ENDS_WITH_IC
    • STRING_CONTAINS

      public static final Ops STRING_CONTAINS
    • STRING_CONTAINS_IC

      public static final Ops STRING_CONTAINS_IC
    • LIKE

      public static final Ops LIKE
    • LIKE_IC

      public static final Ops LIKE_IC
    • LIKE_ESCAPE

      public static final Ops LIKE_ESCAPE
    • LIKE_ESCAPE_IC

      public static final Ops LIKE_ESCAPE_IC
    • CASE

      public static final Ops CASE
    • CASE_WHEN

      public static final Ops CASE_WHEN
    • CASE_ELSE

      public static final Ops CASE_ELSE
    • CASE_EQ

      public static final Ops CASE_EQ
    • CASE_EQ_WHEN

      public static final Ops CASE_EQ_WHEN
    • CASE_EQ_ELSE

      public static final Ops CASE_EQ_ELSE
    • COALESCE

      public static final Ops COALESCE
    • NULLIF

      public static final Ops NULLIF
    • EXISTS

      public static final Ops EXISTS
  • Field Details

    • equalsOps

      public static final Set<Ops> equalsOps
    • notEqualsOps

      public static final Set<Ops> notEqualsOps
    • compareOps

      public static final Set<Ops> compareOps
    • aggOps

      public static final Set<Ops.AggOps> aggOps
  • Method Details

    • values

      public static Ops[] 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 Ops 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
    • getType

      public Class<?> getType()
      Description copied from interface: Operator
      Get the result type of the operator
      Specified by:
      getType in interface Operator
      Returns:
      type