public interface Record
AbstractParser methods such as
| Modifier and Type | Method and Description |
|---|---|
<T extends Enum<T>> |
fillEnumMap(Map<T,String> map,
T... selectedColumns)
Fills a map with the
String values of this record. |
<T extends Enum<T>> |
fillEnumObjectMap(Map<T,Object> map,
T... selectedColumns)
Fills a map with the converted
Object values of this record. |
Map<String,String> |
fillFieldMap(Map<String,String> map,
String... selectedFields)
Fills a map with the
String values of this record. |
Map<String,Object> |
fillFieldObjectMap(Map<String,Object> map,
String... selectedFields)
Fills a map with the converted
Object values of this record. |
Map<Integer,String> |
fillIndexMap(Map<Integer,String> map,
int... selectedIndexes)
Fills a map with the
String values of this record. |
Map<Integer,Object> |
fillIndexObjectMap(Map<Integer,Object> map,
int... selectedIndexes)
Fills a map with the converted
Object values of this record. |
BigDecimal |
getBigDecimal(Enum<?> column)
Converts the
String value in the given column to a BigDecimal and returns the result. |
BigDecimal |
getBigDecimal(Enum<?> column,
String format,
String... formatOptions)
Converts the
String value in the given column to a BigDecimal and returns the result. |
BigDecimal |
getBigDecimal(int columnIndex)
Converts the
String value in the given column to a BigDecimal and returns the result. |
BigDecimal |
getBigDecimal(int columnIndex,
String format,
String... formatOptions)
Converts the
String value in the given column to a BigDecimal and returns the result. |
BigDecimal |
getBigDecimal(String headerName)
Converts the
String value in the given column to a BigDecimal and returns the result. |
BigDecimal |
getBigDecimal(String headerName,
String format,
String... formatOptions)
Converts the
String value in the given column to a BigDecimal and returns the result. |
BigInteger |
getBigInteger(Enum<?> column)
Converts the
String value in the given column to a BigInteger and returns the result. |
BigInteger |
getBigInteger(Enum<?> column,
String format,
String... formatOptions)
Converts the
String value in the given column to a BigInteger and returns the result. |
BigInteger |
getBigInteger(int columnIndex)
Converts the
String value in the given column to a BigInteger and returns the result. |
BigInteger |
getBigInteger(int columnIndex,
String format,
String... formatOptions)
Converts the
String value in the given column to a BigInteger and returns the result. |
BigInteger |
getBigInteger(String headerName)
Converts the
String value in the given column to a BigInteger and returns the result. |
BigInteger |
getBigInteger(String headerName,
String format,
String... formatOptions)
Converts the
String value in the given column to a BigInteger and returns the result. |
Boolean |
getBoolean(Enum<?> column)
Converts the
String value in the given column to a Boolean and returns the result. |
Boolean |
getBoolean(Enum<?> column,
String trueString,
String falseString)
Converts the
String value in the given column to a Boolean and returns the result. |
Boolean |
getBoolean(int columnIndex)
Converts the
String value in the given column to a Boolean and returns the result. |
Boolean |
getBoolean(int columnIndex,
String trueString,
String falseString)
Converts the
String value in the given column to a Boolean and returns the result. |
Boolean |
getBoolean(String headerName)
Converts the
String value in the given column to a Boolean and returns the result. |
Boolean |
getBoolean(String headerName,
String trueString,
String falseString)
Converts the
String value in the given column to a Boolean and returns the result. |
Byte |
getByte(Enum<?> column)
Converts the
String value in the given column to a Byte and returns the result. |
Byte |
getByte(Enum<?> column,
String format,
String... formatOptions)
Converts the
String value in the given column to a Byte and returns the result. |
Byte |
getByte(int columnIndex)
Converts the
String value in the given column to a Byte and returns the result. |
Byte |
getByte(int columnIndex,
String format,
String... formatOptions)
Converts the
String value in the given column to a Byte and returns the result. |
Byte |
getByte(String headerName)
Converts the
String value in the given column to a Byte and returns the result. |
Byte |
getByte(String headerName,
String format,
String... formatOptions)
Converts the
String value in the given column to a Byte and returns the result. |
Calendar |
getCalendar(Enum<?> column)
Converts the
String value in the given column to a Calendar and returns the result. |
Calendar |
getCalendar(Enum<?> column,
String format,
String... formatOptions)
Converts the
String value in the given column to a Calendar and returns the result. |
Calendar |
getCalendar(int columnIndex)
Converts the
String value in the given column to a Calendar and returns the result. |
Calendar |
getCalendar(int columnIndex,
String format,
String... formatOptions)
Converts the
String value in the given column to a Calendar and returns the result. |
Calendar |
getCalendar(String headerName)
Converts the
String value in the given column to a Calendar and returns the result. |
Calendar |
getCalendar(String headerName,
String format,
String... formatOptions)
Converts the
String value in the given column to a Calendar and returns the result. |
Character |
getChar(Enum<?> column)
Converts the
String value in the given column to a Character and returns the result. |
Character |
getChar(int columnIndex)
Converts the
String value in the given column to a Character and returns the result. |
Character |
getChar(String headerName)
Converts the
String value in the given column to a Character and returns the result. |
Date |
getDate(Enum<?> column)
Converts the
String value in the given column to a Date and returns the result. |
Date |
getDate(Enum<?> column,
String format,
String... formatOptions)
Converts the
String value in the given column to a Date and returns the result. |
Date |
getDate(int columnIndex)
Converts the
String value in the given column to a Date and returns the result. |
Date |
getDate(int columnIndex,
String format,
String... formatOptions)
Converts the
String value in the given column to a Date and returns the result. |
Date |
getDate(String headerName)
Converts the
String value in the given column to a Date and returns the result. |
Date |
getDate(String headerName,
String format,
String... formatOptions)
Converts the
String value in the given column to a Date and returns the result. |
Double |
getDouble(Enum<?> column)
Converts the
String value in the given column to a Double and returns the result. |
Double |
getDouble(Enum<?> column,
String format,
String... formatOptions)
Converts the
String value in the given column to a Double and returns the result. |
Double |
getDouble(int columnIndex)
Converts the
String value in the given column to a Double and returns the result. |
Double |
getDouble(int columnIndex,
String format,
String... formatOptions)
Converts the
String value in the given column to a Double and returns the result. |
Double |
getDouble(String headerName)
Converts the
String value in the given column to a Double and returns the result. |
Double |
getDouble(String headerName,
String format,
String... formatOptions)
Converts the
String value in the given column to a Double and returns the result. |
Float |
getFloat(Enum<?> column)
Converts the
String value in the given column to a Float and returns the result. |
Float |
getFloat(Enum<?> column,
String format,
String... formatOptions)
Converts the
String value in the given column to a Float and returns the result. |
Float |
getFloat(int columnIndex)
Converts the
String value in the given column to a Float and returns the result. |
Float |
getFloat(int columnIndex,
String format,
String... formatOptions)
Converts the
String value in the given column to a Float and returns the result. |
Float |
getFloat(String headerName)
Converts the
String value in the given column to a Float and returns the result. |
Float |
getFloat(String headerName,
String format,
String... formatOptions)
Converts the
String value in the given column to a Long and returns the result. |
Integer |
getInt(Enum<?> column)
Converts the
String value in the given column to a Integer and returns the result. |
Integer |
getInt(Enum<?> column,
String format,
String... formatOptions)
Converts the
String value in the given column to a Integer and returns the result. |
Integer |
getInt(int columnIndex)
Converts the
String value in the given column to a Integer and returns the result. |
Integer |
getInt(int columnIndex,
String format,
String... formatOptions)
Converts the
String value in the given column to a Integer and returns the result. |
Integer |
getInt(String headerName)
Converts the
String value in the given column to a Integer and returns the result. |
Integer |
getInt(String headerName,
String format,
String... formatOptions)
Converts the
String value in the given column to a Integer and returns the result. |
Long |
getLong(Enum<?> column)
Converts the
String value in the given column to a Long and returns the result. |
Long |
getLong(Enum<?> column,
String format,
String... formatOptions)
Converts the
String value in the given column to a Long and returns the result. |
Long |
getLong(int columnIndex)
Converts the
String value in the given column to a Long and returns the result. |
Long |
getLong(int columnIndex,
String format,
String... formatOptions)
Converts the
String value in the given column to a Long and returns the result. |
Long |
getLong(String headerName)
Converts the
String value in the given column to a Long and returns the result. |
Long |
getLong(String headerName,
String format,
String... formatOptions)
Converts the
String value in the given column to a Long and returns the result. |
RecordMetaData |
getMetaData()
Returns the
RecordMetaData associated with all records parsed from the input. |
Short |
getShort(Enum<?> column)
Converts the
String value in the given column to a Short and returns the result. |
Short |
getShort(Enum<?> column,
String format,
String... formatOptions)
Converts the
String value in the given column to a Short and returns the result. |
Short |
getShort(int columnIndex)
Converts the
String value in the given column to a Short and returns the result. |
Short |
getShort(int columnIndex,
String format,
String... formatOptions)
Converts the
String value in the given column to a Short and returns the result. |
Short |
getShort(String headerName)
Converts the
String value in the given column to a Short and returns the result. |
Short |
getShort(String headerName,
String format,
String... formatOptions)
Converts the
String value in the given column to a Short and returns the result. |
String |
getString(Enum<?> column)
Returns the
String value in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String) |
String |
getString(Enum<?> column,
int maxLength)
Returns the
String value in the given column, truncating it to a given maximum length |
String |
getString(int columnIndex)
Returns the
String value in the given column |
String |
getString(int columnIndex,
int maxLength)
Returns the
String value in the given column, truncating it to a given maximum length |
String |
getString(String headerName)
Returns the
String value in the given column |
String |
getString(String headerName,
int maxLength)
Returns the
String value in the given column, truncating it to a given maximum length |
<T> T |
getValue(Enum<?> column,
Class<T> expectedType)
Returns the value contained in the given column.
|
<T> T |
getValue(Enum<?> column,
Class<T> expectedType,
Conversion... conversions)
Returns the value contained in the given column, after applying a sequence of conversion over it.
|
<T> T |
getValue(Enum<?> column,
T defaultValue)
Returns the value contained in the given column, or a default value if the column contains
null |
<T> T |
getValue(Enum<?> column,
T defaultValue,
Conversion... conversions)
Returns the value contained in a given column, after applying a sequence of conversions over it.
|
<T> T |
getValue(int columnIndex,
Class<T> expectedType)
Returns the value contained in the given column.
|
<T> T |
getValue(int columnIndex,
Class<T> expectedType,
Conversion... conversions)
Returns the value contained in the given column, after applying a sequence of conversion over it.
|
<T> T |
getValue(int columnIndex,
T defaultValue)
Returns the value contained in the given column, or a default value if the column contains
null |
<T> T |
getValue(int columnIndex,
T defaultValue,
Conversion... conversions)
Returns the value contained in a given column, after applying a sequence of conversions over it.
|
<T> T |
getValue(String headerName,
Class<T> expectedType)
Returns the value contained in the given column.
|
<T> T |
getValue(String headerName,
Class<T> expectedType,
Conversion... conversions)
Returns the value contained in the given column, after applying a sequence of conversion over it.
|
<T> T |
getValue(String headerName,
T defaultValue)
Returns the value contained in the given column, or a default value if the column contains
null |
<T> T |
getValue(String headerName,
T defaultValue,
Conversion... conversions)
Returns the value contained in a given column, after applying a sequence of conversions over it.
|
String[] |
getValues()
Returns the plain values obtained from a record parsed from the input.
|
String[] |
getValues(Enum<?>... fields)
Returns a selection of plain values obtained from a record parsed from the input.
|
String[] |
getValues(int... fieldIndexes)
Returns a selection of plain values obtained from a record parsed from the input.
|
String[] |
getValues(String... fieldNames)
Returns a selection of plain values obtained from a record parsed from the input.
|
<T extends Enum<T>> |
toEnumMap(Class<T> enumType,
T... selectedColumns)
Converts the record into a map of
String values. |
<T extends Enum<T>> |
toEnumObjectMap(Class<T> enumType,
T... selectedColumns)
Converts the record into a map of
Object values. |
Map<String,String> |
toFieldMap(String... selectedFields)
Converts the record into a map of
String values. |
Map<String,Object> |
toFieldObjectMap(String... selectedFields)
Converts the record into a map of
Object values. |
Map<Integer,String> |
toIndexMap(int... selectedIndexes)
Converts the record into a map of
String values. |
Map<Integer,Object> |
toIndexObjectMap(int... selectedIndexes)
Converts the record into a map of
Object values. |
RecordMetaData getMetaData()
RecordMetaData associated with all records parsed from the input.
The metadata allows associating types, conversions and default values to any column, which
will be used when performing operations that can convert plain input strings into object instances.
Methods such as toFieldMap(String...), fillFieldMap(Map, String...) and any other
method that returns Objects will use the metadata information to perform data conversions.String[] getValues()
String array with all values parsed from the input for this record.String[] getValues(String... fieldNames)
fieldNames - sequence of field names whose values will be returned.String array with the selected values parsed from the input for this record.String[] getValues(int... fieldIndexes)
fieldIndexes - sequence of field indexes whose values will be returned.String array with the selected values parsed from the input for this record.String[] getValues(Enum<?>... fields)
fields - sequence of fields whose values will be returned.String array with the selected values parsed from the input for this record.<T> T getValue(String headerName, Class<T> expectedType)
T - the expected value typeheaderName - the name of the column whose value will be returnedexpectedType - the expected type of the value. A conversion will be executed against the value
to produce a result with the expected type.<T> T getValue(Enum<?> column, Class<T> expectedType)
T - the expected value typecolumn - the column whose value will be returnedexpectedType - the expected type of the value. A conversion will be executed against the value
to produce a result with the expected type.<T> T getValue(int columnIndex,
Class<T> expectedType)
T - the expected value typecolumnIndex - the position of the column whose value will be returnedexpectedType - the expected type of the value. A conversion will be executed against the value
to produce a result with the expected type.<T> T getValue(String headerName, Class<T> expectedType, Conversion... conversions)
T - the expected value typeheaderName - the name of the column whose value will be returnedexpectedType - the expected type of the value. A conversion will be executed against the value
to produce a result with the expected type.conversions - the sequence of Conversions to apply over the column value.<T> T getValue(Enum<?> column, Class<T> expectedType, Conversion... conversions)
T - the expected value typecolumn - the column whose value will be returnedexpectedType - the expected type of the value. A conversion will be executed against the value
to produce a result with the expected type.conversions - the sequence of Conversions to apply over the column value.<T> T getValue(int columnIndex,
Class<T> expectedType,
Conversion... conversions)
T - the expected value typecolumnIndex - the index of the column whose value will be returnedexpectedType - the expected type of the value. A conversion will be executed against the value
to produce a result with the expected type.conversions - the sequence of Conversions to apply over the column value.<T> T getValue(String headerName, T defaultValue)
nullT - the expected value typeheaderName - the name of the column whose value will be returneddefaultValue - The default value to use if the column contains null. Its type will be used to derive
the expected type of the value. A conversion will be executed against the value
to produce a result with the expected type.null<T> T getValue(Enum<?> column, T defaultValue)
nullT - the expected value typecolumn - the column whose value will be returneddefaultValue - The default value to use if the column contains null. Its type will be used to derive
the expected type of the value. A conversion will be executed against the value
to produce a result with the expected type.null<T> T getValue(int columnIndex,
T defaultValue)
nullT - the expected value typecolumnIndex - index of the column whose value will be returneddefaultValue - The default value to use if the column contains null. Its type will be used to derive
the expected type of the value. A conversion will be executed against the value
to produce a result with the expected type.null<T> T getValue(String headerName, T defaultValue, Conversion... conversions)
T - the expected value typeheaderName - the name of the column whose value will be returneddefaultValue - The default value to use if the column contains null.conversions - the sequence of Conversions to apply over the column value.<T> T getValue(Enum<?> column, T defaultValue, Conversion... conversions)
T - the expected value typecolumn - the column whose value will be returneddefaultValue - The default value to use if the column contains null.conversions - the sequence of Conversions to apply over the column value.<T> T getValue(int columnIndex,
T defaultValue,
Conversion... conversions)
T - the expected value typecolumnIndex - the index of the column whose value will be returneddefaultValue - The default value to use if the column contains null.conversions - the sequence of Conversions to apply over the column value.String getString(String headerName)
String value in the given columnheaderName - the name of the columnnull or the
default value specified in RecordMetaData.defaultValueOf(String)String getString(Enum<?> column)
String value in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)column - the columnnull or the
default value specified in RecordMetaData.defaultValueOf(String)String getString(int columnIndex, int maxLength)
String value in the given column, truncating it to a given maximum lengthcolumnIndex - the index of the columnmaxLength - the maximum number of characters to be returned.null or the
default value specified in RecordMetaData.defaultValueOf(String)String getString(String headerName, int maxLength)
String value in the given column, truncating it to a given maximum lengthheaderName - the name of the columnmaxLength - the maximum number of characters to be returned.null or the
default value specified in RecordMetaData.defaultValueOf(String)String getString(Enum<?> column, int maxLength)
String value in the given column, truncating it to a given maximum lengthcolumn - the columnmaxLength - the maximum number of characters to be returned.null or the
default value specified in RecordMetaData.defaultValueOf(String)String getString(int columnIndex)
String value in the given columncolumnIndex - the index of the columnnull or the
default value specified in RecordMetaData.defaultValueOf(String)Byte getByte(String headerName, String format, String... formatOptions)
String value in the given column to a Byte and returns the result.
The ByteConversion conversion will be used perform the transformation.headerName - the name of the columnformat - the numeric mask to apply over the parsed contentformatOptions - a sequence of key-value pairs with options to configure the underlying formatter.
Each element must be specified as property_name=property_value,
e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}Byte stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Byte getByte(Enum<?> column, String format, String... formatOptions)
String value in the given column to a Byte and returns the result.
The ByteConversion conversion will be used perform the transformation.column - the columnformat - the numeric mask to apply over the parsed contentformatOptions - a sequence of key-value pairs with options to configure the underlying formatter.
Each element must be specified as property_name=property_value,
e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}Byte stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Byte getByte(int columnIndex, String format, String... formatOptions)
String value in the given column to a Byte and returns the result.
The ByteConversion conversion will be used perform the transformation.columnIndex - the index of columnformat - the numeric mask to apply over the parsed contentformatOptions - a sequence of key-value pairs with options to configure the underlying formatter.
Each element must be specified as property_name=property_value,
e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}Byte stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Short getShort(String headerName, String format, String... formatOptions)
String value in the given column to a Short and returns the result.
The ShortConversion conversion will be used perform the transformation.headerName - the name of the columnformat - the numeric mask to apply over the parsed contentformatOptions - a sequence of key-value pairs with options to configure the underlying formatter.
Each element must be specified as property_name=property_value,
e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}Short stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Short getShort(Enum<?> column, String format, String... formatOptions)
String value in the given column to a Short and returns the result.
The ShortConversion conversion will be used perform the transformation.column - the columnformat - the numeric mask to apply over the parsed contentformatOptions - a sequence of key-value pairs with options to configure the underlying formatter.
Each element must be specified as property_name=property_value,
e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}Short stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Short getShort(int columnIndex, String format, String... formatOptions)
String value in the given column to a Short and returns the result.
The ShortConversion conversion will be used perform the transformation.columnIndex - the index of columnformat - the numeric mask to apply over the parsed contentformatOptions - a sequence of key-value pairs with options to configure the underlying formatter.
Each element must be specified as property_name=property_value,
e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}Short stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Integer getInt(String headerName, String format, String... formatOptions)
String value in the given column to a Integer and returns the result.
The IntegerConversion conversion will be used perform the transformation.headerName - the name of the columnformat - the numeric mask to apply over the parsed contentformatOptions - a sequence of key-value pairs with options to configure the underlying formatter.
Each element must be specified as property_name=property_value,
e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}Integer stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Integer getInt(Enum<?> column, String format, String... formatOptions)
String value in the given column to a Integer and returns the result.
The IntegerConversion conversion will be used perform the transformation.column - the columnformat - the numeric mask to apply over the parsed contentformatOptions - a sequence of key-value pairs with options to configure the underlying formatter.
Each element must be specified as property_name=property_value,
e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}Integer stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Integer getInt(int columnIndex, String format, String... formatOptions)
String value in the given column to a Integer and returns the result.
The IntegerConversion conversion will be used perform the transformation.columnIndex - the index of columnformat - the numeric mask to apply over the parsed contentformatOptions - a sequence of key-value pairs with options to configure the underlying formatter.
Each element must be specified as property_name=property_value,
e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}Integer stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Long getLong(String headerName, String format, String... formatOptions)
String value in the given column to a Long and returns the result.
The LongConversion conversion will be used perform the transformation.headerName - the name of the columnformat - the numeric mask to apply over the parsed contentformatOptions - a sequence of key-value pairs with options to configure the underlying formatter.
Each element must be specified as property_name=property_value,
e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}Long stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Long getLong(Enum<?> column, String format, String... formatOptions)
String value in the given column to a Long and returns the result.
The LongConversion conversion will be used perform the transformation.column - the columnformat - the numeric mask to apply over the parsed contentformatOptions - a sequence of key-value pairs with options to configure the underlying formatter.
Each element must be specified as property_name=property_value,
e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}Long stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Long getLong(int columnIndex, String format, String... formatOptions)
String value in the given column to a Long and returns the result.
The LongConversion conversion will be used perform the transformation.columnIndex - the index of columnformat - the numeric mask to apply over the parsed contentformatOptions - a sequence of key-value pairs with options to configure the underlying formatter.
Each element must be specified as property_name=property_value,
e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}Long stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Float getFloat(String headerName, String format, String... formatOptions)
String value in the given column to a Long and returns the result.
The FloatConversion conversion will be used perform the transformation.headerName - the name of the columnformat - the numeric mask to apply over the parsed contentformatOptions - a sequence of key-value pairs with options to configure the underlying formatter.
Each element must be specified as property_name=property_value,
e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}Long stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Float getFloat(Enum<?> column, String format, String... formatOptions)
String value in the given column to a Float and returns the result.
The FloatConversion conversion will be used perform the transformation.column - the columnformat - the numeric mask to apply over the parsed contentformatOptions - a sequence of key-value pairs with options to configure the underlying formatter.
Each element must be specified as property_name=property_value,
e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}Float stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Float getFloat(int columnIndex, String format, String... formatOptions)
String value in the given column to a Float and returns the result.
The FloatConversion conversion will be used perform the transformation.columnIndex - the index of columnformat - the numeric mask to apply over the parsed contentformatOptions - a sequence of key-value pairs with options to configure the underlying formatter.
Each element must be specified as property_name=property_value,
e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}Float stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Double getDouble(String headerName, String format, String... formatOptions)
String value in the given column to a Double and returns the result.
The DoubleConversion conversion will be used perform the transformation.headerName - the name of the columnformat - the numeric mask to apply over the parsed contentformatOptions - a sequence of key-value pairs with options to configure the underlying formatter.
Each element must be specified as property_name=property_value,
e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}Double stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Double getDouble(Enum<?> column, String format, String... formatOptions)
String value in the given column to a Double and returns the result.
The DoubleConversion conversion will be used perform the transformation.column - the columnformat - the numeric mask to apply over the parsed contentformatOptions - a sequence of key-value pairs with options to configure the underlying formatter.
Each element must be specified as property_name=property_value,
e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}Double stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Double getDouble(int columnIndex, String format, String... formatOptions)
String value in the given column to a Double and returns the result.
The DoubleConversion conversion will be used perform the transformation.columnIndex - the index of columnformat - the numeric mask to apply over the parsed contentformatOptions - a sequence of key-value pairs with options to configure the underlying formatter.
Each element must be specified as property_name=property_value,
e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}Double stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Byte getByte(String headerName)
String value in the given column to a Byte and returns the result.
The ByteConversion conversion will be used perform the transformation.headerName - the column nameByte stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Byte getByte(Enum<?> column)
String value in the given column to a Byte and returns the result.
The ByteConversion conversion will be used perform the transformation.column - the columnByte stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Byte getByte(int columnIndex)
String value in the given column to a Byte and returns the result.
The ByteConversion conversion will be used perform the transformation.columnIndex - the columnIndexByte stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Short getShort(String headerName)
String value in the given column to a Short and returns the result.
The ShortConversion conversion will be used perform the transformation.headerName - the column nameShort stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Short getShort(Enum<?> column)
String value in the given column to a Short and returns the result.
The ShortConversion conversion will be used perform the transformation.column - the columnShort stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Short getShort(int columnIndex)
String value in the given column to a Short and returns the result.
The ShortConversion conversion will be used perform the transformation.columnIndex - the columnIndexShort stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Integer getInt(String headerName)
String value in the given column to a Integer and returns the result.
The IntegerConversion conversion will be used perform the transformation.headerName - the column nameInteger stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Integer getInt(Enum<?> column)
String value in the given column to a Integer and returns the result.
The IntegerConversion conversion will be used perform the transformation.column - the columnInteger stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Integer getInt(int columnIndex)
String value in the given column to a Integer and returns the result.
The IntegerConversion conversion will be used perform the transformation.columnIndex - the columnIndexInteger stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Long getLong(String headerName)
String value in the given column to a Long and returns the result.
The LongConversion conversion will be used perform the transformation.headerName - the column nameLong stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Long getLong(Enum<?> column)
String value in the given column to a Long and returns the result.
The LongConversion conversion will be used perform the transformation.column - the columnLong stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Long getLong(int columnIndex)
String value in the given column to a Long and returns the result.
The LongConversion conversion will be used perform the transformation.columnIndex - the columnIndexLong stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Float getFloat(String headerName)
String value in the given column to a Float and returns the result.
The FloatConversion conversion will be used perform the transformation.headerName - the column nameFloat stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Float getFloat(Enum<?> column)
String value in the given column to a Float and returns the result.
The FloatConversion conversion will be used perform the transformation.column - the columnFloat stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Float getFloat(int columnIndex)
String value in the given column to a Float and returns the result.
The FloatConversion conversion will be used perform the transformation.columnIndex - the columnIndexFloat stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Double getDouble(String headerName)
String value in the given column to a Double and returns the result.
The DoubleConversion conversion will be used perform the transformation.headerName - the column nameDouble stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Double getDouble(Enum<?> column)
String value in the given column to a Double and returns the result.
The DoubleConversion conversion will be used perform the transformation.column - the columnDouble stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Double getDouble(int columnIndex)
String value in the given column to a Double and returns the result.
The DoubleConversion conversion will be used perform the transformation.columnIndex - the columnIndexDouble stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Character getChar(String headerName)
String value in the given column to a Character and returns the result.
The CharacterConversion conversion will be used perform the transformation.headerName - the column nameCharacter stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Character getChar(Enum<?> column)
String value in the given column to a Character and returns the result.
The CharacterConversion conversion will be used perform the transformation.column - the columnCharacter stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Character getChar(int columnIndex)
String value in the given column to a Character and returns the result.
The CharacterConversion conversion will be used perform the transformation.columnIndex - the column indexCharacter stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Boolean getBoolean(String headerName)
String value in the given column to a Boolean and returns the result.
The BooleanConversion conversion will be used perform the transformation.headerName - the column nameBoolean stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Boolean getBoolean(Enum<?> column)
String value in the given column to a Boolean and returns the result.
The BooleanConversion conversion will be used perform the transformation.column - the columnBoolean stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Boolean getBoolean(int columnIndex)
String value in the given column to a Boolean and returns the result.
The BooleanConversion conversion will be used perform the transformation.columnIndex - the column indexBoolean stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Boolean getBoolean(String headerName, String trueString, String falseString)
String value in the given column to a Boolean and returns the result.
The BooleanConversion conversion will be used perform the transformation.headerName - the column nametrueString - a String that represents the Boolean value truefalseString - a String that represents the Boolean value falseBoolean stored in the given column if its original String value matches
either the trueString or falseString, otherwise null or the default specified in RecordMetaData.defaultValueOf(String)Boolean getBoolean(Enum<?> column, String trueString, String falseString)
String value in the given column to a Boolean and returns the result.
The BooleanConversion conversion will be used perform the transformation.column - the columntrueString - a String that represents the Boolean value truefalseString - a String that represents the Boolean value falseBoolean stored in the given column if its original String value matches
either the trueString or falseString, otherwise null or the default specified in RecordMetaData.defaultValueOf(String)Boolean getBoolean(int columnIndex, String trueString, String falseString)
String value in the given column to a Boolean and returns the result.
The BooleanConversion conversion will be used perform the transformation.columnIndex - the column indextrueString - a String that represents the Boolean value truefalseString - a String that represents the Boolean value falseBoolean stored in the given column if its original String value matches
either the trueString or falseString, otherwise null or the default specified in RecordMetaData.defaultValueOf(String)BigInteger getBigInteger(String headerName, String format, String... formatOptions)
String value in the given column to a BigInteger and returns the result.
The BigIntegerConversion conversion will be used perform the transformation.headerName - the column nameformat - the numeric mask to apply over the parsed contentformatOptions - a sequence of key-value pairs with options to configure the underlying formatter.
Each element must be specified as property_name=property_value,
e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}BigInteger stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)BigInteger getBigInteger(Enum<?> column, String format, String... formatOptions)
String value in the given column to a BigInteger and returns the result.
The BigIntegerConversion conversion will be used perform the transformation.column - the columnformat - the numeric mask to apply over the parsed contentformatOptions - a sequence of key-value pairs with options to configure the underlying formatter.
Each element must be specified as property_name=property_value,
e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}BigInteger stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)BigInteger getBigInteger(int columnIndex, String format, String... formatOptions)
String value in the given column to a BigInteger and returns the result.
The BigIntegerConversion conversion will be used perform the transformation.columnIndex - the index of columnformat - the numeric mask to apply over the parsed contentformatOptions - a sequence of key-value pairs with options to configure the underlying formatter.
Each element must be specified as property_name=property_value,
e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}BigInteger stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)BigDecimal getBigDecimal(String headerName, String format, String... formatOptions)
String value in the given column to a BigDecimal and returns the result.
The BigDecimalConversion conversion will be used perform the transformation.headerName - the column nameformat - the numeric mask to apply over the parsed contentformatOptions - a sequence of key-value pairs with options to configure the underlying formatter.
Each element must be specified as property_name=property_value,
e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}BigDecimal stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)BigDecimal getBigDecimal(Enum<?> column, String format, String... formatOptions)
String value in the given column to a BigDecimal and returns the result.
The BigDecimalConversion conversion will be used perform the transformation.column - the columnformat - the numeric mask to apply over the parsed contentformatOptions - a sequence of key-value pairs with options to configure the underlying formatter.
Each element must be specified as property_name=property_value,
e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}BigDecimal stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)BigDecimal getBigDecimal(int columnIndex, String format, String... formatOptions)
String value in the given column to a BigDecimal and returns the result.
The BigDecimalConversion conversion will be used perform the transformation.columnIndex - the index of columnformat - the numeric mask to apply over the parsed contentformatOptions - a sequence of key-value pairs with options to configure the underlying formatter.
Each element must be specified as property_name=property_value,
e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}BigDecimal stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)BigInteger getBigInteger(String headerName)
String value in the given column to a BigInteger and returns the result.
The BigIntegerConversion conversion will be used perform the transformation.headerName - the column nameBigInteger stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)BigInteger getBigInteger(Enum<?> column)
String value in the given column to a BigInteger and returns the result.
The BigIntegerConversion conversion will be used perform the transformation.column - the columnBigInteger stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)BigInteger getBigInteger(int columnIndex)
String value in the given column to a BigInteger and returns the result.
The BigIntegerConversion conversion will be used perform the transformation.columnIndex - the columnIndexBigInteger stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)BigDecimal getBigDecimal(String headerName)
String value in the given column to a BigDecimal and returns the result.
The BigDecimalConversion conversion will be used perform the transformation.headerName - the column nameBigDecimal stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)BigDecimal getBigDecimal(Enum<?> column)
String value in the given column to a BigDecimal and returns the result.
The BigDecimalConversion conversion will be used perform the transformation.column - the columnBigDecimal stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)BigDecimal getBigDecimal(int columnIndex)
String value in the given column to a BigDecimal and returns the result.
The BigDecimalConversion conversion will be used perform the transformation.columnIndex - the columnIndexBigDecimal stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Date getDate(String headerName, String format, String... formatOptions)
String value in the given column to a Date and returns the result.
The DateConversion conversion will be used perform the transformation.headerName - the column nameformat - the numeric mask to apply over the parsed contentformatOptions - a sequence of key-value pairs with options to configure the underlying formatter.
Each element must be specified as property_name=property_value,
e.g. options={"lenient=true"}Date stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Date getDate(Enum<?> column, String format, String... formatOptions)
String value in the given column to a Date and returns the result.
The DateConversion conversion will be used perform the transformation.column - the columnformat - the date mask to apply over the parsed contentformatOptions - a sequence of key-value pairs with options to configure the underlying formatter.
Each element must be specified as property_name=property_value,
e.g. options={"lenient=true"}Date stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Date getDate(int columnIndex, String format, String... formatOptions)
String value in the given column to a Date and returns the result.
The DateConversion conversion will be used perform the transformation.columnIndex - the index of columnformat - the date mask to apply over the parsed contentformatOptions - a sequence of key-value pairs with options to configure the underlying formatter.
Each element must be specified as property_name=property_value,
e.g. options={"lenient=true"}Date stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Calendar getCalendar(String headerName, String format, String... formatOptions)
String value in the given column to a Calendar and returns the result.
The CalendarConversion conversion will be used perform the transformation.headerName - the column nameformat - the date mask to apply over the parsed contentformatOptions - a sequence of key-value pairs with options to configure the underlying formatter.
Each element must be specified as property_name=property_value,
e.g. options={"lenient=true"}Calendar stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Calendar getCalendar(Enum<?> column, String format, String... formatOptions)
String value in the given column to a Calendar and returns the result.
The CalendarConversion conversion will be used perform the transformation.column - the columnformat - the date mask to apply over the parsed contentformatOptions - a sequence of key-value pairs with options to configure the underlying formatter.
Each element must be specified as property_name=property_value,
e.g. options={"lenient=true"}Calendar stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Calendar getCalendar(int columnIndex, String format, String... formatOptions)
String value in the given column to a Calendar and returns the result.
The CalendarConversion conversion will be used perform the transformation.columnIndex - the index of columnformat - the date mask to apply over the parsed contentformatOptions - a sequence of key-value pairs with options to configure the underlying formatter.
Each element must be specified as property_name=property_value,
e.g. options={"lenient=true"}Calendar stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Date getDate(String headerName)
String value in the given column to a Date and returns the result.
The DateConversion conversion sequence registered using
RecordMetaData.convertFields(Conversion[]) will be used perform the transformation.headerName - the column nameDate stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Date getDate(Enum<?> column)
String value in the given column to a Date and returns the result.
The DateConversion conversion sequence registered using
RecordMetaData.convertFields(Conversion[]) will be used perform the transformation.column - the columnDate stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Date getDate(int columnIndex)
String value in the given column to a Date and returns the result.
The DateConversion conversion sequence registered using
RecordMetaData.convertFields(Conversion[]) will be used perform the transformation.columnIndex - the column indexDate stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Calendar getCalendar(String headerName)
String value in the given column to a Calendar and returns the result.
The CalendarConversion conversion sequence registered using
RecordMetaData.convertFields(Conversion[]) will be used perform the transformation.headerName - the column nameCalendar stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Calendar getCalendar(Enum<?> column)
String value in the given column to a Calendar and returns the result.
The CalendarConversion conversion sequence registered using
RecordMetaData.convertFields(Conversion[]) will be used perform the transformation.column - the columnCalendar stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Calendar getCalendar(int columnIndex)
String value in the given column to a Calendar and returns the result.
The CalendarConversion conversion sequence registered using
RecordMetaData.convertFields(Conversion[]) will be used perform the transformation.columnIndex - the column indexCalendar stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)Map<String,String> toFieldMap(String... selectedFields)
String values.selectedFields - the header names to use as keys of the map. If no selection then all headers will be used.Map<Integer,String> toIndexMap(int... selectedIndexes)
String values.selectedIndexes - the column indexes to use as keys of the map. If no selection then all indexes will be used.<T extends Enum<T>> Map<T,String> toEnumMap(Class<T> enumType, T... selectedColumns)
String values.T - the enumeration typeenumType - the enumeration type.selectedColumns - the columns to use as keys of the map. If no selection then all values of the enumeration type will be used.Map<String,String> fillFieldMap(Map<String,String> map, String... selectedFields)
String values of this record.map - the map that will receive the valuesselectedFields - the header names to use as keys of the mapMap<Integer,String> fillIndexMap(Map<Integer,String> map, int... selectedIndexes)
String values of this record.map - the map that will receive the valuesselectedIndexes - the column indexes to use as keys of the map<T extends Enum<T>> Map<T,String> fillEnumMap(Map<T,String> map, T... selectedColumns)
String values of this record.T - the enumeration typemap - the map that will receive the valuesselectedColumns - the column to use as keys of the mapMap<String,Object> toFieldObjectMap(String... selectedFields)
Object values. Conversions must be registered using
RecordMetaData.convertFields(Conversion[]) or RecordMetaData.convertIndexes(Conversion[]) (Conversion[])}.
Columns without a known conversion will have their values put into the map as plain Strings.selectedFields - the column names to use as keys of the mapMap<Integer,Object> toIndexObjectMap(int... selectedIndexes)
Object values. Conversions must be registered using
RecordMetaData.convertFields(Conversion[]) or RecordMetaData.convertIndexes(Conversion[]) (Conversion[])}.
Columns without a known conversion will have their values put into the map as plain Strings.selectedIndexes - the column indexes to use as keys of the map<T extends Enum<T>> Map<T,Object> toEnumObjectMap(Class<T> enumType, T... selectedColumns)
Object values. Conversions must be registered using
RecordMetaData.convertFields(Conversion[]) or RecordMetaData.convertIndexes(Conversion[]) (Conversion[])}.
Columns without a known conversion will have their values put into the map as plain Strings.T - the enumeration typeenumType - the enumeration type.selectedColumns - the column to use as keys of the mapMap<String,Object> fillFieldObjectMap(Map<String,Object> map, String... selectedFields)
Object values of this record. Conversions must be registered using
RecordMetaData.convertFields(Conversion[]) or RecordMetaData.convertIndexes(Conversion[]) (Conversion[])}.
Columns without a known conversion will have their values put into the map as plain Strings.map - the map that will receive the valuesselectedFields - the column names to use as keys of the mapMap<Integer,Object> fillIndexObjectMap(Map<Integer,Object> map, int... selectedIndexes)
Object values of this record. Conversions must be registered using
RecordMetaData.convertFields(Conversion[]) or RecordMetaData.convertIndexes(Conversion[]) (Conversion[])}.
Columns without a known conversion will have their values put into the map as plain Strings.map - the map that will receive the valuesselectedIndexes - the column indexes to use as keys of the map<T extends Enum<T>> Map<T,Object> fillEnumObjectMap(Map<T,Object> map, T... selectedColumns)
Object values of this record. Conversions must be registered using
RecordMetaData.convertFields(Conversion[]) or RecordMetaData.convertIndexes(Conversion[]) (Conversion[])}.
Columns without a known conversion will have their values put into the map as plain Strings.T - the enumeration typemap - the map that will receive the valuesselectedColumns - the column to use as keys of the mapCopyright © 2018 Univocity Software Pty Ltd. All rights reserved.