@comunica/actor-iterator-transform-record-intermediate-results v4.2.0
Comunica Record Intermediate Results Process Iterator Actor
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.
Install
$ yarn add @comunica/actor-process-iterator-record-intermediate-results
Configure
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"
}
]
}
Config Parameters
wraps
: String representations of the operations that this actor should wrap. Ifundefined
this actor will wrap all operations.