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, themConcreteBuilderwill 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
mCardinality, mOptions
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.complexible.stardog.plan.eval.operator.SolutionIteratorevaluate(com.complexible.stardog.plan.eval.ExecutionContext theContext, com.complexible.stardog.plan.eval.operator.Operator theArg, com.complexible.stardog.plan.PlanVarInfo theVarInfo)Evaluate the queryPlanNodeBodyServiceQuery.PlanNodeBodyServiceQueryBuildertoBuilder()-
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, distinctValues, estimateCardinality, estimateJoinCardinality, evaluate, evaluateSilent, evaluateSilent, generatesValues, get, getCardinality, getNamespaces, getOptions, getRequiredInputBindings, getRequiredUnboundOutputs, getUnsatisfiableConstraintsMessage, hasDuplicates, isBodySparqlQuery, isClosed, preservesJoinArgumentOrdering, serviceTerm, setCardinality, setNamespaces, supportsJoinArgument
-
-
-
-
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.OperatorExceptionDescription copied from class:ServiceQueryEvaluate the query- Specified by:
evaluatein classServiceQuerytheArg- 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:
toBuilderin classPlanNodeBodyServiceQuery
-
-