-
- All Implemented Interfaces:
-
java.io.Serializable,org.apache.beam.sdk.transforms.display.HasDisplayData
public abstract class BaseElementFn<InputT extends Object, OutputT extends Object> extends DoFn<InputT, OutputT>
Base class for the custom DoFn allowing the interaction with lifecycle methods.
This class gives shared elements like type descriptors, input and output
The class that extend fr.groupbees.midgard.transforms.BaseElementFn must give input and output type descriptors and uses the tuple tags to handle good output and failure.
-
-
Method Summary
Modifier and Type Method Description TypeDescriptor<InputT>getInputTypeDescriptor()Getter for the field inputType.TypeDescriptor<OutputT>getOutputTypeDescriptor()Getter for the field outputType.-
-
Method Detail
-
getInputTypeDescriptor
TypeDescriptor<InputT> getInputTypeDescriptor()
Getter for the field
inputType.
-
getOutputTypeDescriptor
TypeDescriptor<OutputT> getOutputTypeDescriptor()
Getter for the field
outputType.
-
-
-
-