Package com.apple.foundationdb.record.query.plan.temp.matching
This package contains everything related to graph matching.
-
Interface Summary Interface Description EnumerationFunction<R> Functional interface to allow implementors to provide use case-specific logic when permutations are enumerated byBaseMatcher.match(com.apple.foundationdb.record.query.plan.temp.matching.EnumerationFunction<R>)
.GenericMatcher<R> Tag interface for generic matchers, that is instances ofComputingMatcher
.MatchAccumulator<M,R> Class to used to accumulate the individual match results (the results of applying theMatchFunction
) into an object of typeR
.MatchFunction<T,M> An functional interface for a match function that computes a match result (anIterable
of typeM
.MatchPredicate<T> An predicate that tests for a match between quantifiers also taking into account an equivalence maps betweenCorrelationIdentifier
s.PredicatedMatcher Tag interface for predicate matchers, that is instances ofFindingMatcher
. -
Class Summary Class Description BaseMatcher<T> Abstract base class for all matchers.BoundMatch<R> Case class to represent a match for matchers that compute a result.ComputingMatcher<T,M,R> This class implements aGenericMatcher
which matches two sets of elements of typeT
to compute a result of typeIterable<BoundMatch<R>>
.FindingMatcher<T> This class implements aPredicatedMatcher
which matches two sets of elements of typeT
to compute anIterable
ofAliasMap
s.