Register a listener that will be invoked when all match iterators were closed (either through ending this store,
or through external calls to .close() or .destroy() on the match iterator).
A listener.
Register a listener that will be invoked when the store has ended.
A listener.
Register a listener that will be invoked when a new iterator is returned from match().
A listener.
Create a copy of this aggregated store. Independent of the state of the current store, the returned store is safe to use within a new query execution.
The sources that are indexed in this store.
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.
Indicate whether or not an IAggregatedStore has ended.
return true if the store has ended
If iterators created during the match call are still running.
Import the given query source into the store.
The URL of the source.
The query source.
The context.
Returns a stream that processes all quads matching the pattern.
Optionalsubject: Term | nullThe optional subject.
Optionalpredicate: Term | nullThe optional predicate.
Optionalobject: Term | nullThe optional object.
Optionalgraph: Term | nullThe optional graph.
The resulting quad stream.
Remove the given iterators closed listener.
A listener.
Remove the given iterator creation listener.
A listener.
Update the metadata of the base iterator, from which the aggregated store is being populated.
The metadata object.
If this aggregated has started processing.
An aggregated store allows data lookup and insertion to happen in parallel. Concretely, this means that
match()calls happening beforeimport()calls, will still consider those triples that are inserted later, which is done by keeping the response streams ofmatch()open. Only when theend()method is invoked, all response streams will close, and the StreamingStore will be considered immutable.WARNING:
end()MUST be called at some point, otherwise allmatchstreams will remain unended.