Interface Stage<DATA>
-
- Type Parameters:
DATA- processed data type.
- All Known Subinterfaces:
ChainableStage<DATA>
- All Known Implementing Classes:
AbstractChainableStage,Stages.LinkedStage
public interface Stage<DATA>Data processing stage that can be used to create dynamic data processing chains.An stage is a stateless data processing unit that returns a
processing continuation.- Author:
- Marek Potociar
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceStage.Builder<DATA>Linear stage chain builder.static classStage.Continuation<DATA>Data processing stage continuation.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stage.Continuation<DATA>apply(DATA data)Performs a data processing task and returns the processed data together with aprocessing continuation.
-
-
-
Method Detail
-
apply
Stage.Continuation<DATA> apply(DATA data)
Performs a data processing task and returns the processed data together with aprocessing continuation.- Parameters:
data- data to be transformed.- Returns:
- a processing continuation.
-
-