Class SourceInputSplit<T>
- java.lang.Object
-
- org.apache.beam.runners.flink.translation.wrappers.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.InputSplitInputSplitforSourceInputFormat. 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
-
-
Constructor Summary
Constructors Constructor Description SourceInputSplit()SourceInputSplit(org.apache.beam.sdk.io.Source<T> source, int splitNumber)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.beam.sdk.io.Source<T>getSource()intgetSplitNumber()
-
-
-
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:
getSplitNumberin interfaceorg.apache.flink.core.io.InputSplit
-
getSource
public org.apache.beam.sdk.io.Source<T> getSource()
-
-