| Package | Description |
|---|---|
| gudusoft.gsqlparser.nodes |
Provides the classes represents various SQL query parse tree node.
|
| gudusoft.gsqlparser.resolver2.expansion | |
| gudusoft.gsqlparser.resolver2.inference | |
| gudusoft.gsqlparser.resolver2.model | |
| gudusoft.gsqlparser.resolver2.namespace |
| Modifier and Type | Method and Description |
|---|---|
ColumnSource |
TObjectName.getColumnSource()
Convenience method: get column source (most common access pattern)
|
| Modifier and Type | Method and Description |
|---|---|
ColumnSource |
ExpandedColumn.getColumnSource() |
| 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.*).
|
| Modifier and Type | Method and Description |
|---|---|
ColumnSource |
InferenceEngine.createInferredColumnSource(String tableName,
String columnName,
TTable table)
Create an inferred ColumnSource for a table.column.
|
| Modifier and Type | Method and Description |
|---|---|
ColumnSource |
AmbiguousColumnSource.getBestCandidate()
Gets the most likely candidate (highest confidence)
|
ColumnSource |
ColumnSourceWithReferences.getCanonicalSource()
Get the canonical column source.
|
ColumnSource |
ResolutionResult.getColumnSource() |
ColumnSource |
ColumnSource.withCandidateTables(List<TTable> candidates)
Creates a copy with candidate tables.
|
ColumnSource |
ColumnSource.withConfidence(double newConfidence,
String newEvidence)
Deprecated.
Use
withEvidence(ResolutionEvidence) instead |
ColumnSource |
ColumnSource.withEvidence(ResolutionEvidence newEvidence)
Creates a copy with updated ResolutionEvidence.
|
ColumnSource |
ColumnSource.withFieldPath(FieldPath newFieldPath)
Creates a copy with a field path for deep/record field access.
|
ColumnSource |
ColumnSource.withFieldPath(FieldPath newFieldPath,
String newEvidence)
Creates a copy with field path and updated evidence.
|
ColumnSource |
ColumnSource.withFieldPath(List<String> segments)
Creates a copy with a field path from a list of segments.
|
| Modifier and Type | Method and Description |
|---|---|
List<ColumnSource> |
AmbiguousColumnSource.getCandidates() |
| Modifier and Type | Method and Description |
|---|---|
static ResolutionResult |
ResolutionResult.exactMatch(ColumnSource source)
Creates a successful exact match result
|
| Constructor and Description |
|---|
ColumnSourceWithReferences(String normalizedName,
ColumnSource canonicalSource)
Create a new column source with references.
|
| Constructor and Description |
|---|
AmbiguousColumnSource(String columnName,
List<ColumnSource> candidates) |
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,ColumnSource> |
AbstractNamespace.columnSources
Cached column sources (populated during validation) - keyed by normalized name
|
| Modifier and Type | Method and Description |
|---|---|
ColumnSource |
CTENamespace.resolveColumn(String columnName) |
ColumnSource |
UnionNamespace.resolveColumn(String columnName) |
ColumnSource |
OraclePackageNamespace.resolveColumn(String columnName) |
ColumnSource |
PivotNamespace.resolveColumn(String columnName) |
ColumnSource |
AbstractNamespace.resolveColumn(String columnName) |
ColumnSource |
PlsqlVariableNamespace.resolveColumn(String columnName) |
ColumnSource |
DynamicStarSource.resolveColumn(String columnName) |
ColumnSource |
TableNamespace.resolveColumn(String columnName) |
ColumnSource |
SubqueryNamespace.resolveColumn(String columnName) |
ColumnSource |
ValuesNamespace.resolveColumn(String columnName) |
ColumnSource |
UnnestNamespace.resolveColumn(String columnName) |
ColumnSource |
INamespace.resolveColumn(String columnName)
Resolve a column name to its source.
|
ColumnSource |
SubqueryNamespace.resolveColumnInFromScope(String columnName)
Resolve a column in the FROM scope (child namespaces).
|
default ColumnSource |
INamespace.resolveColumnPath(List<String> path)
Resolve a column path (column.field.subfield...) to its source.
|
ColumnSource |
UnnestNamespace.resolveQualifiedStructField(String columnName)
Resolve a qualified struct field reference (e.g., "alias.field").
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,ColumnSource> |
OraclePackageNamespace.getAllColumnSources() |
Map<String,ColumnSource> |
PivotNamespace.getAllColumnSources()
Get all column sources for this PIVOT namespace.
|
Map<String,ColumnSource> |
AbstractNamespace.getAllColumnSources() |
Map<String,ColumnSource> |
PlsqlVariableNamespace.getAllColumnSources() |
Map<String,ColumnSource> |
DynamicStarSource.getAllColumnSources() |
Map<String,ColumnSource> |
INamespace.getAllColumnSources()
Get all column sources exposed by this namespace.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractNamespace.addColumnSource(String columnName,
ColumnSource source)
Add a column source (backward compatible - no traceability).
|
protected void |
AbstractNamespace.addColumnSource(String columnName,
ColumnSource source,
TObjectName objectName)
Add a column source with reference traceability support.
|
void |
DynamicStarSource.addInferredColumn(String columnName,
ColumnSource columnSource)
Add a dynamically inferred column from an existing ColumnSource.
|