Expand description
Abstract Syntax Tree (AST) definitions for SQL queries
This module contains all the data structures that represent the parsed SQL query structure.
Structs§
- CTE
- Common Table Expression (CTE) structure
- Column
Ref - Column reference with optional quoting information and table prefix
- Comment
- Represents a SQL comment (line or block)
- Condition
- Into
Table - INTO clause for creating temporary tables
- Join
Clause - Join clause structure
- Join
Condition - Join condition - can be multiple conditions connected by AND
- Order
ByColumn - Select
Statement - Simple
When Branch - Single
Join Condition - Single join condition
- Template
Var - Template variable for injecting temp table data into WEB CTEs
- WebCTE
Spec - Specification for WEB CTEs
- When
Branch - Where
Clause - Window
Frame - Window frame specification
- Window
Spec
Enums§
- CTEType
- Type of CTE - standard SQL or WEB fetch
- Data
Format - Data format for WEB CTEs
- Frame
Bound - Window frame bounds
- Frame
Unit - Window frame unit (ROWS or RANGE)
- Http
Method - HTTP methods for WEB CTEs
- Join
Operator - Join operator for join conditions
- Join
Type - Join type enumeration
- Logical
Op - Quote
Style - Quote style for identifiers (column names, table names, etc.)
- Select
Item - Represents a SELECT item - either a simple column or a computed expression with alias
- SetOperation
- Set operation type for combining SELECT statements
- Sort
Direction - SqlExpression
- Table
Function - Table function that generates virtual tables
- Table
Source - Table source - either a file/table name or a derived table (subquery/CTE)