Class WindowRows.Between
java.lang.Object
com.blazebit.persistence.querydsl.WindowRows.Between
- Enclosing class:
- WindowRows<Def extends WindowDefinition<Def,
?>>
An interface for building a window frame clause for analytics functions.
- Author:
- Jan-Willem Gmelig Meyling
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionUses CURRENT ROW as lower bound and continues to the frame exclusion builder.following(int i) Uses expression FOLLOWING as lower bound for the frame and starts a frame between builder for the upper bound.Uses expression FOLLOWING as lower bound for the frame and starts a frame between builder for the upper bound.preceding(int i) Uses expression PRECEDING as lower bound for the frame and starts a frame between builder for the upper bound.Uses expression PRECEDING as lower bound for the frame and starts a frame between builder for the upper bound.Uses UNBOUNDED PRECEDING as lower bound and continues to the frame exclusion builder.
-
Constructor Details
-
Between
public Between()
-
-
Method Details
-
unboundedPreceding
Uses UNBOUNDED PRECEDING as lower bound and continues to the frame exclusion builder.- Returns:
- The frame exclusion builder
-
currentRow
Uses CURRENT ROW as lower bound and continues to the frame exclusion builder.- Returns:
- The frame exclusion builder
-
preceding
Uses expression PRECEDING as lower bound for the frame and starts a frame between builder for the upper bound.- Parameters:
expr- The expression for the frame bound- Returns:
- The frame between builder
-
preceding
Uses expression PRECEDING as lower bound for the frame and starts a frame between builder for the upper bound.- Parameters:
i- The number of preceding rows- Returns:
- The frame between builder
-
following
Uses expression FOLLOWING as lower bound for the frame and starts a frame between builder for the upper bound.- Parameters:
expr- The expression for the frame bound- Returns:
- The frame between builder
-
following
Uses expression FOLLOWING as lower bound for the frame and starts a frame between builder for the upper bound.- Parameters:
i- The number of following rows- Returns:
- The frame between builder
-