IS_INNER_JOIN, USES_DATA
Constructor and Description |
---|
OneToManyJoinExpr(LinkColumns linkColumns,
FromItem source,
FromItem target)
Creates the expr.
|
Modifier and Type | Method and Description |
---|---|
AmberExpr |
bindSelect(QueryParser parser)
Binds the expression as a select item.
|
boolean |
bindToFromItem()
Binds the link to the from item.
|
boolean |
equals(java.lang.Object o)
Test for equality.
|
void |
generateHaving(CharBuffer cb)
Generates the having expression.
|
void |
generateJoin(CharBuffer cb)
Generates the where expression.
|
void |
generateUpdateWhere(CharBuffer cb)
Generates the (update) where expression.
|
void |
generateWhere(CharBuffer cb)
Generates the where expression.
|
FromItem |
getJoinParent()
Returns the parent join clause, i.e.
|
FromItem |
getJoinTarget()
Returns the target join clause.
|
AmberExpr |
getWhere()
Returns the where clause once the parent is removed
|
boolean |
isBoolean()
Returns true for a boolean expression.
|
AmberExpr |
replace(IdExpr id)
Returns the id expr with the joined expression.
|
AmberExpr |
replace(KeyColumnExpr id)
Returns the id expr with the joined expression.
|
java.lang.String |
toString() |
isDependent
createBoolean, exists, exists, findItem, generateSelect, getCacheObject, getColumnCount, getObject, getType, hasRelationship, replaceJoin, setInternalArgType, usesFrom, usesFrom
public OneToManyJoinExpr(LinkColumns linkColumns, FromItem source, FromItem target)
public boolean isBoolean()
public AmberExpr bindSelect(QueryParser parser)
bindSelect
in interface AmberExpr
bindSelect
in class JoinExpr
public boolean bindToFromItem()
bindToFromItem
in class JoinExpr
public FromItem getJoinTarget()
getJoinTarget
in class JoinExpr
public FromItem getJoinParent()
FROM o, o.children
getJoinParent
in class JoinExpr
public AmberExpr replace(KeyColumnExpr id)
public AmberExpr getWhere()
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 void generateJoin(CharBuffer cb)
generateJoin
in interface AmberExpr
generateJoin
in class AbstractAmberExpr
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object