Class RecordIterator

    • Constructor Detail

    • Method Detail

      • nextResult

        protected final Record nextResult()
        Returns the next record (either a String[] or a Record)
        Returns:
        the next record if available.
      • beginParsing

        protected abstract void beginParsing()
        This method is called whenever the iterator is starting to iterate over the results. an example implementation of this is:
             
             @Override
             public void beginParsing(){
                 parser.beginParsing(input);
             }
         

        This is to allow for different input types such as Reader, File, or InputStream without large code reuse.