R - The type of reference used by tuples.public static class Transformer.Builder<R> extends Object
Transformer.| Constructor and Description |
|---|
Builder()
Create a
Builder for a new Transformer. |
Builder(Transformer<R> transformer)
Create a
Builder for a Transformer. |
| Modifier and Type | Method and Description |
|---|---|
Transformer<R> |
build()
Build the
Transformer configured by this Builder. |
Transformer.Builder<R> |
execute(TransformFunction function)
Set the
TransformFunction to be executed by the current
ConsumerProducerFunctionContext. |
Transformer.Builder<R> |
project(R... projection)
Set the projection references for the current
ConsumerProducerFunctionContext. |
Transformer.Builder<R> |
select(R... selection)
Set the selection references for the current
ConsumerProducerFunctionContext. |
public Builder()
Builder for a new Transformer.public Builder(Transformer<R> transformer)
Builder for a Transformer.transformer - Transformer to be configured.public Transformer.Builder<R> select(R... selection)
ConsumerProducerFunctionContext. If the current context already has a
selection set, a new context is created and made current. Returns this Builder for further
configuration.selection - Selection references.Builder.public Transformer.Builder<R> execute(TransformFunction function)
TransformFunction to be executed by the current
ConsumerProducerFunctionContext. If the current context already has a
function set, a new context is created and made current. Returns this Builder for further
configuration.function - TransformFunction to be executed.Builder.public Transformer.Builder<R> project(R... projection)
ConsumerProducerFunctionContext. If the current context already has a
projection set, a new context is created and made current. Returns this Builder for further
configuration.projection - Projection references.Builder.public Transformer<R> build()
Transformer configured by this Builder.Transformer.Copyright © 2017. All rights reserved.