Interface IQueryBindingsEnhanced

Enhanced query operation output for a bindings stream. For example: SPARQL SELECT results

interface IQueryBindingsEnhanced {
    execute: (
        opts?: QueryExecuteOptions<Variable>,
    ) => Promise<BindingsStream>;
    resultType: "bindings";
    metadata<M extends MetadataOpts<AllMetadataSupport>>(
        opts?: M,
    ): Promise<ConditionalMetadataType<{ variables: Variable[] }, M, Variable>>;
}

Hierarchy (View Summary)

Properties

Methods

Properties

execute: (opts?: QueryExecuteOptions<Variable>) => Promise<BindingsStream>
resultType: "bindings"

Identifier for the type of result of tis query.

Methods

  • Asynchronously return metadata of the current result.

    Type Parameters

    • M extends MetadataOpts<AllMetadataSupport>

    Parameters

    • Optionalopts: M

    Returns Promise<ConditionalMetadataType<{ variables: Variable[] }, M, Variable>>