Module @comunica/actor-query-operation-wrap-stream - v4.0.1

Comunica Wrap Stream Query Operation Actor

npm version

A comunica Wrap Stream Query Operation Actor. This actor calls the bus-iterator-transform for all iterators produced by query-operation actors. This actor should only be included if you require the functionality of bus-iterator-transform as it may slow down query execution.

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-query-operation-wrap-stream

After installing, this package can be added to your engine's configuration as follows:

{
  "@context": [
    ...
    "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-query-operation-wrap-stream/^1.0.0/components/context.jsonld"
  ],
  "actors": [
    ...
    {
      "@id": "urn:comunica:default:query-operation/actors#wrap-stream",
      "@type": "ActorQueryOperationWrapStream",
      "mediatorQueryOperation": { "@id": "urn:comunica:default:query-operation/mediators#main" },
      "mediatorIteratorTransform": { "@id": "urn:comunica:default:iterator-transform/mediators#main" }
    }
  ]
}
  • mediatorIteratorTransform: Mediator that will run all actors subscribed to the bus-iterator-transform in sequence.
  • mediatorQueryOperation: Mediator that runs the query operation that will be wrapped.

Classes

ActorQueryOperationWrapStream

Interfaces

IActorQueryOperationWrapStreamArgs

Variables

KEY_CONTEXT_WRAPPED_QUERY_OPERATION