public interface WinAggFrameResultContext extends WinAggFrameContext
| Modifier and Type | Method and Description |
|---|---|
Expression |
compareRows(Expression a,
Expression b)
Compares two rows given by absolute positions according to the order
collation of the current window.
|
Expression |
computeIndex(Expression offset,
WinAggImplementor.SeekType seekType)
Converts absolute index position of the given relative position.
|
Expression |
rowInFrame(Expression rowIndex)
Returns boolean the expression that checks if the given index is in
the frame bounds.
|
Expression |
rowInPartition(Expression rowIndex)
Returns boolean the expression that checks if the given index is in
the partition bounds.
|
RexToLixTranslator |
rowTranslator(Expression rowIndex)
Returns row translator for given absolute row position.
|
endIndex, getFrameRowCount, getPartitionRowCount, hasRows, index, startIndexExpression computeIndex(Expression offset, WinAggImplementor.SeekType seekType)
offset - offset of the requested rowseekType - the type of offset (start of window, end of window, etc)Expression rowInFrame(Expression rowIndex)
rowIndex - index if the row to checkExpression rowInPartition(Expression rowIndex)
rowIndex - index if the row to checkRexToLixTranslator rowTranslator(Expression rowIndex)
rowIndex - absolute index of the row.Expression compareRows(Expression a, Expression b)
a - absolute index of the first rowb - absolute index of the second rowComparable.compareTo(T)Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.