Interface ExportDataNormalizer
-
- All Known Implementing Classes:
TimeZoneDataNormalizer
public interface ExportDataNormalizerThis 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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>getHeaderNamesToNormalize()The list of header names to normalize.voidnormalize(Map<String,String> row, Export export, Map<String,Object> params)Normalizes the data under certain headers fromgetHeaderNamesToNormalize().
-
-
-
Method Detail
-
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 fromgetHeaderNamesToNormalize().- Parameters:
row- the row data to write to the fileexport- theExportthat is being processedparams- (optional) a map of additional parameters
-
-