4.0.2 • Published 1 month 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
1 month ago
4.0.1
1 month ago
3.3.0
2 months ago
4.0.1-alpha.48.0
2 months ago
3.2.4-alpha.47.0
2 months ago
3.2.2
3 months ago
3.2.1
4 months ago
3.1.2
6 months ago
3.2.0
5 months ago
3.1.0
7 months ago
3.0.3
7 months ago
3.0.1
8 months ago
3.0.1-alpha.46.0
9 months ago
3.0.1-alpha.45.0
9 months ago
3.0.1-alpha.44.0
9 months ago
3.0.1-alpha.43.0
10 months ago