R - The type of reference used to select from and project into tuples in the context.F - The type of ConsumerProducerFunction wrapped by the context.public static class PassThroughFunctionContext.Builder<R,F extends ConsumerProducerFunction> extends ConsumerFunctionContext.Builder<R,F>
PassThroughFunctionContext.| Constructor and Description |
|---|
Builder()
Create a
Builder to configure a new
PassThroughFunctionContext. |
Builder(PassThroughFunctionContext<R,F> context)
Create a
Builder to configure a PassThroughFunctionContext. |
| Modifier and Type | Method and Description |
|---|---|
PassThroughFunctionContext<R,F> |
build()
Build the
FunctionContext configured by this Builder. |
PassThroughFunctionContext.Builder<R,F> |
execute(F function)
Sets the
Function to be wrapped by the context and returns this
Builder for further configuration. |
PassThroughFunctionContext<R,F> |
getContext()
Get the
FunctionContext configured by this Builder. |
PassThroughFunctionContext.Builder<R,F> |
select(R... newSelection)
Sets the references to be used by the
ConsumerFunctionContext to select
input data and returns this Builder for further configuration. |
isSelectedisExecutedpublic Builder()
Builder to configure a new
PassThroughFunctionContext.public Builder(PassThroughFunctionContext<R,F> context)
Builder to configure a PassThroughFunctionContext.context - PassThroughFunctionContext to be configured.public PassThroughFunctionContext.Builder<R,F> select(R... newSelection)
ConsumerFunctionContext.BuilderConsumerFunctionContext to select
input data and returns this Builder for further configuration.select in class ConsumerFunctionContext.Builder<R,F extends ConsumerProducerFunction>newSelection - References to select data from an input Tuple.Builder.public PassThroughFunctionContext.Builder<R,F> execute(F function)
FunctionContext.BuilderFunction to be wrapped by the context and returns this
Builder for further configuration.execute in class ConsumerFunctionContext.Builder<R,F extends ConsumerProducerFunction>function - Function to be wrapped by the context.Builder.public PassThroughFunctionContext<R,F> build()
FunctionContext.BuilderFunctionContext configured by this Builder.build in class ConsumerFunctionContext.Builder<R,F extends ConsumerProducerFunction>FunctionContextpublic PassThroughFunctionContext<R,F> getContext()
FunctionContext.BuildergetContext in class ConsumerFunctionContext.Builder<R,F extends ConsumerProducerFunction>FunctionContextCopyright © 2017. All rights reserved.