sparql-view-unfold
    Preparing search index...

    Type Alias QueryTransformation

    QueryTransformation: (
        context: TransformationContext,
        operation: Algebra.Operation,
    ) => Algebra.Operation | Promise<Algebra.Operation>

    One step of a query rewriting pipeline: an operation in, the rewritten operation out.

    The runner awaits every step, so a synchronous pass is a QueryTransformation as it stands - only the passes that call an engine (simplifyStaticExpressions) need the promise.

    Type Declaration

      • (
            context: TransformationContext,
            operation: Algebra.Operation,
        ): Algebra.Operation | Promise<Algebra.Operation>
      • Parameters

        Returns Algebra.Operation | Promise<Algebra.Operation>