Class ServiceTranslator
- java.lang.Object
-
- com.complexible.stardog.plan.eval.service.ServiceTranslator
-
- All Implemented Interfaces:
com.complexible.stardog.plan.optimizer.PlanNodeOptimizer
public class ServiceTranslator extends java.lang.Object implements com.complexible.stardog.plan.optimizer.PlanNodeOptimizer
Turnlogical service queries
into theirphysical counterparts
.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
NAME
-
Constructor Summary
Constructors Constructor Description ServiceTranslator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
name()
boolean
needsUpToDateCosts()
com.complexible.stardog.plan.optimizer.OptimizationResult
optimize(com.complexible.stardog.plan.PlanNode theNode, com.complexible.stardog.plan.optimizer.OptimizationContext theContext)
Convert to physical service queries and handle cache interaction
-
-
-
Field Detail
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
optimize
public com.complexible.stardog.plan.optimizer.OptimizationResult optimize(com.complexible.stardog.plan.PlanNode theNode, com.complexible.stardog.plan.optimizer.OptimizationContext theContext)
Convert to physical service queries and handle cache interaction- Specified by:
optimize
in interfacecom.complexible.stardog.plan.optimizer.PlanNodeOptimizer
-
name
public java.lang.String name()
- Specified by:
name
in interfacecom.complexible.stardog.plan.optimizer.PlanNodeOptimizer
-
needsUpToDateCosts
public boolean needsUpToDateCosts()
- Specified by:
needsUpToDateCosts
in interfacecom.complexible.stardog.plan.optimizer.PlanNodeOptimizer
-
-