/** * 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 { type Hashable } from '@finos/legend-shared'; export declare abstract class DatasourceSpecification implements Hashable { abstract get hashCode(): string; } export declare class StaticDatasourceSpecification extends DatasourceSpecification implements Hashable { host: string; port: number; databaseName: string; constructor(host: string, port: number, databaseName: string); get hashCode(): string; } export declare class DatabricksDatasourceSpecification extends DatasourceSpecification implements Hashable { hostname: string; port: string; protocol: string; httpPath: string; constructor(hostname: string, port: string, protocol: string, httpPath: string); get hashCode(): string; } export declare class EmbeddedH2DatasourceSpecification extends DatasourceSpecification implements Hashable { databaseName: string; directory: string; autoServerMode: boolean; constructor(databaseName: string, directory: string, autoServerMode: boolean); get hashCode(): string; } export declare class LocalH2DatasourceSpecification extends DatasourceSpecification implements Hashable { testDataSetupCsv?: string | undefined; testDataSetupSqls: string[]; get hashCode(): string; } export declare class SnowflakeDatasourceSpecification extends DatasourceSpecification implements Hashable { accountName: string; region: string; warehouseName: string; databaseName: string; cloudType?: string | undefined; quotedIdentifiersIgnoreCase?: boolean | undefined; proxyHost?: string | undefined; proxyPort?: string | undefined; nonProxyHosts?: string | undefined; organization?: string | undefined; accountType?: string | undefined; role?: string | undefined; enableQueryTags?: boolean | undefined; tempTableDb?: string | undefined; tempTableSchema?: string | undefined; constructor(accountName: string, region: string, warehouseName: string, databaseName: string); get hashCode(): string; } export declare class RedshiftDatasourceSpecification extends DatasourceSpecification implements Hashable { clusterID: string; databaseName: string; host: string; port: number; region: string; endpointURL: string; constructor(databaseName: string, endpointURL: string, port: number, host: string, clusterID: string, region: string); get hashCode(): string; } export declare class BigQueryDatasourceSpecification extends DatasourceSpecification implements Hashable { projectId: string; defaultDataset: string; proxyHost?: string | undefined; proxyPort?: string | undefined; constructor(projectId: string, defaultDataset: string); get hashCode(): string; } export declare class SpannerDatasourceSpecification extends DatasourceSpecification implements Hashable { projectId: string; instanceId: string; databaseId: string; proxyHost?: string | undefined; proxyPort?: string | undefined; constructor(projectId: string, instanceId: string, databaseId: string, proxyHost: string | undefined, proxyPort: string | undefined); get hashCode(): string; } export declare class TrinoSslSpecification implements Hashable { ssl: boolean; trustStorePathVaultReference?: string | undefined; trustStorePasswordVaultReference?: string | undefined; constructor(ssl: boolean); get hashCode(): string; } export declare class TrinoDatasourceSpecification extends DatasourceSpecification implements Hashable { host: string; port: number; sslSpecification: TrinoSslSpecification; catalog?: string | undefined; schema?: string | undefined; clientTags?: string | undefined; constructor(host: string, port: number, sslSpecification: TrinoSslSpecification); get hashCode(): string; } //# sourceMappingURL=DatasourceSpecification.d.ts.map