public final class CatalogQualifiedName extends Object
This type holds data only. Construction must go through
CatalogIdentifierPolicy.parse(java.lang.String, gudusoft.gsqlparser.catalog.runtime.CatalogObjectKind, gudusoft.gsqlparser.catalog.input.model.IdentifierConfig, gudusoft.gsqlparser.EDbVendor) so that case-folding is centralized in
IdentifierService; the package-private constructor below is the single allowed
factory pathway.
Plan §7.2 / §9.
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isQuoted(int segmentIndex) |
CatalogObjectKind |
kind() |
String |
localName()
Last segment — the local object name.
|
List<String> |
normalized() |
String |
normalizedLocalName() |
BitSet |
quotedFlags() |
List<String> |
raw() |
int |
size() |
String |
toString() |
EDbVendor |
vendor() |
CatalogQualifiedName |
withKind(CatalogObjectKind newKind)
Return a copy of this name with a different
CatalogObjectKind. |
public List<String> normalized()
public boolean isQuoted(int segmentIndex)
public BitSet quotedFlags()
public CatalogObjectKind kind()
public int size()
public CatalogQualifiedName withKind(CatalogObjectKind newKind)
CatalogObjectKind. Used by the
resolver's "widened kind matrix" path (plan §9.3): a TABLE lookup needs to be tried
against VIEW and MATERIALIZED_VIEW buckets too. The raw / normalized segments and
quoted flags are preserved bit-for-bit; only the kind changes (which affects
keyForMap and equality).public String normalizedLocalName()