Comunica
    Preparing search index...

    Interface IExpressionEngine

    Base interface for a Comunica expression engine, which evaluates SPARQL expressions without executing queries.

    interface IExpressionEngine {
        createAggregator: (
            expression: Algebra.AggregateExpression,
            context?: IActionContext,
        ) => Promise<IBindingsAggregator>;
        createEvaluator: (
            expression: BaseExpression,
            context?: IActionContext,
        ) => Promise<IExpressionEvaluator>;
        createTermComparator: (
            context?: IActionContext,
        ) => Promise<ITermComparator>;
    }

    Implemented by

    Index

    Properties

    createAggregator: (
        expression: Algebra.AggregateExpression,
        context?: IActionContext,
    ) => Promise<IBindingsAggregator>

    Create an aggregator for a SPARQL aggregate expression, such as SUM(?x).

    Type Declaration

    createEvaluator: (
        expression: BaseExpression,
        context?: IActionContext,
    ) => Promise<IExpressionEvaluator>

    Create an evaluator for a SPARQL expression, such as the expression of a FILTER clause.

    Type Declaration

    createTermComparator: (context?: IActionContext) => Promise<ITermComparator>

    Create a comparator that orders RDF terms as ORDER BY does.

    Type Declaration