Class StreamingSheetReader

  • All Implemented Interfaces:
    Iterable<org.apache.poi.ss.usermodel.Row>

    public class StreamingSheetReader
    extends Object
    implements Iterable<org.apache.poi.ss.usermodel.Row>
    • Constructor Detail

      • StreamingSheetReader

        public StreamingSheetReader​(org.apache.poi.xssf.model.SharedStringsTable sst,
                                    org.apache.poi.xssf.model.StylesTable stylesTable,
                                    XMLEventReader parser,
                                    boolean use1904Dates,
                                    int rowCacheSize)
    • Method Detail

      • iterator

        public Iterator<org.apache.poi.ss.usermodel.Row> iterator()
        Returns a new streaming iterator to loop through rows. This iterator is not guaranteed to have all rows in memory, and any particular iteration may trigger a load from disk to read in new data.
        Specified by:
        iterator in interface Iterable<org.apache.poi.ss.usermodel.Row>
        Returns:
        the streaming iterator
      • close

        public void close()