Top Description Methods
com.univocity.parsers.common.record

public Interface Record

Known Direct Implementers
com.univocity.parsers.common.record.RecordImpl
Imports
com.univocity.parsers.common.*, com.univocity.parsers.conversions.*, java.math.*, java.util.*

A record parsed from the input, with convenience methods for easier data manipulation. Records are obtained from com.univocity.parsers.common.AbstractParser methods such as

Method Summary

Modifier and TypeMethod and Description
public <
the enumeration type
T extends Enum<T>
>
Map<T, String>

Returns:

the input map, containing the selected header names as the keys, and their respective values.
fillEnumMap
(Map<T, String>
the map that will receive the values
map
,
T...
the column to use as keys of the map
selectedColumns
)

Fills a map with the String values of this record.

public <
the enumeration type
T extends Enum<T>
>
Map<T, Object>

Returns:

the input map, containing the selected columns as the keys, and their respective values.
fillEnumObjectMap
(Map<T, Object>
the map that will receive the values
map
,
T...
the column to use as keys of the map
selectedColumns
)

Fills a map with the converted Object values of this record.

public Map<String, String>

Returns:

the input map, containing the selected header names as the keys, and their respective values.
fillFieldMap
(Map<String, String>
the map that will receive the values
map
,
String...
the header names to use as keys of the map
selectedFields
)

Fills a map with the String values of this record.

public Map<String, Object>

Returns:

the input map, containing the selected columns as the keys, and their respective values.
fillFieldObjectMap
(Map<String, Object>
the map that will receive the values
map
,
String...
the column names to use as keys of the map
selectedFields
)

Fills a map with the converted Object values of this record.

public Map<Integer, String>

Returns:

the input map, containing the selected column indexes as the keys, and their respective values.
fillIndexMap
(Map<Integer, String>
the map that will receive the values
map
,
int...
the column indexes to use as keys of the map
selectedIndexes
)

Fills a map with the String values of this record.

public Map<Integer, Object>

Returns:

the input map, containing the selected columns as the keys, and their respective values.
fillIndexObjectMap
(Map<Integer, Object>
the map that will receive the values
map
,
int...
the column indexes to use as keys of the map
selectedIndexes
)

Fills a map with the converted Object values of this record.

public BigDecimal

Returns:

the BigDecimal stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getBigDecimal
(String
the column name
headerName
,
String
the numeric mask to apply over the parsed content
format
,
String...
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"}
formatOptions
)

Converts the String value in the given column to a BigDecimal and returns the result.

public BigDecimal

Returns:

the BigDecimal stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getBigDecimal
(Enum<?>
the column
column
,
String
the numeric mask to apply over the parsed content
format
,
String...
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"}
formatOptions
)

Converts the String value in the given column to a BigDecimal and returns the result.

public BigDecimal

Returns:

the BigDecimal stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getBigDecimal
(int
the index of column
columnIndex
,
String
the numeric mask to apply over the parsed content
format
,
String...
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"}
formatOptions
)

Converts the String value in the given column to a BigDecimal and returns the result.

public BigDecimal

Returns:

the BigDecimal stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getBigDecimal
(String
the column name
headerName
)

Converts the String value in the given column to a BigDecimal and returns the result.

public BigDecimal

Returns:

the BigDecimal stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getBigDecimal
(Enum<?>
the column
column
)

Converts the String value in the given column to a BigDecimal and returns the result.

public BigDecimal

Returns:

the BigDecimal stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getBigDecimal
(int
the columnIndex
columnIndex
)

Converts the String value in the given column to a BigDecimal and returns the result.

public BigInteger

Returns:

the BigInteger stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getBigInteger
(String
the column name
headerName
,
String
the numeric mask to apply over the parsed content
format
,
String...
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"}
formatOptions
)

Converts the String value in the given column to a BigInteger and returns the result.

public BigInteger

Returns:

the BigInteger stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getBigInteger
(Enum<?>
the column
column
,
String
the numeric mask to apply over the parsed content
format
,
String...
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"}
formatOptions
)

Converts the String value in the given column to a BigInteger and returns the result.

public BigInteger

Returns:

the BigInteger stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getBigInteger
(int
the index of column
columnIndex
,
String
the numeric mask to apply over the parsed content
format
,
String...
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"}
formatOptions
)

Converts the String value in the given column to a BigInteger and returns the result.

public BigInteger

Returns:

the BigInteger stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getBigInteger
(String
the column name
headerName
)

Converts the String value in the given column to a BigInteger and returns the result.

public BigInteger

Returns:

the BigInteger stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getBigInteger
(Enum<?>
the column
column
)

Converts the String value in the given column to a BigInteger and returns the result.

public BigInteger

Returns:

the BigInteger stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getBigInteger
(int
the columnIndex
columnIndex
)

Converts the String value in the given column to a BigInteger and returns the result.

public Boolean

Returns:

the Boolean stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getBoolean
(String
the column name
headerName
)

Converts the String value in the given column to a Boolean and returns the result.

public Boolean

Returns:

the Boolean stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getBoolean
(Enum<?>
the column
column
)

Converts the String value in the given column to a Boolean and returns the result.

public Boolean

Returns:

the Boolean stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getBoolean
(int
the column index
columnIndex
)

Converts the String value in the given column to a Boolean and returns the result.

public Boolean

Returns:

the Boolean 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)
getBoolean
(String
the column name
headerName
,
String
a String that represents the Boolean value true
trueString
,
String
a String that represents the Boolean value false
falseString
)

Converts the String value in the given column to a Boolean and returns the result.

public Boolean

Returns:

the Boolean 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)
getBoolean
(Enum<?>
the column
column
,
String
a String that represents the Boolean value true
trueString
,
String
a String that represents the Boolean value false
falseString
)

Converts the String value in the given column to a Boolean and returns the result.

public Boolean

Returns:

the Boolean 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)
getBoolean
(int
the column index
columnIndex
,
String
a String that represents the Boolean value true
trueString
,
String
a String that represents the Boolean value false
falseString
)

Converts the String value in the given column to a Boolean and returns the result.

public Byte

Returns:

the Byte stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getByte
(String
the name of the column
headerName
,
String
the numeric mask to apply over the parsed content
format
,
String...
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"}
formatOptions
)

Converts the String value in the given column to a Byte and returns the result.

public Byte

Returns:

the Byte stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getByte
(Enum<?>
the column
column
,
String
the numeric mask to apply over the parsed content
format
,
String...
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"}
formatOptions
)

Converts the String value in the given column to a Byte and returns the result.

public Byte

Returns:

the Byte stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getByte
(int
the index of column
columnIndex
,
String
the numeric mask to apply over the parsed content
format
,
String...
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"}
formatOptions
)

Converts the String value in the given column to a Byte and returns the result.

public Byte

Returns:

the Byte stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getByte
(String
the column name
headerName
)

Converts the String value in the given column to a Byte and returns the result.

public Byte

Returns:

the Byte stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getByte
(Enum<?>
the column
column
)

Converts the String value in the given column to a Byte and returns the result.

public Byte

Returns:

the Byte stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getByte
(int
the columnIndex
columnIndex
)

Converts the String value in the given column to a Byte and returns the result.

public Calendar

Returns:

the Calendar stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getCalendar
(String
the column name
headerName
,
String
the date mask to apply over the parsed content
format
,
String...
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"}
formatOptions
)

Converts the String value in the given column to a Calendar and returns the result.

public Calendar

Returns:

the Calendar stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getCalendar
(Enum<?>
the column
column
,
String
the date mask to apply over the parsed content
format
,
String...
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"}
formatOptions
)

Converts the String value in the given column to a Calendar and returns the result.

public Calendar

Returns:

the Calendar stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getCalendar
(int
the index of column
columnIndex
,
String
the date mask to apply over the parsed content
format
,
String...
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"}
formatOptions
)

Converts the String value in the given column to a Calendar and returns the result.

public Calendar

Returns:

the Calendar stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getCalendar
(String
the column name
headerName
)

Converts the String value in the given column to a Calendar and returns the result.

public Calendar

Returns:

the Calendar stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getCalendar
(Enum<?>
the column
column
)

Converts the String value in the given column to a Calendar and returns the result.

public Calendar

Returns:

the Calendar stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getCalendar
(int
the column index
columnIndex
)

Converts the String value in the given column to a Calendar and returns the result.

public Character

Returns:

the Character stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getChar
(String
the column name
headerName
)

Converts the String value in the given column to a Character and returns the result.

public Character

Returns:

the Character stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getChar
(Enum<?>
the column
column
)

Converts the String value in the given column to a Character and returns the result.

public Character

Returns:

the Character stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getChar
(int
the column index
columnIndex
)

Converts the String value in the given column to a Character and returns the result.

public Date

Returns:

the Date stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getDate
(String
the column name
headerName
,
String
the numeric mask to apply over the parsed content
format
,
String...
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"}
formatOptions
)

Converts the String value in the given column to a Date and returns the result.

public Date

Returns:

the Date stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getDate
(Enum<?>
the column
column
,
String
the date mask to apply over the parsed content
format
,
String...
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"}
formatOptions
)

Converts the String value in the given column to a Date and returns the result.

public Date

Returns:

the Date stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getDate
(int
the index of column
columnIndex
,
String
the date mask to apply over the parsed content
format
,
String...
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"}
formatOptions
)

Converts the String value in the given column to a Date and returns the result.

public Date

Returns:

the Date stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getDate
(String
the column name
headerName
)

Converts the String value in the given column to a Date and returns the result.

public Date

Returns:

the Date stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getDate
(Enum<?>
the column
column
)

Converts the String value in the given column to a Date and returns the result.

public Date

Returns:

the Date stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getDate
(int
the column index
columnIndex
)

Converts the String value in the given column to a Date and returns the result.

public Double

Returns:

the Double stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getDouble
(String
the name of the column
headerName
,
String
the numeric mask to apply over the parsed content
format
,
String...
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"}
formatOptions
)

Converts the String value in the given column to a Double and returns the result.

public Double

Returns:

the Double stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getDouble
(Enum<?>
the column
column
,
String
the numeric mask to apply over the parsed content
format
,
String...
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"}
formatOptions
)

Converts the String value in the given column to a Double and returns the result.

public Double

Returns:

the Double stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getDouble
(int
the index of column
columnIndex
,
String
the numeric mask to apply over the parsed content
format
,
String...
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"}
formatOptions
)

Converts the String value in the given column to a Double and returns the result.

public Double

Returns:

the Double stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getDouble
(String
the column name
headerName
)

Converts the String value in the given column to a Double and returns the result.

public Double

Returns:

the Double stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getDouble
(Enum<?>
the column
column
)

Converts the String value in the given column to a Double and returns the result.

public Double

Returns:

the Double stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getDouble
(int
the columnIndex
columnIndex
)

Converts the String value in the given column to a Double and returns the result.

public Float

Returns:

the Long stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getFloat
(String
the name of the column
headerName
,
String
the numeric mask to apply over the parsed content
format
,
String...
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"}
formatOptions
)

Converts the String value in the given column to a Long and returns the result.

public Float

Returns:

the Float stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getFloat
(Enum<?>
the column
column
,
String
the numeric mask to apply over the parsed content
format
,
String...
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"}
formatOptions
)

Converts the String value in the given column to a Float and returns the result.

public Float

Returns:

the Float stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getFloat
(int
the index of column
columnIndex
,
String
the numeric mask to apply over the parsed content
format
,
String...
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"}
formatOptions
)

Converts the String value in the given column to a Float and returns the result.

public Float

Returns:

the Float stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getFloat
(String
the column name
headerName
)

Converts the String value in the given column to a Float and returns the result.

public Float

Returns:

the Float stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getFloat
(Enum<?>
the column
column
)

Converts the String value in the given column to a Float and returns the result.

public Float

Returns:

the Float stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getFloat
(int
the columnIndex
columnIndex
)

Converts the String value in the given column to a Float and returns the result.

public Integer

Returns:

the Integer stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getInt
(String
the name of the column
headerName
,
String
the numeric mask to apply over the parsed content
format
,
String...
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"}
formatOptions
)

Converts the String value in the given column to a Integer and returns the result.

public Integer

Returns:

the Integer stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getInt
(Enum<?>
the column
column
,
String
the numeric mask to apply over the parsed content
format
,
String...
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"}
formatOptions
)

Converts the String value in the given column to a Integer and returns the result.

public Integer

Returns:

the Integer stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getInt
(int
the index of column
columnIndex
,
String
the numeric mask to apply over the parsed content
format
,
String...
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"}
formatOptions
)

Converts the String value in the given column to a Integer and returns the result.

public Integer

Returns:

the Integer stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getInt
(String
the column name
headerName
)

Converts the String value in the given column to a Integer and returns the result.

public Integer

Returns:

the Integer stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getInt
(Enum<?>
the column
column
)

Converts the String value in the given column to a Integer and returns the result.

public Integer

Returns:

the Integer stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getInt
(int
the columnIndex
columnIndex
)

Converts the String value in the given column to a Integer and returns the result.

public Long

Returns:

the Long stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getLong
(String
the name of the column
headerName
,
String
the numeric mask to apply over the parsed content
format
,
String...
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"}
formatOptions
)

Converts the String value in the given column to a Long and returns the result.

public Long

Returns:

the Long stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getLong
(Enum<?>
the column
column
,
String
the numeric mask to apply over the parsed content
format
,
String...
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"}
formatOptions
)

Converts the String value in the given column to a Long and returns the result.

public Long

Returns:

the Long stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getLong
(int
the index of column
columnIndex
,
String
the numeric mask to apply over the parsed content
format
,
String...
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"}
formatOptions
)

Converts the String value in the given column to a Long and returns the result.

public Long

Returns:

the Long stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getLong
(String
the column name
headerName
)

Converts the String value in the given column to a Long and returns the result.

public Long

Returns:

the Long stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getLong
(Enum<?>
the column
column
)

Converts the String value in the given column to a Long and returns the result.

public Long

Returns:

the Long stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getLong
(int
the columnIndex
columnIndex
)

Converts the String value in the given column to a Long and returns the result.

public RecordMetaData

Returns:

the metadata object that provides information and basic data conversion controls over all records parsed from the input.
getMetaData
()

Returns the RecordMetaData associated with all records parsed from the input.

public Short

Returns:

the Short stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getShort
(String
the name of the column
headerName
,
String
the numeric mask to apply over the parsed content
format
,
String...
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"}
formatOptions
)

Converts the String value in the given column to a Short and returns the result.

public Short

Returns:

the Short stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getShort
(Enum<?>
the column
column
,
String
the numeric mask to apply over the parsed content
format
,
String...
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"}
formatOptions
)

Converts the String value in the given column to a Short and returns the result.

public Short

Returns:

the Short stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getShort
(int
the index of column
columnIndex
,
String
the numeric mask to apply over the parsed content
format
,
String...
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"}
formatOptions
)

Converts the String value in the given column to a Short and returns the result.

public Short

Returns:

the Short stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getShort
(String
the column name
headerName
)

Converts the String value in the given column to a Short and returns the result.

public Short

Returns:

the Short stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getShort
(Enum<?>
the column
column
)

Converts the String value in the given column to a Short and returns the result.

public Short

Returns:

the Short stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getShort
(int
the columnIndex
columnIndex
)

Converts the String value in the given column to a Short and returns the result.

public String

Returns:

the value stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getString
(String
the name of the column
headerName
)

Returns the String value in the given column

public String

Returns:

the value stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getString
(Enum<?>
the column
column
)

Returns the String value in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)

public String

Returns:

the value stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getString
(int
the index of the column
columnIndex
,
int
the maximum number of characters to be returned.
maxLength
)

Returns the String value in the given column, truncating it to a given maximum length

public String

Returns:

the value stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getString
(String
the name of the column
headerName
,
int
the maximum number of characters to be returned.
maxLength
)

Returns the String value in the given column, truncating it to a given maximum length

public String

Returns:

the value stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getString
(Enum<?>
the column
column
,
int
the maximum number of characters to be returned.
maxLength
)

Returns the String value in the given column, truncating it to a given maximum length

public String

Returns:

the value stored in the given column, null or the default value specified in RecordMetaData#defaultValueOf(String)
getString
(int
the index of the column
columnIndex
)

Returns the String value in the given column

public <
the expected value type
T
>
T

Returns:

the value this record holds at the given column
getValue
(String
the name of the column whose value will be returned
headerName
,
Class<T>
the expected type of the value. A conversion will be executed against the value to produce a result with the expected type.
expectedType
)

Returns the value contained in the given column.

public <
the expected value type
T
>
T

Returns:

the value this record holds at the given column
getValue
(Enum<?>
the column whose value will be returned
column
,
Class<T>
the expected type of the value. A conversion will be executed against the value to produce a result with the expected type.
expectedType
)

Returns the value contained in the given column.

public <
the expected value type
T
>
T

Returns:

the value this record holds at the given column
getValue
(int
the position of the column whose value will be returned
columnIndex
,
Class<T>
the expected type of the value. A conversion will be executed against the value to produce a result with the expected type.
expectedType
)

Returns the value contained in the given column.

public <
the expected value type
T
>
T

Returns:

the value this record holds at the given column
getValue
(String
the name of the column whose value will be returned
headerName
,
Class<T>
the expected type of the value. A conversion will be executed against the value to produce a result with the expected type.
expectedType
,
Conversion<I, O>...
the sequence of Conversions to apply over the column value.
conversions
)

Returns the value contained in the given column, after applying a sequence of conversion over it.

public <
the expected value type
T
>
T

Returns:

the value this record holds at the given column
getValue
(Enum<?>
the column whose value will be returned
column
,
Class<T>
the expected type of the value. A conversion will be executed against the value to produce a result with the expected type.
expectedType
,
Conversion<I, O>...
the sequence of Conversions to apply over the column value.
conversions
)

Returns the value contained in the given column, after applying a sequence of conversion over it.

public <
the expected value type
T
>
T

Returns:

the value this record holds at the given column
getValue
(int
the index of the column whose value will be returned
columnIndex
,
Class<T>
the expected type of the value. A conversion will be executed against the value to produce a result with the expected type.
expectedType
,
Conversion<I, O>...
the sequence of Conversions to apply over the column value.
conversions
)

Returns the value contained in the given column, after applying a sequence of conversion over it.

public <
the expected value type
T
>
T

Returns:

the value this record holds at the given column, or the default value in case the columns is null
getValue
(String
the name of the column whose value will be returned
headerName
,
T
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.
defaultValue
)

Returns the value contained in the given column, or a default value if the column contains null

public <
the expected value type
T
>
T

Returns:

the value this record holds at the given column, or the default value in case the columns is null
getValue
(Enum<?>
the column whose value will be returned
column
,
T
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.
defaultValue
)

Returns the value contained in the given column, or a default value if the column contains null

public <
the expected value type
T
>
T

Returns:

the value this record holds at the given column, or the default value in case the column is null
getValue
(int
index of the column whose value will be returned
columnIndex
,
T
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.
defaultValue
)

Returns the value contained in the given column, or a default value if the column contains null

public <
the expected value type
T
>
T

Returns:

the value this record holds at the given column
getValue
(String
the name of the column whose value will be returned
headerName
,
T
The default value to use if the column contains null.
defaultValue
,
Conversion<I, O>...
the sequence of Conversions to apply over the column value.
conversions
)

Returns the value contained in a given column, after applying a sequence of conversions over it.

public <
the expected value type
T
>
T

Returns:

the value this record holds at the given column
getValue
(Enum<?>
the column whose value will be returned
column
,
T
The default value to use if the column contains null.
defaultValue
,
Conversion<I, O>...
the sequence of Conversions to apply over the column value.
conversions
)

Returns the value contained in a given column, after applying a sequence of conversions over it.

public <
the expected value type
T
>
T

Returns:

the value this record holds at the given column
getValue
(int
the index of the column whose value will be returned
columnIndex
,
T
The default value to use if the column contains null.
defaultValue
,
Conversion<I, O>...
the sequence of Conversions to apply over the column value.
conversions
)

Returns the value contained in a given column, after applying a sequence of conversions over it.

public String[]

Returns:

a String array with all values parsed from the input for this record.
getValues
()

Returns the plain values obtained from a record parsed from the input.

public String[]

Returns:

a String array with the selected values parsed from the input for this record.
getValues
(String...
sequence of field names whose values will be returned.
fieldNames
)

Returns a selection of plain values obtained from a record parsed from the input.

public String[]

Returns:

a String array with the selected values parsed from the input for this record.
getValues
(int...
sequence of field indexes whose values will be returned.
fieldIndexes
)

Returns a selection of plain values obtained from a record parsed from the input.

public String[]

Returns:

a String array with the selected values parsed from the input for this record.
getValues
(Enum<?>...
sequence of fields whose values will be returned.
fields
)

Returns a selection of plain values obtained from a record parsed from the input.

public <
the enumeration type
T extends Enum<T>
>
Map<T, String>

Returns:

a map containing the selected (or all) columns as the keys, and their respective values.
toEnumMap
(Class<T>
the enumeration type.
enumType
,
T...
the columns to use as keys of the map. If no selection then all values of the enumeration type will be used.
selectedColumns
)

Converts the record into a map of String values.

public <
the enumeration type
T extends Enum<T>
>
Map<T, Object>

Returns:

a map containing the selected columns as the keys, and their respective values.
toEnumObjectMap
(Class<T>
the enumeration type.
enumType
,
T...
the column to use as keys of the map
selectedColumns
)

Converts the record into a map of Object values.

public Map<String, String>

Returns:

a map containing the selected (or all) header names as the keys, and their respective values.
toFieldMap
(String...
the header names to use as keys of the map. If no selection then all headers will be used.
selectedFields
)

Converts the record into a map of String values.

public Map<String, Object>

Returns:

a map containing the selected column names as the keys, and their respective values.
toFieldObjectMap
(String...
the column names to use as keys of the map
selectedFields
)

Converts the record into a map of Object values.

public Map<Integer, String>

Returns:

a map containing the selected (or all) column indexes as the keys, and their respective values.
toIndexMap
(int...
the column indexes to use as keys of the map. If no selection then all indexes will be used.
selectedIndexes
)

Converts the record into a map of String values.

public Map<Integer, Object>

Returns:

a map containing the selected column indexes as the keys, and their respective values.
toIndexObjectMap
(int...
the column indexes to use as keys of the map
selectedIndexes
)

Converts the record into a map of Object values.