Class FlattenTransform<T>

  • Type Parameters:
    T - input/output type.
    All Implemented Interfaces:
    java.io.Serializable, Transform<T,​T>

    public final class FlattenTransform<T>
    extends LatencymarkEmitTransform<T,​T>
    Flatten transform implementation.
    See Also:
    Serialized Form
    • Constructor Detail

      • FlattenTransform

        public FlattenTransform()
        FlattenTransform Constructor.
    • Method Detail

      • onData

        public void onData​(T element)
        Description copied from interface: Transform
        On data received.
        Parameters:
        element - data received.
      • onWatermark

        public void onWatermark​(Watermark watermark)
        Description copied from interface: Transform
        On watermark received. This method should be called for the minimum watermark among input streams (input watermark). Transform may emit collected data after receiving watermarks.
        Parameters:
        watermark - watermark
      • close

        public void close()
        Description copied from interface: Transform
        Close the transform.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object