|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.db.sql.Expr
com.caucho.db.sql.FunExpr
com.caucho.db.sql.MinExpr
public class MinExpr
Field Summary |
---|
Fields inherited from class com.caucho.db.sql.Expr |
---|
FALSE, TRUE, UNKNOWN |
Constructor Summary | |
---|---|
MinExpr()
|
Method Summary | |
---|---|
protected void |
addArg(Expr expr)
|
Expr |
bind(Query query)
|
double |
evalDouble(QueryContext context)
Evaluates the expression as a double. |
void |
evalGroup(QueryContext context)
Evaluates aggregate functions during the group phase. |
long |
evalLong(QueryContext context)
Evaluates the expression as a long. |
java.lang.String |
evalString(QueryContext context)
Evaluates the expression as a string. |
java.lang.Class |
getType()
Returns the expected result type of the expression. |
void |
initGroup(QueryContext context)
Initializes aggregate functions during the group phase. |
boolean |
isNull(QueryContext context)
Returns true if the value is null. |
Methods inherited from class com.caucho.db.sql.Expr |
---|
cost, createOrder, evalBoolean, evalBytes, evalDate, evalEqual, evalEqual, evalStream, evalToBuffer, evalToBuffer, evalToResult, getIndexExpr, getName, getSQLType, getTable, getTypeCode, indexCost, indexSubCost, isBinaryStream, isBoolean, isDouble, isLong, isNullable, isParam, isSelect, splitAnd, subCost, updateDouble, updateLong, updateString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MinExpr()
Method Detail |
---|
protected void addArg(Expr expr) throws java.sql.SQLException
addArg
in class FunExpr
java.sql.SQLException
public Expr bind(Query query) throws java.sql.SQLException
bind
in class Expr
java.sql.SQLException
public java.lang.Class getType()
getType
in class Expr
public void initGroup(QueryContext context) throws java.sql.SQLException
initGroup
in class Expr
context
- the current database tuple
java.sql.SQLException
public void evalGroup(QueryContext context) throws java.sql.SQLException
evalGroup
in class Expr
context
- the current database tuple
java.sql.SQLException
public boolean isNull(QueryContext context) throws java.sql.SQLException
isNull
in class Expr
queryContext
- the query context
java.sql.SQLException
public double evalDouble(QueryContext context) throws java.sql.SQLException
evalDouble
in class Expr
rows
- the current tuple being evaluated
java.sql.SQLException
public long evalLong(QueryContext context) throws java.sql.SQLException
evalLong
in class Expr
rows
- the current tuple being evaluated
java.sql.SQLException
public java.lang.String evalString(QueryContext context) throws java.sql.SQLException
evalString
in class Expr
rows
- the current tuple being evaluated
java.sql.SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |