Class PlanNodeBodyServiceQuery.CanonicalizedPlanNodeBodyServiceQuery

java.lang.Object
com.complexible.stardog.plan.eval.service.ServiceQuery
com.complexible.stardog.plan.eval.service.PlanNodeBodyServiceQuery
com.complexible.stardog.plan.eval.service.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 Details

    • 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
      Parameters:
      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
    • toBuilder

      Specified by:
      toBuilder in class PlanNodeBodyServiceQuery