A comunica actor for joining 2 binding streams.

Actor types:

  • Input: IActionRdfJoin: The streams that need to be joined.
  • Test: IMediatorTypeJoinCoefficients: Join coefficients.
  • Output: IActorRdfJoinOutput: The resulting joined stream.

See

  • IActionRdfJoin
  • IActorQueryOperationOutput

Hierarchy (view full)

Constructors

Properties

Actor that must be registered in the bus before this actor.

The bus this actor subscribes to.

canHandleUndefs: boolean

If this actor can handle undefs in the bindings.

includeInLogs: boolean = true

If this actor will be logged in the debugger and physical query plan logger

limitEntries: number

Can 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.

limitEntriesMin: boolean

If true, the limitEntries field is a lower limit, otherwise, it is an upper limit.

logicalType: LogicalJoinType
mediatorJoinSelectivity: MediatorRdfJoinSelectivity
name: string

The name for this actor.

Default

{<rdf:subject>}
physicalName: string

Methods

  • Deinitialize this actor. This should be used for cleaning up things when the application is shut down, such as closing files and removing temporary files.

    Returns Promise<any>

    A promise that resolves when the actor has been deinitialized.

  • Initialize this actor. This should be used for doing things that take a while, such as opening files.

    Returns Promise<any>

    A promise that resolves when the actor has been initialized.

  • Get the estimated number of items from the given metadata.

    Parameters

    Returns QueryResultCardinality

    The estimated number of items, or Infinity if cardinality is falsy.

  • Creates a hash of the given bindings by concatenating the results of the given variables. This function will not sort the variables and expects them to be in the same order for every call.

    Parameters

    • bindings: Bindings
    • variables: Variable[]

    Returns string

    A hash string.

  • Returns the result of joining bindings, or null if no join is possible.

    Parameters

    • Rest ...bindings: Bindings[]

    Returns null | Bindings

  • Returns an array containing all the variable names that occur in all bindings streams.

    Parameters

    • metadatas: MetadataBindings[]

      An array of optional metadata objects for the entries.

    Returns Variable[]

    An array of variables.