Method Summary |
|
AmberExpr | bindSelect(QueryParser parser) Binds the expression as a select item. |
public AmberExpr | createBoolean() Converts to a boolean expression. |
boolean | exists(FromItem from) Returns true if the item is required to exist by the expression, e.g. |
boolean | exists() Returns true if the expression item is required to exist, e.g.
constants and arguments.
(Can also apply to arguments required to exist after a particular
from item, i.e. |
public EntityItem | findItem(AmberConnection aConn, ResultSet rs, int index) Returns the object for the expr. |
void | generateHaving(CharBuffer cb) Generates the having expression. |
void | generateJoin(CharBuffer cb) Generates the where expression. |
void | generateSelect(CharBuffer cb) Generates the select expression. |
void | generateUpdateWhere(CharBuffer cb) Generates the (update) where expression. |
void | generateWhere(CharBuffer cb) Generates the where expression. |
public Object | getCacheObject(AmberConnection aConn, ResultSet rs, int index) Returns the cache object for the expr. |
public Object | getObject(AmberConnection aConn, ResultSet rs, int index) Returns the object for the expr. |
Type | getType() Returns the expr type. |
public boolean | hasRelationship() Returns true if this expr has any relationship. |
boolean | isBoolean() Returns true for a boolean expression. |
AmberExpr | replaceJoin(JoinExpr join) Returns true if the expression uses the from item. |
public void | setInternalArgType(AmberExpr otherExpr) Binds the argument type based on another expr. |
boolean | usesFrom(FromItem from, int type) Returns true if the expression uses the from item. |
boolean | usesFrom(FromItem from, int type, boolean isNot) Returns true if the expression uses the from item. |