@finos/legend-graph
Version:
Legend graph and graph manager
48 lines • 2.21 kB
TypeScript
/**
* 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 { SerializationFactory, type PlainObject } from '@finos/legend-shared';
import type { V1_RelationalDatabaseConnection } from '../../model/packageableElements/store/relational/connection/V1_RelationalDatabaseConnection.js';
import type { PureProtocolProcessorPlugin } from '../../../PureProtocolProcessorPlugin.js';
export declare class V1_DatabasePattern {
schemaPattern: string;
tablePattern: string;
functionPattern: string;
escapeSchemaPattern?: boolean | undefined;
escapeTablePattern?: boolean | undefined;
escapeFunctionPattern?: boolean | undefined;
static readonly serialization: SerializationFactory<V1_DatabasePattern>;
}
export declare class V1_DatabaseBuilderConfig {
maxTables?: number | undefined;
enrichTables?: boolean | undefined;
enrichTableFunctions?: boolean | undefined;
enrichPrimaryKeys?: boolean | undefined;
enrichColumns?: boolean | undefined;
patterns: V1_DatabasePattern[];
static readonly serialization: SerializationFactory<V1_DatabaseBuilderConfig>;
}
export declare class V1_TargetDatabase {
package: string;
name: string;
static readonly serialization: SerializationFactory<V1_TargetDatabase>;
}
export declare class V1_DatabaseBuilderInput {
connection: V1_RelationalDatabaseConnection;
config: V1_DatabaseBuilderConfig;
targetDatabase: V1_TargetDatabase;
}
export declare const V1_serializeDatabaseBuilderInput: (value: V1_DatabaseBuilderInput, plugins: PureProtocolProcessorPlugin[]) => PlainObject<V1_DatabaseBuilderInput>;
//# sourceMappingURL=V1_DatabaseBuilderInput.d.ts.map