Interface Predicate
-
- All Known Implementing Classes:
BaseInPredicate,BasePredicate,EqPredicate,InPredicate,IsNotNullPredicate,IsNullPredicate,JsonMatchPredicate,NotEqPredicate,NotInPredicate,RangePredicate,RegexpLikePredicate,TextContainsPredicate,TextMatchPredicate
public interface PredicateThePredicateclass represents the predicate in the filter.Currently the query engine only accepts string literals as the right-hand side of the predicate, so we store the right-hand side of the predicate as string or list of strings.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPredicate.Type
-
Method Summary
Modifier and Type Method Description ExpressionContextgetLhs()Returns the left-hand side expression of the predicate.Predicate.TypegetType()Returns the type of the predicate.voidsetLhs(ExpressionContext lhs)Sets the left-hand side expression of the predicate.
-
-
-
Method Detail
-
getType
Predicate.Type getType()
Returns the type of the predicate.
-
getLhs
ExpressionContext getLhs()
Returns the left-hand side expression of the predicate.
-
setLhs
void setLhs(ExpressionContext lhs)
Sets the left-hand side expression of the predicate.
-
-