Class AnyChildrenMatcher
- java.lang.Object
-
- com.apple.foundationdb.record.query.plan.temp.matchers.AnyChildrenMatcher
-
- All Implemented Interfaces:
ExpressionChildrenMatcher
public class AnyChildrenMatcher extends Object implements ExpressionChildrenMatcher
A children matcher that matches any set of children.
-
-
Field Summary
Fields Modifier and Type Field Description static ExpressionChildrenMatcher
ANY
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stream<PlannerBindings>
matches(List<? extends Bindable> children)
Apply this matcher to the children provided by the given iterator and produce a stream of possible bindings.
-
-
-
Field Detail
-
ANY
public static final ExpressionChildrenMatcher ANY
-
-
Method Detail
-
matches
@Nonnull public Stream<PlannerBindings> matches(@Nonnull List<? extends Bindable> children)
Description copied from interface:ExpressionChildrenMatcher
Apply this matcher to the children provided by the given iterator and produce a stream of possible bindings. If the match is not successful, produce an empty stream. Note that this method should not generally match to the children themselves; instead, it should delegate that work to one or more innerExpressionMatcher
s.- Specified by:
matches
in interfaceExpressionChildrenMatcher
- Parameters:
children
- a list of references to the children of a planner expression- Returns:
- a stream of the possible bindings from applying this match to the children in the given iterator
-
-