| Modifier and Type | Field and Description |
|---|---|
private java.lang.String[] |
data |
private RecordMetaDataImpl<C> |
metaData |
| Constructor and Description |
|---|
RecordImpl(java.lang.String[] data,
RecordMetaDataImpl metaData) |
| Modifier and Type | Method and Description |
|---|---|
<T extends java.lang.Enum<T>> |
buildSelection(java.lang.Class<T> enumType,
T... selectedColumns) |
private int[] |
buildSelection(int[] selectedIndexes) |
private java.lang.String[] |
buildSelection(java.lang.String[] selectedFields) |
boolean |
equals(java.lang.Object o) |
<T extends java.lang.Enum<T>> |
fillEnumMap(java.util.Map<T,java.lang.String> map,
T... selectedColumns)
Fills a map with the
String values of this record. |
<T extends java.lang.Enum<T>> |
fillEnumObjectMap(java.util.Map<T,java.lang.Object> map,
T... selectedColumns)
Fills a map with the converted
Object values of this record. |
java.util.Map<java.lang.String,java.lang.String> |
fillFieldMap(java.util.Map<java.lang.String,java.lang.String> map,
java.lang.String... selectedFields)
Fills a map with the
String values of this record. |
java.util.Map<java.lang.String,java.lang.Object> |
fillFieldObjectMap(java.util.Map<java.lang.String,java.lang.Object> map,
java.lang.String... selectedFields)
Fills a map with the converted
Object values of this record. |
java.util.Map<java.lang.Integer,java.lang.String> |
fillIndexMap(java.util.Map<java.lang.Integer,java.lang.String> map,
int... selectedIndexes)
Fills a map with the
String values of this record. |
java.util.Map<java.lang.Integer,java.lang.Object> |
fillIndexObjectMap(java.util.Map<java.lang.Integer,java.lang.Object> map,
int... selectedIndexes)
Fills a map with the converted
Object values of this record. |
java.math.BigDecimal |
getBigDecimal(java.lang.Enum<?> column)
Converts the
String value in the given column to a BigDecimal and returns the result. |
java.math.BigDecimal |
getBigDecimal(java.lang.Enum<?> column,
java.lang.String format,
java.lang.String... formatOptions)
Converts the
String value in the given column to a BigDecimal and returns the result. |
java.math.BigDecimal |
getBigDecimal(int columnIndex)
Converts the
String value in the given column to a BigDecimal and returns the result. |
java.math.BigDecimal |
getBigDecimal(int columnIndex,
java.lang.String format,
java.lang.String... formatOptions)
Converts the
String value in the given column to a BigDecimal and returns the result. |
java.math.BigDecimal |
getBigDecimal(java.lang.String headerName)
Converts the
String value in the given column to a BigDecimal and returns the result. |
java.math.BigDecimal |
getBigDecimal(java.lang.String headerName,
java.lang.String format,
java.lang.String... formatOptions)
Converts the
String value in the given column to a BigDecimal and returns the result. |
java.math.BigInteger |
getBigInteger(java.lang.Enum<?> column)
Converts the
String value in the given column to a BigInteger and returns the result. |
java.math.BigInteger |
getBigInteger(java.lang.Enum<?> column,
java.lang.String format,
java.lang.String... formatOptions)
Converts the
String value in the given column to a BigInteger and returns the result. |
java.math.BigInteger |
getBigInteger(int columnIndex)
Converts the
String value in the given column to a BigInteger and returns the result. |
java.math.BigInteger |
getBigInteger(int columnIndex,
java.lang.String format,
java.lang.String... formatOptions)
Converts the
String value in the given column to a BigInteger and returns the result. |
java.math.BigInteger |
getBigInteger(java.lang.String headerName)
Converts the
String value in the given column to a BigInteger and returns the result. |
java.math.BigInteger |
getBigInteger(java.lang.String headerName,
java.lang.String format,
java.lang.String... formatOptions)
Converts the
String value in the given column to a BigInteger and returns the result. |
java.lang.Boolean |
getBoolean(java.lang.Enum<?> column)
Converts the
String value in the given column to a Boolean and returns the result. |
java.lang.Boolean |
getBoolean(java.lang.Enum<?> column,
java.lang.String trueString,
java.lang.String falseString)
Converts the
String value in the given column to a Boolean and returns the result. |
java.lang.Boolean |
getBoolean(int columnIndex)
Converts the
String value in the given column to a Boolean and returns the result. |
java.lang.Boolean |
getBoolean(int columnIndex,
java.lang.String trueString,
java.lang.String falseString)
Converts the
String value in the given column to a Boolean and returns the result. |
java.lang.Boolean |
getBoolean(java.lang.String headerName)
Converts the
String value in the given column to a Boolean and returns the result. |
java.lang.Boolean |
getBoolean(java.lang.String headerName,
java.lang.String trueString,
java.lang.String falseString)
Converts the
String value in the given column to a Boolean and returns the result. |
java.lang.Byte |
getByte(java.lang.Enum<?> column)
Converts the
String value in the given column to a Byte and returns the result. |
java.lang.Byte |
getByte(java.lang.Enum<?> column,
java.lang.String format,
java.lang.String... formatOptions)
Converts the
String value in the given column to a Byte and returns the result. |
java.lang.Byte |
getByte(int columnIndex)
Converts the
String value in the given column to a Byte and returns the result. |
java.lang.Byte |
getByte(int columnIndex,
java.lang.String format,
java.lang.String... formatOptions)
Converts the
String value in the given column to a Byte and returns the result. |
java.lang.Byte |
getByte(java.lang.String headerName)
Converts the
String value in the given column to a Byte and returns the result. |
java.lang.Byte |
getByte(java.lang.String headerName,
java.lang.String format,
java.lang.String... formatOptions)
Converts the
String value in the given column to a Byte and returns the result. |
java.util.Calendar |
getCalendar(java.lang.Enum<?> column)
Converts the
String value in the given column to a Calendar and returns the result. |
java.util.Calendar |
getCalendar(java.lang.Enum<?> column,
java.lang.String format,
java.lang.String... formatOptions)
Converts the
String value in the given column to a Calendar and returns the result. |
java.util.Calendar |
getCalendar(int columnIndex)
Converts the
String value in the given column to a Calendar and returns the result. |
java.util.Calendar |
getCalendar(int columnIndex,
java.lang.String format,
java.lang.String... formatOptions)
Converts the
String value in the given column to a Calendar and returns the result. |
java.util.Calendar |
getCalendar(java.lang.String headerName)
Converts the
String value in the given column to a Calendar and returns the result. |
java.util.Calendar |
getCalendar(java.lang.String headerName,
java.lang.String format,
java.lang.String... formatOptions)
Converts the
String value in the given column to a Calendar and returns the result. |
java.lang.Character |
getChar(java.lang.Enum<?> column)
Converts the
String value in the given column to a Character and returns the result. |
java.lang.Character |
getChar(int columnIndex)
Converts the
String value in the given column to a Character and returns the result. |
java.lang.Character |
getChar(java.lang.String headerName)
Converts the
String value in the given column to a Character and returns the result. |
java.util.Date |
getDate(java.lang.Enum<?> column)
Converts the
String value in the given column to a Date and returns the result. |
java.util.Date |
getDate(java.lang.Enum<?> column,
java.lang.String format,
java.lang.String... formatOptions)
Converts the
String value in the given column to a Date and returns the result. |
java.util.Date |
getDate(int columnIndex)
Converts the
String value in the given column to a Date and returns the result. |
java.util.Date |
getDate(int columnIndex,
java.lang.String format,
java.lang.String... formatOptions)
Converts the
String value in the given column to a Date and returns the result. |
java.util.Date |
getDate(java.lang.String headerName)
Converts the
String value in the given column to a Date and returns the result. |
java.util.Date |
getDate(java.lang.String headerName,
java.lang.String format,
java.lang.String... formatOptions)
Converts the
String value in the given column to a Date and returns the result. |
java.lang.Double |
getDouble(java.lang.Enum<?> column)
Converts the
String value in the given column to a Double and returns the result. |
java.lang.Double |
getDouble(java.lang.Enum<?> column,
java.lang.String format,
java.lang.String... formatOptions)
Converts the
String value in the given column to a Double and returns the result. |
java.lang.Double |
getDouble(int columnIndex)
Converts the
String value in the given column to a Double and returns the result. |
java.lang.Double |
getDouble(int columnIndex,
java.lang.String format,
java.lang.String... formatOptions)
Converts the
String value in the given column to a Double and returns the result. |
java.lang.Double |
getDouble(java.lang.String headerName)
Converts the
String value in the given column to a Double and returns the result. |
java.lang.Double |
getDouble(java.lang.String headerName,
java.lang.String format,
java.lang.String... formatOptions)
Converts the
String value in the given column to a Double and returns the result. |
java.lang.Float |
getFloat(java.lang.Enum<?> column)
Converts the
String value in the given column to a Float and returns the result. |
java.lang.Float |
getFloat(java.lang.Enum<?> column,
java.lang.String format,
java.lang.String... formatOptions)
Converts the
String value in the given column to a Float and returns the result. |
java.lang.Float |
getFloat(int columnIndex)
Converts the
String value in the given column to a Float and returns the result. |
java.lang.Float |
getFloat(int columnIndex,
java.lang.String format,
java.lang.String... formatOptions)
Converts the
String value in the given column to a Float and returns the result. |
java.lang.Float |
getFloat(java.lang.String headerName)
Converts the
String value in the given column to a Float and returns the result. |
java.lang.Float |
getFloat(java.lang.String headerName,
java.lang.String format,
java.lang.String... formatOptions)
Converts the
String value in the given column to a Long and returns the result. |
java.lang.Integer |
getInt(java.lang.Enum<?> column)
Converts the
String value in the given column to a Integer and returns the result. |
java.lang.Integer |
getInt(java.lang.Enum<?> column,
java.lang.String format,
java.lang.String... formatOptions)
Converts the
String value in the given column to a Integer and returns the result. |
java.lang.Integer |
getInt(int columnIndex)
Converts the
String value in the given column to a Integer and returns the result. |
java.lang.Integer |
getInt(int columnIndex,
java.lang.String format,
java.lang.String... formatOptions)
Converts the
String value in the given column to a Integer and returns the result. |
java.lang.Integer |
getInt(java.lang.String headerName)
Converts the
String value in the given column to a Integer and returns the result. |
java.lang.Integer |
getInt(java.lang.String headerName,
java.lang.String format,
java.lang.String... formatOptions)
Converts the
String value in the given column to a Integer and returns the result. |
java.lang.Long |
getLong(java.lang.Enum<?> column)
Converts the
String value in the given column to a Long and returns the result. |
java.lang.Long |
getLong(java.lang.Enum<?> column,
java.lang.String format,
java.lang.String... formatOptions)
Converts the
String value in the given column to a Long and returns the result. |
java.lang.Long |
getLong(int columnIndex)
Converts the
String value in the given column to a Long and returns the result. |
java.lang.Long |
getLong(int columnIndex,
java.lang.String format,
java.lang.String... formatOptions)
Converts the
String value in the given column to a Long and returns the result. |
java.lang.Long |
getLong(java.lang.String headerName)
Converts the
String value in the given column to a Long and returns the result. |
java.lang.Long |
getLong(java.lang.String headerName,
java.lang.String format,
java.lang.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. |
java.lang.Short |
getShort(java.lang.Enum<?> column)
Converts the
String value in the given column to a Short and returns the result. |
java.lang.Short |
getShort(java.lang.Enum<?> column,
java.lang.String format,
java.lang.String... formatOptions)
Converts the
String value in the given column to a Short and returns the result. |
java.lang.Short |
getShort(int columnIndex)
Converts the
String value in the given column to a Short and returns the result. |
java.lang.Short |
getShort(int columnIndex,
java.lang.String format,
java.lang.String... formatOptions)
Converts the
String value in the given column to a Short and returns the result. |
java.lang.Short |
getShort(java.lang.String headerName)
Converts the
String value in the given column to a Short and returns the result. |
java.lang.Short |
getShort(java.lang.String headerName,
java.lang.String format,
java.lang.String... formatOptions)
Converts the
String value in the given column to a Short and returns the result. |
java.lang.String |
getString(java.lang.Enum<?> column)
Returns the
String value in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String) |
java.lang.String |
getString(java.lang.Enum<?> column,
int maxLength)
Returns the
String value in the given column, truncating it to a given maximum length |
java.lang.String |
getString(int columnIndex)
Returns the
String value in the given column |
java.lang.String |
getString(int columnIndex,
int maxLength)
Returns the
String value in the given column, truncating it to a given maximum length |
java.lang.String |
getString(java.lang.String headerName)
Returns the
String value in the given column |
java.lang.String |
getString(java.lang.String headerName,
int maxLength)
Returns the
String value in the given column, truncating it to a given maximum length |
<T> T |
getValue(java.lang.Enum<?> column,
java.lang.Class<T> expectedType)
Returns the value contained in the given column.
|
<T> T |
getValue(java.lang.Enum<?> column,
java.lang.Class<T> expectedType,
Conversion... conversions)
Returns the value contained in the given column, after applying a sequence of conversion over it.
|
<T> T |
getValue(java.lang.Enum<?> column,
T defaultValue)
Returns the value contained in the given column, or a default value if the column contains
null |
<T> T |
getValue(java.lang.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,
java.lang.Class<T> expectedType)
Returns the value contained in the given column.
|
<T> T |
getValue(int columnIndex,
java.lang.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(java.lang.String headerName,
java.lang.Class<T> expectedType)
Returns the value contained in the given column.
|
<T> T |
getValue(java.lang.String headerName,
java.lang.Class<T> expectedType,
Conversion... conversions)
Returns the value contained in the given column, after applying a sequence of conversion over it.
|
<T> T |
getValue(java.lang.String headerName,
T defaultValue)
Returns the value contained in the given column, or a default value if the column contains
null |
<T> T |
getValue(java.lang.String headerName,
T defaultValue,
Conversion... conversions)
Returns the value contained in a given column, after applying a sequence of conversions over it.
|
java.lang.String[] |
getValues()
Returns the plain values obtained from a record parsed from the input.
|
java.lang.String[] |
getValues(java.lang.Enum<?>... fields)
Returns a selection of plain values obtained from a record parsed from the input.
|
java.lang.String[] |
getValues(int... fieldIndexes)
Returns a selection of plain values obtained from a record parsed from the input.
|
java.lang.String[] |
getValues(java.lang.String... fieldNames)
Returns a selection of plain values obtained from a record parsed from the input.
|
int |
hashCode() |
<T extends java.lang.Enum<T>> |
toEnumMap(java.lang.Class<T> enumType,
T... selectedColumns)
Converts the record into a map of
String values. |
<T extends java.lang.Enum<T>> |
toEnumObjectMap(java.lang.Class<T> enumType,
T... selectedColumns)
Converts the record into a map of
Object values. |
java.util.Map<java.lang.String,java.lang.String> |
toFieldMap(java.lang.String... selectedFields)
Converts the record into a map of
String values. |
java.util.Map<java.lang.String,java.lang.Object> |
toFieldObjectMap(java.lang.String... selectedFields)
Converts the record into a map of
Object values. |
java.util.Map<java.lang.Integer,java.lang.String> |
toIndexMap(int... selectedIndexes)
Converts the record into a map of
String values. |
java.util.Map<java.lang.Integer,java.lang.Object> |
toIndexObjectMap(int... selectedIndex)
Converts the record into a map of
Object values. |
java.lang.String |
toString() |
private java.lang.String |
truncate(java.lang.String string,
int maxLength) |
private final java.lang.String[] data
private final RecordMetaDataImpl<C extends Context> metaData
RecordImpl(java.lang.String[] data,
RecordMetaDataImpl metaData)
public RecordMetaData getMetaData()
RecordRecordMetaData 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 Record.toFieldMap(String...), Record.fillFieldMap(Map, String...) and any other
method that returns Objects will use the metadata information to perform data conversions.getMetaData in interface Recordpublic java.lang.String[] getValues()
Recordpublic <T> T getValue(java.lang.String headerName,
java.lang.Class<T> expectedType)
RecordgetValue in interface RecordT - 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.public <T> T getValue(java.lang.Enum<?> column,
java.lang.Class<T> expectedType)
RecordgetValue in interface RecordT - 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.public <T> T getValue(int columnIndex,
java.lang.Class<T> expectedType)
RecordgetValue in interface RecordT - 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.public <T> T getValue(java.lang.String headerName,
java.lang.Class<T> expectedType,
Conversion... conversions)
RecordgetValue in interface RecordT - 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.public <T> T getValue(java.lang.Enum<?> column,
java.lang.Class<T> expectedType,
Conversion... conversions)
RecordgetValue in interface RecordT - 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.public <T> T getValue(int columnIndex,
java.lang.Class<T> expectedType,
Conversion... conversions)
RecordgetValue in interface RecordT - 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.public <T> T getValue(java.lang.String headerName,
T defaultValue)
RecordnullgetValue in interface RecordT - 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.nullpublic <T> T getValue(java.lang.Enum<?> column,
T defaultValue)
RecordnullgetValue in interface RecordT - 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.nullpublic <T> T getValue(int columnIndex,
T defaultValue)
RecordnullgetValue in interface RecordT - 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.nullpublic <T> T getValue(java.lang.String headerName,
T defaultValue,
Conversion... conversions)
RecordgetValue in interface RecordT - 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.public <T> T getValue(java.lang.Enum<?> column,
T defaultValue,
Conversion... conversions)
RecordgetValue in interface RecordT - 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.public <T> T getValue(int columnIndex,
T defaultValue,
Conversion... conversions)
RecordgetValue in interface RecordT - 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.public java.lang.String getString(java.lang.String headerName)
RecordString value in the given columngetString in interface RecordheaderName - the name of the columnnull or the
default value specified in RecordMetaData.defaultValueOf(String)public java.lang.String getString(java.lang.Enum<?> column)
RecordString value in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)getString in interface Recordcolumn - the columnnull or the
default value specified in RecordMetaData.defaultValueOf(String)public java.lang.String getString(int columnIndex)
RecordString value in the given columngetString in interface RecordcolumnIndex - the index of the columnnull or the
default value specified in RecordMetaData.defaultValueOf(String)public java.lang.String getString(java.lang.String headerName,
int maxLength)
RecordString value in the given column, truncating it to a given maximum lengthgetString in interface RecordheaderName - the name of the columnmaxLength - the maximum number of characters to be returned.null or the
default value specified in RecordMetaData.defaultValueOf(String)public java.lang.String getString(java.lang.Enum<?> column,
int maxLength)
RecordString value in the given column, truncating it to a given maximum lengthgetString in interface Recordcolumn - the columnmaxLength - the maximum number of characters to be returned.null or the
default value specified in RecordMetaData.defaultValueOf(String)public java.lang.String getString(int columnIndex,
int maxLength)
RecordString value in the given column, truncating it to a given maximum lengthgetString in interface RecordcolumnIndex - the index of the columnmaxLength - the maximum number of characters to be returned.null or the
default value specified in RecordMetaData.defaultValueOf(String)private java.lang.String truncate(java.lang.String string,
int maxLength)
public java.lang.Byte getByte(java.lang.String headerName,
java.lang.String format,
java.lang.String... formatOptions)
RecordString value in the given column to a Byte and returns the result.
The ByteConversion conversion will be used perform the transformation.getByte in interface RecordheaderName - 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)public java.lang.Byte getByte(java.lang.Enum<?> column,
java.lang.String format,
java.lang.String... formatOptions)
RecordString value in the given column to a Byte and returns the result.
The ByteConversion conversion will be used perform the transformation.getByte in interface Recordcolumn - 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)public java.lang.Byte getByte(int columnIndex,
java.lang.String format,
java.lang.String... formatOptions)
RecordString value in the given column to a Byte and returns the result.
The ByteConversion conversion will be used perform the transformation.getByte in interface RecordcolumnIndex - 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)public java.lang.Short getShort(java.lang.String headerName,
java.lang.String format,
java.lang.String... formatOptions)
RecordString value in the given column to a Short and returns the result.
The ShortConversion conversion will be used perform the transformation.getShort in interface RecordheaderName - 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)public java.lang.Short getShort(java.lang.Enum<?> column,
java.lang.String format,
java.lang.String... formatOptions)
RecordString value in the given column to a Short and returns the result.
The ShortConversion conversion will be used perform the transformation.getShort in interface Recordcolumn - 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)public java.lang.Short getShort(int columnIndex,
java.lang.String format,
java.lang.String... formatOptions)
RecordString value in the given column to a Short and returns the result.
The ShortConversion conversion will be used perform the transformation.getShort in interface RecordcolumnIndex - 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)public java.lang.Integer getInt(java.lang.String headerName,
java.lang.String format,
java.lang.String... formatOptions)
RecordString value in the given column to a Integer and returns the result.
The IntegerConversion conversion will be used perform the transformation.getInt in interface RecordheaderName - 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)public java.lang.Integer getInt(java.lang.Enum<?> column,
java.lang.String format,
java.lang.String... formatOptions)
RecordString value in the given column to a Integer and returns the result.
The IntegerConversion conversion will be used perform the transformation.getInt in interface Recordcolumn - 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)public java.lang.Integer getInt(int columnIndex,
java.lang.String format,
java.lang.String... formatOptions)
RecordString value in the given column to a Integer and returns the result.
The IntegerConversion conversion will be used perform the transformation.getInt in interface RecordcolumnIndex - 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)public java.lang.Long getLong(java.lang.String headerName,
java.lang.String format,
java.lang.String... formatOptions)
RecordString value in the given column to a Long and returns the result.
The LongConversion conversion will be used perform the transformation.getLong in interface RecordheaderName - 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)public java.lang.Long getLong(java.lang.Enum<?> column,
java.lang.String format,
java.lang.String... formatOptions)
RecordString value in the given column to a Long and returns the result.
The LongConversion conversion will be used perform the transformation.getLong in interface Recordcolumn - 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)public java.lang.Long getLong(int columnIndex,
java.lang.String format,
java.lang.String... formatOptions)
RecordString value in the given column to a Long and returns the result.
The LongConversion conversion will be used perform the transformation.getLong in interface RecordcolumnIndex - 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)public java.lang.Float getFloat(java.lang.String headerName,
java.lang.String format,
java.lang.String... formatOptions)
RecordString value in the given column to a Long and returns the result.
The FloatConversion conversion will be used perform the transformation.getFloat in interface RecordheaderName - 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)public java.lang.Float getFloat(java.lang.Enum<?> column,
java.lang.String format,
java.lang.String... formatOptions)
RecordString value in the given column to a Float and returns the result.
The FloatConversion conversion will be used perform the transformation.getFloat in interface Recordcolumn - 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)public java.lang.Float getFloat(int columnIndex,
java.lang.String format,
java.lang.String... formatOptions)
RecordString value in the given column to a Float and returns the result.
The FloatConversion conversion will be used perform the transformation.getFloat in interface RecordcolumnIndex - 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)public java.lang.Double getDouble(java.lang.String headerName,
java.lang.String format,
java.lang.String... formatOptions)
RecordString value in the given column to a Double and returns the result.
The DoubleConversion conversion will be used perform the transformation.getDouble in interface RecordheaderName - 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)public java.lang.Double getDouble(java.lang.Enum<?> column,
java.lang.String format,
java.lang.String... formatOptions)
RecordString value in the given column to a Double and returns the result.
The DoubleConversion conversion will be used perform the transformation.getDouble in interface Recordcolumn - 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)public java.lang.Double getDouble(int columnIndex,
java.lang.String format,
java.lang.String... formatOptions)
RecordString value in the given column to a Double and returns the result.
The DoubleConversion conversion will be used perform the transformation.getDouble in interface RecordcolumnIndex - 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)public java.lang.Character getChar(java.lang.String headerName)
RecordString value in the given column to a Character and returns the result.
The CharacterConversion conversion will be used perform the transformation.getChar in interface RecordheaderName - the column nameCharacter stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)public java.lang.Character getChar(java.lang.Enum<?> column)
RecordString value in the given column to a Character and returns the result.
The CharacterConversion conversion will be used perform the transformation.getChar in interface Recordcolumn - the columnCharacter stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)public java.lang.Character getChar(int columnIndex)
RecordString value in the given column to a Character and returns the result.
The CharacterConversion conversion will be used perform the transformation.getChar in interface RecordcolumnIndex - the column indexCharacter stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)public java.lang.Boolean getBoolean(java.lang.String headerName)
RecordString value in the given column to a Boolean and returns the result.
The BooleanConversion conversion will be used perform the transformation.getBoolean in interface RecordheaderName - the column nameBoolean stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)public java.lang.Boolean getBoolean(java.lang.Enum<?> column)
RecordString value in the given column to a Boolean and returns the result.
The BooleanConversion conversion will be used perform the transformation.getBoolean in interface Recordcolumn - the columnBoolean stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)public java.lang.Boolean getBoolean(int columnIndex)
RecordString value in the given column to a Boolean and returns the result.
The BooleanConversion conversion will be used perform the transformation.getBoolean in interface RecordcolumnIndex - the column indexBoolean stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)public java.lang.Boolean getBoolean(java.lang.String headerName,
java.lang.String trueString,
java.lang.String falseString)
RecordString value in the given column to a Boolean and returns the result.
The BooleanConversion conversion will be used perform the transformation.getBoolean in interface RecordheaderName - 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)public java.lang.Boolean getBoolean(java.lang.Enum<?> column,
java.lang.String trueString,
java.lang.String falseString)
RecordString value in the given column to a Boolean and returns the result.
The BooleanConversion conversion will be used perform the transformation.getBoolean in interface Recordcolumn - 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)public java.lang.Boolean getBoolean(int columnIndex,
java.lang.String trueString,
java.lang.String falseString)
RecordString value in the given column to a Boolean and returns the result.
The BooleanConversion conversion will be used perform the transformation.getBoolean in interface RecordcolumnIndex - 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)public java.math.BigInteger getBigInteger(java.lang.String headerName,
java.lang.String format,
java.lang.String... formatOptions)
RecordString value in the given column to a BigInteger and returns the result.
The BigIntegerConversion conversion will be used perform the transformation.getBigInteger in interface RecordheaderName - 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)public java.math.BigInteger getBigInteger(java.lang.Enum<?> column,
java.lang.String format,
java.lang.String... formatOptions)
RecordString value in the given column to a BigInteger and returns the result.
The BigIntegerConversion conversion will be used perform the transformation.getBigInteger in interface Recordcolumn - 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)public java.math.BigInteger getBigInteger(int columnIndex,
java.lang.String format,
java.lang.String... formatOptions)
RecordString value in the given column to a BigInteger and returns the result.
The BigIntegerConversion conversion will be used perform the transformation.getBigInteger in interface RecordcolumnIndex - 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)public java.math.BigDecimal getBigDecimal(java.lang.String headerName,
java.lang.String format,
java.lang.String... formatOptions)
RecordString value in the given column to a BigDecimal and returns the result.
The BigDecimalConversion conversion will be used perform the transformation.getBigDecimal in interface RecordheaderName - 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)public java.math.BigDecimal getBigDecimal(java.lang.Enum<?> column,
java.lang.String format,
java.lang.String... formatOptions)
RecordString value in the given column to a BigDecimal and returns the result.
The BigDecimalConversion conversion will be used perform the transformation.getBigDecimal in interface Recordcolumn - 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)public java.math.BigDecimal getBigDecimal(int columnIndex,
java.lang.String format,
java.lang.String... formatOptions)
RecordString value in the given column to a BigDecimal and returns the result.
The BigDecimalConversion conversion will be used perform the transformation.getBigDecimal in interface RecordcolumnIndex - 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)public java.util.Date getDate(java.lang.String headerName,
java.lang.String format,
java.lang.String... formatOptions)
RecordString value in the given column to a Date and returns the result.
The DateConversion conversion will be used perform the transformation.getDate in interface RecordheaderName - 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)public java.util.Date getDate(java.lang.Enum<?> column,
java.lang.String format,
java.lang.String... formatOptions)
RecordString value in the given column to a Date and returns the result.
The DateConversion conversion will be used perform the transformation.getDate in interface Recordcolumn - 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)public java.util.Date getDate(int columnIndex,
java.lang.String format,
java.lang.String... formatOptions)
RecordString value in the given column to a Date and returns the result.
The DateConversion conversion will be used perform the transformation.getDate in interface RecordcolumnIndex - 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)public java.util.Calendar getCalendar(java.lang.String headerName,
java.lang.String format,
java.lang.String... formatOptions)
RecordString value in the given column to a Calendar and returns the result.
The CalendarConversion conversion will be used perform the transformation.getCalendar in interface RecordheaderName - 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)public java.util.Calendar getCalendar(java.lang.Enum<?> column,
java.lang.String format,
java.lang.String... formatOptions)
RecordString value in the given column to a Calendar and returns the result.
The CalendarConversion conversion will be used perform the transformation.getCalendar in interface Recordcolumn - 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)public java.util.Calendar getCalendar(int columnIndex,
java.lang.String format,
java.lang.String... formatOptions)
RecordString value in the given column to a Calendar and returns the result.
The CalendarConversion conversion will be used perform the transformation.getCalendar in interface RecordcolumnIndex - 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)private java.lang.String[] buildSelection(java.lang.String[] selectedFields)
private int[] buildSelection(int[] selectedIndexes)
public <T extends java.lang.Enum<T>> T[] buildSelection(java.lang.Class<T> enumType,
T... selectedColumns)
public java.util.Map<java.lang.Integer,java.lang.String> toIndexMap(int... selectedIndexes)
RecordString values.toIndexMap in interface RecordselectedIndexes - the column indexes to use as keys of the map. If no selection then all indexes will be used.public java.util.Map<java.lang.String,java.lang.String> toFieldMap(java.lang.String... selectedFields)
RecordString values.toFieldMap in interface RecordselectedFields - the header names to use as keys of the map. If no selection then all headers will be used.public <T extends java.lang.Enum<T>> java.util.Map<T,java.lang.String> toEnumMap(java.lang.Class<T> enumType,
T... selectedColumns)
RecordString values.toEnumMap in interface RecordT - 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.public java.util.Map<java.lang.String,java.lang.String> fillFieldMap(java.util.Map<java.lang.String,java.lang.String> map,
java.lang.String... selectedFields)
RecordString values of this record.fillFieldMap in interface Recordmap - the map that will receive the valuesselectedFields - the header names to use as keys of the mappublic java.util.Map<java.lang.Integer,java.lang.String> fillIndexMap(java.util.Map<java.lang.Integer,java.lang.String> map,
int... selectedIndexes)
RecordString values of this record.fillIndexMap in interface Recordmap - the map that will receive the valuesselectedIndexes - the column indexes to use as keys of the mappublic <T extends java.lang.Enum<T>> java.util.Map<T,java.lang.String> fillEnumMap(java.util.Map<T,java.lang.String> map,
T... selectedColumns)
RecordString values of this record.fillEnumMap in interface RecordT - the enumeration typemap - the map that will receive the valuesselectedColumns - the column to use as keys of the mappublic java.util.Map<java.lang.String,java.lang.Object> toFieldObjectMap(java.lang.String... selectedFields)
RecordObject 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.toFieldObjectMap in interface RecordselectedFields - the column names to use as keys of the mappublic java.util.Map<java.lang.Integer,java.lang.Object> toIndexObjectMap(int... selectedIndex)
RecordObject 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.toIndexObjectMap in interface RecordselectedIndex - the column indexes to use as keys of the mappublic <T extends java.lang.Enum<T>> java.util.Map<T,java.lang.Object> toEnumObjectMap(java.lang.Class<T> enumType,
T... selectedColumns)
RecordObject 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.toEnumObjectMap in interface RecordT - the enumeration typeenumType - the enumeration type.selectedColumns - the column to use as keys of the mappublic java.util.Map<java.lang.String,java.lang.Object> fillFieldObjectMap(java.util.Map<java.lang.String,java.lang.Object> map,
java.lang.String... selectedFields)
RecordObject 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.fillFieldObjectMap in interface Recordmap - the map that will receive the valuesselectedFields - the column names to use as keys of the mappublic java.util.Map<java.lang.Integer,java.lang.Object> fillIndexObjectMap(java.util.Map<java.lang.Integer,java.lang.Object> map,
int... selectedIndexes)
RecordObject 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.fillIndexObjectMap in interface Recordmap - the map that will receive the valuesselectedIndexes - the column indexes to use as keys of the mappublic <T extends java.lang.Enum<T>> java.util.Map<T,java.lang.Object> fillEnumObjectMap(java.util.Map<T,java.lang.Object> map,
T... selectedColumns)
RecordObject 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.fillEnumObjectMap in interface RecordT - the enumeration typemap - the map that will receive the valuesselectedColumns - the column to use as keys of the mappublic java.math.BigInteger getBigInteger(java.lang.String headerName)
RecordString value in the given column to a BigInteger and returns the result.
The BigIntegerConversion conversion will be used perform the transformation.getBigInteger in interface RecordheaderName - the column nameBigInteger stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)public java.math.BigInteger getBigInteger(java.lang.Enum<?> column)
RecordString value in the given column to a BigInteger and returns the result.
The BigIntegerConversion conversion will be used perform the transformation.getBigInteger in interface Recordcolumn - the columnBigInteger stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)public java.math.BigInteger getBigInteger(int columnIndex)
RecordString value in the given column to a BigInteger and returns the result.
The BigIntegerConversion conversion will be used perform the transformation.getBigInteger in interface RecordcolumnIndex - the columnIndexBigInteger stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)public java.math.BigDecimal getBigDecimal(java.lang.String headerName)
RecordString value in the given column to a BigDecimal and returns the result.
The BigDecimalConversion conversion will be used perform the transformation.getBigDecimal in interface RecordheaderName - the column nameBigDecimal stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)public java.math.BigDecimal getBigDecimal(java.lang.Enum<?> column)
RecordString value in the given column to a BigDecimal and returns the result.
The BigDecimalConversion conversion will be used perform the transformation.getBigDecimal in interface Recordcolumn - the columnBigDecimal stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)public java.math.BigDecimal getBigDecimal(int columnIndex)
RecordString value in the given column to a BigDecimal and returns the result.
The BigDecimalConversion conversion will be used perform the transformation.getBigDecimal in interface RecordcolumnIndex - the columnIndexBigDecimal stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)public java.lang.Byte getByte(java.lang.String headerName)
RecordString value in the given column to a Byte and returns the result.
The ByteConversion conversion will be used perform the transformation.getByte in interface RecordheaderName - the column nameByte stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)public java.lang.Byte getByte(java.lang.Enum<?> column)
RecordString value in the given column to a Byte and returns the result.
The ByteConversion conversion will be used perform the transformation.getByte in interface Recordcolumn - the columnByte stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)public java.lang.Byte getByte(int columnIndex)
RecordString value in the given column to a Byte and returns the result.
The ByteConversion conversion will be used perform the transformation.getByte in interface RecordcolumnIndex - the columnIndexByte stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)public java.lang.Short getShort(java.lang.String headerName)
RecordString value in the given column to a Short and returns the result.
The ShortConversion conversion will be used perform the transformation.getShort in interface RecordheaderName - the column nameShort stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)public java.lang.Short getShort(java.lang.Enum<?> column)
RecordString value in the given column to a Short and returns the result.
The ShortConversion conversion will be used perform the transformation.getShort in interface Recordcolumn - the columnShort stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)public java.lang.Short getShort(int columnIndex)
RecordString value in the given column to a Short and returns the result.
The ShortConversion conversion will be used perform the transformation.getShort in interface RecordcolumnIndex - the columnIndexShort stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)public java.lang.Integer getInt(java.lang.String headerName)
RecordString value in the given column to a Integer and returns the result.
The IntegerConversion conversion will be used perform the transformation.getInt in interface RecordheaderName - the column nameInteger stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)public java.lang.Integer getInt(java.lang.Enum<?> column)
RecordString value in the given column to a Integer and returns the result.
The IntegerConversion conversion will be used perform the transformation.getInt in interface Recordcolumn - the columnInteger stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)public java.lang.Integer getInt(int columnIndex)
RecordString value in the given column to a Integer and returns the result.
The IntegerConversion conversion will be used perform the transformation.getInt in interface RecordcolumnIndex - the columnIndexInteger stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)public java.lang.Long getLong(java.lang.String headerName)
RecordString value in the given column to a Long and returns the result.
The LongConversion conversion will be used perform the transformation.getLong in interface RecordheaderName - the column nameLong stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)public java.lang.Long getLong(java.lang.Enum<?> column)
RecordString value in the given column to a Long and returns the result.
The LongConversion conversion will be used perform the transformation.getLong in interface Recordcolumn - the columnLong stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)public java.lang.Long getLong(int columnIndex)
RecordString value in the given column to a Long and returns the result.
The LongConversion conversion will be used perform the transformation.getLong in interface RecordcolumnIndex - the columnIndexLong stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)public java.lang.Float getFloat(java.lang.String headerName)
RecordString value in the given column to a Float and returns the result.
The FloatConversion conversion will be used perform the transformation.getFloat in interface RecordheaderName - the column nameFloat stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)public java.lang.Float getFloat(java.lang.Enum<?> column)
RecordString value in the given column to a Float and returns the result.
The FloatConversion conversion will be used perform the transformation.getFloat in interface Recordcolumn - the columnFloat stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)public java.lang.Float getFloat(int columnIndex)
RecordString value in the given column to a Float and returns the result.
The FloatConversion conversion will be used perform the transformation.getFloat in interface RecordcolumnIndex - the columnIndexFloat stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)public java.lang.Double getDouble(java.lang.String headerName)
RecordString value in the given column to a Double and returns the result.
The DoubleConversion conversion will be used perform the transformation.getDouble in interface RecordheaderName - the column nameDouble stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)public java.lang.Double getDouble(java.lang.Enum<?> column)
RecordString value in the given column to a Double and returns the result.
The DoubleConversion conversion will be used perform the transformation.getDouble in interface Recordcolumn - the columnDouble stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)public java.lang.Double getDouble(int columnIndex)
RecordString value in the given column to a Double and returns the result.
The DoubleConversion conversion will be used perform the transformation.getDouble in interface RecordcolumnIndex - the columnIndexDouble stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)public java.util.Date getDate(java.lang.String headerName)
RecordString 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.getDate in interface RecordheaderName - the column nameDate stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)public java.util.Date getDate(java.lang.Enum<?> column)
RecordString 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.getDate in interface Recordcolumn - the columnDate stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)public java.util.Date getDate(int columnIndex)
RecordString 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.getDate in interface RecordcolumnIndex - the column indexDate stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)public java.util.Calendar getCalendar(java.lang.String headerName)
RecordString 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.getCalendar in interface RecordheaderName - the column nameCalendar stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)public java.util.Calendar getCalendar(java.lang.Enum<?> column)
RecordString 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.getCalendar in interface Recordcolumn - the columnCalendar stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)public java.util.Calendar getCalendar(int columnIndex)
RecordString 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.getCalendar in interface RecordcolumnIndex - the column indexCalendar stored in the given column, null or the
default value specified in RecordMetaData.defaultValueOf(String)public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String[] getValues(java.lang.String... fieldNames)
Recordpublic java.lang.String[] getValues(int... fieldIndexes)
Recordpublic java.lang.String[] getValues(java.lang.Enum<?>... fields)
Record