Class RichIterativeCondition<T>

  • All Implemented Interfaces:
    Serializable, org.apache.flink.api.common.functions.Function, org.apache.flink.api.common.functions.RichFunction
    Direct Known Subclasses:
    RichCompositeIterativeCondition

    public abstract class RichIterativeCondition<T>
    extends IterativeCondition<T>
    implements org.apache.flink.api.common.functions.RichFunction
    Rich variant of the IterativeCondition. As a RichFunction, it gives access to the RuntimeContext and provides setup and teardown methods: RichFunction.open(OpenContext) and RichFunction.close().
    See Also:
    Serialized Form
    • Constructor Detail

      • RichIterativeCondition

        public RichIterativeCondition()
    • Method Detail

      • setRuntimeContext

        public void setRuntimeContext​(org.apache.flink.api.common.functions.RuntimeContext runtimeContext)
        Specified by:
        setRuntimeContext in interface org.apache.flink.api.common.functions.RichFunction
      • getRuntimeContext

        public org.apache.flink.api.common.functions.RuntimeContext getRuntimeContext()
        Specified by:
        getRuntimeContext in interface org.apache.flink.api.common.functions.RichFunction
      • getIterationRuntimeContext

        public org.apache.flink.api.common.functions.IterationRuntimeContext getIterationRuntimeContext()
        Specified by:
        getIterationRuntimeContext in interface org.apache.flink.api.common.functions.RichFunction
      • open

        public void open​(org.apache.flink.api.common.functions.OpenContext openContext)
                  throws Exception
        Specified by:
        open in interface org.apache.flink.api.common.functions.RichFunction
        Throws:
        Exception
      • open

        public void open​(org.apache.flink.configuration.Configuration parameters)
                  throws Exception
        Specified by:
        open in interface org.apache.flink.api.common.functions.RichFunction
        Throws:
        Exception
      • close

        public void close()
                   throws Exception
        Specified by:
        close in interface org.apache.flink.api.common.functions.RichFunction
        Throws:
        Exception