Interface ExportDataNormalizer

All Known Implementing Classes:
TimeZoneDataNormalizer

public interface ExportDataNormalizer
This interface is used for building a data normalizer, which can be used to pre-process the data before writing to the file.
Author:
Dima Myroniuk (dmyroniuk)
  • Method Details

    • getHeaderNamesToNormalize

      List<String> getHeaderNamesToNormalize()
      The list of header names to normalize. This list is used to retrieve the value from the row map.
      Returns:
      the list of header names to normalize
    • normalize

      void normalize(Map<String,String> row, Export export, @Nullable Map<String,Object> params)
      Normalizes the data under certain headers from getHeaderNamesToNormalize().
      Parameters:
      row - the row data to write to the file
      export - the Export that is being processed
      params - (optional) a map of additional parameters