Enum SqaleOps

  • All Implemented Interfaces:
    com.querydsl.core.types.Operator, Serializable, Comparable<SqaleOps>

    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 Detail

      • LEVENSHTEIN2

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

      • values

        public static SqaleOps[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (SqaleOps c : SqaleOps.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SqaleOps 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()
        Specified by:
        getType in interface com.querydsl.core.types.Operator