Uses of Class
dev.frostlake.metastore.model.TableColumn
Packages that use TableColumn
Package
Description
-
Uses of TableColumn in dev.frostlake.executor
Methods in dev.frostlake.executor that return types with arguments of type TableColumnModifier and TypeMethodDescriptionQueryExecutor.resolveRelationColumns(String definition, List<String> explicitColumnNames) QueryExecutor.resolveRelationShape(String definition, List<String> explicitColumnNames) A relation's column list from its definition's SHAPE alone — no row is read and no value computed (seeRelationShapeOnly), which is how CREATE VIEW learns its columns: a value-time fault in the body is the reader's, not the creator's.QueryExecutor.resolveViewShapeInScope(String database, String schema, String body, List<String> columnNames) Resolve a view's body shape at CREATE where the view will live, asQueryExecutor.executeInViewScope(java.lang.String, java.lang.String)reads it: a bare name in the body is the view's schema's, and a missing one is named there.Methods in dev.frostlake.executor with parameters of type TableColumnModifier and TypeMethodDescriptionvoidQueryExecutor.backfillColumn(String tableName, TableColumn newColumn) Backfill every existing row of a table after ALTER TABLE ADD COLUMN, appending one value for the new column so stored rows match the widened schema — otherwise every read of the new column throws IndexOutOfBounds.static voidColumnTypeFamilies.rejectMismatch(TableColumn target, DataType sourceType) Refuse a value written totargetwhose static type the column's family does not take, with the write's sentence,Expression type does not match column data type, expecting NUMBER(38,0) but got BOOLEAN for column N. -
Uses of TableColumn in dev.frostlake.executor.commands
Methods in dev.frostlake.executor.commands that return TableColumnModifier and TypeMethodDescriptionColumnDefinitionParser.parseSingleColumnDef(FrostlakeParser.ColumnDefContext colDef) Build a singleTableColumnfrom onecolumnDef— its data type plus column-level constraints (PRIMARY KEY, NOT NULL, UNIQUE, AUTOINCREMENT/IDENTITY, DEFAULT, column-level REFERENCES, COLLATE, COMMENT).ColumnDefinitionParser.parseSingleColumnDef(FrostlakeParser.ColumnDefContext colDef, boolean addColumn) As above, withaddColumntelling which surface asked.Methods in dev.frostlake.executor.commands that return types with arguments of type TableColumnModifier and TypeMethodDescriptionColumnDefinitionParser.parseColumnList(FrostlakeParser.ColumnListContext ctx) Methods in dev.frostlake.executor.commands with parameters of type TableColumnModifier and TypeMethodDescriptionstatic voidMaskingPolicyAttachment.requireTypeMatch(MaskingPolicy policy, TableColumn column) -
Uses of TableColumn in dev.frostlake.metastore.model
Methods in dev.frostlake.metastore.model that return TableColumnModifier and TypeMethodDescriptionTable.columnAt(int index) The column at a position WITHOUT copying the column list — the per-row write path's accessor.Table.findColumn(String name) The column, or null when there is none — for callers that phrase the miss their own way.TableColumn.nullableCopy()A copy of this column that accepts NULL — the null-extended side of an outer join, where the shared catalog instance must keep its own NOT NULL.TableColumn.starHiddenCopy()A copy of this column marked hidden fromSELECT *— used for the right-side duplicate of a USING / NATURAL join column in a merged join view (the shared catalog instance stays untouched).Methods in dev.frostlake.metastore.model that return types with arguments of type TableColumnModifier and TypeMethodDescriptionTable.columnsView()A read-only LIVE view of the columns for hot paths that only iterate — an ALTER stays visible through it, and nothing is copied.Table.getColumns()MaterializedView.getResolvedColumns()The materialized view's columns — name and declared type — as its defining query resolved to at CREATE time, or null when they could not be resolved.View.getResolvedColumns()The view's columns — name and declared type — as its defining query resolved to at CREATE time, or null when they could not be resolved (a body that would not plan, or a snapshot predating capture).Methods in dev.frostlake.metastore.model with parameters of type TableColumnMethod parameters in dev.frostlake.metastore.model with type arguments of type TableColumnModifier and TypeMethodDescriptionvoidMaterializedView.setResolvedColumns(List<TableColumn> resolvedColumns) voidView.setResolvedColumns(List<TableColumn> resolvedColumns) Constructor parameters in dev.frostlake.metastore.model with type arguments of type TableColumnModifierConstructorDescriptionTable(String name, List<TableColumn> columns, boolean isTemporary) Table(String name, List<TableColumn> columns, boolean isTemporary, boolean isTransient)