Class RichCompositeIterativeCondition<T>

Type Parameters:
T - Type of the element to filter
All Implemented Interfaces:
Serializable, org.apache.flink.api.common.functions.Function, org.apache.flink.api.common.functions.RichFunction
Direct Known Subclasses:
RichAndCondition, RichNotCondition, RichOrCondition

public abstract class RichCompositeIterativeCondition<T> extends RichIterativeCondition<T>
A base class of composite IterativeCondition conditions such as RichAndCondition, RichOrCondition and RichNotCondition, etc. It handles the open, close and setRuntimeContext for the nested IterativeCondition conditions.
See Also:
  • Constructor Details

  • Method Details

    • getNestedConditions

      public IterativeCondition<T>[] getNestedConditions()
    • setRuntimeContext

      public void setRuntimeContext(org.apache.flink.api.common.functions.RuntimeContext t)
      Specified by:
      setRuntimeContext in interface org.apache.flink.api.common.functions.RichFunction
      Overrides:
      setRuntimeContext in class RichIterativeCondition<T>
    • 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
      Overrides:
      open in class RichIterativeCondition<T>
      Throws:
      Exception
    • close

      public void close() throws Exception
      Specified by:
      close in interface org.apache.flink.api.common.functions.RichFunction
      Overrides:
      close in class RichIterativeCondition<T>
      Throws:
      Exception