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