Class FlinkExecutionContext

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <Type> java.util.Collection<Type> getBroadcast​(java.lang.String name)
      Accesses a broadcast.
      int getCurrentIteration()
      If this instance reflects the state of execution inside of a LoopSubplan, then retrieve the number of the current iteration.
      void setRichFunction​(org.apache.flink.api.common.functions.RichFunction richFunction)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getBroadcast

        public <Type> java.util.Collection<Type> getBroadcast​(java.lang.String name)
        Description copied from interface: ExecutionContext
        Accesses a broadcast.
        Specified by:
        getBroadcast in interface ExecutionContext
        Type Parameters:
        Type - type of the broadcast
        Parameters:
        name - name of the broadcast
        Returns:
        the broadcast
      • setRichFunction

        public void setRichFunction​(org.apache.flink.api.common.functions.RichFunction richFunction)
      • getCurrentIteration

        public int getCurrentIteration()
        Description copied from interface: ExecutionContext
        If this instance reflects the state of execution inside of a LoopSubplan, then retrieve the number of the current iteration.
        Specified by:
        getCurrentIteration in interface ExecutionContext
        Returns:
        the iteration number, start at 0, or -1 if there is no surrounding LoopSubplan