public class MapFieldExpr extends AbstractAmberExpr
Modifier and Type | Field and Description |
---|---|
protected PathExpr |
_parent |
IS_INNER_JOIN, USES_DATA
Constructor and Description |
---|
MapFieldExpr(PathExpr parent,
MapElementField field,
AmberExpr index)
Creates a new unbound id expression.
|
Modifier and Type | Method and Description |
---|---|
AmberExpr |
bindSelect(QueryParser parser)
Binds the expression as a select item.
|
void |
generateHaving(CharBuffer cb)
Generates the having 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.
|
EntityType |
getTableType()
Returns the expr's type.
|
AmberType |
getType()
Returns the expr's type.
|
java.lang.String |
toString() |
boolean |
usesFrom(FromItem from,
int type,
boolean isNot)
Returns true if the expression uses the from item.
|
createBoolean, exists, exists, findItem, generateJoin, getCacheObject, getColumnCount, getObject, hasRelationship, isBoolean, replaceJoin, setInternalArgType, usesFrom
protected PathExpr _parent
public MapFieldExpr(PathExpr parent, MapElementField field, AmberExpr index)
public AmberExpr bindSelect(QueryParser parser)
bindSelect
in interface AmberExpr
bindSelect
in class AbstractAmberExpr
public boolean usesFrom(FromItem from, int type, boolean isNot)
usesFrom
in interface AmberExpr
usesFrom
in class AbstractAmberExpr
public AmberType getType()
getType
in interface AmberExpr
getType
in class AbstractAmberExpr
public EntityType getTableType()
public void generateSelect(CharBuffer cb)
generateSelect
in interface AmberExpr
generateSelect
in class AbstractAmberExpr
public void generateWhere(CharBuffer cb)
generateWhere
in interface AmberExpr
generateWhere
in class AbstractAmberExpr
public void generateUpdateWhere(CharBuffer cb)
generateUpdateWhere
in interface AmberExpr
generateUpdateWhere
in class AbstractAmberExpr
public void generateHaving(CharBuffer cb)
generateHaving
in interface AmberExpr
generateHaving
in class AbstractAmberExpr
public java.lang.String toString()
toString
in class java.lang.Object