Module sql::ast [−][src]
SQL abstract syntax tree.
Modules
display | |
fold | Transformation of an owned AST. |
transform | Provides a publicly available interface to transform our SQL ASTs. |
visit | Traversal of an immutable AST. |
visit_mut | Traversal of a mutable AST. |
Structs
AlterIndexOptionsStatement |
|
AlterObjectRenameStatement |
|
Assignment | SQL assignment |
CloseStatement |
|
ColumnDef | SQL column definition |
ColumnOptionDef | An optionally-named |
CommitStatement |
|
CopyStatement |
|
CreateDatabaseStatement |
|
CreateIndexStatement |
|
CreateRoleStatement | A |
CreateSchemaStatement |
|
CreateSinkStatement |
|
CreateSourceStatement |
|
CreateSourcesStatement |
|
CreateTableStatement |
|
CreateTypeStatement |
|
CreateViewStatement |
|
CsrSeed | |
Cte | A single CTE (used after |
DeclareStatement |
|
DeleteStatement |
|
DiscardStatement | |
DropDatabaseStatement | |
DropObjectsStatement |
|
ExplainOptions | |
ExplainStatement |
|
FetchStatement |
|
Function | A function call |
Ident | An identifier. |
InsertStatement |
|
IntervalValue | An intermediate value for Intervals, which tracks all data from the user, as well as the computed ParsedDateTime. |
Join | |
Limit | |
OrderByExpr | SQL ORDER BY expression |
PgTable | Information about upstream Postgres tables used for replication sources |
Query | The most complete variant of a |
Raw | |
RollbackStatement |
|
Select | A restricted variant of |
SelectStatement |
|
SetTransactionStatement |
|
SetVariableStatement |
|
ShowColumnsStatement |
|
ShowCreateIndexStatement |
|
ShowCreateSinkStatement |
|
ShowCreateSourceStatement |
|
ShowCreateTableStatement |
|
ShowCreateViewStatement |
|
ShowDatabasesStatement |
|
ShowIndexesStatement |
|
ShowObjectsStatement |
|
ShowVariableStatement |
|
StartTransactionStatement |
|
SubscriptPosition | |
TableAlias | |
TableWithJoins | |
TailStatement |
|
UnresolvedObjectName | A name of a table, view, custom type, etc., possibly multi-part, i.e. db.schema.obj |
UpdateStatement |
|
ValueError | |
Values | |
WindowFrame | Specifies the data processed by a window function, e.g.
|
WindowSpec | A window specification (i.e. |
WithOption |
Enums
AlterIndexOptionsList | |
AvroSchema | |
CatalogName | |
ColumnOption |
|
Compression | |
Connector | |
CopyDirection | |
CopyRelation | |
CopyTarget | |
CreateRoleOption | Options that can be attached to |
CreateTypeAs |
|
DataType | SQL data types |
DbzMode | |
DiscardTarget | |
Distinct | |
Envelope | |
ExplainStage | Specifies what Statement::Explain is actually explaining |
Explainee | |
Expr | An SQL expression of any type. |
FetchDirection | |
Format | |
FunctionArgs | Arguments for a function call. |
IfExistsBehavior | |
InsertSource | |
JoinConstraint | |
JoinOperator | |
MultiConnector | |
ObjectType | |
RawName | |
S3KeySource | The key sources specified in the S3 source's |
Schema | |
SelectItem | One item of the comma-separated list following |
SetExpr | A node in a tree, representing a "query body" expression, roughly:
|
SetOperator | |
SetVariableValue | |
ShowStatementFilter | |
SqlOption | |
Statement | A top-level statement (SELECT, INSERT, CREATE, etc.) |
TableConstraint | A table-level constraint, specified in a |
TableFactor | A table name or a parenthesized subquery with an optional alias |
TransactionAccessMode | |
TransactionIsolationLevel | |
TransactionMode | |
Value | Primitive SQL values. |
WindowFrameBound | Specifies WindowFrame's |
WindowFrameUnits | |
WithOptionValue |
Traits
AstInfo |