/** * Define a constraint clause that the node within the named table is a * descendant of the node at the supplied path. * * @param descendantTable * the name of the table; may not be null and must refer to a * valid name or alias of a table appearing in the FROM clause * @param ancestorPath * the path to the ancestor node * @return the constraint builder that was used to create this clause; * never null */ public ConstraintBuilder isBelowPath(String descendantTable, String ancestorPath) { return setConstraint(new DescendantNode(selector(descendantTable), ancestorPath)); }
throw new TreeWalkerException("There is more than one table. Use selector or table name. IN_TREE.."); res = new DescendantNode(selName, builder.toString());