Package org.apache.pinot.common.request
Enum FilterOperator
- java.lang.Object
-
- java.lang.Enum<FilterOperator>
-
- org.apache.pinot.common.request.FilterOperator
-
- All Implemented Interfaces:
Serializable,Comparable<FilterOperator>,org.apache.thrift.TEnum
@Generated(value="Autogenerated by Thrift Compiler (0.13.0)", date="2021-09-28") public enum FilterOperator extends Enum<FilterOperator> implements org.apache.thrift.TEnumAUTO GENERATED: DO NOT EDIT Filter Operator
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANDEQUALITYINIS_NOT_NULLIS_NULLJSON_MATCHNOTNOT_INORRANGEREGEXP_LIKETEXT_MATCH
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FilterOperatorfindByValue(int value)Find a the enum type by its integer value, as defined in the Thrift IDL.intgetValue()Get the integer value of this enum value, as defined in the Thrift IDL.static FilterOperatorvalueOf(String name)Returns the enum constant of this type with the specified name.static FilterOperator[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AND
public static final FilterOperator AND
-
OR
public static final FilterOperator OR
-
EQUALITY
public static final FilterOperator EQUALITY
-
NOT
public static final FilterOperator NOT
-
RANGE
public static final FilterOperator RANGE
-
REGEXP_LIKE
public static final FilterOperator REGEXP_LIKE
-
NOT_IN
public static final FilterOperator NOT_IN
-
IN
public static final FilterOperator IN
-
IS_NULL
public static final FilterOperator IS_NULL
-
IS_NOT_NULL
public static final FilterOperator IS_NOT_NULL
-
TEXT_MATCH
public static final FilterOperator TEXT_MATCH
-
JSON_MATCH
public static final FilterOperator JSON_MATCH
-
-
Method Detail
-
values
public static FilterOperator[] 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 (FilterOperator c : FilterOperator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FilterOperator 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 nameNullPointerException- if the argument is null
-
getValue
public int getValue()
Get the integer value of this enum value, as defined in the Thrift IDL.- Specified by:
getValuein interfaceorg.apache.thrift.TEnum
-
findByValue
public static FilterOperator findByValue(int value)
Find a the enum type by its integer value, as defined in the Thrift IDL.- Returns:
- null if the value is not found.
-
-