Package com.complexible.stardog.plan.eval.service

# 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.

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from class com.complexible.stardog.plan.eval.service.PlanNodeBodyServiceQuery

  `PlanNodeBodyServiceQuery.CanonicalizedPlanNodeBodyServiceQuery, PlanNodeBodyServiceQuery.CanonicalizedPlanNodeBodyServiceQueryBuilder, PlanNodeBodyServiceQuery.PlanNodeBodyServiceQueryBuilder`

  ## Nested classes/interfaces inherited from class com.complexible.stardog.plan.eval.service.ServiceQuery

  `ServiceQuery.DistinctValuesEstimationFunction, ServiceQuery.ServiceQueryBuilder`

- ## Field Summary

  ### Fields inherited from class com.complexible.stardog.plan.eval.service.ServiceQuery

  `DEFAULT_CARDINALITY, mCardinality, mOptions`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `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)`
  Evaluate the query
  `PlanNodeBodyServiceQuery.PlanNodeBodyServiceQueryBuilder`
  `toBuilder()`

  ### Methods inherited from class com.complexible.stardog.plan.eval.service.PlanNodeBodyServiceQuery

  `body, equals, explain, explainVerbose, getAllVars, getAssuredVars, getContextVars, getObjectVars, getPredicateVars, getSubjectVars, getTermPositionPredicate, hashCode, noopBuilder, replaceBody, replaceBodyTerms, replaceBodyTerms`

  ### Methods inherited from class com.complexible.stardog.plan.eval.service.ServiceQuery

  `alternativeDistinctValues, canServiceJoin, distinctValues, estimateCardinality, estimateJoinCardinality, evaluate, evaluateSilent, evaluateSilent, generatesValues, get, getCardinality, getNamespaces, getOptions, getRequiredInputBindings, getRequiredUnboundOutputs, getUnsatisfiableConstraintsMessage, hasDuplicates, isBodySparqlQuery, isClosed, preservesJoinArgumentOrdering, serviceTerm, setCardinality, setNamespaces, supportsJoinArgument`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- ## 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

    public PlanNodeBodyServiceQuery.PlanNodeBodyServiceQueryBuilder toBuilder()
    Specified by:
      `toBuilder` in class `PlanNodeBodyServiceQuery`