org.openrdf.sesame.sail.query
Class QueryOptimizer

java.lang.Object
  extended byorg.openrdf.sesame.sail.query.QueryOptimizer

public class QueryOptimizer
extends Object

A default query optimizer that applies some generally applicable optimizations.

Author:
Arjohn Kampman

Constructor Summary
QueryOptimizer()
           
 
Method Summary
static void optimizeQuery(Query qc)
          Applies some generally applicable optimizations to the supplied query: variable assignments are inlined, and path expressions are sorted from more to less specific.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryOptimizer

public QueryOptimizer()
Method Detail

optimizeQuery

public static void optimizeQuery(Query qc)
Applies some generally applicable optimizations to the supplied query: variable assignments are inlined, and path expressions are sorted from more to less specific.



Copyright © 2002-2006 Aduna BV, GNU LGPL License applies.