Class MatchInfo
- java.lang.Object
-
- com.apple.foundationdb.record.query.plan.temp.MatchInfo
-
public class MatchInfo extends Object
This class represents the result of matching one expression against a candidate.
-
-
Method Summary
-
-
-
Method Detail
-
getParameterBindingMap
@Nonnull public Map<CorrelationIdentifier,ComparisonRange> getParameterBindingMap()
-
getChildPartialMatches
@Nonnull public List<PartialMatch> getChildPartialMatches()
-
getChildPartialMatch
@Nonnull public Optional<PartialMatch> getChildPartialMatch(@Nonnull Quantifier quantifier)
-
getChildPartialMatch
@Nonnull public Optional<PartialMatch> getChildPartialMatch(@Nonnull CorrelationIdentifier alias)
-
getPredicateMap
@Nonnull public PredicateMap getPredicateMap()
-
getAccumulatedPredicateMap
@Nonnull public PredicateMap getAccumulatedPredicateMap()
-
getBoundKeyParts
@Nonnull public List<BoundKeyPart> getBoundKeyParts()
-
isReverse
public boolean isReverse()
-
withOrderingInfo
public MatchInfo withOrderingInfo(@Nonnull List<BoundKeyPart> boundKeyParts, boolean isReverse)
-
tryFromMatchMap
@Nonnull public static Optional<MatchInfo> tryFromMatchMap(@Nonnull IdentityBiMap<Quantifier,PartialMatch> partialMatchMap)
-
tryMerge
@Nonnull public static Optional<MatchInfo> tryMerge(@Nonnull IdentityBiMap<Quantifier,PartialMatch> partialMatchMap, @Nonnull Map<CorrelationIdentifier,ComparisonRange> parameterBindingMap, @Nonnull PredicateMap predicateMap)
-
tryMergeParameterBindings
public static Optional<Map<CorrelationIdentifier,ComparisonRange>> tryMergeParameterBindings(Collection<Map<CorrelationIdentifier,ComparisonRange>> parameterBindingMaps)
-
-