Class RequestSplitEvent
java.lang.Object
org.apache.flink.runtime.source.event.RequestSplitEvent
- All Implemented Interfaces:
Serializable,OperatorEvent
An event to request splits, sent typically from the Source Reader to the Source Enumerator.
This event optionally carries the hostname of the location where the reader runs, to support locality-aware work assignment.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a newRequestSplitEventwith no host information.RequestSplitEvent(String hostName) Creates a newRequestSplitEventwith a hostname. -
Method Summary
-
Constructor Details
-
RequestSplitEvent
public RequestSplitEvent()Creates a newRequestSplitEventwith no host information. -
RequestSplitEvent
Creates a newRequestSplitEventwith a hostname.
-
-
Method Details