HSSFWorkbook vs XSSFWorkbook vs SXSSFWorkbook - Apache-poi

54,098

A spreadsheet of each with as a summary of API features:

apifeatures

Source: https://poi.apache.org/spreadsheet/

Share:
54,098

Related videos on Youtube

Sedat Polat
Author by

Sedat Polat

Founder of Fribio Software Solutions Ltd.. ex Sr. Software Engineer @ PlayStation

Updated on October 10, 2020

Comments

  • Sedat Polat
    Sedat Polat over 3 years

    HSSFWorkbook vs XSSFWorkbook and the advantages/disadvantages of XSSFWorkbook and SXSSFWorkbook?

    • Gagravarr
      Gagravarr over 8 years
      Which file format are you trying to support, and how big are you files? Those'll make the biggest differences to which you want!
    • Sedat Polat
      Sedat Polat over 8 years
      @Gagravarr, This question is for giving general information about WorkBook of Apache-Poi, because I saw that people don't know which one is suitable for their requirement.
  • Sedat Polat
    Sedat Polat over 8 years
    "SXSSF is an API-compatible streaming extension of XSSF to be used when very large spreadsheets have to be produced, and heap space is limited. SXSSF achieves its low memory footprint by limiting access to the rows that are within a sliding window, while XSSF gives access to all rows in the document. Older rows that are no longer in the window become inaccessible, as they are written to the disk. "
  • martian
    martian over 6 years
    poi.apache.org/spreadsheet/eval.html For versions before 3.13 final, no formula evaluation is possible with SXSSF. If you are using POI 3.13 final or newer, formula evaluation is possible with SXSSF, but with some caveats.
  • Sachin Sharma
    Sachin Sharma about 5 years
    is there a comparison of memory footprints available (for various file sizes)?