Interface TwoOutputNonPartitionedContext<OUT1,OUT2>

All Superinterfaces:
RuntimeContext

@Experimental public interface TwoOutputNonPartitionedContext<OUT1,OUT2> extends RuntimeContext
This interface represents the context associated with all operations must be applied to all partitions with two outputs.
  • Method Details

    • applyToAllPartitions

      void applyToAllPartitions(TwoOutputApplyPartitionFunction<OUT1,OUT2> applyPartitionFunction) throws Exception
      Apply a function to all partitions. For keyed stream, it will apply to all keys. For non-keyed stream, it will apply to single partition.
      Throws:
      Exception
    • getWatermarkManager

      org.apache.flink.api.common.watermark.WatermarkManager getWatermarkManager()
      Get WatermarkManager instance, which allow emitting a Watermark from the process function.