Class BoundMatch<R>
- java.lang.Object
-
- com.apple.foundationdb.record.query.plan.temp.matching.BoundMatch<R>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AliasMap
getAliasMap()
R
getMatchResult()
Optional<R>
getMatchResultOptional()
static <R> BoundMatch<R>
withAliasMap(AliasMap aliasMap)
Factory method to create a bound match with no match result.static <R> BoundMatch<R>
withAliasMapAndMatchResult(AliasMap aliasMap, R matchResult)
Factory method to create a bound match with a proper match result.
-
-
-
Method Detail
-
withAliasMapAndMatchResult
@Nonnull public static <R> BoundMatch<R> withAliasMapAndMatchResult(AliasMap aliasMap, @Nonnull R matchResult)
Factory method to create a bound match with a proper match result.- Type Parameters:
R
- result type- Parameters:
aliasMap
- the alias map for this match containing all mappings necessary to describe this match (even bindings coming from external (deep) correlationsmatchResult
- a match result- Returns:
- a newly created bound match
-
withAliasMap
@Nonnull public static <R> BoundMatch<R> withAliasMap(AliasMap aliasMap)
Factory method to create a bound match with no match result.- Type Parameters:
R
- result type- Parameters:
aliasMap
- the alias map for this match containing all mappings necessary to describe this match (even bindings coming from external (deep) correlations- Returns:
- a newly created bound match that does not hold a match result
-
-