Interface GroupIterator

    • Method Detail

      • getCurrentGroupingKey

        AtomicSequence getCurrentGroupingKey()
        Get the grouping key of the current group
        Returns:
        the current grouping key in the case of group-by or group-adjacent, or null in the case of group-starting-with and group-ending-with
      • iterateCurrentGroup

        SequenceIterator iterateCurrentGroup()
                                      throws XPathException
        Get an iterator over the members of the current group, in population order. This must always be a clean iterator, that is, an iterator that starts at the first item of the group.
        Returns:
        an iterator over all the members of the current group, in population order.
        Throws:
        XPathException - if a dynamic error occurs