@Experimental
public interface RuntimeContext
Each parallel instance of the function will have a context through which it can access contextual information.
| 限定符和类型 | 方法和说明 |
|---|---|
JobInfo |
getJobInfo()
Get the
JobInfo of this process function. |
org.apache.flink.metrics.MetricGroup |
getMetricGroup()
Get the metric group of this process function.
|
TaskInfo |
getTaskInfo()
Get the
TaskInfo of this process function. |
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.