|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.intermine.sql.precompute.BestQuery
org.intermine.sql.precompute.EncloseSubqueryBestQuery
public class EncloseSubqueryBestQuery
This object is a BestQuery tracker that encloses all added queries into a surrounding query as a subquery, and passes them onto another BestQuery tracker.
| Constructor Summary | |
|---|---|
EncloseSubqueryBestQuery(BestQuery bestQuery,
java.lang.String beginning,
java.lang.String end)
Constructor. |
|
| Method Summary | |
|---|---|
void |
add(Query q)
Allows a Query to be added to this tracker. |
void |
add(java.lang.String q)
Allows a Query to be added to this tracker. |
Query |
getBestQuery()
Gets the best Query found so far |
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 EncloseSubqueryBestQuery(BestQuery bestQuery,
java.lang.String beginning,
java.lang.String end)
bestQuery - another BestQuery object to delegate tobeginning - the String to add to the beginning of all queriesend - the String to add to the end of all queries| Method Detail |
|---|
public void add(Query q)
throws BestQueryException,
java.sql.SQLException
add in class BestQueryq - a Query to be added to the tracker
BestQueryException - when adding should stop
java.sql.SQLException - if error occurs in the underlying database
public void add(java.lang.String q)
throws BestQueryException,
java.sql.SQLException
add in class BestQueryq - 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 Query getBestQuery()
throws java.sql.SQLException
getBestQuery in class BestQueryjava.sql.SQLException - if error occurs in the underlying database
public java.lang.String getBestQueryString()
throws java.sql.SQLException
getBestQueryString in class BestQueryjava.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 | ||||||||