Class AssertionNode

  • All Implemented Interfaces:
    Cloneable, ExprNode

    public abstract class AssertionNode
    extends AbstractExprNode
    Node used for the application of arbitrary predicates on return candidates. Applies dynamic and programatic criteria for the selection of candidates for return. Nodes of this type may be introduced into the filter expression to provided the opportunity to constrain the search further without altering the search algorithm.
    Author:
    Apache Directory Project
    • Field Detail

      • assertion

        private final Assertion assertion
        The assertion or predicate to apply
      • desc

        private final String desc
        Description of assertion for polish printouts
    • Constructor Detail

      • AssertionNode

        public AssertionNode​(Assertion assertion)
        Creates an AssertionNode using an arbitrary candidate assertion.
        Parameters:
        assertion - the arbitrary selection logic.
      • AssertionNode

        public AssertionNode​(Assertion assertion,
                             String desc)
        Creates an AssertionNode using an arbitrary candidate assertion with a descriptions used for filter AST walker dumps.
        Parameters:
        assertion - the arbitrary selection logic.
        desc - the printout representation for filter prints.