Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnnotatedAst ¶
type AnnotatedAst interface { GetAST() sqlparser.Statement GetIndirect(sqlparser.SQLNode) (astindirect.Indirect, bool) GetIndirects() map[string]astindirect.Indirect GetMaterializedView(sqlparser.SQLNode) (astindirect.Indirect, bool) GetPhysicalTable(sqlparser.SQLNode) (astindirect.Indirect, bool) GetSelectMetadata(*sqlparser.Select) (selectmetadata.SelectMetadata, bool) GetSQLDataSource(node sqlparser.SQLNode) (sql_datasource.SQLDataSource, bool) SetIndirect(node sqlparser.SQLNode, indirect astindirect.Indirect) SetMaterializedView(node sqlparser.SQLNode, indirect astindirect.Indirect) SetPhysicalTable(node sqlparser.SQLNode, indirect astindirect.Indirect) SetSelectMetadata(*sqlparser.Select, selectmetadata.SelectMetadata) SetSQLDataSource(node sqlparser.SQLNode, sqlDataSource sql_datasource.SQLDataSource) SetWhereParamMapsEntry(*sqlparser.Where, parserutil.ParameterMap) GetWhereParamMapsEntry(*sqlparser.Where) (parserutil.ParameterMap, bool) IsReadOnly() bool SetInsertRowsIndirect(node *sqlparser.Insert, indirect astindirect.Indirect) GetInsertRowsIndirect(*sqlparser.Insert) (astindirect.Indirect, bool) GetSelectIndirect(selNode *sqlparser.Select) (astindirect.Indirect, bool) SetSelectIndirect(selNode *sqlparser.Select, indirect astindirect.Indirect) GetExecIndirect(selNode *sqlparser.Exec) (astindirect.Indirect, bool) SetExecIndirect(selNode *sqlparser.Exec, indirect astindirect.Indirect) GetSubequeryTableCount() int }
func NewAnnotatedAst ¶
func NewAnnotatedAst(parent AnnotatedAst, ast sqlparser.Statement) (AnnotatedAst, error)
Click to show internal directories.
Click to hide internal directories.