org.openrdf.query.algebra.evaluation.impl
Class QueryModelPruner

java.lang.Object
  extended by org.openrdf.query.algebra.evaluation.impl.QueryModelPruner
All Implemented Interfaces:
QueryOptimizer

public class QueryModelPruner
extends Object
implements QueryOptimizer

A query optimizer that prunes query model trees by removing superfluous parts and/or by reducing complex parts with simpler parts.

Author:
Arjohn Kampman

Nested Class Summary
protected  class QueryModelPruner.TreeSanitizer
           
 
Constructor Summary
QueryModelPruner()
           
 
Method Summary
 void optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)
          Applies generally applicable optimizations: path expressions are sorted from more to less specific.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryModelPruner

public QueryModelPruner()
Method Detail

optimize

public void optimize(TupleExpr tupleExpr,
                     Dataset dataset,
                     BindingSet bindings)
Applies generally applicable optimizations: path expressions are sorted from more to less specific.

Specified by:
optimize in interface QueryOptimizer
Parameters:
tupleExpr -


Copyright © 2001-2008 Aduna. All Rights Reserved.