Uses of Class
dev.frostlake.metastore.model.UniqueConstraint
Packages that use UniqueConstraint
-
Uses of UniqueConstraint in dev.frostlake.executor.commands
Methods in dev.frostlake.executor.commands that return types with arguments of type UniqueConstraintModifier and TypeMethodDescriptionColumnDefinitionParser.parseUniqueConstraints(FrostlakeParser.ColumnListContext ctx) The table-level UNIQUE constraints of a column list — ONE per declaration, soUNIQUE (a, b)is a single multi-column constraint rather than one constraint per column. -
Uses of UniqueConstraint in dev.frostlake.metastore.model
Methods in dev.frostlake.metastore.model that return types with arguments of type UniqueConstraintModifier and TypeMethodDescriptionTable.getDeclaredUniqueConstraints()Only the UNIQUE constraints declared at TABLE level, as stored — for persistence and structural copies, which must not turn a column-levelUNIQUEinto a table-level constraint on reload.Table.getUniqueConstraints()Every UNIQUE constraint on this table, ONE entry per constraint (never one per column): the table-level constraints as declared — aUNIQUE (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-levelUNIQUEdeclares.Methods in dev.frostlake.metastore.model with parameters of type UniqueConstraintModifier and TypeMethodDescriptionvoidTable.addUniqueConstraint(UniqueConstraint constraint) Add an already-built UNIQUE constraint — the CREATE TABLE parse path and snapshot restore.