void
void
void
void
Attach a metric unless the same one over the same columns is already there (live: a repeat
adds nothing).
void
void
Add one expression unless an identical one is already configured — live takes a repeat without
adding a second row.
void
Add an already-built UNIQUE constraint — the CREATE TABLE parse path and snapshot restore.
void
Add a UNIQUE constraint spanning one or more columns: flag every column unique (that is how the
engine enforces uniqueness) and record the constraint, so its columns stay ONE constraint under ONE
name.
void
void
Drop the lot — the bare DROP SEARCH OPTIMIZATION.
The column at a position WITHOUT copying the column list — the per-row write path's accessor.
int
The column count WITHOUT copying the column list (
getColumns() copies per call).
The name of the FOREIGN KEY constraint an inline REFERENCES on one column declares.
A read-only LIVE view of the columns for hot paths that only iterate — an ALTER stays
visible through it, and nothing is copied.
The columns a named constraint covers, or an empty list when no constraint carries that name.
boolean
Remove the check of that name; answers whether there was one.
void
boolean
Detach that metric; answers whether there was one to detach.
void
void
void
boolean
Drop the expression with that number; answers whether there was one.
boolean
Drop the expression naming that method and target; answers whether there was one.
void
The column, or null when there is none — for callers that phrase the miss their own way.
The attachment for that metric over those columns, or null when there is none.
The CHECK constraints, in declaration order.
int
The contacts attached to this table, keyed by purpose.
The data metric functions attached to this table, in the order they were added.
Only the UNIQUE constraints declared at TABLE level, as stored — for persistence and structural
copies, which must not turn a column-level UNIQUE into a table-level constraint on reload.
The relations a join's merged relation joins and which of them an outer join extends with NULLs,
or null for any other table.
The join-key column names of a USING / NATURAL join's merged relation (upper-cased, in
USING-list / left-table order), or null for an ordinary table.
Get the type of this SQL object (e.g., "TABLE", "VIEW", "DATABASE")
Subclasses should override to provide their specific type
The database.schema.table this instance was last resolved under, or null before any query
read it — the key its rows are stored by.
The statistics a derived relation carries of the catalog table beneath it, or null.
long
The configured search-optimization expressions, in the order they were added.
Every UNIQUE constraint on this table, ONE entry per constraint (never one per column): the
table-level constraints as declared — a UNIQUE (a, b) is a single constraint with a single
name — followed by a single-column constraint for every unique column none of them spans, which is
what a bare column-level UNIQUE declares.
boolean
boolean
boolean
boolean
Whether any PRIMARY KEY columns are declared, without copying the name list.
boolean
boolean
boolean
Whether this instance is a real table the catalog holds, as opposed to one of the many derived
relations the executor builds and hands round in the same shape — a CTE result, a VALUES list, a
subquery, a merged join view, a self-join copy, a stage scan, a table function's output.
boolean
boolean
boolean
Whether automatic reclustering is paused — ALTER TABLE … SUSPEND RECLUSTER.
boolean
ENABLE_SCHEMA_EVOLUTION — SHOW TABLES reports it as Y/N (live-verified).
boolean
boolean
void
Called by Schema.addTable as the table enters the catalog.
The name of this table's PRIMARY KEY constraint — one constraint however many columns it spans —
or null when the table has none: the name an explicit
CONSTRAINT <name> PRIMARY KEY gave it
(see
setPrimaryKeyConstraintName(java.lang.String)), else an auto-generated
SYS_CONSTRAINT_<uuid>.
void
boolean
Move a constraint to a new name — ALTER TABLE … RENAME CONSTRAINT old TO new.
void
Restore one expression with the number it already had (snapshot / clone).
void
void
void
void
void
Restore a persisted name for the FOREIGN KEY constraint an inline REFERENCES declares.
void
Attach a contact for a purpose, replacing whatever that purpose held.
void
void
void
void
void
void
void
Record the name an explicit CONSTRAINT <name> PRIMARY KEY declaration gave this table's
primary key.
void
void
void
void
void
void
void
void
Restore a persisted name for the single-column UNIQUE constraint on one column.
The name of the single-column UNIQUE constraint a column-level UNIQUE declares.
void
Detach the contact held for a purpose, if any — live does not mind that there was none.