Package org.apache.pinot.sql
Enum FilterKind
- java.lang.Object
-
- java.lang.Enum<FilterKind>
-
- org.apache.pinot.sql.FilterKind
-
- All Implemented Interfaces:
Serializable,Comparable<FilterKind>
public enum FilterKind extends Enum<FilterKind>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANDBETWEENEQUALSGREATER_THANGREATER_THAN_OR_EQUALINIS_NOT_NULLIS_NULLJSON_MATCHLESS_THANLESS_THAN_OR_EQUALLIKENOTNOT_EQUALSNOT_INORRANGEREGEXP_LIKETEXT_CONTAINSTEXT_MATCH
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisRange()Helper method that returns true if the enum maps to a Range.static FilterKindvalueOf(String name)Returns the enum constant of this type with the specified name.static FilterKind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AND
public static final FilterKind AND
-
OR
public static final FilterKind OR
-
NOT
public static final FilterKind NOT
-
EQUALS
public static final FilterKind EQUALS
-
NOT_EQUALS
public static final FilterKind NOT_EQUALS
-
GREATER_THAN
public static final FilterKind GREATER_THAN
-
GREATER_THAN_OR_EQUAL
public static final FilterKind GREATER_THAN_OR_EQUAL
-
LESS_THAN
public static final FilterKind LESS_THAN
-
LESS_THAN_OR_EQUAL
public static final FilterKind LESS_THAN_OR_EQUAL
-
BETWEEN
public static final FilterKind BETWEEN
-
RANGE
public static final FilterKind RANGE
-
IN
public static final FilterKind IN
-
NOT_IN
public static final FilterKind NOT_IN
-
LIKE
public static final FilterKind LIKE
-
REGEXP_LIKE
public static final FilterKind REGEXP_LIKE
-
TEXT_CONTAINS
public static final FilterKind TEXT_CONTAINS
-
TEXT_MATCH
public static final FilterKind TEXT_MATCH
-
JSON_MATCH
public static final FilterKind JSON_MATCH
-
IS_NULL
public static final FilterKind IS_NULL
-
IS_NOT_NULL
public static final FilterKind IS_NOT_NULL
-
-
Method Detail
-
values
public static FilterKind[] 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 (FilterKind c : FilterKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FilterKind 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
-
isRange
public boolean isRange()
Helper method that returns true if the enum maps to a Range.- Returns:
- True if the enum is of Range type, false otherwise.
-
-