Comunica Link Traversal
    Preparing search index...

    An aggregated store that returns AsyncIterators with a valid MetadataQuads property.

    Hierarchy

    • StreamingStore
      • AggregatedStoreMemory

    Implements

    Index

    Constructors

    • Parameters

      • store: Store<Quad> | undefined
      • metadataAccumulator: (
            accumulatedMetadata: MetadataBindings,
            appendingMetadata: MetadataBindings,
        ) => Promise<MetadataBindings>
      • emitPartialCardinalities: boolean
      • dataFactory: ComunicaDataFactory

      Returns AggregatedStoreMemory

    Properties

    allIteratorsClosedListeners: Set<() => void> = ...
    baseMetadata: MetadataBindings = ...
    containedSources: Set<string> = ...

    The sources that are indexed in this store.

    dataFactory: ComunicaDataFactory
    ended: boolean
    iteratorCreatedListeners: Set<() => void> = ...
    listeners: ListenerCallback[]
    metadataAccumulator: (
        accumulatedMetadata: MetadataBindings,
        appendingMetadata: MetadataBindings,
    ) => Promise<MetadataBindings>
    pendingStreams: PendingStreamsIndex<Quad>
    runningIterators: Set<AsyncIterator<Quad>> = ...
    started: boolean = false

    If this aggregated has started processing.

    store: Store

    Methods

    • Parameters

      • listener: ListenerCallback

      Returns void

    • Mark this store as ended.

      This will make sure that all running and future match calls will end, and all next import calls to this store will throw an error. It will run all the listeners added with addEndListener.

      Returns void

    • The internal store with all imported quads.

      Returns Store

    • Returns boolean

      return true if the store has ended

    • Parameters

      • stream: Stream<Quad>

      Returns void

    • Parameters

      • Optionalsubject: Term | null

        The optional subject.

      • Optionalpredicate: Term | null

        The optional predicate.

      • Optionalobject: Term | null

        The optional object.

      • Optionalgraph: Term | null

        The optional graph.

      Returns AsyncIterator<Quad>

      The resulting quad stream.

    • Parameters

      • readables: Readable[]

      Returns AsyncIterableIterator<any>