Package cz.o2.proxima.core.transform
Interface ElementWiseTransformation
- 
- All Superinterfaces:
- DataOperatorAgnostic,- DataOperatorAware,- java.io.Serializable,- Transformation
 - All Known Implementing Classes:
- IdentityTransformation,- RenameTransformation
 
 @Evolving public interface ElementWiseTransformation extends Transformation, DataOperatorAgnostic A stateless element-wise transformation applied on incoming data converting singleStreamElementto anotherStreamElement(s).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static interfaceElementWiseTransformation.Collector<T>Collector for outputs.
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description intapply(StreamElement input, ElementWiseTransformation.Collector<StreamElement> collector)Apply the transformation function.voidsetup(Repository repo, java.util.Map<java.lang.String,java.lang.Object> cfg)Setup this transform.- 
Methods inherited from interface cz.o2.proxima.core.transform.DataOperatorAgnosticisContextual, isDelegateOf
 - 
Methods inherited from interface cz.o2.proxima.core.transform.DataOperatorAwareas
 - 
Methods inherited from interface cz.o2.proxima.core.transform.TransformationasContextualTransform, asElementWiseTransform
 
- 
 
- 
- 
- 
Method Detail- 
setupvoid setup(Repository repo, java.util.Map<java.lang.String,java.lang.Object> cfg) Setup this transform.- Parameters:
- repo- repository
- cfg- configuration
 
 - 
applyint apply(StreamElement input, ElementWiseTransformation.Collector<StreamElement> collector) Apply the transformation function.- Parameters:
- input- the input stream element to transform
- collector- collector for outputs
- Returns:
- how many invocations of collector to expect before the elements should be considered processed
 
 
- 
 
-