Class SourceInputSplit<T>

  • All Implemented Interfaces:
    java.io.Serializable, org.apache.flink.core.io.InputSplit

    public class SourceInputSplit<T>
    extends java.lang.Object
    implements org.apache.flink.core.io.InputSplit
    InputSplit for SourceInputFormat. We pass the sharded Source around in the input split because Sources simply split up into several Sources for sharding. This is different to how Flink creates a separate InputSplit from an InputFormat.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.beam.sdk.io.Source<T> getSource()  
      int getSplitNumber()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SourceInputSplit

        public SourceInputSplit()
      • SourceInputSplit

        public SourceInputSplit​(org.apache.beam.sdk.io.Source<T> source,
                                int splitNumber)
    • Method Detail

      • getSplitNumber

        public int getSplitNumber()
        Specified by:
        getSplitNumber in interface org.apache.flink.core.io.InputSplit
      • getSource

        public org.apache.beam.sdk.io.Source<T> getSource()