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