net.ontopia.topicmaps.query.impl.utils
Class QueryOptimizer.HierarchyWalker

java.lang.Object
  extended by net.ontopia.topicmaps.query.impl.utils.QueryOptimizer.AbstractQueryOptimizer
      extended by net.ontopia.topicmaps.query.impl.utils.QueryOptimizer.HierarchyWalker
All Implemented Interfaces:
QueryOptimizerIF
Enclosing class:
QueryOptimizer

public static class QueryOptimizer.HierarchyWalker
extends QueryOptimizer.AbstractQueryOptimizer

Replaces simple recursive rules with a more efficient custom implementation that just wraps the recursive step.


Constructor Summary
QueryOptimizer.HierarchyWalker()
           
 
Method Summary
 java.util.List optimize(java.util.List clauses, QueryContext context)
           
 
Methods inherited from class net.ontopia.topicmaps.query.impl.utils.QueryOptimizer.AbstractQueryOptimizer
optimize, optimize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryOptimizer.HierarchyWalker

public QueryOptimizer.HierarchyWalker()
Method Detail

optimize

public java.util.List optimize(java.util.List clauses,
                               QueryContext context)
Specified by:
optimize in interface QueryOptimizerIF
Overrides:
optimize in class QueryOptimizer.AbstractQueryOptimizer


Copyright © 2000-2012 Ontopia.