Class ContextualArrayBindings<C,R>
java.lang.Object
io.nosqlbench.virtdata.core.bindings.ContextualArrayBindings<C,R>
- Type Parameters:
C- The type of the contextual template object.R- The resulting type from binding mapped values with the contextual template C
- All Implemented Interfaces:
Binder<R>,LongFunction<R>
A thread-local template that describes a set of data mappers, a context object, and a method for applying mapped values to the context object via an object array. This type is used in thread-local scope to map thread-specific data mapper instances to a contextual template object and a method for applying mapped values to it.
This type is generally constructed by a ContextualBindingsTemplate.
-
Constructor Summary
ConstructorsConstructorDescriptionContextualArrayBindings(Bindings bindings, C context, ValuesArrayBinder<C, R> valuesArrayBinder) -
Method Summary
-
Constructor Details
-
ContextualArrayBindings
public ContextualArrayBindings(Bindings bindings, C context, ValuesArrayBinder<C, R> valuesArrayBinder)
-
-
Method Details
-
getBindings
-
getContext
-
bind
-
toString
-