ReadonlybeforeActor that must be registered in the bus before this actor.
ReadonlybusThe bus this actor subscribes to.
Protected ReadonlycanIf this actor can handle undefs overlapping variable bindings.
If this actor will be logged in the debugger and physical query plan logger
Protected ReadonlyisIf this join operator will not invoke any other join or query operations below, and can therefore be considered a leaf of the join plan.
Protected ReadonlylimitCan be used by subclasses to indicate the max or min number of streams that can be joined. 0 for infinity. By default, this indicates the max number, but can be inverted by setting limitEntriesMin to true.
Protected ReadonlylimitIf true, the limitEntries field is a lower limit, otherwise, it is an upper limit.
ReadonlylogicalReadonlymediatorReadonlymediatorReadonlymediatorReadonlymediatorReadonlymediatorReadonlynameThe name for this actor.
ReadonlyphysicalProtected Optional ReadonlyrequiresIf this join operator must only be used for join entries with (at least partially) common variables.
ReadonlyselectivityHelper function to create a new metadata object for the join result. For required metadata entries that are not provided, sane defaults are calculated.
Join entries.
Metadata of the join entries.
The action context.
OptionalpartialMetadata: Partial<MetadataBindings>Partial metadata entries.
Optionaloptional: booleanIf metadata for an optional operation must be calculated.
Construct a metadata validation state for the given metadata entries.
An array of checked metadata.
ProtectedgetOptionaldata: () => anyCalculate the join coefficients.
Join action
The test side data.
The join coefficient estimates.
Returns the resulting output for joining the given entries. This is called after removing the trivial cases in run.
Side data from the test method
ProtectedlogOptionaldata: () => anyProtectedlogOptionaldata: () => anyProtectedlogOptionaldata: () => anyProtectedlogOptionaldata: () => anyProtectedlogOptionaldata: () => anyProtectedlogOptionaldata: () => anyReturns default input for 0 or 1 entries. Calls the getOutput function otherwise
Side data from the test method
A bindings 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.
Order the given join entries using the join-entries-sort bus.
An array of join entries.
The action context.
The sorted join entries.
Default test function for join actors. Checks whether all iterators have metadata. If yes: call the abstract getIterations method, if not: return Infinity.
The input action containing the relevant iterators
The join coefficients.
StaticcreateCreate a new bindings stream that takes every binding of the base stream and binds it to the remaining patterns, evaluates those patterns, and emits all their bindings.
The base stream.
The operations to bind with each binding of the base stream.
A callback to retrieve the bindings stream of bound operations.
If the original bindings should be emitted when the resulting bindings stream is empty.
The algebra factory.
The bindingsFactory created with bindings context merger.
StaticgetGet the estimated number of items from the given metadata.
A metadata object.
The estimated number of items, or Infinity if cardinality is falsy.
StaticgetGet the logger from the given context.
An optional context.
The logger or undefined.
StaticgetObtain the join entries witt metadata from all given join entries.
Join entries.
StaticgetObtain the metadata from all given join entries.
Join entries.
StaticgetCalculate the time to initiate a request for the given metadata entries.
An array of checked metadata.
StaticgetCalculate the time to receive a single item for the given metadata entries.
An array of checked metadata.
StaticjoinReturns the result of joining bindings, or null if no join is possible.
StaticjoinReturns the variables that will occur in the joined bindings.
The data factory.
An array of metadata objects for the entries.
Optionaloptional: booleanIf an optional join is being performed.
An array of joined variables.
StaticoverlappingReturns an array containing all the variable names that occur in all bindings streams.
An array of optional metadata objects for the entries.
An array of variables.
StaticsortOrder the given join entries using the join-entries-sort bus.
A mediator for sorting join entries.
An array of join entries.
The action context.
The sorted join entries.
A comunica Multi-way Bind RDF Join Actor.