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

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

public static class QueryOptimizer.Reorderer
extends QueryOptimizer.AbstractQueryOptimizer

INTERNAL: Optimizes the query by reordering the clauses into the optimal order for evaluation. See http://www.ontopia.net/topicmaps/materials/tolog.html, under 'Optimizing queries'.


Constructor Summary
QueryOptimizer.Reorderer(boolean predicate_based)
           
 
Method Summary
 java.util.List optimize(java.util.List qclauses, QueryContext qcontext)
           
 
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.Reorderer

public QueryOptimizer.Reorderer(boolean predicate_based)
Method Detail

optimize

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


Copyright © 2000-2012 Ontopia.