|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.intermine.sql.query.AbstractTable
org.intermine.sql.query.SubQuery
public class SubQuery
A representation of a subquery that can be present in the FROM section of an SQL query.
| Field Summary | |
|---|---|
protected Query |
query
|
| Fields inherited from class org.intermine.sql.query.AbstractTable |
|---|
alias |
| Constructor Summary | |
|---|---|
SubQuery(Query query,
java.lang.String alias)
Constructor for this SubQuery object. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Overrides Object.equals(). |
boolean |
equalsIgnoreAlias(AbstractTable obj)
Compare this SubQuery to another AbstractTable, ignoring alias. |
Query |
getQuery()
Returns the query contained in the subquery. |
java.lang.String |
getSQLString()
Returns a String representation of this SubQuery object, auitable for forming part of an SQL query. |
int |
hashCode()
Overrides Object.hashCode(). |
| Methods inherited from class org.intermine.sql.query.AbstractTable |
|---|
equalsOnlyAlias, getAlias, setAlias |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Query query
| Constructor Detail |
|---|
public SubQuery(Query query,
java.lang.String alias)
query - a Query to be included as a subqueryalias - an arbitrary name that the subquery has been renamed to for the rest of the
query| Method Detail |
|---|
public Query getQuery()
public java.lang.String getSQLString()
getSQLString in interface SQLStringablegetSQLString in class AbstractTablepublic boolean equals(java.lang.Object obj)
equals in class AbstractTableobj - an Object to compare to
public int hashCode()
hashCode in class AbstractTablepublic boolean equalsIgnoreAlias(AbstractTable obj)
equalsIgnoreAlias in class AbstractTableobj - an AbstractTable to compare to
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||