@Internal public class StreamArrowPythonGroupWindowAggregateFunctionOperator<K,W extends org.apache.flink.table.runtime.operators.window.Window> extends AbstractArrowPythonAggregateFunctionOperator implements org.apache.flink.streaming.api.operators.Triggerable<K,W>
AggregateFunction Operator for Group Window Aggregation.arrowSerializer, currentBatchCount, groupingSet, pandasAggFunctions, reuseJoinedRow, rowDataWrapperbais, baisWrapper, baos, baosWrapper, forwardedInputQueue, inputType, outputType, userDefinedFunctionInputOffsets, userDefinedFunctionInputType, userDefinedFunctionOutputTypeconfig, elementCount, jobOptions, maxBundleSize, pythonConfig, pythonFunctionRunner| 构造器和说明 |
|---|
StreamArrowPythonGroupWindowAggregateFunctionOperator(org.apache.flink.configuration.Configuration config,
org.apache.flink.table.functions.python.PythonFunctionInfo[] pandasAggFunctions,
org.apache.flink.table.types.logical.RowType inputType,
org.apache.flink.table.types.logical.RowType outputType,
int inputTimeFieldIndex,
org.apache.flink.table.runtime.operators.window.assigners.WindowAssigner<W> windowAssigner,
org.apache.flink.table.runtime.operators.window.triggers.Trigger<W> trigger,
long allowedLateness,
org.apache.flink.table.planner.expressions.PlannerNamedWindowProperty[] namedProperties,
int[] groupingSet,
int[] udafInputOffsets,
java.time.ZoneId shiftTimeZone) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
bufferInput(org.apache.flink.table.data.RowData input)
Buffers the specified input, it will be used to construct the operator result together with
the user-defined function execution result.
|
org.apache.flink.table.types.logical.RowType |
createUserDefinedFunctionOutputType() |
void |
emitResult(org.apache.flink.api.java.tuple.Tuple2<byte[],Integer> resultTuple)
Sends the execution result to the downstream operator.
|
void |
onEventTime(org.apache.flink.streaming.api.operators.InternalTimer<K,W> timer) |
void |
onProcessingTime(org.apache.flink.streaming.api.operators.InternalTimer<K,W> timer) |
void |
open() |
void |
processElementInternal(org.apache.flink.table.data.RowData value) |
close, createInputCoderInfoDescriptor, createOutputCoderInfoDescriptor, getFunctionInput, getFunctionUrn, getPythonEnv, getUserDefinedFunctionsProto, isBundleFinished, processElementcreatePythonFunctionRunnerendInputcheckInvokeFinishBundleByCount, createPythonEnvironmentManager, emitResults, finish, getConfiguration, getFlinkMetricContainer, invokeFinishBundle, prepareSnapshotPreBarrier, processWatermark, setConfiguration, setCurrentKeygetChainingStrategy, 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, processWatermarkStatus, processWatermarkStatus1, processWatermarkStatus2, reportOrForwardLatencyMarker, setChainingStrategy, setKeyContextElement1, setKeyContextElement2, setProcessingTimeService, setup, snapshotState, snapshotStateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfinish, getMetricGroup, getOperatorID, initializeState, prepareSnapshotPreBarrier, setKeyContextElement1, setKeyContextElement2, snapshotStatepublic StreamArrowPythonGroupWindowAggregateFunctionOperator(org.apache.flink.configuration.Configuration config,
org.apache.flink.table.functions.python.PythonFunctionInfo[] pandasAggFunctions,
org.apache.flink.table.types.logical.RowType inputType,
org.apache.flink.table.types.logical.RowType outputType,
int inputTimeFieldIndex,
org.apache.flink.table.runtime.operators.window.assigners.WindowAssigner<W> windowAssigner,
org.apache.flink.table.runtime.operators.window.triggers.Trigger<W> trigger,
long allowedLateness,
org.apache.flink.table.planner.expressions.PlannerNamedWindowProperty[] namedProperties,
int[] groupingSet,
int[] udafInputOffsets,
java.time.ZoneId shiftTimeZone)
public void open()
throws Exception
open 在接口中 org.apache.flink.streaming.api.operators.StreamOperator<org.apache.flink.table.data.RowData>open 在类中 AbstractArrowPythonAggregateFunctionOperatorExceptionpublic void bufferInput(org.apache.flink.table.data.RowData input)
throws Exception
AbstractStatelessFunctionOperatorbufferInput 在类中 AbstractStatelessFunctionOperator<org.apache.flink.table.data.RowData,org.apache.flink.table.data.RowData,org.apache.flink.table.data.RowData>Exceptionpublic org.apache.flink.table.types.logical.RowType createUserDefinedFunctionOutputType()
createUserDefinedFunctionOutputType 在类中 AbstractStatelessFunctionOperator<org.apache.flink.table.data.RowData,org.apache.flink.table.data.RowData,org.apache.flink.table.data.RowData>public void processElementInternal(org.apache.flink.table.data.RowData value)
throws Exception
processElementInternal 在类中 AbstractStatelessFunctionOperator<org.apache.flink.table.data.RowData,org.apache.flink.table.data.RowData,org.apache.flink.table.data.RowData>Exceptionpublic void emitResult(org.apache.flink.api.java.tuple.Tuple2<byte[],Integer> resultTuple) throws Exception
AbstractPythonFunctionOperatoremitResult 在类中 AbstractPythonFunctionOperator<org.apache.flink.table.data.RowData>Exceptionpublic void onEventTime(org.apache.flink.streaming.api.operators.InternalTimer<K,W> timer) throws Exception
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.