UNPKG

rdf-dataset-fragmenter

Version:
15 lines (14 loc) 604 B
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>; }