Class CsvColumnDataTransformer.Factory.Default

java.lang.Object
com.illumon.iris.importers.CsvColumnDataTransformer.Factory.Default
All Implemented Interfaces:
CsvColumnDataTransformer.Factory
Enclosing interface:
CsvColumnDataTransformer.Factory

public static class CsvColumnDataTransformer.Factory.Default extends Object implements CsvColumnDataTransformer.Factory
Default Factory class that creates the DataTransformers
  • Constructor Details

    • Default

      public Default(com.fishlib.io.logger.Logger log, boolean strict)
  • Method Details

    • createFactory

      public Function<RowSetter,CsvColumnDataTransformer> createFactory(ImporterColumnDefinition column, Class setterType, String delimiter, String constantColumnValue, Map<String,String> importProperties)
      Creates a data transformer factory for the specified column
      Specified by:
      createFactory in interface CsvColumnDataTransformer.Factory
      Parameters:
      column - the characteristics (sourceName, sourceType, formula, etc.) of the ImportColumn and destination column in the Table.
      setterType - the type of the row setter that will receive data to be written to the Table (target type)
      delimiter - the delimiter character that may be needed for parsing embedded array data
      constantColumnValue - an optional constant String that will be made available as a column value for columns with a sourceType of ImporterColumnDefinition$IrisImportConstant