public class RowUnboundedPrecedingOverFrame extends UnboundedPrecedingOverFrame
e.g.: ... ROW BETWEEN UNBOUNDED PRECEDING AND 1 FOLLOWING.
Constructor and Description |
---|
RowUnboundedPrecedingOverFrame(GeneratedAggsHandleFunction aggsHandleFunction,
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 RowUnboundedPrecedingOverFrame(GeneratedAggsHandleFunction aggsHandleFunction, long rightBound)
public void prepare(ResettableExternalBuffer rows) throws Exception
OverWindowFrame
prepare
in interface OverWindowFrame
prepare
in class UnboundedPrecedingOverFrame
Exception
public RowData process(int index, RowData current) throws Exception
OverWindowFrame
Exception
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.