A Comunica Record Intermediate Results Process Iterator Actor. This actor wraps (intermediate) iterators produced during query execution. This wrapper
calls the updateStatistic
function of @comunica/statistic-intermediate-results
which should be present in the context. This statistic should be
added to the context by the user. This is possible when using Comunica in a javascript application or by implementing your own actor-context-preprocess
actor that adds this statistic to the context.
This module is part of the Comunica framework, and should only be used by developers that want to build their own query engine.
Click here if you just want to query with Comunica.
$ yarn add @comunica/actor-process-iterator-record-intermediate-results
After installing, this package can be added to your engine's configuration as follows:
{
"@context": [
...
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-process-iterator-record-intermediate-results/^1.0.0/components/context.jsonld"
],
"actors": [
...
{
"@id": "urn:comunica:default:process-iterator/actors#record-intermediate-results",
"@type": "ActorProcessIteratorRecordIntermediateResults"
}
]
}
wraps
: String representations of the operations that this actor should wrap. If undefined
this actor will wrap all operations.