R - The type of reference used by tuples.public class Transformer<R> extends Processor<R,ConsumerProducerFunctionContext<R,TransformFunction>>
Transformer is a Processor that applies
TransformFunctions to Tuples, changing their contents in some
way, whether that be modification of existing values or creation of new ones.| Modifier and Type | Class and Description |
|---|---|
static class |
Transformer.Builder<R>
Implementation of the Builder pattern for
Transformer. |
| Constructor and Description |
|---|
Transformer() |
| Modifier and Type | Method and Description |
|---|---|
Transformer<R> |
clone()
Create a deep copy of this
Transformer. |
void |
transform(Tuple<R> tuple)
Transform an input
Tuple using TransformFunctions. |
addFunction, addFunctions, equals, getFunctions, hashCode, toStringpublic void transform(Tuple<R> tuple)
Tuple using TransformFunctions.tuple - Tuple to be transformed.public Transformer<R> clone()
Transformer.clone in class Processor<R,ConsumerProducerFunctionContext<R,TransformFunction>>Transformer.Copyright © 2017. All rights reserved.