Class ArrowSourceFunction

java.lang.Object
org.apache.flink.api.common.functions.AbstractRichFunction
org.apache.flink.streaming.api.functions.source.legacy.RichParallelSourceFunction<org.apache.flink.table.data.RowData>
org.apache.flink.table.runtime.arrow.sources.ArrowSourceFunction
All Implemented Interfaces:
Serializable, org.apache.flink.api.common.functions.Function, org.apache.flink.api.common.functions.RichFunction, org.apache.flink.api.java.typeutils.ResultTypeQueryable<org.apache.flink.table.data.RowData>, org.apache.flink.streaming.api.checkpoint.CheckpointedFunction, org.apache.flink.streaming.api.functions.source.legacy.ParallelSourceFunction<org.apache.flink.table.data.RowData>, org.apache.flink.streaming.api.functions.source.legacy.SourceFunction<org.apache.flink.table.data.RowData>

@Deprecated @Internal public class ArrowSourceFunction extends org.apache.flink.streaming.api.functions.source.legacy.RichParallelSourceFunction<org.apache.flink.table.data.RowData> implements org.apache.flink.api.java.typeutils.ResultTypeQueryable<org.apache.flink.table.data.RowData>, org.apache.flink.streaming.api.checkpoint.CheckpointedFunction
Deprecated.
This class is based on the SourceFunction API, which is due to be removed. Use the new Source API instead.
An Arrow SourceFunction which takes the serialized arrow record batch data as input.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.apache.flink.streaming.api.functions.source.legacy.SourceFunction

    org.apache.flink.streaming.api.functions.source.legacy.SourceFunction.SourceContext<T extends Object>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated.
     
    void
    Deprecated.
     
    org.apache.flink.api.common.typeinfo.TypeInformation<org.apache.flink.table.data.RowData>
    Deprecated.
     
    void
    initializeState(org.apache.flink.runtime.state.FunctionInitializationContext context)
    Deprecated.
     
    void
    open(org.apache.flink.api.common.functions.OpenContext openContext)
    Deprecated.
     
    void
    run(org.apache.flink.streaming.api.functions.source.legacy.SourceFunction.SourceContext<org.apache.flink.table.data.RowData> ctx)
    Deprecated.
     
    void
    snapshotState(org.apache.flink.runtime.state.FunctionSnapshotContext context)
    Deprecated.
     

    Methods inherited from class org.apache.flink.api.common.functions.AbstractRichFunction

    getIterationRuntimeContext, getRuntimeContext, setRuntimeContext

    Methods inherited from class java.lang.Object

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

    • open

      public void open(org.apache.flink.api.common.functions.OpenContext openContext) throws Exception
      Deprecated.
      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
      Deprecated.
      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
    • initializeState

      public void initializeState(org.apache.flink.runtime.state.FunctionInitializationContext context) throws Exception
      Deprecated.
      Specified by:
      initializeState in interface org.apache.flink.streaming.api.checkpoint.CheckpointedFunction
      Throws:
      Exception
    • snapshotState

      public void snapshotState(org.apache.flink.runtime.state.FunctionSnapshotContext context) throws Exception
      Deprecated.
      Specified by:
      snapshotState in interface org.apache.flink.streaming.api.checkpoint.CheckpointedFunction
      Throws:
      Exception
    • run

      public void run(org.apache.flink.streaming.api.functions.source.legacy.SourceFunction.SourceContext<org.apache.flink.table.data.RowData> ctx) throws Exception
      Deprecated.
      Specified by:
      run in interface org.apache.flink.streaming.api.functions.source.legacy.SourceFunction<org.apache.flink.table.data.RowData>
      Throws:
      Exception
    • cancel

      public void cancel()
      Deprecated.
      Specified by:
      cancel in interface org.apache.flink.streaming.api.functions.source.legacy.SourceFunction<org.apache.flink.table.data.RowData>
    • getProducedType

      public org.apache.flink.api.common.typeinfo.TypeInformation<org.apache.flink.table.data.RowData> getProducedType()
      Deprecated.
      Specified by:
      getProducedType in interface org.apache.flink.api.java.typeutils.ResultTypeQueryable<org.apache.flink.table.data.RowData>