| Package | Description |
|---|---|
| gudusoft.gsqlparser.resolver2.model | |
| gudusoft.gsqlparser.resolver2.namespace | |
| gudusoft.gsqlparser.resolver2.scope |
| Modifier and Type | Method and Description |
|---|---|
QualifiedName |
QualifiedName.append(String part)
Returns a new qualified name with an additional part appended (legacy mode).
|
static QualifiedName |
QualifiedName.forTable(String tableName)
Create a qualified name from just the table name.
|
static QualifiedName |
QualifiedName.forTable(String schema,
String tableName)
Create a qualified name from schema and table name.
|
static QualifiedName |
QualifiedName.forTable(String catalog,
String schema,
String tableName)
Create a structured qualified name for a table.
|
QualifiedName |
QualifiedName.prepend(String part)
Returns a new qualified name with an additional part prepended (legacy mode).
|
QualifiedName |
QualifiedName.removeFirst()
Returns a new qualified name with the first part removed (legacy mode).
|
QualifiedName |
QualifiedNameResolver.resolve(String tableName)
Resolve a simple table name string to a fully qualified name.
|
QualifiedName |
QualifiedNameResolver.resolve(String catalog,
String schema,
String name)
Create a qualified name from explicit parts with defaults applied.
|
QualifiedName |
QualifiedNameResolver.resolve(TObjectName tableName)
Resolve a TObjectName (table reference) to a fully qualified name.
|
QualifiedName |
QualifiedNameResolver.resolve(TTable table)
Resolve a TTable's name to a fully qualified name.
|
QualifiedName |
QualifiedName.toFullyQualified(String defaultCatalog,
String defaultSchema)
Create a fully qualified name by applying defaults for all missing parts.
|
QualifiedName |
QualifiedName.withDefaults(String defaultCatalog,
String defaultSchema)
Create a new qualified name by filling in missing parts from defaults.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
QualifiedName.equalsIgnoreCase(QualifiedName other)
Check equality ignoring case.
|
boolean |
QualifiedNameResolver.isSameTable(QualifiedName name1,
QualifiedName name2)
Check if two qualified names refer to the same table.
|
boolean |
QualifiedName.matches(QualifiedName other,
INameMatcher matcher)
Check if this qualified name matches another, using the given name matcher.
|
boolean |
QualifiedNameResolver.matches(QualifiedName reference,
QualifiedName target)
Check if a qualified name matches a target name, considering defaults.
|
boolean |
QualifiedName.matchesExact(QualifiedName other,
INameMatcher matcher)
Check exact match (all parts must match, including nulls).
|
| Modifier and Type | Method and Description |
|---|---|
QualifiedName |
TableNamespace.getQualifiedName()
Get the fully qualified name of this table.
|
| Modifier and Type | Method and Description |
|---|---|
QualifiedName |
IScope.fullyQualify(String name)
Fully qualify a name based on this scope.
|
QualifiedName |
EmptyScope.fullyQualify(String name) |
QualifiedName |
AbstractScope.fullyQualify(String name)
Default implementation: delegate to parent
|