java.lang.Object
org.pgcodekeeper.core.database.ch.parser.rulectx.ChSelectStmt

public class ChSelectStmt extends Object
Merging wrapper for ClickHouse SELECT statements. Provides a unified interface for working with both parenthesized and non-parenthesized SELECT statements in ClickHouse syntax.
  • Constructor Details

    • ChSelectStmt

      public ChSelectStmt(CHParser.Select_stmtContext select)
      Creates a wrapper for a ClickHouse SELECT statement.
      Parameters:
      select - the SELECT statement context
    • ChSelectStmt

      public ChSelectStmt(CHParser.Select_stmt_no_parensContext select)
      Creates a wrapper for a ClickHouse SELECT statement without parentheses.
      Parameters:
      select - the SELECT statement context without parentheses
  • Method Details

    • selectOps

      public ChSelectOps selectOps()
      Returns the ClickHouse SELECT operations wrapper.
      Returns:
      wrapper for the SELECT operations part of the statement