public class BitandExpr extends FunExpr
Constructor and Description |
---|
BitandExpr() |
BitandExpr(Expr left,
Expr right) |
Modifier and Type | Method and Description |
---|---|
protected void |
addArg(Expr expr) |
Expr |
bind(Query query)
Binds the expression to the actual tables.
|
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.
|
java.lang.Class<?> |
getType()
Returns the expected result type of the expression.
|
boolean |
isNull(QueryContext context)
Returns true for a null value.
|
long |
subCost(java.util.ArrayList<FromItem> fromList)
Returns the cost based on the given FromList.
|
java.lang.String |
toString() |
cost, createOrder, evalBoolean, evalBytes, evalDate, evalEqual, evalEqual, evalGroup, evalStream, evalToBuffer, evalToBuffer, evalToResult, getIndexExpr, getName, getSQLType, getTable, getTypeCode, indexCost, indexSubCost, initGroup, isBinaryStream, isBoolean, isDouble, isLong, isNullable, isParam, isSelect, splitAnd, updateDouble, updateLong, updateString
protected static final L10N L
protected void addArg(Expr expr) throws java.sql.SQLException
public java.lang.Class<?> getType()
public Expr bind(Query query) throws java.sql.SQLException
public long subCost(java.util.ArrayList<FromItem> fromList)
public boolean isNull(QueryContext context) throws java.sql.SQLException
public double evalDouble(QueryContext context) throws java.sql.SQLException
evalDouble
in class Expr
rows
- the current tuple being evaluatedjava.sql.SQLException
public long evalLong(QueryContext context) throws java.sql.SQLException
public java.lang.String evalString(QueryContext context) throws java.sql.SQLException
evalString
in class Expr
rows
- the current tuple being evaluatedjava.sql.SQLException
public java.lang.String toString()
toString
in class java.lang.Object