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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>
getHeaderNamesToNormalize()
The list of header names to normalize.void
normalize(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
- theExport
that is being processedparams
- (optional) a map of additional parameters
-
-