|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.amber.expr.AbstractAmberExpr
com.caucho.amber.expr.JoinExpr
com.caucho.amber.expr.EqualJoinExpr
public class EqualJoinExpr
Links two tables by their key fields.
| Field Summary |
|---|
| Fields inherited from interface com.caucho.amber.expr.AmberExpr |
|---|
IS_INNER_JOIN, USES_DATA |
| Method Summary | |
|---|---|
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 |
generateUpdateWhere(CharBuffer cb)
Generates the (update) where expression. |
void |
generateWhere(CharBuffer cb)
Generates the where expression. |
FromItem |
getJoinTarget()
Returns the parent join clause. |
boolean |
isBoolean()
Returns true for a boolean expression. |
AmberExpr |
replace(IdExpr id)
Returns the id expr with the joined expression. |
AmberExpr |
replace(IdFieldExpr id)
Returns the id expr with the joined expression. |
java.lang.String |
toString()
|
| Methods inherited from class com.caucho.amber.expr.JoinExpr |
|---|
getJoinParent, getWhere, isDependent, replace |
| Methods inherited from class com.caucho.amber.expr.AbstractAmberExpr |
|---|
createBoolean, exists, exists, findItem, generateJoin, generateSelect, getCacheObject, getColumnCount, getObject, getType, hasRelationship, replaceJoin, setInternalArgType, usesFrom, usesFrom |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public boolean isBoolean()
isBoolean in interface AmberExprisBoolean in class JoinExprpublic AmberExpr bindSelect(QueryParser parser)
bindSelect in interface AmberExprbindSelect in class JoinExprpublic boolean bindToFromItem()
bindToFromItem in class JoinExprpublic FromItem getJoinTarget()
getJoinTarget in class JoinExprpublic AmberExpr replace(IdFieldExpr id)
public AmberExpr replace(IdExpr id)
replace in class JoinExprpublic void generateWhere(CharBuffer cb)
generateWhere in interface AmberExprgenerateWhere in class AbstractAmberExprpublic void generateUpdateWhere(CharBuffer cb)
generateUpdateWhere in interface AmberExprgenerateUpdateWhere in class AbstractAmberExprpublic void generateHaving(CharBuffer cb)
generateHaving in interface AmberExprgenerateHaving in class AbstractAmberExprpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||