IN - Type of the input elements.OUT - Type of the output elements.UDTFIN - Type of the UDTF input type.@Internal public abstract class AbstractPythonTableFunctionOperator<IN,OUT,UDTFIN> extends AbstractStatelessFunctionOperator<IN,OUT,UDTFIN>
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.flink.table.runtime.operators.join.FlinkJoinType |
joinType
The correlate join type.
|
protected org.apache.flink.table.functions.python.PythonFunctionInfo |
tableFunction
The Python
TableFunction to be executed. |
bais, baisWrapper, baos, baosWrapper, forwardedInputQueue, inputType, outputType, userDefinedFunctionInputOffsets, userDefinedFunctionInputType, userDefinedFunctionOutputTypeelementCount, maxBundleSize, pythonFunctionRunner| Constructor and Description |
|---|
AbstractPythonTableFunctionOperator(org.apache.flink.configuration.Configuration config,
org.apache.flink.table.functions.python.PythonFunctionInfo tableFunction,
org.apache.flink.table.types.logical.RowType inputType,
org.apache.flink.table.types.logical.RowType outputType,
int[] udtfInputOffsets,
org.apache.flink.table.runtime.operators.join.FlinkJoinType joinType) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFunctionUrn() |
String |
getInputOutputCoderUrn() |
org.apache.flink.table.functions.python.PythonEnv |
getPythonEnv()
Returns the
PythonEnv used to create PythonEnvironmentManager.. |
FlinkFnApi.UserDefinedFunctions |
getUserDefinedFunctionsProto()
Gets the proto representation of the Python user-defined functions to be executed.
|
void |
open() |
bufferInput, createPythonFunctionRunner, getFunctionInput, processElement, processElementInternalendInputcheckInvokeFinishBundleByCount, close, createPythonEnvironmentManager, dispose, emitResult, emitResults, getConfig, getFlinkMetricContainer, getPythonConfig, invokeFinishBundle, isBundleFinished, prepareSnapshotPreBarrier, processWatermark, setCurrentKey, setPythonConfiggetChainingStrategy, getContainingTask, getCurrentKey, getExecutionConfig, getInternalTimerService, getKeyedStateBackend, getKeyedStateStore, getMetricGroup, getOperatorConfig, getOperatorID, getOperatorName, getOperatorStateBackend, getOrCreateKeyedState, getPartitionedState, getPartitionedState, getProcessingTimeService, getRuntimeContext, getTimeServiceManager, getUserCodeClassloader, initializeState, initializeState, isUsingCustomRawKeyedState, notifyCheckpointAborted, notifyCheckpointComplete, processLatencyMarker, processLatencyMarker1, processLatencyMarker2, processWatermark1, processWatermark2, reportOrForwardLatencyMarker, setChainingStrategy, setKeyContextElement1, setKeyContextElement2, setProcessingTimeService, setup, snapshotState, snapshotStateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetKeyContextElementclose, dispose, getMetricGroup, getOperatorID, initializeState, prepareSnapshotPreBarrier, setKeyContextElement1, setKeyContextElement2, snapshotStatenotifyCheckpointAborted, notifyCheckpointCompleteprotected final org.apache.flink.table.functions.python.PythonFunctionInfo tableFunction
TableFunction to be executed.protected final org.apache.flink.table.runtime.operators.join.FlinkJoinType joinType
public AbstractPythonTableFunctionOperator(org.apache.flink.configuration.Configuration config,
org.apache.flink.table.functions.python.PythonFunctionInfo tableFunction,
org.apache.flink.table.types.logical.RowType inputType,
org.apache.flink.table.types.logical.RowType outputType,
int[] udtfInputOffsets,
org.apache.flink.table.runtime.operators.join.FlinkJoinType joinType)
public void open()
throws Exception
public org.apache.flink.table.functions.python.PythonEnv getPythonEnv()
AbstractPythonFunctionOperatorPythonEnv used to create PythonEnvironmentManager..getPythonEnv in class AbstractPythonFunctionOperator<OUT>public String getInputOutputCoderUrn()
getInputOutputCoderUrn in class AbstractStatelessFunctionOperator<IN,OUT,UDTFIN>public String getFunctionUrn()
getFunctionUrn in class AbstractStatelessFunctionOperator<IN,OUT,UDTFIN>public FlinkFnApi.UserDefinedFunctions getUserDefinedFunctionsProto()
AbstractStatelessFunctionOperatorgetUserDefinedFunctionsProto in class AbstractStatelessFunctionOperator<IN,OUT,UDTFIN>Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.