public class RowSlidingOverFrame extends SlidingOverFrame
e.g.: ... ROW BETWEEN 1 PRECEDING AND 1 FOLLOWING.
Constructor and Description |
---|
RowSlidingOverFrame(RowType inputType,
RowType valueType,
GeneratedAggsHandleFunction aggsHandleFunction,
long leftBound,
long rightBound) |
Modifier and Type | Method and Description |
---|---|
void |
prepare(ResettableExternalBuffer rows)
Prepare for next partition.
|
RowData |
process(int index,
RowData current)
return the ACC of the window frame.
|
open
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNextOrNull
public RowSlidingOverFrame(RowType inputType, RowType valueType, GeneratedAggsHandleFunction aggsHandleFunction, long leftBound, long rightBound)
public void prepare(ResettableExternalBuffer rows) throws Exception
OverWindowFrame
prepare
in interface OverWindowFrame
prepare
in class SlidingOverFrame
Exception
public RowData process(int index, RowData current) throws Exception
OverWindowFrame
Exception
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.