public class ExistsEvalExpr extends Expr
Modifier and Type | Method and Description |
---|---|
int |
evalBoolean(QueryContext context)
Evaluates the expression as a boolean.
|
java.lang.String |
evalString(QueryContext context)
Evaluates the expression as a string.
|
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() |
bind, cost, createOrder, 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 java.lang.Class getType()
public long subCost(java.util.ArrayList<FromItem> fromList)
public int evalBoolean(QueryContext context) throws java.sql.SQLException
evalBoolean
in class Expr
rows
- the current database tuplejava.sql.SQLException
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