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.