Class DefaultPartitionedContext
- java.lang.Object
-
- org.apache.flink.datastream.impl.context.DefaultPartitionedContext
-
- All Implemented Interfaces:
PartitionedContext
,RuntimeContext
public class DefaultPartitionedContext extends Object implements PartitionedContext
The default implementation ofPartitionedContext
.
-
-
Constructor Summary
Constructors Constructor Description DefaultPartitionedContext(RuntimeContext context, Supplier<Object> currentKeySupplier, Consumer<Object> currentKeySetter, ProcessingTimeManager processingTimeManager, StreamingRuntimeContext operatorContext, OperatorStateStore operatorStateStore)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobInfo
getJobInfo()
Get theJobInfo
of this process function.MetricGroup
getMetricGroup()
Get the metric group of this process function.ProcessingTimeManager
getProcessingTimeManager()
Get theProcessingTimeManager
of this process function.DefaultStateManager
getStateManager()
Get theStateManager
of this process function.TaskInfo
getTaskInfo()
Get theTaskInfo
of this process function.
-
-
-
Constructor Detail
-
DefaultPartitionedContext
public DefaultPartitionedContext(RuntimeContext context, Supplier<Object> currentKeySupplier, Consumer<Object> currentKeySetter, ProcessingTimeManager processingTimeManager, StreamingRuntimeContext operatorContext, OperatorStateStore operatorStateStore)
-
-
Method Detail
-
getJobInfo
public JobInfo getJobInfo()
Description copied from interface:RuntimeContext
Get theJobInfo
of this process function.- Specified by:
getJobInfo
in interfaceRuntimeContext
-
getTaskInfo
public TaskInfo getTaskInfo()
Description copied from interface:RuntimeContext
Get theTaskInfo
of this process function.- Specified by:
getTaskInfo
in interfaceRuntimeContext
-
getStateManager
public DefaultStateManager getStateManager()
Description copied from interface:PartitionedContext
Get theStateManager
of this process function.- Specified by:
getStateManager
in interfacePartitionedContext
-
getProcessingTimeManager
public ProcessingTimeManager getProcessingTimeManager()
Description copied from interface:PartitionedContext
Get theProcessingTimeManager
of this process function.- Specified by:
getProcessingTimeManager
in interfacePartitionedContext
-
getMetricGroup
public MetricGroup getMetricGroup()
Description copied from interface:RuntimeContext
Get the metric group of this process function.- Specified by:
getMetricGroup
in interfaceRuntimeContext
-
-