|
||||||||||
| 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.SubSelectParamExpr
@Module public class SubSelectParamExpr
| Field Summary |
|---|
| Fields inherited from class com.caucho.db.sql.Expr |
|---|
FALSE, L, TRUE, UNKNOWN |
| Method Summary | |
|---|---|
Expr |
bind(Query parent)
Binds the expression. |
void |
eval(QueryContext parent,
QueryContext context)
Sets the value. |
int |
evalBoolean(QueryContext context)
Evaluates the expression as a boolean. |
long |
evalDate(QueryContext context)
Evaluates the expression as a date |
double |
evalDouble(QueryContext context)
Evaluates the expression as a double. |
long |
evalLong(QueryContext context)
Evaluates the expression as a long. |
java.lang.String |
evalString(QueryContext context)
Evaluates the expression as a string. |
int |
evalToBuffer(QueryContext context,
byte[] buffer,
int offset)
Evaluates the expression to a buffer |
Expr |
getExpr()
Returns the expr. |
java.lang.Class |
getType()
Returns the type of the expression. |
boolean |
isNull(QueryContext context)
Evaluates the expression as a string. |
long |
subCost(java.util.ArrayList<FromItem> fromList)
Returns the cost based on the given FromList. |
java.lang.String |
toString()
|
| Methods inherited from class com.caucho.db.sql.Expr |
|---|
cost, createOrder, evalBytes, evalEqual, evalEqual, evalGroup, evalStream, evalToBuffer, evalToResult, getIndexExpr, getName, getSQLType, getTable, getTypeCode, indexCost, indexSubCost, initGroup, isBinaryStream, isBoolean, isDouble, isLong, isNullable, isParam, isSelect, splitAnd, updateDouble, updateLong, updateString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public java.lang.Class getType()
getType in class Exprpublic Expr getExpr()
public long subCost(java.util.ArrayList<FromItem> fromList)
subCost in class Expr
public Expr bind(Query parent)
throws java.sql.SQLException
bind in class Exprjava.sql.SQLException
public void eval(QueryContext parent,
QueryContext context)
throws java.sql.SQLException
java.sql.SQLException
public boolean isNull(QueryContext context)
throws java.sql.SQLException
isNull in class Exprrows - the current database tuple
java.sql.SQLException
public java.lang.String evalString(QueryContext context)
throws java.sql.SQLException
evalString in class Exprrows - the current database tuple
java.sql.SQLException
public int evalBoolean(QueryContext context)
throws java.sql.SQLException
evalBoolean in class Exprrows - the current database tuple
java.sql.SQLException
public long evalLong(QueryContext context)
throws java.sql.SQLException
evalLong in class Exprrows - the current database tuple
java.sql.SQLException
public double evalDouble(QueryContext context)
throws java.sql.SQLException
evalDouble in class Exprrows - the current database tuple
java.sql.SQLException
public long evalDate(QueryContext context)
throws java.sql.SQLException
evalDate in class Exprrows - the current database tuple
java.sql.SQLException
public int evalToBuffer(QueryContext context,
byte[] buffer,
int offset)
throws java.sql.SQLException
evalToBuffer in class Exprrows - the current database tuple
java.sql.SQLExceptionpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||