@netwerk-digitaal-erfgoed/ld-workbench
Version:
LDWorkbench is a Linked Data Transformation tool designed to use only SPARQL as transformation language.
30 lines • 923 B
TypeScript
import type { Configuration } from './configuration.js';
import Stage from './stage.js';
import { GraphStore } from './import.js';
interface PipelineOptions {
startFromStageName?: string;
silent?: boolean;
}
declare class Pipeline {
private readonly configuration;
readonly stages: Map<string, Stage>;
dataDir: string;
private stageNames;
private startTime;
private readonly destination;
readonly stores: GraphStore[];
private readonly opts?;
constructor(configuration: Configuration, pipelineOptions?: PipelineOptions);
private error;
getPreviousStage(stage: Stage): Stage | undefined;
private validate;
run(): Promise<void>;
private runStage;
private monitorImport;
private writeResult;
get name(): string;
get description(): string | undefined;
private increaseProgress;
}
export default Pipeline;
//# sourceMappingURL=pipeline.d.ts.map