Package cz.o2.proxima.core.transform
Interface ContextualTransformation<OP extends DataOperator>
-
- All Superinterfaces:
DataOperatorAware,java.io.Serializable,Transformation
- All Known Subinterfaces:
DirectElementWiseTransform
- All Known Implementing Classes:
TransactionalOnlineAttributeWriter.TransactionValidator,TransactionCommitTransformation
@Evolving public interface ContextualTransformation<OP extends DataOperator> extends Transformation, DataOperatorAware
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default booleanisContextual()Verify if this isDataOperatorspecific (contextual) object.default voidonRestart()Called before starting processing after fresh start of processing or after recovery from errorvoidsetup(Repository repo, OP op, java.util.Map<java.lang.String,java.lang.Object> cfg)Read the repository and setup descriptors of target entity and attributes.-
Methods inherited from interface cz.o2.proxima.core.transform.DataOperatorAware
as, isDelegateOf
-
Methods inherited from interface cz.o2.proxima.core.transform.Transformation
asContextualTransform, asElementWiseTransform
-
-
-
-
Method Detail
-
isContextual
default boolean isContextual()
Description copied from interface:DataOperatorAwareVerify if this isDataOperatorspecific (contextual) object.- Specified by:
isContextualin interfaceDataOperatorAware- Returns:
- boolean
-
setup
void setup(Repository repo, OP op, java.util.Map<java.lang.String,java.lang.Object> cfg)
Read the repository and setup descriptors of target entity and attributes.- Parameters:
repo- the repositoryop-DataOperatorthat delegated this Transformationcfg- transformation config map
-
onRestart
default void onRestart()
Called before starting processing after fresh start of processing or after recovery from error
-
-