Package 

Class BaseElementFn

  • 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.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      TypeDescriptor<InputT> getInputTypeDescriptor() Getter for the field inputType.
      TypeDescriptor<OutputT> getOutputTypeDescriptor() Getter for the field outputType.
      • Methods inherited from class org.apache.beam.sdk.transforms.DoFn

        getAllowedTimestampSkew, populateDisplayData, prepareForProcessing
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait