Interface PatternProcessFunction.Context

All Superinterfaces:
TimeContext
Enclosing class:
PatternProcessFunction<IN,OUT>

public static interface PatternProcessFunction.Context extends TimeContext
Gives access to time related characteristics as well as enables emitting elements to side outputs.
  • Method Summary

    Modifier and Type
    Method
    Description
    <X> void
    output(org.apache.flink.util.OutputTag<X> outputTag, X value)
    Emits a record to the side output identified by the OutputTag.

    Methods inherited from interface org.apache.flink.cep.time.TimeContext

    currentProcessingTime, timestamp
  • Method Details

    • output

      <X> void output(org.apache.flink.util.OutputTag<X> outputTag, X value)
      Emits a record to the side output identified by the OutputTag.
      Parameters:
      outputTag - the OutputTag that identifies the side output to emit to.
      value - The record to emit.