public final class CatalogTable extends Object
Catalog.
Carries a name (possibly qualified, e.g. "schema.table"; the
exact qualifier rules are delegated to TSQLEnv.addTable via the
analyzer's internal bridge) and an ordered list of
CatalogColumns.
This class is immutable; construct it via builder(String).
| Modifier and Type | Class and Description |
|---|---|
static class |
CatalogTable.Builder
Mutable builder for
CatalogTable. |
| Modifier and Type | Method and Description |
|---|---|
static CatalogTable.Builder |
builder(String name) |
CatalogColumn |
findColumn(String columnName)
Slice 173 (join-analysis S12) — case-insensitive lookup of a column
by name, so a consumer holding a resolved
ColumnRef can
surface that column's catalog metadata (type / nullability / PK /
unique / index). |
List<CatalogColumn> |
getColumns() |
String |
getName() |
String |
toString() |
public static CatalogTable.Builder builder(String name)
public List<CatalogColumn> getColumns()
public CatalogColumn findColumn(String columnName)
ColumnRef can
surface that column's catalog metadata (type / nullability / PK /
unique / index). Returns null when no column matches.