Class DistinctValues

    • Constructor Detail

      • DistinctValues

        public DistinctValues()
    • Method Detail

      • getAtomicComparer

        public AtomicComparer getAtomicComparer()
        Get the AtomicComparer allocated at compile time.
        Returns:
        the AtomicComparer if one has been allocated at compile time; return null if the collation is not known until run-time
      • iterate

        public SequenceIterator iterate​(XPathContext context)
                                 throws XPathException
        Evaluate the function to return an iteration of selected values or nodes.
        Specified by:
        iterate in interface SequenceIterable
        Overrides:
        iterate in class Expression
        Parameters:
        context - supplies the context for evaluation
        Returns:
        a SequenceIterator that can be used to iterate over the result of the expression
        Throws:
        XPathException - if any dynamic error occurs evaluating the expression