Class WindowRows.Between
java.lang.Object
com.blazebit.persistence.querydsl.WindowRows.Between
- Enclosing class:
- WindowRows<Def extends WindowDefinition<Def,?>>
public class WindowRows.Between extends Object
An interface for building a window frame clause for analytics functions.
- Author:
- Jan-Willem Gmelig Meyling
-
Constructor Summary
Constructors Constructor Description Between() -
Method Summary
Modifier and Type Method Description WindowRows.BetweenAndcurrentRow()Uses CURRENT ROW as lower bound and continues to the frame exclusion builder.WindowRows.BetweenAndfollowing(int i)Uses expression FOLLOWING as lower bound for the frame and starts a frame between builder for the upper bound.WindowRows.BetweenAndfollowing(com.querydsl.core.types.Expression<Integer> expr)Uses expression FOLLOWING as lower bound for the frame and starts a frame between builder for the upper bound.WindowRows.BetweenAndpreceding(int i)Uses expression PRECEDING as lower bound for the frame and starts a frame between builder for the upper bound.WindowRows.BetweenAndpreceding(com.querydsl.core.types.Expression<Integer> expr)Uses expression PRECEDING as lower bound for the frame and starts a frame between builder for the upper bound.WindowRows.BetweenAndunboundedPreceding()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
-