Module ast

Module ast 

Source
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
JoinClause
Join clause structure
JoinCondition
Join condition - initially just column equality
OrderByColumn
SelectStatement
WebCTESpec
Specification for WEB CTEs
WhenBranch
WhereClause
WindowFrame
Window frame specification
WindowSpec

Enums§

CTEType
Type of CTE - standard SQL or WEB fetch
DataFormat
Data format for WEB CTEs
FrameBound
Window frame bounds
FrameUnit
Window frame unit (ROWS or RANGE)
JoinOperator
Join operator for join conditions
JoinType
Join type enumeration
LogicalOp
SelectItem
Represents a SELECT item - either a simple column or a computed expression with alias
SortDirection
SqlExpression
TableFunction
Table function that generates virtual tables
TableSource
Table source - either a file/table name or a derived table (subquery/CTE)