|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.intermine.sql.query.AbstractValue
org.intermine.sql.query.OrderDescending
public class OrderDescending
A representation of an item that can be present in the ORDER BY section of an SQL query, but ordered descending..
| Field Summary |
|---|
| Fields inherited from class org.intermine.sql.query.AbstractValue |
|---|
EQUAL, GREATER, INCOMPARABLE, LESS, NOT_EQUAL |
| Constructor Summary | |
|---|---|
OrderDescending(AbstractValue value)
Constructor for OrderDescending. |
|
| Method Summary | |
|---|---|
int |
compare(AbstractValue obj,
java.util.Map<AbstractTable,AbstractTable> tableMap,
java.util.Map<AbstractTable,AbstractTable> reverseTableMap)
Compare the value of this AbstractValue with another. |
boolean |
equals(java.lang.Object o)
Overrides Object.equals(). |
java.lang.String |
getSQLString()
Returns a String representation of this AbstractValue object, suitable for forming part of an SQL query. |
AbstractValue |
getValue()
Returns the value. |
int |
hashCode()
Overrides Object.hashcode(). |
boolean |
isAggregate()
Returns true if this value is an aggregate function. |
java.lang.String |
toString()
|
| Methods inherited from class org.intermine.sql.query.AbstractValue |
|---|
greaterOrEqual, greaterThan, lessOrEqual, lessThan, notEqualTo, valueEquals |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OrderDescending(AbstractValue value)
value - an AbstractValue| Method Detail |
|---|
public AbstractValue getValue()
public java.lang.String getSQLString()
getSQLString in interface SQLStringablegetSQLString in class AbstractValuepublic boolean equals(java.lang.Object o)
equals in class AbstractValueo - an Object to compare to
public int hashCode()
hashCode in class AbstractValue
public int compare(AbstractValue obj,
java.util.Map<AbstractTable,AbstractTable> tableMap,
java.util.Map<AbstractTable,AbstractTable> reverseTableMap)
compare in class AbstractValueobj - an AbstractValue to compare totableMap - a mapping between tablenames of the two elementsreverseTableMap - a reverse of tableMap
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean isAggregate()
isAggregate in class AbstractValue
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||