/** * DuckLake Space Adapter - Bridges Space Context with DuckLake functionality * @internal - Not documented publicly */ import { DuckDBService } from '../duckdb/service.js'; import { DuckLakeCatalog } from '../service/ducklake.js'; import { SpaceContext } from '../context/SpaceContext.js'; /** * Adapter that connects Space Context with DuckLake features * @internal */ export declare class DuckLakeSpaceAdapter { private duckdb; private ducklakeService; private spaceCatalogs; constructor(duckdb: DuckDBService); /** * Initialize DuckLake for a space */ initializeForSpace(space: SpaceContext): Promise; /** * Create a DuckLake managed table in a space */ createSpaceTable(space: SpaceContext, tableName: string, schema: string, partitionBy?: string[]): Promise; /** * Time travel query for a space table */ timeTravelQuery(space: SpaceContext, tableName: string, timestamp: Date | number): Promise; /** * Get table version in a space */ getSpaceTableVersion(space: SpaceContext, tableName: string): Promise; /** * List all snapshots for a space table */ listSnapshots(space: SpaceContext, tableName: string): Promise>; /** * Migrate existing space data to DuckLake */ migrateSpaceToDuckLake(space: SpaceContext, tableName: string, sourceParquetPath: string): Promise; /** * Clone a table at a specific version */ cloneTableAtVersion(space: SpaceContext, sourceTalbleName: string, targetTableName: string, version: number): Promise; /** * Get or initialize catalog for a space */ private getCatalogForSpace; /** * Execute a federated query across multiple space catalogs */ federatedTimeTravel(spaces: SpaceContext[], query: string, timestamp: Date): Promise; /** * Vacuum all tables in a space */ vacuumSpace(space: SpaceContext): Promise; /** * Get space-level statistics */ getSpaceStatistics(space: SpaceContext): Promise; } //# sourceMappingURL=DuckLakeSpaceAdapter.d.ts.map