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

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

public static class QueryOptimizer.NextPreviousOptimizer
extends QueryOptimizer.AbstractQueryOptimizer

INTERNAL: Optimizes queries that look for the next or the previous value in a sequence from a given start value to not load all values and then do it the hard way, but instead to use a sorted index.


Constructor Summary
QueryOptimizer.NextPreviousOptimizer()
           
 
Method Summary
 void optimize(TologQuery query, 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.NextPreviousOptimizer

public QueryOptimizer.NextPreviousOptimizer()
Method Detail

optimize

public void optimize(TologQuery query,
                     QueryContext context)
Specified by:
optimize in interface QueryOptimizerIF
Overrides:
optimize in class QueryOptimizer.AbstractQueryOptimizer


Copyright © 2000-2012 Ontopia.