@comunica/actor-query-operation-distinct-hash
TypeScript icon, indicating that this package has built-in type declarations

3.0.3 • Public • Published

Comunica Distinct Hash Query Operation Actor

npm version

A Query Operation actor that handles SPARQL DISTINCT operations by maintaining a hash-based cache of infinite size.

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-query-operation-distinct-hash

Configure

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

{
  "@context": [
    ...
    "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-query-operation-distinct-hash/^3.0.0/components/context.jsonld"
  ],
  "actors": [
    ...
    {
      "@id": "urn:comunica:default:query-operation/actors#distinct",
      "@type": "ActorQueryOperationDistinctHash",
      "mediatorQueryOperation": { "@id": "#mediatorQueryOperation" },
      "mediatorHashBindings": { "@id": "#mediatorHashBindings" }
    }
  ]
}

Config Parameters

Package Sidebar

Install

npm i @comunica/actor-query-operation-distinct-hash

Weekly Downloads

3,071

Version

3.0.3

License

MIT

Unpacked Size

24 kB

Total Files

12

Last publish

Collaborators

  • jeswr
  • joachimvh
  • rubensworks
  • rubenverborgh
  • dexagod