ReadonlybeforeActor that must be registered in the bus before this actor.
ReadonlybusThe bus this actor subscribes to.
Protected Optional ReadonlycanIf this join operator can handle join entries with operationModified set to true.
This will typically only be true for bind-join-like operators.
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.
ReadonlylogicalReadonlymediatorReadonlynameThe name for this actor.
ReadonlyphysicalProtected Optional ReadonlyrequiresIf this join operator must only be used for join entries with (at least partially) common variables.
Helper 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.
Partial metadata entries.
If metadata for an optional operation must be calculated.
Construct a metadata validation state for the given metadata entries.
An array of checked metadata.
ProtectedgetOptionaldata: () => anyProtectedgetCalculate 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.
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.
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.
StaticconstructStaticgetGet 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 with 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.
If 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 Optional Hash RDF Join Actor.