Class OffsetClause

java.lang.Object
io.github.fupacat.ast.TSqlFragment
io.github.fupacat.ast.OffsetClause
All Implemented Interfaces:
Serializable

public class OffsetClause extends TSqlFragment
This class represents an offset/fetch filter, that can be used in select statements for paging the result set.
See Also:
  • Field Details

    • OffsetExpression

      public ScalarExpression OffsetExpression
      Expression for number fo rows to skip.
    • FetchExpression

      public ScalarExpression FetchExpression
      Expression for number fo rows to return.
    • WithApproximate

      public boolean WithApproximate
      True if FETCH APPROXIMATE (or APPROX) keyword was used. Only valid in SQL Server 2025 (170) and above. Note: APPROXIMATE is not valid with OFFSET; only FETCH APPROXIMATE is supported.
  • Constructor Details

    • OffsetClause

      public OffsetClause()
  • Method Details