Top Fields Constructors Methods
com.univocity.parsers.common.record

pack-priv Class RecordImpl<C extends Context>

extends Object
implements Record
Class Inheritance
All Implemented Interfaces
com.univocity.parsers.common.record.Record
Imports
com.univocity.parsers.common.*, com.univocity.parsers.conversions.*, java.math.*, java.util.*

Field Summary

Modifier and TypeField and Description
private final String[]
private final RecordMetaDataImpl<C>

Constructor Summary

AccessConstructor and Description
pack-priv
RecordImpl(String[] data, RecordMetaDataImpl<C extends Context> metaData)

Method Summary

Modifier and TypeMethod and Description
private String[]
buildSelection(String[] selectedFields)

private int[]
buildSelection(int[] selectedIndexes)

public <T extends Enum<T>> T[]
buildSelection(Class<T> enumType, T... selectedColumns)

public boolean
equals(Object
the reference object with which to compare.
o
)

Overrides java.lang.Object.equals.

Indicates whether some other object is "equal to" this one.
public <T extends Enum<T>> Map<T, String>
fillEnumMap(Map<T, String>
the map that will receive the values
map
,
T...
the column to use as keys of the map
selectedColumns
)

Implements com.univocity.parsers.common.record.Record.fillEnumMap.

Fills a map with the String values of this record.
public <T extends Enum<T>> Map<T, Object>
fillEnumObjectMap(Map<T, Object>
the map that will receive the values
map
,
T...
the column to use as keys of the map
selectedColumns
)

Implements com.univocity.parsers.common.record.Record.fillEnumObjectMap.

Fills a map with the converted Object values of this record.
public Map<String, String>
fillFieldMap(Map<String, String>
the map that will receive the values
map
,
String...
the header names to use as keys of the map
selectedFields
)

Implements com.univocity.parsers.common.record.Record.fillFieldMap.

Fills a map with the String values of this record.
public Map<String, Object>
fillFieldObjectMap(Map<String, Object>
the map that will receive the values
map
,
String...
the column names to use as keys of the map
selectedFields
)

Implements com.univocity.parsers.common.record.Record.fillFieldObjectMap.

Fills a map with the converted Object values of this record.
public Map<Integer, String>
fillIndexMap(Map<Integer, String>
the map that will receive the values
map
,
int...
the column indexes to use as keys of the map
selectedIndexes
)

Implements com.univocity.parsers.common.record.Record.fillIndexMap.

Fills a map with the String values of this record.
public Map<Integer, Object>
fillIndexObjectMap(Map<Integer, Object>
the map that will receive the values
map
,
int...
the column indexes to use as keys of the map
selectedIndexes
)

Implements com.univocity.parsers.common.record.Record.fillIndexObjectMap.

Fills a map with the converted Object values of this record.
public BigDecimal
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
)

Implements com.univocity.parsers.common.record.Record.getBigDecimal.

Converts the String value in the given column to a BigDecimal and returns the result.
public BigDecimal
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
)

Implements com.univocity.parsers.common.record.Record.getBigDecimal.

Converts the String value in the given column to a BigDecimal and returns the result.
public BigDecimal
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
)

Implements com.univocity.parsers.common.record.Record.getBigDecimal.

Converts the String value in the given column to a BigDecimal and returns the result.
public BigDecimal
getBigDecimal(String
the column name
headerName
)

Implements com.univocity.parsers.common.record.Record.getBigDecimal.

Converts the String value in the given column to a BigDecimal and returns the result.
public BigDecimal
getBigDecimal(Enum<?>
the column
column
)

Implements com.univocity.parsers.common.record.Record.getBigDecimal.

Converts the String value in the given column to a BigDecimal and returns the result.
public BigDecimal
getBigDecimal(int
the columnIndex
columnIndex
)

Implements com.univocity.parsers.common.record.Record.getBigDecimal.

Converts the String value in the given column to a BigDecimal and returns the result.
public BigInteger
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
)

Implements com.univocity.parsers.common.record.Record.getBigInteger.

Converts the String value in the given column to a BigInteger and returns the result.
public BigInteger
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
)

Implements com.univocity.parsers.common.record.Record.getBigInteger.

Converts the String value in the given column to a BigInteger and returns the result.
public BigInteger
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
)

Implements com.univocity.parsers.common.record.Record.getBigInteger.

Converts the String value in the given column to a BigInteger and returns the result.
public BigInteger
getBigInteger(String
the column name
headerName
)

Implements com.univocity.parsers.common.record.Record.getBigInteger.

Converts the String value in the given column to a BigInteger and returns the result.
public BigInteger
getBigInteger(Enum<?>
the column
column
)

Implements com.univocity.parsers.common.record.Record.getBigInteger.

Converts the String value in the given column to a BigInteger and returns the result.
public BigInteger
getBigInteger(int
the columnIndex
columnIndex
)

Implements com.univocity.parsers.common.record.Record.getBigInteger.

Converts the String value in the given column to a BigInteger and returns the result.
public Boolean
getBoolean(String
the column name
headerName
)

Implements com.univocity.parsers.common.record.Record.getBoolean.

Converts the String value in the given column to a Boolean and returns the result.
public Boolean
getBoolean(Enum<?>
the column
column
)

Implements com.univocity.parsers.common.record.Record.getBoolean.

Converts the String value in the given column to a Boolean and returns the result.
public Boolean
getBoolean(int
the column index
columnIndex
)

Implements com.univocity.parsers.common.record.Record.getBoolean.

Converts the String value in the given column to a Boolean and returns the result.
public Boolean
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
)

Implements com.univocity.parsers.common.record.Record.getBoolean.

Converts the String value in the given column to a Boolean and returns the result.
public Boolean
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
)

Implements com.univocity.parsers.common.record.Record.getBoolean.

Converts the String value in the given column to a Boolean and returns the result.
public Boolean
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
)

Implements com.univocity.parsers.common.record.Record.getBoolean.

Converts the String value in the given column to a Boolean and returns the result.
public Byte
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
)

Implements com.univocity.parsers.common.record.Record.getByte.

Converts the String value in the given column to a Byte and returns the result.
public Byte
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
)

Implements com.univocity.parsers.common.record.Record.getByte.

Converts the String value in the given column to a Byte and returns the result.
public Byte
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
)

Implements com.univocity.parsers.common.record.Record.getByte.

Converts the String value in the given column to a Byte and returns the result.
public Byte
getByte(String
the column name
headerName
)

Implements com.univocity.parsers.common.record.Record.getByte.

Converts the String value in the given column to a Byte and returns the result.
public Byte
getByte(Enum<?>
the column
column
)

Implements com.univocity.parsers.common.record.Record.getByte.

Converts the String value in the given column to a Byte and returns the result.
public Byte
getByte(int
the columnIndex
columnIndex
)

Implements com.univocity.parsers.common.record.Record.getByte.

Converts the String value in the given column to a Byte and returns the result.
public Calendar
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
)

Implements com.univocity.parsers.common.record.Record.getCalendar.

Converts the String value in the given column to a Calendar and returns the result.
public Calendar
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
)

Implements com.univocity.parsers.common.record.Record.getCalendar.

Converts the String value in the given column to a Calendar and returns the result.
public Calendar
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
)

Implements com.univocity.parsers.common.record.Record.getCalendar.

Converts the String value in the given column to a Calendar and returns the result.
public Calendar
getCalendar(String
the column name
headerName
)

Implements com.univocity.parsers.common.record.Record.getCalendar.

Converts the String value in the given column to a Calendar and returns the result.
public Calendar
getCalendar(Enum<?>
the column
column
)

Implements com.univocity.parsers.common.record.Record.getCalendar.

Converts the String value in the given column to a Calendar and returns the result.
public Calendar
getCalendar(int
the column index
columnIndex
)

Implements com.univocity.parsers.common.record.Record.getCalendar.

Converts the String value in the given column to a Calendar and returns the result.
public Character
getChar(String
the column name
headerName
)

Implements com.univocity.parsers.common.record.Record.getChar.

Converts the String value in the given column to a Character and returns the result.
public Character
getChar(Enum<?>
the column
column
)

Implements com.univocity.parsers.common.record.Record.getChar.

Converts the String value in the given column to a Character and returns the result.
public Character
getChar(int
the column index
columnIndex
)

Implements com.univocity.parsers.common.record.Record.getChar.

Converts the String value in the given column to a Character and returns the result.
public Date
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
)

Implements com.univocity.parsers.common.record.Record.getDate.

Converts the String value in the given column to a Date and returns the result.
public Date
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
)

Implements com.univocity.parsers.common.record.Record.getDate.

Converts the String value in the given column to a Date and returns the result.
public Date
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
)

Implements com.univocity.parsers.common.record.Record.getDate.

Converts the String value in the given column to a Date and returns the result.
public Date
getDate(String
the column name
headerName
)

Implements com.univocity.parsers.common.record.Record.getDate.

Converts the String value in the given column to a Date and returns the result.
public Date
getDate(Enum<?>
the column
column
)

Implements com.univocity.parsers.common.record.Record.getDate.

Converts the String value in the given column to a Date and returns the result.
public Date
getDate(int
the column index
columnIndex
)

Implements com.univocity.parsers.common.record.Record.getDate.

Converts the String value in the given column to a Date and returns the result.
public Double
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
)

Implements com.univocity.parsers.common.record.Record.getDouble.

Converts the String value in the given column to a Double and returns the result.
public Double
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
)

Implements com.univocity.parsers.common.record.Record.getDouble.

Converts the String value in the given column to a Double and returns the result.
public Double
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
)

Implements com.univocity.parsers.common.record.Record.getDouble.

Converts the String value in the given column to a Double and returns the result.
public Double
getDouble(String
the column name
headerName
)

Implements com.univocity.parsers.common.record.Record.getDouble.

Converts the String value in the given column to a Double and returns the result.
public Double
getDouble(Enum<?>
the column
column
)

Implements com.univocity.parsers.common.record.Record.getDouble.

Converts the String value in the given column to a Double and returns the result.
public Double
getDouble(int
the columnIndex
columnIndex
)

Implements com.univocity.parsers.common.record.Record.getDouble.

Converts the String value in the given column to a Double and returns the result.
public Float
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
)

Implements com.univocity.parsers.common.record.Record.getFloat.

Converts the String value in the given column to a Long and returns the result.
public Float
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
)

Implements com.univocity.parsers.common.record.Record.getFloat.

Converts the String value in the given column to a Float and returns the result.
public Float
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
)

Implements com.univocity.parsers.common.record.Record.getFloat.

Converts the String value in the given column to a Float and returns the result.
public Float
getFloat(String
the column name
headerName
)

Implements com.univocity.parsers.common.record.Record.getFloat.

Converts the String value in the given column to a Float and returns the result.
public Float
getFloat(Enum<?>
the column
column
)

Implements com.univocity.parsers.common.record.Record.getFloat.

Converts the String value in the given column to a Float and returns the result.
public Float
getFloat(int
the columnIndex
columnIndex
)

Implements com.univocity.parsers.common.record.Record.getFloat.

Converts the String value in the given column to a Float and returns the result.
public Integer
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
)

Implements com.univocity.parsers.common.record.Record.getInt.

Converts the String value in the given column to a Integer and returns the result.
public Integer
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
)

Implements com.univocity.parsers.common.record.Record.getInt.

Converts the String value in the given column to a Integer and returns the result.
public Integer
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
)

Implements com.univocity.parsers.common.record.Record.getInt.

Converts the String value in the given column to a Integer and returns the result.
public Integer
getInt(String
the column name
headerName
)

Implements com.univocity.parsers.common.record.Record.getInt.

Converts the String value in the given column to a Integer and returns the result.
public Integer
getInt(Enum<?>
the column
column
)

Implements com.univocity.parsers.common.record.Record.getInt.

Converts the String value in the given column to a Integer and returns the result.
public Integer
getInt(int
the columnIndex
columnIndex
)

Implements com.univocity.parsers.common.record.Record.getInt.

Converts the String value in the given column to a Integer and returns the result.
public Long
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
)

Implements com.univocity.parsers.common.record.Record.getLong.

Converts the String value in the given column to a Long and returns the result.
public Long
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
)

Implements com.univocity.parsers.common.record.Record.getLong.

Converts the String value in the given column to a Long and returns the result.
public Long
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
)

Implements com.univocity.parsers.common.record.Record.getLong.

Converts the String value in the given column to a Long and returns the result.
public Long
getLong(String
the column name
headerName
)

Implements com.univocity.parsers.common.record.Record.getLong.

Converts the String value in the given column to a Long and returns the result.
public Long
getLong(Enum<?>
the column
column
)

Implements com.univocity.parsers.common.record.Record.getLong.

Converts the String value in the given column to a Long and returns the result.
public Long
getLong(int
the columnIndex
columnIndex
)

Implements com.univocity.parsers.common.record.Record.getLong.

Converts the String value in the given column to a Long and returns the result.
public RecordMetaData
getMetaData()

Implements com.univocity.parsers.common.record.Record.getMetaData.

Returns the RecordMetaData associated with all records parsed from the input.
public Short
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
)

Implements com.univocity.parsers.common.record.Record.getShort.

Converts the String value in the given column to a Short and returns the result.
public Short
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
)

Implements com.univocity.parsers.common.record.Record.getShort.

Converts the String value in the given column to a Short and returns the result.
public Short
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
)

Implements com.univocity.parsers.common.record.Record.getShort.

Converts the String value in the given column to a Short and returns the result.
public Short
getShort(String
the column name
headerName
)

Implements com.univocity.parsers.common.record.Record.getShort.

Converts the String value in the given column to a Short and returns the result.
public Short
getShort(Enum<?>
the column
column
)

Implements com.univocity.parsers.common.record.Record.getShort.

Converts the String value in the given column to a Short and returns the result.
public Short
getShort(int
the columnIndex
columnIndex
)

Implements com.univocity.parsers.common.record.Record.getShort.

Converts the String value in the given column to a Short and returns the result.
public String
getString(String
the name of the column
headerName
)

Implements com.univocity.parsers.common.record.Record.getString.

Returns the String value in the given column
public String
getString(Enum<?>
the column
column
)

Implements com.univocity.parsers.common.record.Record.getString.

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

Implements com.univocity.parsers.common.record.Record.getString.

Returns the String value in the given column
public String
getString(String
the name of the column
headerName
,
int
the maximum number of characters to be returned.
maxLength
)

Implements com.univocity.parsers.common.record.Record.getString.

Returns the String value in the given column, truncating it to a given maximum length
public String
getString(Enum<?>
the column
column
,
int
the maximum number of characters to be returned.
maxLength
)

Implements com.univocity.parsers.common.record.Record.getString.

Returns the String value in the given column, truncating it to a given maximum length
public String
getString(int
the index of the column
columnIndex
,
int
the maximum number of characters to be returned.
maxLength
)

Implements com.univocity.parsers.common.record.Record.getString.

Returns the String value in the given column, truncating it to a given maximum length
public <T> T
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
)

Implements com.univocity.parsers.common.record.Record.getValue, com.univocity.parsers.common.record.Record.getValue.

Returns the value contained in the given column.
public <T> T
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
)

Implements com.univocity.parsers.common.record.Record.getValue, com.univocity.parsers.common.record.Record.getValue.

Returns the value contained in the given column.
public <T> T
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
)

Implements com.univocity.parsers.common.record.Record.getValue, com.univocity.parsers.common.record.Record.getValue.

Returns the value contained in the given column.
public <T> T
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
)

Implements com.univocity.parsers.common.record.Record.getValue, com.univocity.parsers.common.record.Record.getValue.

Returns the value contained in the given column, after applying a sequence of conversion over it.
public <T> T
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
)

Implements com.univocity.parsers.common.record.Record.getValue, com.univocity.parsers.common.record.Record.getValue.

Returns the value contained in the given column, after applying a sequence of conversion over it.
public <T> T
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
)

Implements com.univocity.parsers.common.record.Record.getValue, com.univocity.parsers.common.record.Record.getValue.

Returns the value contained in the given column, after applying a sequence of conversion over it.
public <T> T
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
)

Implements com.univocity.parsers.common.record.Record.getValue.

Returns the value contained in the given column, or a default value if the column contains null
public <T> T
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
)

Implements com.univocity.parsers.common.record.Record.getValue.

Returns the value contained in the given column, or a default value if the column contains null
public <T> T
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
)

Implements com.univocity.parsers.common.record.Record.getValue.

Returns the value contained in the given column, or a default value if the column contains null
public <T> T
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
)

Implements com.univocity.parsers.common.record.Record.getValue.

Returns the value contained in a given column, after applying a sequence of conversions over it.
public <T> T
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
)

Implements com.univocity.parsers.common.record.Record.getValue.

Returns the value contained in a given column, after applying a sequence of conversions over it.
public <T> T
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
)

Implements com.univocity.parsers.common.record.Record.getValue.

Returns the value contained in a given column, after applying a sequence of conversions over it.
public String[]
getValues()

Implements com.univocity.parsers.common.record.Record.getValues.

Returns the plain values obtained from a record parsed from the input.
public String[]
getValues(String...
sequence of field names whose values will be returned.
fieldNames
)

Implements com.univocity.parsers.common.record.Record.getValues.

Returns a selection of plain values obtained from a record parsed from the input.
public String[]
getValues(int...
sequence of field indexes whose values will be returned.
fieldIndexes
)

Implements com.univocity.parsers.common.record.Record.getValues.

Returns a selection of plain values obtained from a record parsed from the input.
public String[]
getValues(Enum<?>...
sequence of fields whose values will be returned.
fields
)

Implements com.univocity.parsers.common.record.Record.getValues.

Returns a selection of plain values obtained from a record parsed from the input.
public int
hashCode()

Overrides java.lang.Object.hashCode.

Returns a hash code value for this object.
public <T extends Enum<T>> Map<T, String>
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
)

Implements com.univocity.parsers.common.record.Record.toEnumMap.

Converts the record into a map of String values.
public <T extends Enum<T>> Map<T, Object>
toEnumObjectMap(Class<T>
the enumeration type.
enumType
,
T...
the column to use as keys of the map
selectedColumns
)

Implements com.univocity.parsers.common.record.Record.toEnumObjectMap.

Converts the record into a map of Object values.
public Map<String, String>
toFieldMap(String...
the header names to use as keys of the map. If no selection then all headers will be used.
selectedFields
)

Implements com.univocity.parsers.common.record.Record.toFieldMap.

Converts the record into a map of String values.
public Map<String, Object>
toFieldObjectMap(String...
the column names to use as keys of the map
selectedFields
)

Implements com.univocity.parsers.common.record.Record.toFieldObjectMap.

Converts the record into a map of Object values.
public Map<Integer, String>
toIndexMap(int...
the column indexes to use as keys of the map. If no selection then all indexes will be used.
selectedIndexes
)

Implements com.univocity.parsers.common.record.Record.toIndexMap.

Converts the record into a map of String values.
public Map<Integer, Object>
toIndexObjectMap(int...
the column indexes to use as keys of the map
selectedIndex
)

Implements com.univocity.parsers.common.record.Record.toIndexObjectMap.

Converts the record into a map of Object values.
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
private String
truncate(String string, int maxLength)

Inherited from java.lang.Object:
clonefinalizegetClassnotifynotifyAllwaitwaitwait