public class BufferDataOverWindowOperator extends TableStreamOperator<BaseRow> implements org.apache.flink.streaming.api.operators.OneInputStreamOperator<BaseRow,BaseRow>, org.apache.flink.streaming.api.operators.BoundedOneInput
OverWindowFrame.| Constructor and Description |
|---|
BufferDataOverWindowOperator(long memorySize,
OverWindowFrame[] overWindowFrames,
GeneratedRecordComparator genComparator,
boolean isRowAllInFixedPart) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
endInput() |
void |
open() |
void |
processElement(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<BaseRow> element) |
disposegetChainingStrategy, getContainingTask, getCurrentKey, getExecutionConfig, getInternalTimerService, getKeyedStateBackend, getKeyedStateStore, getMetricGroup, getOperatorConfig, getOperatorID, getOperatorName, getOperatorStateBackend, getOrCreateKeyedState, getPartitionedState, getPartitionedState, getProcessingTimeService, getRuntimeContext, getUserCodeClassloader, initializeState, initializeState, notifyCheckpointComplete, numEventTimeTimers, numProcessingTimeTimers, prepareSnapshotPreBarrier, processLatencyMarker, processLatencyMarker1, processLatencyMarker2, processWatermark, processWatermark1, processWatermark2, reportOrForwardLatencyMarker, setChainingStrategy, setCurrentKey, setKeyContextElement1, setKeyContextElement2, setup, snapshotState, snapshotStateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprocessLatencyMarker, processWatermarkdispose, getChainingStrategy, getMetricGroup, getOperatorID, initializeState, prepareSnapshotPreBarrier, setChainingStrategy, setKeyContextElement1, setKeyContextElement2, snapshotStatepublic BufferDataOverWindowOperator(long memorySize,
OverWindowFrame[] overWindowFrames,
GeneratedRecordComparator genComparator,
boolean isRowAllInFixedPart)
memorySize - the memory is assigned to a resettable external buffer.overWindowFrames - the window frames belong to this operator.genComparator - the generated sort which is used for generating the comparator amongpublic void open()
throws Exception
public void processElement(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<BaseRow> element) throws Exception
public void endInput()
throws Exception
endInput in interface org.apache.flink.streaming.api.operators.BoundedOneInputExceptionCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.