uk.ac.bbk.dcs.automed.qproc.optimise.optimisers
Class CompGenReorganiser

java.lang.Object
  extended by uk.ac.bbk.dcs.automed.qproc.optimise.optimisers.CompGenReorganiser

public class CompGenReorganiser
extends java.lang.Object

This optimiser is used to reorganise the generators in comprehensions. If two or more generators are over schemes from the same schema, a new sub comprehension is constructed containing these generators, thus constructing a bigger sub query that can be submitted to the data source wrapper. 1. Method reorganiseOneComp is used to reorganise one-level comprehesion 2. Method optimise is used to handle a comprehesion tree, first handle the sub query in the comprehesion, then handle the comprehension itself as a one-level one

Author:
Hao Fan, Lucas Zamboulis

Field Summary
protected  java.util.logging.Logger logger
           
 
Constructor Summary
CompGenReorganiser()
           
 
Method Summary
 boolean optimise(ASG g)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected java.util.logging.Logger logger
Constructor Detail

CompGenReorganiser

public CompGenReorganiser()
Method Detail

optimise

public boolean optimise(ASG g)