Interface IQueryQuadsEnhanced

Enhanced query operation output for quads. For example: SPARQL CONSTRUCT results

interface IQueryQuadsEnhanced {
    execute: (
        opts?: QueryExecuteOptions<QuadTermName>,
    ) => Promise<AsyncIterator<Quad> & ResultStream<Quad>>;
    resultType: "quads";
    metadata<M extends MetadataOpts<AllMetadataSupport>>(
        opts?: M,
    ): Promise<ConditionalMetadataType<unknown, M, QuadTermName>>;
}

Hierarchy (View Summary)

Properties

Methods

Properties

execute: (
    opts?: QueryExecuteOptions<QuadTermName>,
) => Promise<AsyncIterator<Quad> & ResultStream<Quad>>
resultType: "quads"

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<unknown, M, QuadTermName>>