Enum FilterExpressionOperator
- java.lang.Object
-
- java.lang.Enum<FilterExpressionOperator>
-
- com.caplin.streamlink.FilterExpressionOperator
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<FilterExpressionOperator>
public enum FilterExpressionOperator extends java.lang.Enum<FilterExpressionOperator>
Enumeration that represents the operators that are available for a FieldFilterExpression.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description 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.EQUAL
Operator used to check for an exact match between a field and a value.GREATER_THAN
Operator used to check that a field is greater than a particular value.GREATER_THAN_OR_EQUAL
Operator used to check that a field is greater than or equal to a particular value.LESS_THAN
Operator used to check that a field is less than a particular value.LESS_THAN_OR_EQUAL
Operator used to check that a field is less than or equal to a particular value.NOT_EQUAL
Operator used to check that a field does not match a particular value.NUMERIC_EQUAL
Operator used to check for an exact match between a numeric field and value.NUMERIC_NOT_EQUAL
Operator used to check that a numeric field does not match a particular value.REGULAR_EXPRESSION
Operator used to check that a string field matches a particular regular expression.VALUE_IS_NULL
Operator used to check that a field matches a null value.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FilterExpressionOperator
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FilterExpressionOperator[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static FilterExpressionOperator[] 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 (FilterExpressionOperator c : FilterExpressionOperator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FilterExpressionOperator valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-