Class ServiceTranslator

  • All Implemented Interfaces:
    com.complexible.stardog.plan.optimizer.PlanNodeOptimizer

    public class ServiceTranslator
    extends java.lang.Object
    implements com.complexible.stardog.plan.optimizer.PlanNodeOptimizer
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String NAME  
    • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.complexible.stardog.plan.optimizer.PlanNodeOptimizer

        getTermPositionPredicate, optimizeNode
    • Constructor Detail

      • ServiceTranslator

        public ServiceTranslator()
    • 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 interface com.complexible.stardog.plan.optimizer.PlanNodeOptimizer
      • name

        public java.lang.String name()
        Specified by:
        name in interface com.complexible.stardog.plan.optimizer.PlanNodeOptimizer
      • needsUpToDateCosts

        public boolean needsUpToDateCosts()
        Specified by:
        needsUpToDateCosts in interface com.complexible.stardog.plan.optimizer.PlanNodeOptimizer