| 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 |
|---|---|
TResultColumn |
SqllrObservations.getStructItem(Object column)
The select item whose STRUCT a field column belongs to, or null.
|
| 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) |
ResultColumn |
ModelFactory.createStarResultColumn(ResultSet resultSetModel,
TResultColumn resultColumn,
String refColumnName,
Column source) |
ResultColumn |
ModelFactory.createStructFieldResultColumn(ResultSet resultSet,
TResultColumn resultColumn,
String field)
STRUCT tree: the result column of one field of
customer.* when the fields of customer are known,
named after the field. |
ResultColumn |
ModelFactory.createStructStarResultColumn(ResultSet resultSet,
TResultColumn resultColumn) |
TableColumn |
ModelFactory.createTableColumn(Table table,
TResultColumn column) |
void |
SqllrObservations.structField(Object column,
TResultColumn item)
A column the analysis built for a field of a STRUCT that a select item constructs.
|
| 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.findLateralAliasDefinition(EDbVendor vendor,
TObjectName reference)
Find the SELECT-list column alias that an unqualified reference elsewhere in the
same SELECT block binds to — a "lateral column alias" reference such as
Snowflake's
SELECT val*2 AS derived_col FROM t WHERE derived_col > 1. |
TResultColumn |
TResultColumnList.getResultColumn(int position)
Get a ResultColumn from a column position (0-based) in the list
|
TResultColumn |
TObjectName.getSourceColumn() |
| 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 |
|---|---|
static String |
PivotNamespace.inListItemAlias(TResultColumn resultColumn)
The explicit alias of one PIVOT IN-list item, or null when it has none.
|
static String |
PivotNamespace.inListItemColumnName(TResultColumn resultColumn)
The name a PIVOT IN-list item gives its generated column: its alias (
PivotNamespace.inListItemAlias(gudusoft.gsqlparser.nodes.TResultColumn)), else the name
its value gives (PivotNamespace.inListValueColumnName(gudusoft.gsqlparser.EDbVendor, java.lang.String)). |
static boolean |
PivotNamespace.inListItemStored(TResultColumn resultColumn)
Whether the name of an IN-list item is its value's literal as written, a stored name (see generatedColumns).
|
| Modifier and Type | Method and Description |
|---|---|
void |
TScriptGeneratorVisitor.preVisit(TResultColumn node) |
| Modifier and Type | Method and Description |
|---|---|
TResultColumn |
TSelectSqlStatement.findEnclosingAliasDefinition(TObjectName reference,
TSQLEnv sqlEnv)
The SELECT-list alias of an ENCLOSING SELECT block that
reference, an unqualified name of this block,
stands for in SAP IQ and SQL Anywhere (Mantis 4752). |
| 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) |