|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.topicmaps.query.impl.utils.QueryOptimizer.AbstractQueryOptimizer net.ontopia.topicmaps.query.impl.utils.QueryOptimizer.RecursivePruner
public static class QueryOptimizer.RecursivePruner
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.
Constructor Summary | |
---|---|
QueryOptimizer.RecursivePruner()
|
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 |
---|
public QueryOptimizer.RecursivePruner()
Method Detail |
---|
public java.util.List optimize(java.util.List clauses, QueryContext context)
optimize
in interface QueryOptimizerIF
optimize
in class QueryOptimizer.AbstractQueryOptimizer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |