Uses of Class
gudusoft.gsqlparser.TAttributeNode
Packages that use TAttributeNode
Package
Description
Provides the class
TGSqlParser necessary to create a SQL Parser and the classes a SQL Parser uses
internally to handle different SQL dialects.Provides the classes represents various SQL query parse tree node.
Provides the classes represent various SQL statements.
-
Uses of TAttributeNode in gudusoft.gsqlparser
Fields in gudusoft.gsqlparser with type parameters of type TAttributeNodeModifier and TypeFieldDescriptionprotected ArrayList<TAttributeNode>TCustomSqlStatement.relationAttributesMethods in gudusoft.gsqlparser that return types with arguments of type TAttributeNodeModifier and TypeMethodDescriptionTAttributeNode.getAccompaniedAttributeNodes()IRelation.getAttributes()每个 relation 包含的 attributes 当它为 base table 时,这些 attributes 的来源有三种可能 1.TCustomSqlStatement.getAttributes()Methods in gudusoft.gsqlparser with parameters of type TAttributeNodeModifier and TypeMethodDescriptionstatic booleanTAttributeNode.addNodeToList(TAttributeNode node, ArrayList<TAttributeNode> list) Method parameters in gudusoft.gsqlparser with type arguments of type TAttributeNodeModifier and TypeMethodDescriptionstatic booleanTAttributeNode.addAllNodesToList(ArrayList<TAttributeNode> nodes, ArrayList<TAttributeNode> list) static booleanTAttributeNode.addNodeToList(TAttributeNode node, ArrayList<TAttributeNode> list) -
Uses of TAttributeNode in gudusoft.gsqlparser.nodes
Methods in gudusoft.gsqlparser.nodes that return TAttributeNodeModifier and TypeMethodDescriptionTObjectName.getSourceAttributeNode()Deprecated.Since 3.4.0.5.Methods in gudusoft.gsqlparser.nodes that return types with arguments of type TAttributeNodeModifier and TypeMethodDescriptionTObjectName.getAttributeNodesDerivedFromFromClause()这个属性只有当 column 为 * 时有效 当 column 为 * 时, 本属性包含该 * 展开后对应的 attributeNode 列表,来源是 FROM CLAUSE中的 tables, 在 resolve star column 时给本属性赋值, TStmtScope.resolve(TObjectName objectName) 当 table 有metadata或DDL给出了明确的字段时,每table个展开的 attributeNode 包含明确的字段名,such as t.c 当 table 没有 metadata 和 DDL 时,每table个只展开的 一个 attributeNode,内容为 t.*TFromClause.getAttributes()TJoinExpr.getAttributes()TPivotClause.getAttributes()TTable.getAttributes()Deprecated., this method is deprecated since version 3.3.1.0, don't use it in TSQLResolver2TTableFunction.getAttributes()Methods in gudusoft.gsqlparser.nodes with parameters of type TAttributeNodeModifier and TypeMethodDescriptionvoidTTable.addAttribute(TAttributeNode node) voidTObjectName.setSourceAttributeNode(TAttributeNode sourceAttributeNode) Deprecated.Since 3.4.0.5.voidTObjectName.setSourceTableBySQLResolver(TCustomSqlStatement sqlStatement, TAttributeNode attributeNode, TTable newSourceTable) -
Uses of TAttributeNode in gudusoft.gsqlparser.resolver
Methods in gudusoft.gsqlparser.resolver that return TAttributeNodeConstructors in gudusoft.gsqlparser.resolver with parameters of type TAttributeNode -
Uses of TAttributeNode in gudusoft.gsqlparser.stmt
Methods in gudusoft.gsqlparser.stmt that return types with arguments of type TAttributeNodeModifier and TypeMethodDescriptionTSelectSqlStatement.getAttributes()在 sql script 中,和该 relation 关联的 attribute。 select a from t; attribute a 就是 relation t 的 referenceAttribute, 如果没有 metadata and ddl, relation t 的 getAttributes() 应该可以推断出包含 a, 但 t 是否还包含其他的 attribute 就无从得知。