public class RowTimeRowsUnboundedPrecedingFunction<K> extends AbstractRowTimeUnboundedPrecedingOver<K>
E.g.: SELECT rowtime, b, c, min(c) OVER (PARTITION BY b ORDER BY rowtime ROWS BETWEEN UNBOUNDED preceding AND CURRENT ROW), max(c) OVER (PARTITION BY b ORDER BY rowtime ROWS BETWEEN UNBOUNDED preceding AND CURRENT ROW) FROM T.
function, outputstateCleaningEnabled| Constructor and Description |
|---|
RowTimeRowsUnboundedPrecedingFunction(long minRetentionTime,
long maxRetentionTime,
GeneratedAggsHandleFunction genAggsHandler,
org.apache.flink.table.types.logical.LogicalType[] accTypes,
org.apache.flink.table.types.logical.LogicalType[] inputFieldTypes,
int rowTimeIdx) |
| Modifier and Type | Method and Description |
|---|---|
void |
processElementsWithSameTimestamp(List<org.apache.flink.table.data.RowData> curRowList,
org.apache.flink.util.Collector<org.apache.flink.table.data.RowData> out)
Process the same timestamp datas, the mechanism is different between rows and range window.
|
close, getCounter, onTimer, open, processElementcleanupState, initCleanupTimeState, isProcessingTimeTimer, needToCleanupState, registerProcessingCleanupTimergetIterationRuntimeContext, getRuntimeContext, open, setRuntimeContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitregisterProcessingCleanupTimerpublic RowTimeRowsUnboundedPrecedingFunction(long minRetentionTime,
long maxRetentionTime,
GeneratedAggsHandleFunction genAggsHandler,
org.apache.flink.table.types.logical.LogicalType[] accTypes,
org.apache.flink.table.types.logical.LogicalType[] inputFieldTypes,
int rowTimeIdx)
public void processElementsWithSameTimestamp(List<org.apache.flink.table.data.RowData> curRowList, org.apache.flink.util.Collector<org.apache.flink.table.data.RowData> out) throws Exception
AbstractRowTimeUnboundedPrecedingOverprocessElementsWithSameTimestamp in class AbstractRowTimeUnboundedPrecedingOver<K>ExceptionCopyright © 2014–2025 The Apache Software Foundation. All rights reserved.