public interface IDataProcessor<IN,OUT>
| Modifier and Type | Field and Description |
|---|---|
static IDataProcessor |
Void
A data processor that acts like /dev/null
|
| Modifier and Type | Method and Description |
|---|---|
IDataProcessor<IN,OUT> |
add(IDataProcessor<OUT,?> destination)
Connect another data processor to this data processor.
|
IDataProcessor<IN,OUT> |
connectTo(IDataProcessor<OUT,?>... destination)
Connect multiple other data processor to this data processor.
|
<V> IDataProcessor<OUT,V> |
connectTo(IDataProcessor<OUT,V> destination)
Connect another data processor to this data processor.
|
void |
receive(DataPoint<IN> datapoint)
Receive a new data point
|
void |
receive(IN value)
Convenience method to receive new values
|
static final IDataProcessor Void
<V> IDataProcessor<OUT,V> connectTo(IDataProcessor<OUT,V> destination)
V - - The type of value that the added processor outputs. Used to build pipelines
of data processors in a type-safe mannerdestination - - The data processor to be added to the list of receiversIDataProcessor<IN,OUT> connectTo(IDataProcessor<OUT,?>... destination)
destination - - The data processors to be added to the list of receiversIDataProcessor<IN,OUT> add(IDataProcessor<OUT,?> destination)
destination - - The data processor to be added to the list of receiversvoid receive(IN value)
value - Copyright © 2016. All rights reserved.