Enum Predicate.Type
- java.lang.Object
-
- java.lang.Enum<Predicate.Type>
-
- org.apache.pinot.common.request.context.predicate.Predicate.Type
-
- All Implemented Interfaces:
Serializable,Comparable<Predicate.Type>,java.lang.constant.Constable
- Enclosing interface:
- Predicate
public static enum Predicate.Type extends Enum<Predicate.Type>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EQINIS_NOT_NULLIS_NULLJSON_MATCHNOT_EQNOT_INRANGEREGEXP_LIKETEXT_CONTAINSTEXT_MATCH
-
Method Summary
Modifier and Type Method Description booleanisExclusive()static Predicate.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static Predicate.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQ
public static final Predicate.Type EQ
-
NOT_EQ
public static final Predicate.Type NOT_EQ
-
IN
public static final Predicate.Type IN
-
NOT_IN
public static final Predicate.Type NOT_IN
-
RANGE
public static final Predicate.Type RANGE
-
REGEXP_LIKE
public static final Predicate.Type REGEXP_LIKE
-
TEXT_CONTAINS
public static final Predicate.Type TEXT_CONTAINS
-
TEXT_MATCH
public static final Predicate.Type TEXT_MATCH
-
JSON_MATCH
public static final Predicate.Type JSON_MATCH
-
IS_NULL
public static final Predicate.Type IS_NULL
-
IS_NOT_NULL
public static final Predicate.Type IS_NOT_NULL
-
-
Method Detail
-
values
public static Predicate.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Predicate.Type 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
-
isExclusive
public boolean isExclusive()
-
-