| Package | Description |
|---|---|
| gudusoft.gsqlparser.nodes |
Provides the classes represents various SQL query parse tree node.
|
| gudusoft.gsqlparser.resolver2.namespace | |
| gudusoft.gsqlparser.sqlenv | |
| gudusoft.gsqlparser.stmt |
Provides the classes represent various SQL statements.
|
| Modifier and Type | Method and Description |
|---|---|
TSQLTable |
TTable.getResolvedTable() |
| Modifier and Type | Method and Description |
|---|---|
void |
TPivotInClause.linkColumnToTable(TTable table,
TSQLTable sqlTable) |
void |
TTable.setResolvedTable(TSQLTable resolvedTable) |
| Modifier and Type | Method and Description |
|---|---|
TSQLTable |
TableNamespace.getResolvedTable()
Get the resolved TSQLTable from SQLEnv.
|
| Modifier and Type | Method and Description |
|---|---|
TSQLTable |
TSQLEnv.addTable(String qualifiedTableName,
boolean fromDDL)
Add a new table to the SQLEnv.
|
TSQLTable |
TSQLEnv.addView(String qualifiedViewName,
boolean fromDDL) |
TSQLTable |
TSQLSchema.createTable(String tableName)
create a table belong to this schema.
|
TSQLTable |
TSQLSchema.createTable(String tableName,
int priority) |
TSQLTable |
TSQLSchema.findTable(String tableName) |
TSQLTable |
HierarchicalResolver.findTable(TSQLEnv env,
String qualifiedName)
查找表(便捷方法)
|
TSQLTable |
TSQLColumn.getSqlTable()
table include this column
|
TSQLTable |
TSQLEnv.searchTable(String qualifiedTablename)
find a table in the SQL environment by using a qualified table name: catalogName.schemaName.tableName
|
TSQLTable |
TSQLEnv.searchTable(TObjectName tableName) |
| Modifier and Type | Method and Description |
|---|---|
List<TSQLColumn> |
HierarchicalResolver.findAllColumns(TSQLTable table)
批量查找列(便捷方法)
|
TSQLColumn |
HierarchicalResolver.findColumn(TSQLTable table,
String columnName)
查找列(便捷方法)
|
| Constructor and Description |
|---|
TSQLColumn(TSQLTable sqlTable,
String columnName)
create a new column and add to the table
|
TSQLColumn(TSQLTable sqlTable,
String columnName,
TTypeName dataType) |
| Modifier and Type | Method and Description |
|---|---|
void |
TSelectSqlStatement.addColumnInSelectListToSQLEnv(TSQLTable sqlTable) |