Interface DocumentReader

    • Method Detail

      • read

        ExportedDocument[] read​(int count)
                         throws IOException
        Reads next 'count' documents.
        Parameters:
        count - the number of documents to read
        Returns:
        the array of read documents or null if there are no more documents to read
        Throws:
        IOException
      • close

        void close()
        Closes the reader.