Class AsyncKeyedCoProcessOperator.ContextImpl<K,IN1,IN2,OUT>
- java.lang.Object
-
- org.apache.flink.streaming.api.functions.co.KeyedCoProcessFunction.Context
-
- org.apache.flink.runtime.asyncprocessing.operators.co.AsyncKeyedCoProcessOperator.ContextImpl<K,IN1,IN2,OUT>
-
- Enclosing class:
- AsyncKeyedCoProcessOperator<K,IN1,IN2,OUT>
public class AsyncKeyedCoProcessOperator.ContextImpl<K,IN1,IN2,OUT> extends KeyedCoProcessFunction.Context
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KgetCurrentKey()Get key of the element being processed.<X> voidoutput(org.apache.flink.util.OutputTag<X> outputTag, X value)Emits a record to the side output identified by theOutputTag.TimerServicetimerService()ATimerServicefor querying time and registering timers.Longtimestamp()Timestamp of the element currently being processed or timestamp of a firing timer.
-
-
-
Method Detail
-
timestamp
public Long timestamp()
Description copied from class:KeyedCoProcessFunction.ContextTimestamp of the element currently being processed or timestamp of a firing timer.This might be
null, depending on the stream's watermark strategy.- Specified by:
timestampin classKeyedCoProcessFunction.Context
-
timerService
public TimerService timerService()
Description copied from class:KeyedCoProcessFunction.ContextATimerServicefor querying time and registering timers.- Specified by:
timerServicein classKeyedCoProcessFunction.Context
-
output
public <X> void output(org.apache.flink.util.OutputTag<X> outputTag, X value)Description copied from class:KeyedCoProcessFunction.ContextEmits a record to the side output identified by theOutputTag.- Specified by:
outputin classKeyedCoProcessFunction.Context- Parameters:
outputTag- theOutputTagthat identifies the side output to emit to.value- The record to emit.
-
getCurrentKey
public K getCurrentKey()
Description copied from class:KeyedCoProcessFunction.ContextGet key of the element being processed.- Specified by:
getCurrentKeyin classKeyedCoProcessFunction.Context
-
-