Package com.illumon.iris.importers
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
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.illumon.iris.importers.CsvColumnDataTransformer.Factory
CsvColumnDataTransformer.Factory.Default
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateFactory
(ImporterColumnDefinition column, Class setterType, String delimiter, String constantColumnValue, Map<String, String> importProperties) Creates a data transformer factory for the specified columnMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.illumon.iris.importers.CsvColumnDataTransformer.Factory
create
-
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 interfaceCsvColumnDataTransformer.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 dataconstantColumnValue
- an optional constant String that will be made available as a column value for columns with a sourceType of ImporterColumnDefinition$IrisImportConstant
-