OUT
- The type of the records produced by this source.@Internal
public abstract class AbstractArrowSourceFunction<OUT>
extends org.apache.flink.streaming.api.functions.source.RichParallelSourceFunction<OUT>
implements org.apache.flink.api.java.typeutils.ResultTypeQueryable<OUT>, org.apache.flink.streaming.api.checkpoint.CheckpointedFunction
SourceFunction
which takes the serialized arrow record batch data as input.Modifier and Type | Method and Description |
---|---|
void |
cancel() |
void |
close() |
void |
initializeState(org.apache.flink.runtime.state.FunctionInitializationContext context) |
void |
open(org.apache.flink.configuration.Configuration parameters) |
void |
run(org.apache.flink.streaming.api.functions.source.SourceFunction.SourceContext<OUT> ctx) |
void |
snapshotState(org.apache.flink.runtime.state.FunctionSnapshotContext context) |
getIterationRuntimeContext, getRuntimeContext, setRuntimeContext
public void open(org.apache.flink.configuration.Configuration parameters) throws Exception
open
in interface org.apache.flink.api.common.functions.RichFunction
open
in class org.apache.flink.api.common.functions.AbstractRichFunction
Exception
public void close() throws Exception
close
in interface org.apache.flink.api.common.functions.RichFunction
close
in class org.apache.flink.api.common.functions.AbstractRichFunction
Exception
public void initializeState(org.apache.flink.runtime.state.FunctionInitializationContext context) throws Exception
initializeState
in interface org.apache.flink.streaming.api.checkpoint.CheckpointedFunction
Exception
public void snapshotState(org.apache.flink.runtime.state.FunctionSnapshotContext context) throws Exception
snapshotState
in interface org.apache.flink.streaming.api.checkpoint.CheckpointedFunction
Exception
public void run(org.apache.flink.streaming.api.functions.source.SourceFunction.SourceContext<OUT> ctx) throws Exception
public void cancel()
cancel
in interface org.apache.flink.streaming.api.functions.source.SourceFunction<OUT>
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.