|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.dna.graph.query.QueryBuilder.JoinClause
public class QueryBuilder.JoinClause

Class used to specify a join clause of a query.
QueryBuilder.join(String),
QueryBuilder.innerJoin(String),
QueryBuilder.leftOuterJoin(String),
QueryBuilder.rightOuterJoin(String),
QueryBuilder.fullOuterJoin(String)| Method Summary | |
|---|---|
QueryBuilder |
on(String columnEqualExpression)
Define the join as using an equi-join criteria by specifying the expression equating two columns. |
QueryBuilder |
onChildNode(String parentTable,
String childTable)
Define the join criteria to require the node in one table is a child of the node in another table. |
QueryBuilder |
onDescendant(String ancestorTable,
String descendantTable)
Define the join criteria to require the node in one table is a descendant of the node in another table. |
QueryBuilder |
onSameNode(String table1,
String table2)
Define the join criteria to require the two tables represent the same node. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public QueryBuilder on(String columnEqualExpression)
columnEqualExpression - the equality expression between the two tables; may not be null
IllegalArgumentException - if the supplied expression is not an equality expression
public QueryBuilder onSameNode(String table1,
String table2)
table1 - the name or alias of the first tabletable2 - the name or alias of the second table
public QueryBuilder onDescendant(String ancestorTable,
String descendantTable)
ancestorTable - the name or alias of the table containing the ancestor nodedescendantTable - the name or alias of the table containing the descendant node
public QueryBuilder onChildNode(String parentTable,
String childTable)
parentTable - the name or alias of the table containing the parent nodechildTable - the name or alias of the table containing the child node
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||