Class PackValuesConvertor

    • Constructor Detail

      • PackValuesConvertor

        public PackValuesConvertor​(@NotNull
                                   List<String> fieldNames,
                                   @NotNull
                                   TableDef tableDef)
    • Method Detail

      • preprocessRow

        public boolean preprocessRow​(@NotNull
                                     String csvFileName,
                                     @NotNull
                                     Object[] row,
                                     int rowNum)
        Description copied from interface: CSVRowPreprocessor
        Applied to data read from CSV file. Can modify row or skip it completely. To skip row processor should return false.
        Specified by:
        preprocessRow in interface CSVRowPreprocessor
        Parameters:
        csvFileName - CSV file name
        row - row from the CSV file
        rowNum - row number in the CSV file
        Returns:
        true if row should be preserved and false if it should be filtered out