rdf-dataset-fragmenter
Version:
Fragments an RDF dataset into multiple parts
15 lines (14 loc) • 604 B
TypeScript
import type * as RDF from '@rdfjs/types';
import type { IQuadSink } from '../io/IQuadSink';
import { FragmentationStrategyStreamAdapter } from './FragmentationStrategyStreamAdapter';
/**
* A fragmentation strategy that delegates all quads towards a single path.
*/
export declare class FragmentationConstant extends FragmentationStrategyStreamAdapter {
readonly path: string;
/**
* @param {string} path - the iri of the resource where the quads going to be materialized
*/
constructor(path: string);
protected handleQuad(quad: RDF.Quad, quadSink: IQuadSink): Promise<void>;
}