Interface DescendantNodeJoinCondition

All Superinterfaces:
JoinCondition
All Known Implementing Classes:
DescendantNodeJoinConditionImpl

public interface DescendantNodeJoinCondition extends JoinCondition
Tests whether the descendantSelector node is a descendant of the ancestorSelector node. A node-tuple satisfies the constraint only if:
  descendantSelectorNode.getAncestor(n).isSame(ancestorSelectorNode) invalid input: '&'invalid input: '&'
     descendantSelectorNode.getDepth() > n
would return true some some non-negative integer n, where descendantSelectorNode is the node for descendantSelector and ancestorSelectorNode is the node for ancestorSelector.
Since:
JCR 2.0
  • Method Details

    • getDescendantSelectorName

      String getDescendantSelectorName()
      Gets the name of the descendant selector.
      Returns:
      the selector name; non-null
    • getAncestorSelectorName

      String getAncestorSelectorName()
      Gets the name of the ancestor selector.
      Returns:
      the selector name; non-null