Class RecordImpl<C extends Context>
java.lang.Object
com.univocity.parsers.common.record.RecordImpl<C>
- All Implemented Interfaces:
Record
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate int[]
buildSelection
(int[] selectedIndexes) <T extends Enum<T>>
T[]buildSelection
(Class<T> enumType, T... selectedColumns) private String[]
buildSelection
(String[] selectedFields) boolean
fillEnumMap
(Map<T, String> map, T... selectedColumns) Fills a map with theString
values of this record.fillEnumObjectMap
(Map<T, Object> map, T... selectedColumns) Fills a map with the convertedObject
values of this record.fillFieldMap
(Map<String, String> map, String... selectedFields) Fills a map with theString
values of this record.fillFieldObjectMap
(Map<String, Object> map, String... selectedFields) Fills a map with the convertedObject
values of this record.fillIndexMap
(Map<Integer, String> map, int... selectedIndexes) Fills a map with theString
values of this record.fillIndexObjectMap
(Map<Integer, Object> map, int... selectedIndexes) Fills a map with the convertedObject
values of this record.getBigDecimal
(int columnIndex) Converts theString
value in the given column to aBigDecimal
and returns the result.getBigDecimal
(int columnIndex, String format, String... formatOptions) Converts theString
value in the given column to aBigDecimal
and returns the result.getBigDecimal
(Enum<?> column) Converts theString
value in the given column to aBigDecimal
and returns the result.getBigDecimal
(Enum<?> column, String format, String... formatOptions) Converts theString
value in the given column to aBigDecimal
and returns the result.getBigDecimal
(String headerName) Converts theString
value in the given column to aBigDecimal
and returns the result.getBigDecimal
(String headerName, String format, String... formatOptions) Converts theString
value in the given column to aBigDecimal
and returns the result.getBigInteger
(int columnIndex) Converts theString
value in the given column to aBigInteger
and returns the result.getBigInteger
(int columnIndex, String format, String... formatOptions) Converts theString
value in the given column to aBigInteger
and returns the result.getBigInteger
(Enum<?> column) Converts theString
value in the given column to aBigInteger
and returns the result.getBigInteger
(Enum<?> column, String format, String... formatOptions) Converts theString
value in the given column to aBigInteger
and returns the result.getBigInteger
(String headerName) Converts theString
value in the given column to aBigInteger
and returns the result.getBigInteger
(String headerName, String format, String... formatOptions) Converts theString
value in the given column to aBigInteger
and returns the result.getBoolean
(int columnIndex) Converts theString
value in the given column to aBoolean
and returns the result.getBoolean
(int columnIndex, String trueString, String falseString) Converts theString
value in the given column to aBoolean
and returns the result.getBoolean
(Enum<?> column) Converts theString
value in the given column to aBoolean
and returns the result.getBoolean
(Enum<?> column, String trueString, String falseString) Converts theString
value in the given column to aBoolean
and returns the result.getBoolean
(String headerName) Converts theString
value in the given column to aBoolean
and returns the result.getBoolean
(String headerName, String trueString, String falseString) Converts theString
value in the given column to aBoolean
and returns the result.getByte
(int columnIndex) Converts theString
value in the given column to aByte
and returns the result.Converts theString
value in the given column to aByte
and returns the result.Converts theString
value in the given column to aByte
and returns the result.Converts theString
value in the given column to aByte
and returns the result.Converts theString
value in the given column to aByte
and returns the result.Converts theString
value in the given column to aByte
and returns the result.getCalendar
(int columnIndex) Converts theString
value in the given column to aCalendar
and returns the result.getCalendar
(int columnIndex, String format, String... formatOptions) Converts theString
value in the given column to aCalendar
and returns the result.getCalendar
(Enum<?> column) Converts theString
value in the given column to aCalendar
and returns the result.getCalendar
(Enum<?> column, String format, String... formatOptions) Converts theString
value in the given column to aCalendar
and returns the result.getCalendar
(String headerName) Converts theString
value in the given column to aCalendar
and returns the result.getCalendar
(String headerName, String format, String... formatOptions) Converts theString
value in the given column to aCalendar
and returns the result.getChar
(int columnIndex) Converts theString
value in the given column to aCharacter
and returns the result.Converts theString
value in the given column to aCharacter
and returns the result.Converts theString
value in the given column to aCharacter
and returns the result.getDate
(int columnIndex) Converts theString
value in the given column to aDate
and returns the result.Converts theString
value in the given column to aDate
and returns the result.Converts theString
value in the given column to aDate
and returns the result.Converts theString
value in the given column to aDate
and returns the result.Converts theString
value in the given column to aDate
and returns the result.Converts theString
value in the given column to aDate
and returns the result.getDouble
(int columnIndex) Converts theString
value in the given column to aDouble
and returns the result.Converts theString
value in the given column to aDouble
and returns the result.Converts theString
value in the given column to aDouble
and returns the result.Converts theString
value in the given column to aDouble
and returns the result.Converts theString
value in the given column to aDouble
and returns the result.Converts theString
value in the given column to aDouble
and returns the result.getFloat
(int columnIndex) Converts theString
value in the given column to aFloat
and returns the result.Converts theString
value in the given column to aFloat
and returns the result.Converts theString
value in the given column to aFloat
and returns the result.Converts theString
value in the given column to aFloat
and returns the result.Converts theString
value in the given column to aFloat
and returns the result.Converts theString
value in the given column to aLong
and returns the result.getInt
(int columnIndex) Converts theString
value in the given column to aInteger
and returns the result.Converts theString
value in the given column to aInteger
and returns the result.Converts theString
value in the given column to aInteger
and returns the result.Converts theString
value in the given column to aInteger
and returns the result.Converts theString
value in the given column to aInteger
and returns the result.Converts theString
value in the given column to aInteger
and returns the result.getLong
(int columnIndex) Converts theString
value in the given column to aLong
and returns the result.Converts theString
value in the given column to aLong
and returns the result.Converts theString
value in the given column to aLong
and returns the result.Converts theString
value in the given column to aLong
and returns the result.Converts theString
value in the given column to aLong
and returns the result.Converts theString
value in the given column to aLong
and returns the result.Returns theRecordMetaData
associated with all records parsed from the input.getShort
(int columnIndex) Converts theString
value in the given column to aShort
and returns the result.Converts theString
value in the given column to aShort
and returns the result.Converts theString
value in the given column to aShort
and returns the result.Converts theString
value in the given column to aShort
and returns the result.Converts theString
value in the given column to aShort
and returns the result.Converts theString
value in the given column to aShort
and returns the result.getString
(int columnIndex) Returns theString
value in the given columngetString
(int columnIndex, int maxLength) Returns theString
value in the given column, truncating it to a given maximum lengthReturns theString
value in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
Returns theString
value in the given column, truncating it to a given maximum lengthReturns theString
value in the given columnReturns theString
value in the given column, truncating it to a given maximum length<T> T
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 containsnull
<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
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
Returns the value contained in the given column, or a default value if the column containsnull
<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
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
Returns the value contained in the given column, or a default value if the column containsnull
<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[]
Returns the 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[]
Returns a selection of plain values obtained from a record parsed from the input.String[]
Returns a selection of plain values obtained from a record parsed from the input.int
hashCode()
Converts the record into a map ofString
values.toEnumObjectMap
(Class<T> enumType, T... selectedColumns) Converts the record into a map ofObject
values.toFieldMap
(String... selectedFields) Converts the record into a map ofString
values.toFieldObjectMap
(String... selectedFields) Converts the record into a map ofObject
values.toIndexMap
(int... selectedIndexes) Converts the record into a map ofString
values.toIndexObjectMap
(int... selectedIndex) Converts the record into a map ofObject
values.toString()
private String
-
Field Details
-
data
-
metaData
-
-
Constructor Details
-
RecordImpl
RecordImpl(String[] data, RecordMetaDataImpl metaData)
-
-
Method Details
-
getMetaData
Description copied from interface:Record
Returns theRecordMetaData
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 asRecord.toFieldMap(String...)
,Record.fillFieldMap(Map, String...)
and any other method that returns Objects will use the metadata information to perform data conversions.- Specified by:
getMetaData
in interfaceRecord
- Returns:
- the metadata object that provides information and basic data conversion controls over all records parsed from the input.
-
getValues
Description copied from interface:Record
Returns the plain values obtained from a record parsed from the input. -
getValue
Description copied from interface:Record
Returns the value contained in the given column.- Specified by:
getValue
in interfaceRecord
- Type Parameters:
T
- the expected value type- Parameters:
headerName
- 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.- Returns:
- the value this record holds at the given column
-
getValue
Description copied from interface:Record
Returns the value contained in the given column.- Specified by:
getValue
in interfaceRecord
- Type Parameters:
T
- the expected value type- Parameters:
column
- 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.- Returns:
- the value this record holds at the given column
-
getValue
Description copied from interface:Record
Returns the value contained in the given column.- Specified by:
getValue
in interfaceRecord
- Type Parameters:
T
- the expected value type- Parameters:
columnIndex
- 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.- Returns:
- the value this record holds at the given column
-
getValue
Description copied from interface:Record
Returns the value contained in the given column, after applying a sequence of conversion over it.- Specified by:
getValue
in interfaceRecord
- Type Parameters:
T
- the expected value type- Parameters:
headerName
- 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 ofConversion
s to apply over the column value.- Returns:
- the value this record holds at the given column
-
getValue
Description copied from interface:Record
Returns the value contained in the given column, after applying a sequence of conversion over it.- Specified by:
getValue
in interfaceRecord
- Type Parameters:
T
- the expected value type- Parameters:
column
- 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 ofConversion
s to apply over the column value.- Returns:
- the value this record holds at the given column
-
getValue
Description copied from interface:Record
Returns the value contained in the given column, after applying a sequence of conversion over it.- Specified by:
getValue
in interfaceRecord
- Type Parameters:
T
- the expected value type- Parameters:
columnIndex
- 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 ofConversion
s to apply over the column value.- Returns:
- the value this record holds at the given column
-
getValue
Description copied from interface:Record
Returns the value contained in the given column, or a default value if the column containsnull
- Specified by:
getValue
in interfaceRecord
- Type Parameters:
T
- the expected value type- Parameters:
headerName
- the name of the column whose value will be returneddefaultValue
- The default value to use if the column containsnull
. 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.- Returns:
- the value this record holds at the given column, or the default value in case the columns is
null
-
getValue
Description copied from interface:Record
Returns the value contained in the given column, or a default value if the column containsnull
- Specified by:
getValue
in interfaceRecord
- Type Parameters:
T
- the expected value type- Parameters:
column
- the column whose value will be returneddefaultValue
- The default value to use if the column containsnull
. 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.- Returns:
- the value this record holds at the given column, or the default value in case the columns is
null
-
getValue
public <T> T getValue(int columnIndex, T defaultValue) Description copied from interface:Record
Returns the value contained in the given column, or a default value if the column containsnull
- Specified by:
getValue
in interfaceRecord
- Type Parameters:
T
- the expected value type- Parameters:
columnIndex
- index of the column whose value will be returneddefaultValue
- The default value to use if the column containsnull
. 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.- Returns:
- the value this record holds at the given column, or the default value in case the column is
null
-
getValue
Description copied from interface:Record
Returns the value contained in a given column, after applying a sequence of conversions over it.- Specified by:
getValue
in interfaceRecord
- Type Parameters:
T
- the expected value type- Parameters:
headerName
- the name of the column whose value will be returneddefaultValue
- The default value to use if the column containsnull
.conversions
- the sequence ofConversion
s to apply over the column value.- Returns:
- the value this record holds at the given column
-
getValue
Description copied from interface:Record
Returns the value contained in a given column, after applying a sequence of conversions over it.- Specified by:
getValue
in interfaceRecord
- Type Parameters:
T
- the expected value type- Parameters:
column
- the column whose value will be returneddefaultValue
- The default value to use if the column containsnull
.conversions
- the sequence ofConversion
s to apply over the column value.- Returns:
- the value this record holds at the given column
-
getValue
Description copied from interface:Record
Returns the value contained in a given column, after applying a sequence of conversions over it.- Specified by:
getValue
in interfaceRecord
- Type Parameters:
T
- the expected value type- Parameters:
columnIndex
- the index of the column whose value will be returneddefaultValue
- The default value to use if the column containsnull
.conversions
- the sequence ofConversion
s to apply over the column value.- Returns:
- the value this record holds at the given column
-
getString
Description copied from interface:Record
Returns theString
value in the given column- Specified by:
getString
in interfaceRecord
- Parameters:
headerName
- the name of the column- Returns:
- the value stored in the given column,
null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getString
Description copied from interface:Record
Returns theString
value in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
- Specified by:
getString
in interfaceRecord
- Parameters:
column
- the column- Returns:
- the value stored in the given column,
null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getString
Description copied from interface:Record
Returns theString
value in the given column- Specified by:
getString
in interfaceRecord
- Parameters:
columnIndex
- the index of the column- Returns:
- the value stored in the given column,
null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getString
Description copied from interface:Record
Returns theString
value in the given column, truncating it to a given maximum length- Specified by:
getString
in interfaceRecord
- Parameters:
headerName
- the name of the columnmaxLength
- the maximum number of characters to be returned.- Returns:
- the value stored in the given column,
null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getString
Description copied from interface:Record
Returns theString
value in the given column, truncating it to a given maximum length- Specified by:
getString
in interfaceRecord
- Parameters:
column
- the columnmaxLength
- the maximum number of characters to be returned.- Returns:
- the value stored in the given column,
null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getString
Description copied from interface:Record
Returns theString
value in the given column, truncating it to a given maximum length- Specified by:
getString
in interfaceRecord
- Parameters:
columnIndex
- the index of the columnmaxLength
- the maximum number of characters to be returned.- Returns:
- the value stored in the given column,
null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
truncate
-
getByte
Description copied from interface:Record
Converts theString
value in the given column to aByte
and returns the result. TheByteConversion
conversion will be used perform the transformation.- Specified by:
getByte
in interfaceRecord
- Parameters:
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 asproperty_name=property_value
, e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}- Returns:
- the
Byte
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getByte
Description copied from interface:Record
Converts theString
value in the given column to aByte
and returns the result. TheByteConversion
conversion will be used perform the transformation.- Specified by:
getByte
in interfaceRecord
- Parameters:
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 asproperty_name=property_value
, e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}- Returns:
- the
Byte
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getByte
Description copied from interface:Record
Converts theString
value in the given column to aByte
and returns the result. TheByteConversion
conversion will be used perform the transformation.- Specified by:
getByte
in interfaceRecord
- Parameters:
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 asproperty_name=property_value
, e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}- Returns:
- the
Byte
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getShort
Description copied from interface:Record
Converts theString
value in the given column to aShort
and returns the result. TheShortConversion
conversion will be used perform the transformation.- Specified by:
getShort
in interfaceRecord
- Parameters:
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 asproperty_name=property_value
, e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}- Returns:
- the
Short
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getShort
Description copied from interface:Record
Converts theString
value in the given column to aShort
and returns the result. TheShortConversion
conversion will be used perform the transformation.- Specified by:
getShort
in interfaceRecord
- Parameters:
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 asproperty_name=property_value
, e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}- Returns:
- the
Short
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getShort
Description copied from interface:Record
Converts theString
value in the given column to aShort
and returns the result. TheShortConversion
conversion will be used perform the transformation.- Specified by:
getShort
in interfaceRecord
- Parameters:
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 asproperty_name=property_value
, e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}- Returns:
- the
Short
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getInt
Description copied from interface:Record
Converts theString
value in the given column to aInteger
and returns the result. TheIntegerConversion
conversion will be used perform the transformation.- Specified by:
getInt
in interfaceRecord
- Parameters:
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 asproperty_name=property_value
, e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}- Returns:
- the
Integer
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getInt
Description copied from interface:Record
Converts theString
value in the given column to aInteger
and returns the result. TheIntegerConversion
conversion will be used perform the transformation.- Specified by:
getInt
in interfaceRecord
- Parameters:
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 asproperty_name=property_value
, e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}- Returns:
- the
Integer
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getInt
Description copied from interface:Record
Converts theString
value in the given column to aInteger
and returns the result. TheIntegerConversion
conversion will be used perform the transformation.- Specified by:
getInt
in interfaceRecord
- Parameters:
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 asproperty_name=property_value
, e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}- Returns:
- the
Integer
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getLong
Description copied from interface:Record
Converts theString
value in the given column to aLong
and returns the result. TheLongConversion
conversion will be used perform the transformation.- Specified by:
getLong
in interfaceRecord
- Parameters:
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 asproperty_name=property_value
, e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}- Returns:
- the
Long
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getLong
Description copied from interface:Record
Converts theString
value in the given column to aLong
and returns the result. TheLongConversion
conversion will be used perform the transformation.- Specified by:
getLong
in interfaceRecord
- Parameters:
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 asproperty_name=property_value
, e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}- Returns:
- the
Long
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getLong
Description copied from interface:Record
Converts theString
value in the given column to aLong
and returns the result. TheLongConversion
conversion will be used perform the transformation.- Specified by:
getLong
in interfaceRecord
- Parameters:
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 asproperty_name=property_value
, e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}- Returns:
- the
Long
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getFloat
Description copied from interface:Record
Converts theString
value in the given column to aLong
and returns the result. TheFloatConversion
conversion will be used perform the transformation.- Specified by:
getFloat
in interfaceRecord
- Parameters:
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 asproperty_name=property_value
, e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}- Returns:
- the
Long
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getFloat
Description copied from interface:Record
Converts theString
value in the given column to aFloat
and returns the result. TheFloatConversion
conversion will be used perform the transformation.- Specified by:
getFloat
in interfaceRecord
- Parameters:
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 asproperty_name=property_value
, e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}- Returns:
- the
Float
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getFloat
Description copied from interface:Record
Converts theString
value in the given column to aFloat
and returns the result. TheFloatConversion
conversion will be used perform the transformation.- Specified by:
getFloat
in interfaceRecord
- Parameters:
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 asproperty_name=property_value
, e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}- Returns:
- the
Float
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getDouble
Description copied from interface:Record
Converts theString
value in the given column to aDouble
and returns the result. TheDoubleConversion
conversion will be used perform the transformation.- Specified by:
getDouble
in interfaceRecord
- Parameters:
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 asproperty_name=property_value
, e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}- Returns:
- the
Double
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getDouble
Description copied from interface:Record
Converts theString
value in the given column to aDouble
and returns the result. TheDoubleConversion
conversion will be used perform the transformation.- Specified by:
getDouble
in interfaceRecord
- Parameters:
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 asproperty_name=property_value
, e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}- Returns:
- the
Double
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getDouble
Description copied from interface:Record
Converts theString
value in the given column to aDouble
and returns the result. TheDoubleConversion
conversion will be used perform the transformation.- Specified by:
getDouble
in interfaceRecord
- Parameters:
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 asproperty_name=property_value
, e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}- Returns:
- the
Double
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getChar
Description copied from interface:Record
Converts theString
value in the given column to aCharacter
and returns the result. TheCharacterConversion
conversion will be used perform the transformation.- Specified by:
getChar
in interfaceRecord
- Parameters:
headerName
- the column name- Returns:
- the
Character
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getChar
Description copied from interface:Record
Converts theString
value in the given column to aCharacter
and returns the result. TheCharacterConversion
conversion will be used perform the transformation.- Specified by:
getChar
in interfaceRecord
- Parameters:
column
- the column- Returns:
- the
Character
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getChar
Description copied from interface:Record
Converts theString
value in the given column to aCharacter
and returns the result. TheCharacterConversion
conversion will be used perform the transformation.- Specified by:
getChar
in interfaceRecord
- Parameters:
columnIndex
- the column index- Returns:
- the
Character
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getBoolean
Description copied from interface:Record
Converts theString
value in the given column to aBoolean
and returns the result. TheBooleanConversion
conversion will be used perform the transformation.- Specified by:
getBoolean
in interfaceRecord
- Parameters:
headerName
- the column name- Returns:
- the
Boolean
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getBoolean
Description copied from interface:Record
Converts theString
value in the given column to aBoolean
and returns the result. TheBooleanConversion
conversion will be used perform the transformation.- Specified by:
getBoolean
in interfaceRecord
- Parameters:
column
- the column- Returns:
- the
Boolean
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getBoolean
Description copied from interface:Record
Converts theString
value in the given column to aBoolean
and returns the result. TheBooleanConversion
conversion will be used perform the transformation.- Specified by:
getBoolean
in interfaceRecord
- Parameters:
columnIndex
- the column index- Returns:
- the
Boolean
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getBoolean
Description copied from interface:Record
Converts theString
value in the given column to aBoolean
and returns the result. TheBooleanConversion
conversion will be used perform the transformation.- Specified by:
getBoolean
in interfaceRecord
- Parameters:
headerName
- the column nametrueString
- aString
that represents theBoolean
valuetrue
falseString
- aString
that represents theBoolean
valuefalse
- Returns:
- the
Boolean
stored in the given column if its originalString
value matches either the trueString or falseString, otherwisenull
or the default specified inRecordMetaData.defaultValueOf(String)
-
getBoolean
Description copied from interface:Record
Converts theString
value in the given column to aBoolean
and returns the result. TheBooleanConversion
conversion will be used perform the transformation.- Specified by:
getBoolean
in interfaceRecord
- Parameters:
column
- the columntrueString
- aString
that represents theBoolean
valuetrue
falseString
- aString
that represents theBoolean
valuefalse
- Returns:
- the
Boolean
stored in the given column if its originalString
value matches either the trueString or falseString, otherwisenull
or the default specified inRecordMetaData.defaultValueOf(String)
-
getBoolean
Description copied from interface:Record
Converts theString
value in the given column to aBoolean
and returns the result. TheBooleanConversion
conversion will be used perform the transformation.- Specified by:
getBoolean
in interfaceRecord
- Parameters:
columnIndex
- the column indextrueString
- aString
that represents theBoolean
valuetrue
falseString
- aString
that represents theBoolean
valuefalse
- Returns:
- the
Boolean
stored in the given column if its originalString
value matches either the trueString or falseString, otherwisenull
or the default specified inRecordMetaData.defaultValueOf(String)
-
getBigInteger
Description copied from interface:Record
Converts theString
value in the given column to aBigInteger
and returns the result. TheBigIntegerConversion
conversion will be used perform the transformation.- Specified by:
getBigInteger
in interfaceRecord
- Parameters:
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 asproperty_name=property_value
, e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}- Returns:
- the
BigInteger
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getBigInteger
Description copied from interface:Record
Converts theString
value in the given column to aBigInteger
and returns the result. TheBigIntegerConversion
conversion will be used perform the transformation.- Specified by:
getBigInteger
in interfaceRecord
- Parameters:
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 asproperty_name=property_value
, e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}- Returns:
- the
BigInteger
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getBigInteger
Description copied from interface:Record
Converts theString
value in the given column to aBigInteger
and returns the result. TheBigIntegerConversion
conversion will be used perform the transformation.- Specified by:
getBigInteger
in interfaceRecord
- Parameters:
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 asproperty_name=property_value
, e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}- Returns:
- the
BigInteger
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getBigDecimal
Description copied from interface:Record
Converts theString
value in the given column to aBigDecimal
and returns the result. TheBigDecimalConversion
conversion will be used perform the transformation.- Specified by:
getBigDecimal
in interfaceRecord
- Parameters:
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 asproperty_name=property_value
, e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}- Returns:
- the
BigDecimal
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getBigDecimal
Description copied from interface:Record
Converts theString
value in the given column to aBigDecimal
and returns the result. TheBigDecimalConversion
conversion will be used perform the transformation.- Specified by:
getBigDecimal
in interfaceRecord
- Parameters:
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 asproperty_name=property_value
, e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}- Returns:
- the
BigDecimal
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getBigDecimal
Description copied from interface:Record
Converts theString
value in the given column to aBigDecimal
and returns the result. TheBigDecimalConversion
conversion will be used perform the transformation.- Specified by:
getBigDecimal
in interfaceRecord
- Parameters:
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 asproperty_name=property_value
, e.g. options={"decimalSeparator=,", "maximumFractionDigits=3"}- Returns:
- the
BigDecimal
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getDate
Description copied from interface:Record
Converts theString
value in the given column to aDate
and returns the result. TheDateConversion
conversion will be used perform the transformation.- Specified by:
getDate
in interfaceRecord
- Parameters:
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 asproperty_name=property_value
, e.g. options={"lenient=true"}- Returns:
- the
Date
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getDate
Description copied from interface:Record
Converts theString
value in the given column to aDate
and returns the result. TheDateConversion
conversion will be used perform the transformation.- Specified by:
getDate
in interfaceRecord
- Parameters:
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 asproperty_name=property_value
, e.g. options={"lenient=true"}- Returns:
- the
Date
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getDate
Description copied from interface:Record
Converts theString
value in the given column to aDate
and returns the result. TheDateConversion
conversion will be used perform the transformation.- Specified by:
getDate
in interfaceRecord
- Parameters:
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 asproperty_name=property_value
, e.g. options={"lenient=true"}- Returns:
- the
Date
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getCalendar
Description copied from interface:Record
Converts theString
value in the given column to aCalendar
and returns the result. TheCalendarConversion
conversion will be used perform the transformation.- Specified by:
getCalendar
in interfaceRecord
- Parameters:
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 asproperty_name=property_value
, e.g. options={"lenient=true"}- Returns:
- the
Calendar
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getCalendar
Description copied from interface:Record
Converts theString
value in the given column to aCalendar
and returns the result. TheCalendarConversion
conversion will be used perform the transformation.- Specified by:
getCalendar
in interfaceRecord
- Parameters:
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 asproperty_name=property_value
, e.g. options={"lenient=true"}- Returns:
- the
Calendar
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getCalendar
Description copied from interface:Record
Converts theString
value in the given column to aCalendar
and returns the result. TheCalendarConversion
conversion will be used perform the transformation.- Specified by:
getCalendar
in interfaceRecord
- Parameters:
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 asproperty_name=property_value
, e.g. options={"lenient=true"}- Returns:
- the
Calendar
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
buildSelection
-
buildSelection
private int[] buildSelection(int[] selectedIndexes) -
buildSelection
-
toIndexMap
Description copied from interface:Record
Converts the record into a map ofString
values.- Specified by:
toIndexMap
in interfaceRecord
- Parameters:
selectedIndexes
- the column indexes to use as keys of the map. If no selection then all indexes will be used.- Returns:
- a map containing the selected (or all) column indexes as the keys, and their respective values.
-
toFieldMap
Description copied from interface:Record
Converts the record into a map ofString
values.- Specified by:
toFieldMap
in interfaceRecord
- Parameters:
selectedFields
- the header names to use as keys of the map. If no selection then all headers will be used.- Returns:
- a map containing the selected (or all) header names as the keys, and their respective values.
-
toEnumMap
Description copied from interface:Record
Converts the record into a map ofString
values.- Specified by:
toEnumMap
in interfaceRecord
- Type Parameters:
T
- the enumeration type- Parameters:
enumType
- 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.- Returns:
- a map containing the selected (or all) columns as the keys, and their respective values.
-
fillFieldMap
Description copied from interface:Record
Fills a map with theString
values of this record.- Specified by:
fillFieldMap
in interfaceRecord
- Parameters:
map
- the map that will receive the valuesselectedFields
- the header names to use as keys of the map- Returns:
- the input map, containing the selected header names as the keys, and their respective values.
-
fillIndexMap
Description copied from interface:Record
Fills a map with theString
values of this record.- Specified by:
fillIndexMap
in interfaceRecord
- Parameters:
map
- the map that will receive the valuesselectedIndexes
- the column indexes to use as keys of the map- Returns:
- the input map, containing the selected column indexes as the keys, and their respective values.
-
fillEnumMap
Description copied from interface:Record
Fills a map with theString
values of this record.- Specified by:
fillEnumMap
in interfaceRecord
- Type Parameters:
T
- the enumeration type- Parameters:
map
- the map that will receive the valuesselectedColumns
- the column to use as keys of the map- Returns:
- the input map, containing the selected header names as the keys, and their respective values.
-
toFieldObjectMap
Description copied from interface:Record
Converts the record into a map ofObject
values. Conversions must be registered usingRecordMetaData.convertFields(Conversion[])
orRecordMetaData.convertIndexes(Conversion[])
(Conversion[])}. Columns without a known conversion will have their values put into the map as plainString
s.- Specified by:
toFieldObjectMap
in interfaceRecord
- Parameters:
selectedFields
- the column names to use as keys of the map- Returns:
- a map containing the selected column names as the keys, and their respective values.
-
toIndexObjectMap
Description copied from interface:Record
Converts the record into a map ofObject
values. Conversions must be registered usingRecordMetaData.convertFields(Conversion[])
orRecordMetaData.convertIndexes(Conversion[])
(Conversion[])}. Columns without a known conversion will have their values put into the map as plainString
s.- Specified by:
toIndexObjectMap
in interfaceRecord
- Parameters:
selectedIndex
- the column indexes to use as keys of the map- Returns:
- a map containing the selected column indexes as the keys, and their respective values.
-
toEnumObjectMap
Description copied from interface:Record
Converts the record into a map ofObject
values. Conversions must be registered usingRecordMetaData.convertFields(Conversion[])
orRecordMetaData.convertIndexes(Conversion[])
(Conversion[])}. Columns without a known conversion will have their values put into the map as plainString
s.- Specified by:
toEnumObjectMap
in interfaceRecord
- Type Parameters:
T
- the enumeration type- Parameters:
enumType
- the enumeration type.selectedColumns
- the column to use as keys of the map- Returns:
- a map containing the selected columns as the keys, and their respective values.
-
fillFieldObjectMap
Description copied from interface:Record
Fills a map with the convertedObject
values of this record. Conversions must be registered usingRecordMetaData.convertFields(Conversion[])
orRecordMetaData.convertIndexes(Conversion[])
(Conversion[])}. Columns without a known conversion will have their values put into the map as plainString
s.- Specified by:
fillFieldObjectMap
in interfaceRecord
- Parameters:
map
- the map that will receive the valuesselectedFields
- the column names to use as keys of the map- Returns:
- the input map, containing the selected columns as the keys, and their respective values.
-
fillIndexObjectMap
Description copied from interface:Record
Fills a map with the convertedObject
values of this record. Conversions must be registered usingRecordMetaData.convertFields(Conversion[])
orRecordMetaData.convertIndexes(Conversion[])
(Conversion[])}. Columns without a known conversion will have their values put into the map as plainString
s.- Specified by:
fillIndexObjectMap
in interfaceRecord
- Parameters:
map
- the map that will receive the valuesselectedIndexes
- the column indexes to use as keys of the map- Returns:
- the input map, containing the selected columns as the keys, and their respective values.
-
fillEnumObjectMap
Description copied from interface:Record
Fills a map with the convertedObject
values of this record. Conversions must be registered usingRecordMetaData.convertFields(Conversion[])
orRecordMetaData.convertIndexes(Conversion[])
(Conversion[])}. Columns without a known conversion will have their values put into the map as plainString
s.- Specified by:
fillEnumObjectMap
in interfaceRecord
- Type Parameters:
T
- the enumeration type- Parameters:
map
- the map that will receive the valuesselectedColumns
- the column to use as keys of the map- Returns:
- the input map, containing the selected columns as the keys, and their respective values.
-
getBigInteger
Description copied from interface:Record
Converts theString
value in the given column to aBigInteger
and returns the result. TheBigIntegerConversion
conversion will be used perform the transformation.- Specified by:
getBigInteger
in interfaceRecord
- Parameters:
headerName
- the column name- Returns:
- the
BigInteger
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getBigInteger
Description copied from interface:Record
Converts theString
value in the given column to aBigInteger
and returns the result. TheBigIntegerConversion
conversion will be used perform the transformation.- Specified by:
getBigInteger
in interfaceRecord
- Parameters:
column
- the column- Returns:
- the
BigInteger
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getBigInteger
Description copied from interface:Record
Converts theString
value in the given column to aBigInteger
and returns the result. TheBigIntegerConversion
conversion will be used perform the transformation.- Specified by:
getBigInteger
in interfaceRecord
- Parameters:
columnIndex
- the columnIndex- Returns:
- the
BigInteger
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getBigDecimal
Description copied from interface:Record
Converts theString
value in the given column to aBigDecimal
and returns the result. TheBigDecimalConversion
conversion will be used perform the transformation.- Specified by:
getBigDecimal
in interfaceRecord
- Parameters:
headerName
- the column name- Returns:
- the
BigDecimal
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getBigDecimal
Description copied from interface:Record
Converts theString
value in the given column to aBigDecimal
and returns the result. TheBigDecimalConversion
conversion will be used perform the transformation.- Specified by:
getBigDecimal
in interfaceRecord
- Parameters:
column
- the column- Returns:
- the
BigDecimal
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getBigDecimal
Description copied from interface:Record
Converts theString
value in the given column to aBigDecimal
and returns the result. TheBigDecimalConversion
conversion will be used perform the transformation.- Specified by:
getBigDecimal
in interfaceRecord
- Parameters:
columnIndex
- the columnIndex- Returns:
- the
BigDecimal
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getByte
Description copied from interface:Record
Converts theString
value in the given column to aByte
and returns the result. TheByteConversion
conversion will be used perform the transformation.- Specified by:
getByte
in interfaceRecord
- Parameters:
headerName
- the column name- Returns:
- the
Byte
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getByte
Description copied from interface:Record
Converts theString
value in the given column to aByte
and returns the result. TheByteConversion
conversion will be used perform the transformation.- Specified by:
getByte
in interfaceRecord
- Parameters:
column
- the column- Returns:
- the
Byte
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getByte
Description copied from interface:Record
Converts theString
value in the given column to aByte
and returns the result. TheByteConversion
conversion will be used perform the transformation.- Specified by:
getByte
in interfaceRecord
- Parameters:
columnIndex
- the columnIndex- Returns:
- the
Byte
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getShort
Description copied from interface:Record
Converts theString
value in the given column to aShort
and returns the result. TheShortConversion
conversion will be used perform the transformation.- Specified by:
getShort
in interfaceRecord
- Parameters:
headerName
- the column name- Returns:
- the
Short
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getShort
Description copied from interface:Record
Converts theString
value in the given column to aShort
and returns the result. TheShortConversion
conversion will be used perform the transformation.- Specified by:
getShort
in interfaceRecord
- Parameters:
column
- the column- Returns:
- the
Short
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getShort
Description copied from interface:Record
Converts theString
value in the given column to aShort
and returns the result. TheShortConversion
conversion will be used perform the transformation.- Specified by:
getShort
in interfaceRecord
- Parameters:
columnIndex
- the columnIndex- Returns:
- the
Short
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getInt
Description copied from interface:Record
Converts theString
value in the given column to aInteger
and returns the result. TheIntegerConversion
conversion will be used perform the transformation.- Specified by:
getInt
in interfaceRecord
- Parameters:
headerName
- the column name- Returns:
- the
Integer
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getInt
Description copied from interface:Record
Converts theString
value in the given column to aInteger
and returns the result. TheIntegerConversion
conversion will be used perform the transformation.- Specified by:
getInt
in interfaceRecord
- Parameters:
column
- the column- Returns:
- the
Integer
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getInt
Description copied from interface:Record
Converts theString
value in the given column to aInteger
and returns the result. TheIntegerConversion
conversion will be used perform the transformation.- Specified by:
getInt
in interfaceRecord
- Parameters:
columnIndex
- the columnIndex- Returns:
- the
Integer
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getLong
Description copied from interface:Record
Converts theString
value in the given column to aLong
and returns the result. TheLongConversion
conversion will be used perform the transformation.- Specified by:
getLong
in interfaceRecord
- Parameters:
headerName
- the column name- Returns:
- the
Long
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getLong
Description copied from interface:Record
Converts theString
value in the given column to aLong
and returns the result. TheLongConversion
conversion will be used perform the transformation.- Specified by:
getLong
in interfaceRecord
- Parameters:
column
- the column- Returns:
- the
Long
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getLong
Description copied from interface:Record
Converts theString
value in the given column to aLong
and returns the result. TheLongConversion
conversion will be used perform the transformation.- Specified by:
getLong
in interfaceRecord
- Parameters:
columnIndex
- the columnIndex- Returns:
- the
Long
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getFloat
Description copied from interface:Record
Converts theString
value in the given column to aFloat
and returns the result. TheFloatConversion
conversion will be used perform the transformation.- Specified by:
getFloat
in interfaceRecord
- Parameters:
headerName
- the column name- Returns:
- the
Float
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getFloat
Description copied from interface:Record
Converts theString
value in the given column to aFloat
and returns the result. TheFloatConversion
conversion will be used perform the transformation.- Specified by:
getFloat
in interfaceRecord
- Parameters:
column
- the column- Returns:
- the
Float
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getFloat
Description copied from interface:Record
Converts theString
value in the given column to aFloat
and returns the result. TheFloatConversion
conversion will be used perform the transformation.- Specified by:
getFloat
in interfaceRecord
- Parameters:
columnIndex
- the columnIndex- Returns:
- the
Float
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getDouble
Description copied from interface:Record
Converts theString
value in the given column to aDouble
and returns the result. TheDoubleConversion
conversion will be used perform the transformation.- Specified by:
getDouble
in interfaceRecord
- Parameters:
headerName
- the column name- Returns:
- the
Double
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getDouble
Description copied from interface:Record
Converts theString
value in the given column to aDouble
and returns the result. TheDoubleConversion
conversion will be used perform the transformation.- Specified by:
getDouble
in interfaceRecord
- Parameters:
column
- the column- Returns:
- the
Double
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getDouble
Description copied from interface:Record
Converts theString
value in the given column to aDouble
and returns the result. TheDoubleConversion
conversion will be used perform the transformation.- Specified by:
getDouble
in interfaceRecord
- Parameters:
columnIndex
- the columnIndex- Returns:
- the
Double
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getDate
Description copied from interface:Record
Converts theString
value in the given column to aDate
and returns the result. TheDateConversion
conversion sequence registered usingRecordMetaData.convertFields(Conversion[])
will be used perform the transformation.- Specified by:
getDate
in interfaceRecord
- Parameters:
headerName
- the column name- Returns:
- the
Date
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getDate
Description copied from interface:Record
Converts theString
value in the given column to aDate
and returns the result. TheDateConversion
conversion sequence registered usingRecordMetaData.convertFields(Conversion[])
will be used perform the transformation.- Specified by:
getDate
in interfaceRecord
- Parameters:
column
- the column- Returns:
- the
Date
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getDate
Description copied from interface:Record
Converts theString
value in the given column to aDate
and returns the result. TheDateConversion
conversion sequence registered usingRecordMetaData.convertFields(Conversion[])
will be used perform the transformation.- Specified by:
getDate
in interfaceRecord
- Parameters:
columnIndex
- the column index- Returns:
- the
Date
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getCalendar
Description copied from interface:Record
Converts theString
value in the given column to aCalendar
and returns the result. TheCalendarConversion
conversion sequence registered usingRecordMetaData.convertFields(Conversion[])
will be used perform the transformation.- Specified by:
getCalendar
in interfaceRecord
- Parameters:
headerName
- the column name- Returns:
- the
Calendar
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getCalendar
Description copied from interface:Record
Converts theString
value in the given column to aCalendar
and returns the result. TheCalendarConversion
conversion sequence registered usingRecordMetaData.convertFields(Conversion[])
will be used perform the transformation.- Specified by:
getCalendar
in interfaceRecord
- Parameters:
column
- the column- Returns:
- the
Calendar
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
getCalendar
Description copied from interface:Record
Converts theString
value in the given column to aCalendar
and returns the result. TheCalendarConversion
conversion sequence registered usingRecordMetaData.convertFields(Conversion[])
will be used perform the transformation.- Specified by:
getCalendar
in interfaceRecord
- Parameters:
columnIndex
- the column index- Returns:
- the
Calendar
stored in the given column,null
or the default value specified inRecordMetaData.defaultValueOf(String)
-
toString
-
equals
-
hashCode
public int hashCode() -
getValues
Description copied from interface:Record
Returns a selection of plain values obtained from a record parsed from the input. -
getValues
Description copied from interface:Record
Returns a selection of plain values obtained from a record parsed from the input. -
getValues
Description copied from interface:Record
Returns a selection of plain values obtained from a record parsed from the input.
-