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 ClassesModifier and TypeInterfaceDescriptionstatic interfaceLinear stage chain builder.static final classData processing stage continuation. -
Method Summary
Modifier and TypeMethodDescriptionPerforms a data processing task and returns the processed data together with aprocessing continuation.
-
Method Details
-
apply
Performs a data processing task and returns the processed data together with aprocessing continuation.- Parameters:
data- data to be transformed.- Returns:
- a processing continuation.
-