Class AddSplitEvent<SplitT>
java.lang.Object
org.apache.flink.runtime.source.event.AddSplitEvent<SplitT>
- Type Parameters:
SplitT- the type of splits.
- All Implemented Interfaces:
Serializable,OperatorEvent
A source event that adds splits to a source reader.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAddSplitEvent(List<SplitT> splits, org.apache.flink.core.io.SimpleVersionedSerializer<SplitT> splitSerializer) -
Method Summary
-
Constructor Details
-
AddSplitEvent
public AddSplitEvent(List<SplitT> splits, org.apache.flink.core.io.SimpleVersionedSerializer<SplitT> splitSerializer) throws IOException - Throws:
IOException
-
-
Method Details
-
splits
public List<SplitT> splits(org.apache.flink.core.io.SimpleVersionedSerializer<SplitT> splitSerializer) throws IOException - Throws:
IOException
-
toString
-