ReadonlybeforeActor that must be registered in the bus before this actor.
ReadonlybusThe bus this actor subscribes to.
ReadonlynameThe name for this actor.
ProtectedcollectProtectedgetOptionaldata: () => anyCheck if the given query operation will produce at least one result in the given source.
The algebra factory.
A query source.
A query operation.
The query context.
ProtectedlogOptionaldata: () => anyProtectedlogOptionaldata: () => anyProtectedlogOptionaldata: () => anyProtectedlogOptionaldata: () => anyProtectedlogOptionaldata: () => anyProtectedlogOptionaldata: () => anyProtectedmapExecute an ASK query and return the result. Returns true if no reply was received within the timeout.
A query source.
An ASK operation.
The query context.
Remove the given empty operations, and let the emptiness they leave behind propagate upwards.
Since the operations are rewritten bottom-up, each operation only has to check whether its inputs are empty,
for which an empty union (or alt within property paths) is used.
Emptiness only propagates through the operations that need results from their inputs,
so not for instance through the expressions of a FILTER, as a NOT EXISTS over an empty operation still holds.
The algebra factory.
The operation to remove empty operations from.
The operations without results.
Run the given action on this actor.
In most cases, this method should not be called directly. Instead, #runObservable should be called.
The action to run.
A promise that resolves to the run result.
Run the given action on this actor AND invokes the Bus#onRun method.
The action to run.
A promise that resolves to the run result.
Check if this actor can run the given action, without actually running it.
The action to test.
A promise that resolves to the test result.
StaticgetGet the logger from the given context.
An optional context.
The logger or undefined.
Protected StaticisCheck if the given operation is an empty union, or an empty alt within a property path.
An operation.
A comunica Prune Empty Source Operations Optimize Query Operation Actor.