Enum Class SqaleOps

java.lang.Object
java.lang.Enum<SqaleOps>
com.evolveum.midpoint.repo.sqlbase.querydsl.SqaleOps
All Implemented Interfaces:
com.querydsl.core.types.Operator, Serializable, Comparable<SqaleOps>, Constable

public enum SqaleOps extends Enum<SqaleOps> implements com.querydsl.core.types.Operator
Set of operators supported by midPoint Native repository in addition to standard PG template available in Querydsl. Operations and functions used here are documented on the following pages: * https://www.postgresql.org/docs/current/fuzzystrmatch.html TODO: If this is not used and string templates are generated in the filters directly, it can be removed including the test using this.
  • Enum Constant Details

    • LEVENSHTEIN2

      public static final SqaleOps LEVENSHTEIN2
      2-parameter version of levenshtein() function.
  • Method Details

    • values

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

      public Class<?> getType()
      Specified by:
      getType in interface com.querydsl.core.types.Operator