@Internal public abstract class AbstractEmbeddedPythonFunctionOperator<OUT> extends AbstractPythonFunctionOperator<OUT>
| 限定符和类型 | 字段和说明 |
|---|---|
protected pemja.core.PythonInterpreter |
interpreter
Every operator will hold the only python interpreter.
|
bundleFinishedCallback, config, elementCount, lastFinishBundleTime, maxBundleSize, systemEnvEnabled| 构造器和说明 |
|---|
AbstractEmbeddedPythonFunctionOperator(org.apache.flink.configuration.Configuration config) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
protected EmbeddedPythonEnvironmentManager |
createPythonEnvironmentManager() |
protected void |
invokeFinishBundle() |
void |
open() |
abstract void |
openPythonInterpreter()
Setup method for Python Interpreter.
|
checkInvokeFinishBundleByCount, 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, useSplittableTimersprotected transient pemja.core.PythonInterpreter interpreter
public AbstractEmbeddedPythonFunctionOperator(org.apache.flink.configuration.Configuration config)
public void open()
throws Exception
open 在接口中 org.apache.flink.streaming.api.operators.StreamOperator<OUT>open 在类中 AbstractPythonFunctionOperator<OUT>Exceptionpublic void close()
throws Exception
close 在接口中 org.apache.flink.streaming.api.operators.StreamOperator<OUT>close 在类中 AbstractPythonFunctionOperator<OUT>Exceptionprotected EmbeddedPythonEnvironmentManager createPythonEnvironmentManager()
protected void invokeFinishBundle()
throws Exception
invokeFinishBundle 在类中 AbstractPythonFunctionOperator<OUT>Exceptionpublic abstract void openPythonInterpreter()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.