@Internal public abstract class AbstractEmbeddedStatelessFunctionOperator extends AbstractEmbeddedPythonFunctionOperator<org.apache.flink.table.data.RowData> implements org.apache.flink.streaming.api.operators.OneInputStreamOperator<org.apache.flink.table.data.RowData,org.apache.flink.table.data.RowData>, org.apache.flink.streaming.api.operators.BoundedOneInput
| 限定符和类型 | 字段和说明 |
|---|---|
protected org.apache.flink.table.types.logical.RowType |
inputType
The input logical type.
|
protected org.apache.flink.table.data.GenericRowData |
reuseResultRowData
The GenericRowData reused holding the execution result of python udf.
|
protected StreamRecordRowDataWrappingCollector |
rowDataWrapper
The collector used to collect records.
|
protected int[] |
udfInputOffsets
The offsets of user-defined function inputs.
|
protected org.apache.flink.table.types.logical.RowType |
udfInputType
The user-defined function input logical type.
|
protected org.apache.flink.table.types.logical.RowType |
udfOutputType
The user-defined function output logical type.
|
protected Object[] |
userDefinedFunctionInputArgs |
protected PythonTypeUtils.DataConverter[] |
userDefinedFunctionInputConverters |
protected PythonTypeUtils.DataConverter[] |
userDefinedFunctionOutputConverters |
interpreterbundleFinishedCallback, config, elementCount, lastFinishBundleTime, maxBundleSize, systemEnvEnabled| 构造器和说明 |
|---|
AbstractEmbeddedStatelessFunctionOperator(org.apache.flink.configuration.Configuration config,
org.apache.flink.table.types.logical.RowType inputType,
org.apache.flink.table.types.logical.RowType udfInputType,
org.apache.flink.table.types.logical.RowType udfOutputType,
int[] udfInputOffsets) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
open() |
close, createPythonEnvironmentManager, invokeFinishBundle, openPythonInterpretercheckInvokeFinishBundleByCount, finish, getConfiguration, getFlinkMetricContainer, isBundleFinished, prepareSnapshotPreBarrier, processWatermark, setCurrentKeygetChainingStrategy, getContainingTask, getCurrentKey, getExecutionConfig, getInternalTimerService, getKeyedStateBackend, getKeyedStateStore, getMetricGroup, getOperatorConfig, getOperatorID, getOperatorName, getOperatorStateBackend, getOrCreateKeyedState, getPartitionedState, getPartitionedState, getProcessingTimeService, getRuntimeContext, getStateKeySelector1, getStateKeySelector2, getTimeServiceManager, getUserCodeClassloader, hasKeyContext1, hasKeyContext2, initializeState, initializeState, isUsingCustomRawKeyedState, notifyCheckpointAborted, notifyCheckpointComplete, processLatencyMarker, processLatencyMarker1, processLatencyMarker2, processRecordAttributes, processRecordAttributes1, processRecordAttributes2, processWatermark1, processWatermark2, processWatermarkStatus, processWatermarkStatus1, processWatermarkStatus2, reportOrForwardLatencyMarker, setChainingStrategy, setKeyContextElement1, setKeyContextElement2, setMailboxExecutor, setProcessingTimeService, setup, snapshotState, snapshotState, useSplittableTimersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, finish, getMetricGroup, getOperatorAttributes, getOperatorID, initializeState, prepareSnapshotPreBarrier, setKeyContextElement1, setKeyContextElement2, snapshotStatenotifyCheckpointAborted, notifyCheckpointCompleteprotected final int[] udfInputOffsets
protected final org.apache.flink.table.types.logical.RowType inputType
protected final org.apache.flink.table.types.logical.RowType udfInputType
protected final org.apache.flink.table.types.logical.RowType udfOutputType
protected transient org.apache.flink.table.data.GenericRowData reuseResultRowData
protected transient StreamRecordRowDataWrappingCollector rowDataWrapper
protected transient PythonTypeUtils.DataConverter[] userDefinedFunctionInputConverters
protected transient Object[] userDefinedFunctionInputArgs
protected transient PythonTypeUtils.DataConverter[] userDefinedFunctionOutputConverters
public AbstractEmbeddedStatelessFunctionOperator(org.apache.flink.configuration.Configuration config,
org.apache.flink.table.types.logical.RowType inputType,
org.apache.flink.table.types.logical.RowType udfInputType,
org.apache.flink.table.types.logical.RowType udfOutputType,
int[] udfInputOffsets)
public void open()
throws Exception
open 在接口中 org.apache.flink.streaming.api.operators.StreamOperator<org.apache.flink.table.data.RowData>open 在类中 AbstractEmbeddedPythonFunctionOperator<org.apache.flink.table.data.RowData>ExceptionCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.