Skip to content

Next minor version 2.6.0 with better performance

Choose a tag to compare

@jbax jbax released this 27 Feb 13:33
· 214 commits to master since this release

Enhacements:

  • CSV parser now parses quoted values ~30% faster

  • CSV format detection process has option provide a list of possible delimiters, in order of priority ( i.e. settings.detectFormatAutomatically( '-', '.');) (#214 )

  • CSV writer allows selecting columns that should always have quotes (i.e. writerSettings.quoteFields("C", "D"); or writerSettings.quoteIndexes(0, 1, 4, 5);) (#191)

  • Introduced support for selecting and aggregating values in lists of java beans when inputs have repeated header names (#188)

  • Context class has two new methods for facilitating the usage of Record inside RowProcessor (#211):

  • Adjusting method signatures of AbstractWriter to properly handle writing rows based on collections of objects of any type (from a StackOverflow complaint).

public Record toRecord(String[] row);

public RecordMetaData recordMetaData();

Bugfixes:

  • NullPointer when stopping parser when nothing is parsed (#219)

  • Reusing CsvRoutines object results in unexpected output (#224)