Class WindowRows<Def extends WindowDefinition<Def,?>>
java.lang.Object
com.blazebit.persistence.querydsl.WindowRows<Def>
- Type Parameters:
Def- Builder type
WindowRows provides the building of the rows/range part of the window function expression.
Analog to WindowRows.- Since:
- 1.5.0
- Author:
- Jan-Willem Gmelig Meyling
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassAn interface for building a window frame clause for analytics functions.classIntermediate step -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbetween()Start a frame between builder.Uses CURRENT ROW as lower bound for the frame and starts a frame between builder for the upper bound.preceding(int i) Uses X PRECEDING as lower bound and continues to the frame exclusion builder.Uses X PRECEDING as lower bound and continues to the frame exclusion builder.Uses UNBOUNDED PRECEDING as lower bound for the frame and starts a frame between builder for the upper bound.
-
Constructor Details
-
WindowRows
-
-
Method Details
-
between
Start a frame between builder.- Returns:
- The frame between builder
-
unboundedPreceding
Uses UNBOUNDED PRECEDING as lower bound for the frame and starts a frame between builder for the upper bound.- Returns:
- The frame builder
-
currentRow
Uses CURRENT ROW as lower bound for the frame and starts a frame between builder for the upper bound.- Returns:
- The frame builder
-
preceding
Uses X PRECEDING as lower bound and continues to the frame exclusion builder.- Parameters:
expr- The expression for the frame bound- Returns:
- The frame exclusion builder
-
preceding
Uses X PRECEDING as lower bound and continues to the frame exclusion builder.- Parameters:
i- The number of preceding rows- Returns:
- The frame exclusion builder
-