Class CountClausePush


  • public class CountClausePush
    extends TuplePush
    A tuple stream in push mode that implements a "count" clause in an XQuery 3.0 FLWOR expression
    • Method Detail

      • processTuple

        public void processTuple​(XPathContext context)
                          throws XPathException
        Description copied from class: TuplePush
        Notify the availability of the next tuple. Before calling this method, the supplier of the tuples must set all the variables corresponding to the supplied tuple in the local stack frame associated with the context object
        Specified by:
        processTuple in class TuplePush
        Parameters:
        context - the dynamic evaluation context
        Throws:
        XPathException - if a dynamic error occurs
      • close

        public void close()
                   throws XPathException
        Close the tuple stream, indicating that no more tuples will be supplied
        Overrides:
        close in class TuplePush
        Throws:
        XPathException - if a dynamic error occurs