Class PlannerBindings.Builder
- java.lang.Object
-
- com.apple.foundationdb.record.query.plan.temp.matchers.PlannerBindings.Builder
-
- Enclosing class:
- PlannerBindings
public static class PlannerBindings.Builder extends Object
A mutable builder for a set ofPlannerBindings
which can be used to incrementally build up a set of bindings without repeatedly callingPlannerBindings.mergedWith(PlannerBindings)
, which is less efficient.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlannerBindings
build()
PlannerBindings.Builder
put(ExpressionMatcher<? extends Bindable> key, Bindable bindable)
PlannerBindings.Builder
putAll(ExpressionMatcher<? extends Bindable> key, Iterable<? extends Bindable> bindables)
PlannerBindings.Builder
putAll(PlannerBindings plannerBindings)
-
-
-
Method Detail
-
put
@Nonnull public PlannerBindings.Builder put(@Nonnull ExpressionMatcher<? extends Bindable> key, @Nonnull Bindable bindable)
-
putAll
@Nonnull public PlannerBindings.Builder putAll(@Nonnull ExpressionMatcher<? extends Bindable> key, @Nonnull Iterable<? extends Bindable> bindables)
-
putAll
@Nonnull public PlannerBindings.Builder putAll(@Nonnull PlannerBindings plannerBindings)
-
build
public PlannerBindings build()
-
-