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 Details

    • Between

      public Between()
  • Method Details

    • unboundedPreceding

      public WindowRows<Def>.BetweenAnd unboundedPreceding()
      Uses UNBOUNDED PRECEDING as lower bound and continues to the frame exclusion builder.
      Returns:
      The frame exclusion builder
    • currentRow

      public WindowRows<Def>.BetweenAnd currentRow()
      Uses CURRENT ROW as lower bound and continues to the frame exclusion builder.
      Returns:
      The frame exclusion builder
    • preceding

      public WindowRows<Def>.BetweenAnd preceding(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.
      Parameters:
      expr - The expression for the frame bound
      Returns:
      The frame between builder
    • preceding

      public WindowRows<Def>.BetweenAnd preceding(int i)
      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

      public WindowRows<Def>.BetweenAnd following(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.
      Parameters:
      expr - The expression for the frame bound
      Returns:
      The frame between builder
    • following

      public WindowRows<Def>.BetweenAnd following(int i)
      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