public interface WindowFrame
WindowFrame
provides the absolute indexes of a window frame within a partition. The
start index represents the index of the first record inside the window and the end index represents
the index of the first record outside of the window.Modifier and Type | Method and Description |
---|---|
int |
getEndIndex()
Returns the absolute index of the first record of the partition outside of the window frame.
|
int |
getSize()
Returns the total number of records contained in the window frame, i.e.
|
int |
getStartIndex()
Returns the absolute index of the first record of the partition that falls into the window frame.
|
boolean |
isEmpty()
Returns
true if this window frame does not contain a single record, otherwise false . |
boolean isEmpty()
true
if this window frame does not contain a single record, otherwise false
.true
if this window frame does not contain a single record, otherwise false
int getStartIndex()
int getEndIndex()
int getSize()
getEndIndex() - getStartIndex()
.