Interface KeyContext
- All Known Subinterfaces:
MultipleInputStreamOperator<OUT>,OneInputStreamOperator<IN,,OUT> StreamOperator<OUT>,TwoInputStreamOperator<IN1,,IN2, OUT> YieldingOperator<OUT>
- All Known Implementing Classes:
AbstractAsyncStateStreamOperator,AbstractAsyncStateStreamOperatorV2,AbstractAsyncStateUdfStreamOperator,AbstractStreamOperator,AbstractStreamOperatorV2,AbstractUdfStreamOperator,AsyncEvictingWindowOperator,AsyncIntervalJoinOperator,AsyncKeyedProcessOperator,AsyncStreamFlatMap,AsyncWindowOperator,BatchCoBroadcastWithKeyedOperator,BatchCoBroadcastWithNonKeyedOperator,BatchGroupedReduceOperator,CacheTransformationTranslator.IdentityStreamOperator,CacheTransformationTranslator.NoOpStreamOperator,CoBroadcastWithKeyedOperator,CoBroadcastWithNonKeyedOperator,CollectSinkOperator,ContinuousFileReaderOperator,CoProcessOperator,CoStreamFlatMap,CoStreamMap,EvictingWindowOperator,GlobalCommitterOperator,IntervalJoinOperator,KeyedCoProcessOperator,KeyedProcessOperator,KeyedSortPartitionOperator,LegacyKeyedCoProcessOperator,LegacyKeyedProcessOperator,MapPartitionOperator,PartitionAggregateOperator,PartitionReduceOperator,ProcessOperator,QueryableAppendingStateOperator,QueryableValueStateOperator,SortPartitionOperator,SourceOperator,StreamFilter,StreamFlatMap,StreamGroupedReduceAsyncStateOperator,StreamGroupedReduceOperator,StreamMap,StreamProject,StreamSink,StreamSource,TimestampsAndWatermarksOperator,WindowOperator
public interface KeyContext
Interface for setting and querying the current key of keyed operations.
This is mainly used by the timer system to query the key when creating timers and to set the correct key context when firing a timer.
-
Method Summary
-
Method Details
-
setCurrentKey
-
getCurrentKey
Object getCurrentKey()
-