net.ontopia.topicmaps.query.impl.utils
Class QueryOptimizer.RecursivePruner
java.lang.Object
net.ontopia.topicmaps.query.impl.utils.QueryOptimizer.AbstractQueryOptimizer
net.ontopia.topicmaps.query.impl.utils.QueryOptimizer.RecursivePruner
- All Implemented Interfaces:
- QueryOptimizerIF
- Enclosing class:
- QueryOptimizer
public static class QueryOptimizer.RecursivePruner
- extends QueryOptimizer.AbstractQueryOptimizer
This optimizer adds RemoveDuplicatesPredicate on both sides of
recursive calls within predicate rules. Recursive rules tend to
generate lots of redundant temporary results, which again
generate more redundant junk. Removing duplicates cuts down the
junk dramatically. This optimizer fixes bug #791.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryOptimizer.RecursivePruner
public QueryOptimizer.RecursivePruner()
optimize
public List optimize(List clauses,
QueryContext context)
- Specified by:
optimize
in interface QueryOptimizerIF
- Overrides:
optimize
in class QueryOptimizer.AbstractQueryOptimizer
Copyright © 2000-2012 Ontopia.