Class TextContainsPredicate
- java.lang.Object
-
- org.apache.pinot.common.request.context.predicate.BasePredicate
-
- org.apache.pinot.common.request.context.predicate.TextContainsPredicate
-
- All Implemented Interfaces:
Predicate
public class TextContainsPredicate extends BasePredicate
Represents a TEXT_CONTAINS predicate.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.pinot.common.request.context.predicate.Predicate
Predicate.Type
-
-
Field Summary
-
Fields inherited from class org.apache.pinot.common.request.context.predicate.BasePredicate
_lhs
-
-
Constructor Summary
Constructors Constructor Description TextContainsPredicate(ExpressionContext lhs, String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)ExpressionContextgetLhs()Returns the left-hand side expression of the predicate.Predicate.TypegetType()Returns the type of the predicate.StringgetValue()inthashCode()voidsetLhs(ExpressionContext lhs)Sets the left-hand side expression of the predicate.StringtoString()
-
-
-
Constructor Detail
-
TextContainsPredicate
public TextContainsPredicate(ExpressionContext lhs, String value)
-
-
Method Detail
-
getType
public Predicate.Type getType()
Description copied from interface:PredicateReturns the type of the predicate.
-
getLhs
public ExpressionContext getLhs()
Description copied from interface:PredicateReturns the left-hand side expression of the predicate.- Specified by:
getLhsin interfacePredicate- Overrides:
getLhsin classBasePredicate
-
setLhs
public void setLhs(ExpressionContext lhs)
Description copied from interface:PredicateSets the left-hand side expression of the predicate.- Specified by:
setLhsin interfacePredicate- Overrides:
setLhsin classBasePredicate
-
getValue
public String getValue()
-
-