Enum Class FilterExpressionOperator

java.lang.Object
java.lang.Enum<FilterExpressionOperator>
com.caplin.streamlink.FilterExpressionOperator
All Implemented Interfaces:
Serializable, Comparable<FilterExpressionOperator>, Constable

public enum FilterExpressionOperator extends Enum<FilterExpressionOperator>

Enumeration that represents the operators that are available for a FieldFilterExpression.

  • Enum Constant Details

    • EQUAL

      public static final FilterExpressionOperator EQUAL

      Operator used to check for an exact match between a field and a value.

    • NOT_EQUAL

      public static final FilterExpressionOperator NOT_EQUAL

      Operator used to check that a field does not match a particular value.

    • GREATER_THAN

      public static final FilterExpressionOperator GREATER_THAN

      Operator used to check that a field is greater than a particular value.

    • GREATER_THAN_OR_EQUAL

      public static final FilterExpressionOperator GREATER_THAN_OR_EQUAL

      Operator used to check that a field is greater than or equal to a particular value.

    • LESS_THAN

      public static final FilterExpressionOperator LESS_THAN

      Operator used to check that a field is less than a particular value.

    • LESS_THAN_OR_EQUAL

      public static final FilterExpressionOperator LESS_THAN_OR_EQUAL

      Operator used to check that a field is less than or equal to a particular value.

    • REGULAR_EXPRESSION

      public static final FilterExpressionOperator REGULAR_EXPRESSION

      Operator used to check that a string field matches a particular regular expression.

    • CASE_INSENSITIVE_REGULAR_EXPRESSION

      public static final FilterExpressionOperator CASE_INSENSITIVE_REGULAR_EXPRESSION

      Operator used to check that a string field matches a particular regular expression where an exact case match is not necessary.

    • NUMERIC_EQUAL

      public static final FilterExpressionOperator NUMERIC_EQUAL

      Operator used to check for an exact match between a numeric field and value.

    • NUMERIC_NOT_EQUAL

      public static final FilterExpressionOperator NUMERIC_NOT_EQUAL

      Operator used to check that a numeric field does not match a particular value.

    • VALUE_IS_NULL

      public static final FilterExpressionOperator VALUE_IS_NULL

      Operator used to check that a field matches a null value.

  • Method Details

    • values

      public static FilterExpressionOperator[] 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 FilterExpressionOperator 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