Class AndOrPredicate
- java.lang.Object
-
- com.apple.foundationdb.record.query.predicates.AndOrPredicate
-
- All Implemented Interfaces:
PlanHashable
,Bindable
,QueryPredicate
- Direct Known Subclasses:
AndPredicate
,OrPredicate
@API(EXPERIMENTAL) public abstract class AndOrPredicate extends Object implements QueryPredicate
Common base class for predicates with many children, such asAndPredicate
andOrPredicate
.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AndOrPredicate(List<QueryPredicate> operands)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stream<PlannerBindings>
bindTo(ExpressionMatcher<? extends Bindable> matcher)
Attempt to match the matcher to this bindable object.List<QueryPredicate>
getChildren()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.apple.foundationdb.record.PlanHashable
planHash
-
Methods inherited from interface com.apple.foundationdb.record.query.predicates.QueryPredicate
eval
-
-
-
-
Constructor Detail
-
AndOrPredicate
protected AndOrPredicate(@Nonnull List<QueryPredicate> operands)
-
-
Method Detail
-
getChildren
@Nonnull public List<QueryPredicate> getChildren()
-
bindTo
@Nonnull public Stream<PlannerBindings> bindTo(@Nonnull ExpressionMatcher<? extends Bindable> matcher)
Description copied from interface:Bindable
Attempt to match the matcher to this bindable object.
-
-