UNPKG

open-lineage-client

Version:

TypeScript/JavaScript client for creating and sending OpenLineage standard events.

21 lines (20 loc) 688 B
import { Job } from '../entities/Job.js'; import { JobEvent } from '../events/JobEvent.js'; import { InputDataset } from '../entities/InputDataset.js'; import { OutputDataset } from '../entities/OutputDataset.js'; /** * Builder for creating JobEvent instances. */ export declare class JobEventBuilder { private eventTime; private producer; private schemaURL; private job?; private inputs?; private outputs?; constructor(eventTime: string, producer: string, schemaURL: string); setJob(job: Job): this; setInputs(inputs: InputDataset[] | OutputDataset[]): this; setOutputs(outputs: InputDataset[] | OutputDataset[]): this; build(): JobEvent; }