|
||||||||||
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
public abstract class JoinExpr
Links two tables.
Field Summary |
---|
Fields inherited from interface com.caucho.amber.expr.AmberExpr |
---|
IS_INNER_JOIN, USES_DATA |
Constructor Summary | |
---|---|
JoinExpr()
|
Method Summary | |
---|---|
AmberExpr |
bindSelect(QueryParser parser)
Binds the expression as a select item. |
boolean |
bindToFromItem()
Binds the expression as a select item. |
FromItem |
getJoinParent()
Returns the parent join clause. |
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. |
boolean |
isDependent(FromItem parent,
LinkColumns link)
Returns true if the given from item is the parent link. |
AmberExpr |
replace(IdExpr id)
Returns the id expr with the joined expression. |
AmberExpr |
replace(KeyColumnExpr id)
Returns the id expr with the joined expression. |
Methods inherited from class com.caucho.amber.expr.AbstractAmberExpr |
---|
createBoolean, exists, exists, findItem, generateHaving, generateJoin, generateSelect, generateUpdateWhere, generateWhere, getCacheObject, getColumnCount, getObject, getType, hasRelationship, replaceJoin, setInternalArgType, usesFrom, usesFrom |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JoinExpr()
Method Detail |
---|
public boolean isBoolean()
isBoolean
in interface AmberExpr
isBoolean
in class AbstractAmberExpr
public AmberExpr bindSelect(QueryParser parser)
bindSelect
in interface AmberExpr
bindSelect
in class AbstractAmberExpr
public boolean bindToFromItem()
public FromItem getJoinTarget()
public FromItem getJoinParent()
public boolean isDependent(FromItem parent, LinkColumns link)
public AmberExpr getWhere()
public AmberExpr replace(KeyColumnExpr id)
public AmberExpr replace(IdExpr id)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |