Class PlanNodeBodyServiceQuery.CanonicalizedPlanNodeBodyServiceQuery

  • Enclosing class:
    PlanNodeBodyServiceQuery

    protected static class PlanNodeBodyServiceQuery.CanonicalizedPlanNodeBodyServiceQuery
    extends PlanNodeBodyServiceQuery
    This machinery allows subclasses to return a "canonicalized" version of the query to be used in plan caching. When the canonical constants are substituted with concrete constants for re-using the query from the cache, the mConcreteBuilder will be invoked creating a query of the original query class.
    • Method Detail

      • evaluate

        public com.complexible.stardog.plan.eval.operator.SolutionIterator evaluate​(com.complexible.stardog.plan.eval.ExecutionContext theContext,
                                                                                    com.complexible.stardog.plan.eval.operator.Operator theArg,
                                                                                    com.complexible.stardog.plan.PlanVarInfo theVarInfo)
                                                                             throws com.complexible.stardog.plan.eval.operator.OperatorException
        Description copied from class: ServiceQuery
        Evaluate the query
        Specified by:
        evaluate in class ServiceQuery
        theArg - a SIP join argument, null if not present. Solutions from the argument which satisfy the join must retain all bindings, including those which are not used in the join. Note that variables in the argument may be unassured.
        Throws:
        com.complexible.stardog.plan.eval.operator.OperatorException