Class TopRowFilter

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

public class TopRowFilter extends TSqlFragment
This class represents the top row filter, that can be used in select statement.
See Also:
  • Field Details

    • Expression

      public ScalarExpression Expression
      The expression.
    • Percent

      public boolean Percent
      True if PERCENT keyword was used.
    • WithTies

      public boolean WithTies
      True is WITH TIES keywords were used. Important: The interpreter has to check there is an order by clause.
    • WithApproximate

      public boolean WithApproximate
      True if WITH APPROXIMATE (or APPROX) keyword was used. Introduced in SQL Server 2025 for approximate query processing.
  • Constructor Details

    • TopRowFilter

      public TopRowFilter()
  • Method Details