Class Flow
java.lang.Object
io.nosqlbench.virtdata.library.basics.shared.functionadapters.Flow
- All Implemented Interfaces:
LongFunction<Object>
Combine functions into one.
This function allows you to combine multiple other functions into one. This is often useful for constructing more sophisticated recipes, when you don't have the ability to use control flow or non-functional forms.
The functions will be stitched together using the same logic that VirtData uses when
combining flows outside functions. That said, if the functions selected are not the right ones,
then it is possible to end up with the wrong data type at the end. To remedy this, be sure
to add input and output qualifiers, like long-> or ->String where
appropriate, to ensure that VirtData selects the right functions within the flow.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Flow
-
-
Method Details
-
apply
- Specified by:
applyin interfaceLongFunction<Object>
-