| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cayenne.access.trans.JoinStack
public class JoinStack
Encapsulates join reuse/split logic used in SelectQuery processing. All expression path's that exist in the query (in the qualifier, etc.) are processed to produce a combined join tree.
| Field Summary | |
|---|---|
| protected  JoinTreeNode | rootNode | 
| protected  JoinTreeNode | topNode | 
| Constructor Summary | |
|---|---|
| protected  | JoinStack()Deprecated. since 3.0 | 
| protected  | JoinStack(DbAdapter dbAdapter,
          DataMap dataMap,
          QueryAssembler assembler) | 
| Method Summary | |
|---|---|
| protected  void | appendJoins(Appendable out)Appends all configured joins to the provided output object. | 
| protected  void | appendJoinSubtree(Appendable out,
                  JoinTreeNode node) | 
| protected  void | appendQualifier(Appendable out,
                boolean firstQualifierElement)Append join information to the qualifier - the part after "WHERE". | 
| protected  String | newAlias() | 
| protected  int | size()Returns the number of configured joins. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected JoinTreeNode rootNode
protected JoinTreeNode topNode
| Constructor Detail | 
|---|
@Deprecated protected JoinStack()
protected JoinStack(DbAdapter dbAdapter,
                    DataMap dataMap,
                    QueryAssembler assembler)
| Method Detail | 
|---|
protected int size()
protected void appendJoins(Appendable out)
                    throws IOException
IOException
protected void appendJoinSubtree(Appendable out,
                                 JoinTreeNode node)
                          throws IOException
IOException
protected void appendQualifier(Appendable out,
                               boolean firstQualifierElement)
                        throws IOException
IOExceptionprotected String newAlias()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||