Class SideInputMetadata

  • All Implemented Interfaces:
    java.io.Serializable

    public class SideInputMetadata
    extends java.lang.Object
    implements java.io.Serializable
    Metadata class for side inputs in Spark runner. Contains serialized data, type information and coder for side input processing.
    See Also:
    Serialized Form
    • Method Detail

      • create

        public static SideInputMetadata create​(byte[] data,
                                               SparkPCollectionView.Type type,
                                               org.apache.beam.sdk.coders.Coder<java.lang.Iterable<org.apache.beam.sdk.values.WindowedValue<?>>> coder)
        Creates a new instance of SideInputMetadata.
        Parameters:
        data - The serialized side input data as byte array
        type - The type of the SparkPCollectionView
        coder - The coder for iterables of windowed values
        Returns:
        A new SideInputMetadata instance