Class WindowRows<Def extends WindowDefinition<Def,​?>>

java.lang.Object
com.blazebit.persistence.querydsl.WindowRows<Def>
Type Parameters:
Def - Builder type

public class WindowRows<Def extends WindowDefinition<Def,​?>>
extends Object
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
  • Constructor Details

  • Method Details

    • between

      public WindowRows.Between between()
      Start a frame between builder.
      Returns:
      The frame between builder
    • unboundedPreceding

      public Def 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

      public Def 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

      public Def preceding​(com.querydsl.core.types.Expression<Integer> expr)
      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

      public Def preceding​(int i)
      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