Class AbstractFunctionRunner

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

    public abstract class AbstractFunctionRunner
    extends org.apache.flink.streaming.api.functions.ProcessFunction<org.apache.flink.table.data.RowData,​org.apache.flink.table.data.RowData>
    Base function runner for specialized table function, e.g. LookupFunction or ProcessFunction.
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apache.flink.streaming.api.functions.ProcessFunction

        org.apache.flink.streaming.api.functions.ProcessFunction.Context, org.apache.flink.streaming.api.functions.ProcessFunction.OnTimerContext
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.apache.flink.api.common.functions.FlatMapFunction<org.apache.flink.table.data.RowData,​org.apache.flink.table.data.RowData> fetcher  
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractFunctionRunner​(GeneratedFunction<org.apache.flink.api.common.functions.FlatMapFunction<org.apache.flink.table.data.RowData,​org.apache.flink.table.data.RowData>> generatedFetcher)  
    • Field Detail

      • fetcher

        protected transient org.apache.flink.api.common.functions.FlatMapFunction<org.apache.flink.table.data.RowData,​org.apache.flink.table.data.RowData> fetcher
    • Constructor Detail

      • AbstractFunctionRunner

        public AbstractFunctionRunner​(GeneratedFunction<org.apache.flink.api.common.functions.FlatMapFunction<org.apache.flink.table.data.RowData,​org.apache.flink.table.data.RowData>> generatedFetcher)
    • Method Detail

      • 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 org.apache.flink.api.common.functions.AbstractRichFunction
        Throws:
        Exception
      • close

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