/** * Define the join criteria to require the node in one table is a child of * the node in another table. The supplied tables must be a valid name or * alias. * * @param parentTable * the name or alias of the table containing the parent node * @param childTable * the name or alias of the table containing the child node * @return the query builder instance, for method chaining purposes */ public QueryBuilder onChildNode(String parentTable, String childTable) { return createJoin(new ChildNodeJoinCondition(nameOf(parentTable), nameOf(childTable))); }