open-lineage-client
Version:
TypeScript/JavaScript client for creating and sending OpenLineage standard events.
27 lines • 797 B
JavaScript
import { BaseFacet } from './BaseFacet.js';
/**
* Represents the facets of an output dataset.
*/
export class OutputDatasetFacets {
constructor(outputStatistics = null) {
this.outputStatistics = outputStatistics;
}
}
/**
* Represents output statistics for an output dataset.
*/
export class OutputStatistics extends BaseFacet {
constructor(producer, schemaURL, rowCount, fileCount, size) {
super(producer, schemaURL);
this.rowCount = rowCount;
this.fileCount = fileCount;
this.size = size;
}
/**
* Returns the schema URL for the output statistics.
*/
getSchema() {
return 'https://openlineage.io/spec/facets/1-0-2/OutputStatisticsOutputDatasetFacet.json';
}
}
//# sourceMappingURL=OutputDatasetFacets.js.map