Class JoinStack
java.lang.Object
org.apache.cayenne.access.translator.select.JoinStack
public class JoinStack extends Object
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.
- Since:
- 3.0
- 
Field SummaryFields Modifier and Type Field Description protected JoinTreeNoderootNodeprotected JoinTreeNodetopNode
- 
Constructor SummaryConstructors Modifier Constructor Description protectedJoinStack(DbAdapter dbAdapter, QueryAssembler assembler)
- 
Method SummaryModifier and Type Method Description protected voidappendJoins(StringBuilder out)Appends all configured joins to the provided output object.protected voidappendJoinSubtree(StringBuilder out, JoinTreeNode node)protected voidappendQualifier(StringBuilder out, boolean firstQualifierElement)Append join information to the qualifier - the part after "WHERE".protected StringnewAlias()protected intsize()Returns the number of configured joins.
- 
Field Details- 
rootNode
- 
topNode
 
- 
- 
Constructor Details- 
JoinStack
 
- 
- 
Method Details- 
sizeprotected int size()Returns the number of configured joins.
- 
appendJoinsAppends all configured joins to the provided output object.
- 
appendJoinSubtree
- 
appendQualifierAppend join information to the qualifier - the part after "WHERE".
- 
newAlias
 
-