|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.intermine.sql.precompute.BestQuery
public abstract class BestQuery
This object is an abstract superclass for a Best Query tracker. Queries can be added to these objects, and they will keep track of them.
| Constructor Summary | |
|---|---|
BestQuery()
|
|
| Method Summary | |
|---|---|
abstract void |
add(Query q)
Allows a Query to be added to this tracker. |
abstract void |
add(java.lang.String q)
Allows a Query to be added to this tracker. |
abstract Query |
getBestQuery()
Gets the best Query found so far |
abstract java.lang.String |
getBestQueryString()
Gets the best query String found so far |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BestQuery()
| Method Detail |
|---|
public abstract void add(Query q)
throws BestQueryException,
java.sql.SQLException
q - a Query to be added to the tracker
BestQueryException - when adding should stop
java.sql.SQLException - if error occurs in the underlying database
public abstract void add(java.lang.String q)
throws BestQueryException,
java.sql.SQLException
q - a query String to be added to the tracker
BestQueryException - when adding should stop
java.sql.SQLException - if error occurs in the underlying database
public abstract Query getBestQuery()
throws java.sql.SQLException
java.sql.SQLException - if error occurs in the underlying database
public abstract java.lang.String getBestQueryString()
throws java.sql.SQLException
java.sql.SQLException - if error occurs in the underlying database
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||