Class PartitionDateFileTimeFieldWriter
java.lang.Object
com.illumon.iris.importers.ImportFieldWriter
com.illumon.iris.importers.CsvFieldWriter
com.illumon.iris.importers.writers.PartitionDateFileTimeFieldWriter
public class PartitionDateFileTimeFieldWriter extends CsvFieldWriter
An extension of csvFieldWriter that allows times stored as HHMMSS.nnnnnnnnn relative to midnight to be converted
into a complete epoch time at a specified timezone. The timezone used may be specified by setting the "defaultZone"
attribute on the ImportColumn attribute.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.illumon.iris.importers.CsvFieldWriter
CsvFieldWriter.EndOfRecordWriter, CsvFieldWriter.Factory, CsvFieldWriter.ParseException, CsvFieldWriter.RowFlagsWriter
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PartitionDateFileTimeFieldWriter(com.fishlib.io.logger.Logger log, boolean strict, ImporterColumnDefinition column, RowSetter setter, String delimiter, String actualPartition)
-
Method Summary
Modifier and Type Method Description String
getSourceValue(org.apache.commons.csv.CSVRecord record)
void
processField(org.apache.commons.csv.CSVRecord record)
Methods inherited from class com.illumon.iris.importers.CsvFieldWriter
getBigDecimal, getBoolean, getByte, getChar, getDouble, getFloat, getInt, getISONanos, getLocalDate, getLocalTime, getLong, getShort, getTrimmedStringNull
Methods inherited from class com.illumon.iris.importers.ImportFieldWriter
accountingDouble, accountingInt, accountingLong, dbDateTimeFromLong, dbDateTimeFromTimestamp, dbDateTimeFromTimestamp, getBigDecimalArray, getBigDecimalArray, getBigDecimalArray, getBigIntegerArray, getBigIntegerArray, getBigIntegerArray, getBooleanArray, getBooleanArray, getBooleanArray, getByteArray, getByteArray, getByteArray, getCharArray, getCharArray, getCharArray, getDBDateTimeArray, getDoubleArray, getDoubleArray, getDoubleArray, getEnumFormatter, getFloatArray, getFloatArray, getFloatArray, getIntArray, getIntArray, getIntArray, getLocalDateArray, getLocalDateArray, getLocalDateArray, getLocalTimeArray, getLocalTimeArray, getLocalTimeArray, getLongArray, getLongArray, getLongArray, getShortArray, getShortArray, getShortArray, localDateFromString, parseBoolean, processField, stripFirstCharacter
-
Constructor Details
-
PartitionDateFileTimeFieldWriter
public PartitionDateFileTimeFieldWriter(com.fishlib.io.logger.Logger log, boolean strict, ImporterColumnDefinition column, RowSetter setter, String delimiter, String actualPartition)
-
-
Method Details
-
getSourceValue
- Overrides:
getSourceValue
in classCsvFieldWriter
-
processField
public void processField(org.apache.commons.csv.CSVRecord record)- Overrides:
processField
in classCsvFieldWriter
-