/** * Copyright (c) 2020-present, Goldman Sachs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import { Column } from '../metamodel/pure/packageableElements/store/relational/model/Column.js'; import { Table } from '../metamodel/pure/packageableElements/store/relational/model/Table.js'; import type { View } from '../metamodel/pure/packageableElements/store/relational/model/View.js'; import type { Database } from '../../STO_Relational_Exports.js'; import { INTERNAL__LakehouseGeneratedDatabase } from '../metamodel/pure/packageableElements/store/relational/model/Database.js'; import { Schema } from '../metamodel/pure/packageableElements/store/relational/model/Schema.js'; export declare const getOrCreateColumnFromGeneratedTable: (columnName: string, relation: Table | View) => Column; export declare const isGeneratedSchema: (schema: Schema) => boolean; export declare const isGeneratedRelation: (relation: Table | View) => boolean; export declare const getOrCreateTableFromGeneratedSchema: (tableName: string, schema: Schema) => Table; export declare const getOrCreateSchemaFromGeneratedDatabase: (schemaName: string, db: Database) => Schema; export declare const findGeneratedDatabase: (database: Database, path: string) => INTERNAL__LakehouseGeneratedDatabase | undefined; export declare const buildGeneratedIndex: (database: Database) => Map | undefined; //# sourceMappingURL=STO_Internal_Relational_Helper.d.ts.map