Enum Class QueryComposer.Comparator

java.lang.Object
java.lang.Enum<QueryComposer.Comparator>
google.registry.persistence.transaction.QueryComposer.Comparator
All Implemented Interfaces:
Serializable, Comparable<QueryComposer.Comparator>, Constable
Enclosing class:
QueryComposer<T>

public static enum QueryComposer.Comparator extends Enum<QueryComposer.Comparator>
Enum used to specify comparison operations, e.g. where("fieldName", Comparator.NE, "someval")'.
  • Enum Constant Details

  • Method Details

    • values

      public static QueryComposer.Comparator[] 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 QueryComposer.Comparator 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
    • getComparisonFactory

      public Function<jakarta.persistence.criteria.CriteriaBuilder,CriteriaQueryBuilder.WhereOperator<?>> getComparisonFactory()