com.caucho.amber.expr.fun
Class LocateFunExpr
java.lang.Object
com.caucho.amber.expr.AbstractAmberExpr
com.caucho.amber.expr.fun.FunExpr
com.caucho.amber.expr.fun.LocateFunExpr
- All Implemented Interfaces:
- AmberExpr
public class LocateFunExpr
- extends FunExpr
LOCATE function expression
Methods inherited from class com.caucho.amber.expr.AbstractAmberExpr |
createBoolean, exists, exists, findItem, generateJoin, generateSelect, getCacheObject, getColumnCount, hasRelationship, isBoolean, replaceJoin, setInternalArgType, usesFrom |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LocateFunExpr
protected LocateFunExpr(QueryParser parser,
java.util.ArrayList<AmberExpr> args)
- Creates a new expression
create
public static FunExpr create(QueryParser parser,
java.util.ArrayList<AmberExpr> args)
generateWhere
public void generateWhere(CharBuffer cb)
- Generates the where expression.
- Specified by:
generateWhere
in interface AmberExpr
- Overrides:
generateWhere
in class FunExpr
generateUpdateWhere
public void generateUpdateWhere(CharBuffer cb)
- Generates the (update) where expression.
- Specified by:
generateUpdateWhere
in interface AmberExpr
- Overrides:
generateUpdateWhere
in class FunExpr
getObject
public java.lang.Object getObject(AmberConnection aConn,
java.sql.ResultSet rs,
int index)
throws java.sql.SQLException
- Returns the object for the expr.
- Specified by:
getObject
in interface AmberExpr
- Overrides:
getObject
in class FunExpr
- Throws:
java.sql.SQLException