public interface WinAggFrameContext
All the indexes are ready to be used in
WinAggResultContext.arguments(org.apache.calcite.linq4j.tree.Expression)
,
WinAggFrameResultContext.rowTranslator(org.apache.calcite.linq4j.tree.Expression)
and similar methods.
Modifier and Type | Method and Description |
---|---|
Expression |
endIndex()
Returns the index of the very last row in partition.
|
Expression |
getFrameRowCount()
Returns the number of rows in the current frame (subject to framing
clause).
|
Expression |
getPartitionRowCount()
Returns the number of rows in the current partition (as determined by
PARTITION BY clause).
|
Expression |
hasRows()
Returns the boolean expression that tells if the partition has rows.
|
Expression |
index()
Returns the index of the current row in the partition.
|
Expression |
startIndex()
Returns the index of the very first row in partition.
|
Expression index()
startIndex()
when you need zero-based row position.Expression startIndex()
Expression endIndex()
Expression hasRows()
Expression getFrameRowCount()
Expression getPartitionRowCount()
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.