@Internal public abstract class AbstractStreamArrowPythonBoundedRowsOperator<K> extends AbstractStreamArrowPythonOverWindowAggregateFunctionOperator<K> implements org.apache.flink.table.runtime.functions.CleanupState
AggregateFunction Operator for ROWS clause
bounded Over Window Aggregation.inputTimeFieldIndex, lowerBoundaryarrowSerializer, currentBatchCount, pandasAggFunctions, reuseJoinedRow, rowDataWrapperbais, baisWrapper, baos, baosWrapper, forwardedInputQueue, inputType, udfInputType, udfOutputTypepythonFunctionRunnerbundleFinishedCallback, config, elementCount, lastFinishBundleTime, maxBundleSize, systemEnvEnabled| 构造器和说明 |
|---|
AbstractStreamArrowPythonBoundedRowsOperator(org.apache.flink.configuration.Configuration config,
long minRetentionTime,
long maxRetentionTime,
org.apache.flink.table.functions.python.PythonFunctionInfo[] pandasAggFunctions,
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 inputTimeFieldIndex,
long lowerBoundary,
org.apache.flink.table.runtime.generated.GeneratedProjection inputGeneratedProjection) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
emitResult(org.apache.flink.api.java.tuple.Tuple3<String,byte[],Integer> resultTuple)
Sends the execution result to the downstream operator.
|
void |
onEventTime(org.apache.flink.streaming.api.operators.InternalTimer<K,org.apache.flink.runtime.state.VoidNamespace> timer) |
void |
onProcessingTime(org.apache.flink.streaming.api.operators.InternalTimer<K,org.apache.flink.runtime.state.VoidNamespace> timer) |
void |
open() |
processElementInternalclose, createInputCoderInfoDescriptor, createOutputCoderInfoDescriptor, createUserDefinedFunctionsProto, getFunctionInput, getFunctionUrn, getPythonEnv, isBundleFinished, processElementbufferInput, createPythonFunctionRunnerendInputcreatePythonEnvironmentManager, emitResults, invokeFinishBundlecheckInvokeFinishBundleByCount, finish, getConfiguration, getFlinkMetricContainer, 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, waitfinish, getMetricGroup, getOperatorAttributes, getOperatorID, initializeState, prepareSnapshotPreBarrier, setKeyContextElement1, setKeyContextElement2, snapshotStatenotifyCheckpointAborted, notifyCheckpointCompletepublic AbstractStreamArrowPythonBoundedRowsOperator(org.apache.flink.configuration.Configuration config,
long minRetentionTime,
long maxRetentionTime,
org.apache.flink.table.functions.python.PythonFunctionInfo[] pandasAggFunctions,
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 inputTimeFieldIndex,
long lowerBoundary,
org.apache.flink.table.runtime.generated.GeneratedProjection inputGeneratedProjection)
public void open()
throws Exception
open 在接口中 org.apache.flink.streaming.api.operators.StreamOperator<org.apache.flink.table.data.RowData>open 在类中 AbstractStreamArrowPythonOverWindowAggregateFunctionOperator<K>Exceptionpublic void onProcessingTime(org.apache.flink.streaming.api.operators.InternalTimer<K,org.apache.flink.runtime.state.VoidNamespace> timer) throws Exception
public void onEventTime(org.apache.flink.streaming.api.operators.InternalTimer<K,org.apache.flink.runtime.state.VoidNamespace> timer) throws Exception
public void emitResult(org.apache.flink.api.java.tuple.Tuple3<String,byte[],Integer> resultTuple) throws Exception
emitResult 在类中 AbstractExternalPythonFunctionOperator<org.apache.flink.table.data.RowData>ExceptionCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.