|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.torque.util.functions.FunctionEnum
public class FunctionEnum
A typesafe enum of SQL Standard function names. Used by the FunctionFactory and (eventually) the DB Adaptors to create SQLFunction objects.
Field Summary | |
---|---|
static FunctionEnum |
AVG
The AVG( [Distinct] EXPR ) function id |
static FunctionEnum |
COUNT
The COUNT( [Distinct] EXPR ) function id |
static FunctionEnum |
MAX
The MAX( [Distinct] EXPR ) function id |
static FunctionEnum |
MIN
The MIN( [Distinct] EXPR ) function id |
static FunctionEnum |
SUM
The SUM( [Distinct] EXPR ) function id |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
returns whether o is the same FunctionEnum as this object. |
int |
hashCode()
returns a hashcode for this object which is consistent with equals() |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final FunctionEnum AVG
public static final FunctionEnum SUM
public static final FunctionEnum MAX
public static final FunctionEnum MIN
public static final FunctionEnum COUNT
Method Detail |
---|
public final java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- the object to compare the FunctionEnum with.public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |