4.0.2 • Published 2 months ago
@comunica/actor-optimize-query-operation-prune-empty-source-operations v4.0.2
Comunica Prune Empty Source Operations Optimize Query Operation Actor
An Optimize Query Operation actor that removes operations from the query plan that are guaranteed to produce empty results. This actor relies on source-based cardinality metadata, or may optionally make use of ASK queries if the source supports it.
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-optimize-query-operation-prune-empty-source-operations
Configure
After installing, this package can be added to your engine's configuration as follows:
{
"@context": [
...
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-optimize-query-operation-prune-empty-source-operations/^1.0.0/components/context.jsonld"
],
"actors": [
...
{
"@id": "urn:comunica:default:optimize-query-operation/actors#prune-empty-source-operations",
"@type": "ActorOptimizeQueryOperationPruneEmptySourceOperations",
"useAskIfSupported": false
}
]
}
Config Parameters
useAskIfSupported
: If true, ASK queries will be sent to the source instead of COUNT queries to check emptiness for patterns. This will only be done for sources that accept ASK queries. (defaults tofalse
)
4.0.2
2 months ago
4.0.1
2 months ago
3.3.0
3 months ago
4.0.1-alpha.48.0
3 months ago
3.2.4-alpha.47.0
3 months ago
3.2.2
4 months ago
3.2.1
5 months ago
3.1.2
7 months ago
3.2.0
6 months ago
3.1.0
8 months ago
3.0.3
8 months ago
3.0.1
9 months ago
3.0.1-alpha.46.0
10 months ago
3.0.1-alpha.45.0
10 months ago
3.0.1-alpha.44.0
10 months ago
3.0.1-alpha.43.0
11 months ago