public static interface SourceReader.Context
| 限定符和类型 | 方法和说明 |
|---|---|
Boundedness |
getBoundedness() |
int |
getIndexOfSubtask() |
MetricsContext |
getMetricsContext() |
void |
sendSourceEventToEnumerator(SourceEvent sourceEvent)
Send a source event to the source coordinator.
|
void |
sendSplitRequest()
Sends a split request to the source's
SourceSplitEnumerator. |
void |
signalNoMoreElement()
Indicator that the input has reached the end of data.
|
int getIndexOfSubtask()
Boundedness getBoundedness()
void signalNoMoreElement()
void sendSplitRequest()
SourceSplitEnumerator. This will result in
a call to the SourceSplitEnumerator.handleSplitRequest(int) method, with this
reader's parallel subtask id and the hostname where this reader runs.void sendSourceEventToEnumerator(SourceEvent sourceEvent)
sourceEvent - the source event to coordinator.MetricsContext getMetricsContext()
Copyright © 2024 The Apache Software Foundation. All rights reserved.