Enum CoreFunctionType

    • Enum Constant Detail

      • LIKE_TO

        public static final CoreFunctionType LIKE_TO

        The LIKE_TO operator is intended to emulate the SQL like operator.It's used to search for a specified pattern in a data set's column.

        Allowed wildcards are:

        • _ - A substitute for a single character.
        • % - A substitute for zero or more characters.
        • [charlist] - Sets and ranges of characters to match.
        • [^charlist] - Matches only a character NOT specified within the brackets.

        The implementation is supported for TEXT or LABEL column types and it's case sensitive or unsensitive depending on the boolean value returned by its second parameter.

      • GREATER_OR_EQUALS_TO

        public static final CoreFunctionType GREATER_OR_EQUALS_TO
    • Method Detail

      • values

        public static CoreFunctionType[] 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 (CoreFunctionType c : CoreFunctionType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CoreFunctionType 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
      • getIndex

        public int getIndex()
      • getParametersCount

        public int getParametersCount()
      • supportsType

        public boolean supportsType​(ColumnType type)
      • getNumberOfParameters

        public static int getNumberOfParameters​(String type)