Class SelectorBasedConstraint

    • Constructor Detail

      • SelectorBasedConstraint

        public SelectorBasedConstraint​(org.apache.jackrabbit.spi.commons.query.qom.SelectorImpl selector)
        Creates a new constraint based on the given selector.
        Parameters:
        selector - the selector this constraint is based on.
    • Method Detail

      • getSelectorIndex

        protected int getSelectorIndex​(org.apache.jackrabbit.spi.Name[] names)
        Returns the selector index of this constraint.
        Parameters:
        names - the selector names.
        Returns:
        the selector index.
      • getSelector

        protected org.apache.jackrabbit.spi.commons.query.qom.SelectorImpl getSelector()
        Returns:
        the selector of this constraint.