public class SubSelectExpr extends Expr
Modifier and Type | Method and Description |
---|---|
Expr |
bind(Query query)
Binds the expression to the query.
|
java.lang.String |
evalString(QueryContext context)
Evaluates the expression as a string.
|
SelectQuery |
getSubSelect()
Returns the query.
|
java.lang.Class |
getType()
Returns the expected result type of the expression.
|
long |
subCost(java.util.ArrayList<FromItem> fromList)
Returns the cost based on the given FromList.
|
java.lang.String |
toString() |
cost, createOrder, evalBoolean, evalBytes, evalDate, evalDouble, evalEqual, evalEqual, evalGroup, evalLong, evalStream, evalToBuffer, evalToBuffer, evalToResult, getIndexExpr, getName, getSQLType, getTable, getTypeCode, indexCost, indexSubCost, initGroup, isBinaryStream, isBoolean, isDouble, isLong, isNull, isNullable, isParam, isSelect, splitAnd, updateDouble, updateLong, updateString
protected static final L10N L
public SelectQuery getSubSelect()
public java.lang.Class getType()
public long subCost(java.util.ArrayList<FromItem> fromList)
public java.lang.String evalString(QueryContext context) throws java.sql.SQLException
evalString
in class Expr
rows
- the current database tuplejava.sql.SQLException
public java.lang.String toString()
toString
in class java.lang.Object