| Package | Description |
|---|---|
| gudusoft.gsqlparser |
Provides the class
TGSqlParser necessary to create a SQL Parser and the classes a SQL Parser uses
internally to handle different SQL dialects. |
| gudusoft.gsqlparser.dlineage.dataflow.model | |
| gudusoft.gsqlparser.nodes |
Provides the classes represents various SQL query parse tree node.
|
| gudusoft.gsqlparser.resolver | |
| gudusoft.gsqlparser.resolver2 | |
| gudusoft.gsqlparser.resolver2.expansion | |
| gudusoft.gsqlparser.resolver2.namespace | |
| gudusoft.gsqlparser.scriptWriter | |
| gudusoft.gsqlparser.stmt |
Provides the classes represent various SQL statements.
|
| gudusoft.gsqlparser.util |
| Modifier and Type | Method and Description |
|---|---|
TResultColumn |
TAttributeNode.getStructResultColumn() |
TResultColumn |
TAttributeNode.getSubLevelResultColumn() |
| Modifier and Type | Method and Description |
|---|---|
TreeMap<String,TResultColumn> |
TCustomSqlStatement.getExpandedResultColumns() |
| Constructor and Description |
|---|
TAttributeNode(String n,
TTable table,
TColumnDefinition columnDef,
TResultColumn resultColumn) |
TAttributeNode(String n,
TTable table,
TResultColumn attribute) |
TAttributeNode(String n,
TTable table,
TResultColumn attribute,
int index) |
TAttributeNode(String n,
TTable table,
TSQLColumn columnDef,
TResultColumn attribute) |
TAttributeNode(String n,
TTable table,
TSQLColumn columnDef,
TResultColumn attribute,
int index) |
| Modifier and Type | Method and Description |
|---|---|
ResultColumn |
ModelFactory.createAndBindingSelectSetResultColumn(ResultSet resultSet,
TResultColumn resultColumn,
int index) |
ResultColumn |
ModelFactory.createResultColumn(QueryTable queryTableModel,
TResultColumn resultColumn) |
ResultColumn |
ModelFactory.createResultColumn(ResultSet resultSet,
TResultColumn resultColumn) |
ResultColumn |
ModelFactory.createSelectSetResultColumn(ResultSet resultSet,
TResultColumn resultColumn,
int index) |
ResultColumn |
ModelFactory.createStarResultColumn(ResultSet resultSetModel,
TResultColumn resultColumn,
String refColumnName) |
TableColumn |
ModelFactory.createTableColumn(Table table,
TResultColumn column) |
| Modifier and Type | Method and Description |
|---|---|
ResultColumn |
ModelFactory.createStarResultColumn(SelectResultSet resultSet,
Pair<TResultColumn,TObjectName> starColumnPair) |
| Constructor and Description |
|---|
ResultColumn(ResultSet resultSet,
TResultColumn resultColumnObject) |
ResultColumn(ResultSet resultSet,
TResultColumn resultColumnObject,
String refColumnName) |
SelectSetResultColumn(ResultSet resultSet,
TResultColumn resultColumnObject,
int index) |
| Constructor and Description |
|---|
ResultColumn(SelectResultSet resultSet,
Pair<TResultColumn,TObjectName> starColumnPair) |
| Modifier and Type | Method and Description |
|---|---|
TResultColumn |
TResultColumnList.getResultColumn(int position)
Get a ResultColumn from a column position (0-based) in the list
|
TResultColumn |
TObjectName.getSourceColumn()
The result column which include this column
|
| Modifier and Type | Method and Description |
|---|---|
ArrayList<TResultColumn> |
TResultColumnList.getSortedColumns() |
| Modifier and Type | Method and Description |
|---|---|
void |
TResultColumnList.addResultColumn(TResultColumn resultColumn)
Add a ResultColumn to the list
|
void |
TParseTreeVisitor.postVisit(TResultColumn node) |
void |
TParseTreeVisitor.preVisit(TResultColumn node) |
void |
TObjectName.setSourceColumn(TResultColumn sourceColumn)
Set the result column which include this column name.
|
void |
TObjectName.setSourceColumnOnly(TResultColumn sourceColumn)
Set the source column without changing dbObjectType.
|
| Modifier and Type | Method and Description |
|---|---|
static ArrayList<String> |
TResolverHelpUtils.searchTypedStruct(TSQLEnv sqlEnv,
TResultColumn resultColumn) |
| Modifier and Type | Method and Description |
|---|---|
void |
ScopeBuilder.postVisit(TResultColumn resultColumn) |
void |
ScopeBuilder.preVisit(TResultColumn resultColumn) |
| Modifier and Type | Field and Description |
|---|---|
TResultColumn |
StarPushDownResolver.PushDownRequest.starColumn
The star column (TResultColumn with *)
|
| Modifier and Type | Method and Description |
|---|---|
TResultColumn |
ExpandedColumn.getOriginalStarColumn() |
| Modifier and Type | Method and Description |
|---|---|
Map<TResultColumn,List<ExpandedColumn>> |
ExpansionResult.getExpandedStars()
Get all expanded stars.
|
List<TResultColumn> |
ExpansionResult.getNonStarColumns()
Get all non-star columns.
|
Map<TResultColumn,String> |
ExpansionResult.getUnexpandableStars()
Get all unexpandable stars.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ExpansionResult.addExpandedStar(TResultColumn starColumn,
List<ExpandedColumn> expandedColumns)
Add a successfully expanded star column.
|
void |
ExpansionResult.addNonStarColumn(TResultColumn column)
Add a non-star column.
|
void |
ExpansionResult.addUnexpandableStar(TResultColumn starColumn,
String reason)
Add a star column that could not be expanded.
|
List<ExpandedColumn> |
StarColumnExpander.expandQualifiedStar(TResultColumn starColumn,
INamespace namespace,
String tableAlias)
Expand qualified star (e.g., t1.*) to explicit column list.
|
List<ExpandedColumn> |
StarColumnExpander.expandStar(TResultColumn starColumn,
INamespace namespace)
Expand a star column to explicit column list.
|
| Modifier and Type | Method and Description |
|---|---|
ExpansionResult |
StarColumnExpander.expandAllStars(List<TResultColumn> resultColumns,
List<INamespace> availableNamespaces)
Expand all stars in a result column list.
|
| Constructor and Description |
|---|
ExpandedColumn(String columnName,
ColumnSource columnSource,
TResultColumn originalStarColumn,
boolean includeQualifier)
Create an expanded column from an unqualified star.
|
ExpandedColumn(String columnName,
ColumnSource columnSource,
TResultColumn originalStarColumn,
String tableQualifier,
boolean includeQualifier)
Create an expanded column from a qualified star (e.g., t1.*).
|
PushDownRequest(String columnName,
TObjectName columnReference,
INamespace starNamespace,
TResultColumn starColumn,
double confidence,
String evidence) |
| Modifier and Type | Method and Description |
|---|---|
TResultColumn |
SubqueryNamespace.getStarColumn()
Get the first star column (TResultColumn) from this subquery's SELECT list.
|
default TResultColumn |
INamespace.getStarColumn()
Get the star column (SELECT *) from this namespace if one exists.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TScriptGeneratorVisitor.preVisit(TResultColumn node) |
| Modifier and Type | Method and Description |
|---|---|
TreeMap<String,TResultColumn> |
TSelectSqlStatement.getExpandedResultColumns() |
| Modifier and Type | Method and Description |
|---|---|
gudusoft.gsqlparser.util.TColumn |
joinRelationAnalyze.attrToColumn(TResultColumn field,
TCustomSqlStatement stmt) |
void |
joinRelationAnalyze.searchFields(TResultColumn field,
TCustomSqlStatement select) |