Expand description
§Semantic analyzers
Re-exports§
pub use self::problem::AnalysisProblem;pub use crate::AstAndContextPair;
Modules§
- problem
- problem module
Structs§
- Alias
Spec - alias name in from clause
- Alter
Owner - analyzed
crate::syn::AlterOwnerStmt - Alter
Sequence - analyzed
crate::syn::AlterSeqStmt - Alter
Table - analyzed alter table statement
- Alter
View - analyzed alter view statement
- Array
Expr - array expression
- Base
Context - schema informations for Builtin and extensions
- Binary
Operator Definition - Binary opreators
- Boolean
Expr - boolean expression
- Case
Expr - case expression
- Cast
Definition - type cast definition
- Catalog
Name - part of name specifies catalog
- Coalesce
Expr - COALASCE expression
- Collate
Expr - Collate expression
- Column
Collection - columns in table
- Column
Definition - column definitions
- Column
Name - column name
- Comment
- analyzed
crate::syn::CommentStmt - Create
Composit Type - analyzed
crate::syn::CompositeTypeStmt - Create
Domain - analyzed
crate::syn::CreateDomainStmt - Create
Enum - analyzed
crate::syn::CreateEnumStmt - Create
Extension - analyzed
crate::syn::CreateExtensionStmt - Create
Function - analyzed
crate::syn::CreateFunctionStmt - Create
Index - analyzed
crate::syn::IndexStmt - Create
Schema - analyzed
crate::syn::CreateSchemaStmt - Create
Sequence - analyzed
crate::syn::CreateSeqStmt - Create
Table create tableSQL statement- Create
Table As - analyzed
crate::syn::CreateTableAsStmt - Create
View - analyzed
crate::syn::ViewStmt - CteColumn
Ref - Column reference for CTE source
- Data
Source RowFunctions - row functions
- DefElem
Key - key of
DefElem - DefElem
List - hash map of
DefElem - Default
Source Access Service - default implementation for SourceAccessService
- Delete
Statement DELETEstatement- From
Clause - semantic representation for
FROMclause - Full
Name - full name parts.
- Func
Call Expr - function call expression
- Function
Overload Collection - function overload variants defined in same name
- Implicit
Cast Expr - implicit cast expression
- Index
Element With Order - combine column and sort order ,
col_name - Insert
Statement - semantic AST for
insertstatement - Local
Name - part of name for schema specific local name
- MinMax
Expr - MIN / MAX expression
- Named
ArgExpr - named argument expression
- Null
Test Expr NullTestExpr- Overload
Variant - function overload variant
- Param
Ref - parameter reference expression
- PgBuilt
InType - Well-known Postgres Built-In types
- Primary
KeyConstraint - analyzed primary key constraint
- Schema
File Context - schema file based context
- Schema
Name - part of name specifies schema
- SubLink
Expr - Sub-query expression
- SubQuery
Column Ref - column reference for sub-query
- Table
Column Ref - table column reference
- Table
Name - table name
- Type
Cast Expr - explicit cast expression
- Unary
Operator Definition - unary operator definitions
- Update
Statement updatestatement sem AST- Valid
Operator Name - operator name with schema(optional)
- Variable
Set - set a variable
- View
Name - view name type
- With
Clause - analyzed
crate::syn::WithClauseOpt
Enums§
- Analysis
Error - error
- Arith
Expr - arith expression
- Cast
Context - type cast context
- Column
Reference Expr - Column reference
- Constraint
- analyzed
crate::syn::Constraint - CteStatement
- CTE query item types
- Data
Source - from / join sources
- Data
Source Rows From Func - rows from function
- Function
Param - function parameter type
- Implicit
Change - constraint related schema change
- Index
Element IndexElementhas column or expression- Indirection
Expr - Indirect expression
- Join
Kind - table join kind
- Operator
Definition - Binary / Unary operator
- Operator
Name - Operator name
- Scalar
Const Expr - constant expression
- Select
Statement - select statement
- SemAst
- Semantic AST for top-level statement
- SemScalar
Expr - scalar explation in semantic ast
- Sort
Order - Index item sort order
- SqlValue
Expr - SQL value function
- Type
Definition - type definitions
- Type
Reference - type reference
- View
Like - view like object
Traits§
- Analize
Constraint - analyze
crate::syn::Constraintvariants - Base
Parse Context - schema information database
- Cast
Info Read - get cast definition
- Function
Info Read - get function definition
- Function
Info Write - store and update function info
- Index
Info Read - get index definition
- Operator
Info Read - get operator definition
- Parse
Context - modifiable schema
- Search
Path Read - search path
- Sequence
Info Read - get sequence definition
- Sequence
Info Write - store and update sequence info
- Source
Access Service - provide access to source SQL file
- Table
Info Read - get table definition
- Table
Info Write - table information writer
- Type
Info Read - get type definition
- Type
Info Write - store and update type info
- View
Info Read - get view definition
- View
Info Write - store update view definitions
Functions§
- analyze_
alter_ owner - analyze
crate::syn::AlterOwnerStmt - analyze_
alter_ seq - analyze
crate::syn::AlterSeqStmt - analyze_
alter_ statement - analyze
crate::syn::AlterTableStmt - analyze_
comment - analyze
crate::syn::CommentStmt - analyze_
create_ comp_ type - analyze
crate::syn::CompositeTypeStmt - analyze_
create_ domain - analyze
crate::syn::CreateDomainStmt - analyze_
create_ enum_ type - analyze
crate::syn::CreateEnumStmt - analyze_
create_ extension - analyze
crate::syn::CreateExtensionStmt - analyze_
create_ function - analyze
crate::syn::CreateFunctionStmt - analyze_
create_ schema - analyze
crate::syn::CreateSchemaStmt - analyze_
create_ seq - analyze
crate::syn::CreateSeqStmt - analyze_
create_ stmt - analyze
crate::syn::CreateStmt - analyze_
create_ table_ as - analyze
crate::syn::CreateTableAsStmt - analyze_
create_ view - analyze
crate::syn::ViewStmt - analyze_
def_ elem_ list - analyze
crate::syn::NodeListOptasDefElemList - analyze_
delete_ statement - analyze
crate::syn::DeleteStmt - analyze_
index_ stmt - analyze
crate::syn::IndexStmt - analyze_
insert_ statement - analyze
crate::syn::InsertStmt - analyze_
node - analyze node
- analyze_
scaler_ expr - analyze
crate::syn::Nodeas scaler expression - analyze_
select - analyze
crate::syn::SelectStmt - analyze_
update_ statement - analyze
updatestatement - analyze_
variable_ set - analyze
VariableSetStmt - semantic_
analysis - analyze top-level SQL statement