Class PartialMatchMatcher<T extends PartialMatch>
- java.lang.Object
-
- com.apple.foundationdb.record.query.plan.temp.matchers.TypeMatcher<T>
-
- com.apple.foundationdb.record.query.plan.temp.matchers.PartialMatchMatcher<T>
-
- Type Parameters:
T
- the type ofPartialMatch
to match against
- All Implemented Interfaces:
ExpressionMatcher<T>
public class PartialMatchMatcher<T extends PartialMatch> extends TypeMatcher<T>
Matches a subclass ofPartialMatch
and a given matcher against the children.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.apple.foundationdb.record.query.plan.temp.matchers.ExpressionMatcher
ExpressionMatcher.DefaultMatcher<T extends Bindable>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PartialMatchMatcher<PartialMatch>
any()
Matches anyPartialMatch
.static PartialMatchMatcher<PartialMatch>
completeMatch()
Matches anyPartialMatch
that is complete.static PartialMatchMatcher<PartialMatch>
completeMatchOnExpression()
Matches anyPartialMatch
that is complete.static ExpressionMatcher<PartialMatch>
expressionWithCurrentPartialMatches()
static PartialMatchMatcher<PartialMatch>
incompleteMatch()
Matches anyPartialMatch
that is not yet complete.-
Methods inherited from class com.apple.foundationdb.record.query.plan.temp.matchers.TypeMatcher
getChildrenMatcher, getRootClass, matchWith, matchWith, matchWith, matchWith, matchWith, matchWith, of, of, of
-
-
-
-
Method Detail
-
any
@Nonnull public static PartialMatchMatcher<PartialMatch> any()
Matches anyPartialMatch
.- Returns:
- a matcher matching any partial match
-
completeMatch
@Nonnull public static PartialMatchMatcher<PartialMatch> completeMatch()
Matches anyPartialMatch
that is complete.- Returns:
- a matcher matching any partial match
-
incompleteMatch
@Nonnull public static PartialMatchMatcher<PartialMatch> incompleteMatch()
Matches anyPartialMatch
that is not yet complete.- Returns:
- a matcher matching any partial match
-
completeMatchOnExpression
@Nonnull public static PartialMatchMatcher<PartialMatch> completeMatchOnExpression()
Matches anyPartialMatch
that is complete.- Returns:
- a matcher matching any partial match
-
expressionWithCurrentPartialMatches
public static ExpressionMatcher<PartialMatch> expressionWithCurrentPartialMatches()
-
-