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
- Condition
- Join
Clause - Join clause structure
- Join
Condition - Join condition - initially just column equality
- Order
ByColumn - Select
Statement - 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)
- Join
Operator - Join operator for join conditions
- Join
Type - Join type enumeration
- Logical
Op - Select
Item - Represents a SELECT item - either a simple column or a computed expression with alias
- 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)