uk.ac.bbk.dcs.automed.qproc.optimise.optimisers
Class CompGenReorganiser
java.lang.Object
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
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected java.util.logging.Logger logger
CompGenReorganiser
public CompGenReorganiser()
optimise
public boolean optimise(ASG g)