Interface Record

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      <T extends java.lang.Enum<T>>
      java.util.Map<T,​java.lang.String>
      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>>
      java.util.Map<T,​java.lang.Object>
      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​(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.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​(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​(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.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​(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​(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.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​(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​(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.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​(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​(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.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​(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​(int columnIndex)
      Converts the String value in the given column to a Character 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​(java.lang.String headerName)
      Converts the String value in the given column to a Character 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.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​(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​(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.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​(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​(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.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​(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​(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.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​(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​(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.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​(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​(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.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​(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​(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.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​(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​(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.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​(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​(int... fieldIndexes)
      Returns a selection of 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​(java.lang.String... fieldNames)
      Returns a selection of plain values obtained from a record parsed from the input.
      <T extends java.lang.Enum<T>>
      java.util.Map<T,​java.lang.String>
      toEnumMap​(java.lang.Class<T> enumType, T... selectedColumns)
      Converts the record into a map of String values.
      <T extends java.lang.Enum<T>>
      java.util.Map<T,​java.lang.Object>
      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... selectedIndexes)
      Converts the record into a map of Object values.
    • Method Detail

      • getMetaData

        RecordMetaData getMetaData()
        Returns the RecordMetaData associated with all records parsed from the input. The metadata allows associating types, conversions and default values to any column, which will be used when performing operations that can convert plain input strings into object instances. Methods such as toFieldMap(String...), fillFieldMap(Map, String...) and any other method that returns Objects will use the metadata information to perform data conversions.
        Returns:
        the metadata object that provides information and basic data conversion controls over all records parsed from the input.
      • getValues

        java.lang.String[] getValues()
        Returns the plain values obtained from a record parsed from the input.
        Returns:
        a String array with all values parsed from the input for this record.
      • getValues

        java.lang.String[] getValues​(java.lang.String... fieldNames)
        Returns a selection of plain values obtained from a record parsed from the input.
        Parameters:
        fieldNames - sequence of field names whose values will be returned.
        Returns:
        a String array with the selected values parsed from the input for this record.
      • getValues

        java.lang.String[] getValues​(int... fieldIndexes)
        Returns a selection of plain values obtained from a record parsed from the input.
        Parameters:
        fieldIndexes - sequence of field indexes whose values will be returned.
        Returns:
        a String array with the selected values parsed from the input for this record.
      • getValues

        java.lang.String[] getValues​(java.lang.Enum<?>... fields)
        Returns a selection of plain values obtained from a record parsed from the input.
        Parameters:
        fields - sequence of fields whose values will be returned.
        Returns:
        a String array with the selected values parsed from the input for this record.
      • getValue

        <T> T getValue​(java.lang.String headerName,
                       java.lang.Class<T> expectedType)
        Returns the value contained in the given column.
        Type Parameters:
        T - the expected value type
        Parameters:
        headerName - the name of the column whose value will be returned
        expectedType - the expected type of the value. A conversion will be executed against the value to produce a result with the expected type.
        Returns:
        the value this record holds at the given column
      • getValue

        <T> T getValue​(java.lang.Enum<?> column,
                       java.lang.Class<T> expectedType)
        Returns the value contained in the given column.
        Type Parameters:
        T - the expected value type
        Parameters:
        column - the column whose value will be returned
        expectedType - the expected type of the value. A conversion will be executed against the value to produce a result with the expected type.
        Returns:
        the value this record holds at the given column
      • getValue

        <T> T getValue​(int columnIndex,
                       java.lang.Class<T> expectedType)
        Returns the value contained in the given column.
        Type Parameters:
        T - the expected value type
        Parameters:
        columnIndex - the position of the column whose value will be returned
        expectedType - the expected type of the value. A conversion will be executed against the value to produce a result with the expected type.
        Returns:
        the value this record holds at the given column
      • getValue

        <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.
        Type Parameters:
        T - the expected value type
        Parameters:
        headerName - the name of the column whose value will be returned
        expectedType - 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.
        Returns:
        the value this record holds at the given column
      • getValue

        <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.
        Type Parameters:
        T - the expected value type
        Parameters:
        column - the column whose value will be returned
        expectedType - 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.
        Returns:
        the value this record holds at the given column
      • getValue

        <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.
        Type Parameters:
        T - the expected value type
        Parameters:
        columnIndex - the index of the column whose value will be returned
        expectedType - 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.
        Returns:
        the value this record holds at the given column
      • getValue

        <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
        Type Parameters:
        T - the expected value type
        Parameters:
        headerName - the name of the column whose value will be returned
        defaultValue - 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.
        Returns:
        the value this record holds at the given column, or the default value in case the columns is null
      • getValue

        <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
        Type Parameters:
        T - the expected value type
        Parameters:
        column - the column whose value will be returned
        defaultValue - 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.
        Returns:
        the value this record holds at the given column, or the default value in case the columns is null
      • getValue

        <T> T getValue​(int columnIndex,
                       T defaultValue)
        Returns the value contained in the given column, or a default value if the column contains null
        Type Parameters:
        T - the expected value type
        Parameters:
        columnIndex - index of the column whose value will be returned
        defaultValue - 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.
        Returns:
        the value this record holds at the given column, or the default value in case the column is null
      • getValue

        <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.
        Type Parameters:
        T - the expected value type
        Parameters:
        headerName - the name of the column whose value will be returned
        defaultValue - The default value to use if the column contains null.
        conversions - the sequence of Conversions to apply over the column value.
        Returns:
        the value this record holds at the given column
      • getValue

        <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.
        Type Parameters:
        T - the expected value type
        Parameters:
        column - the column whose value will be returned
        defaultValue - The default value to use if the column contains null.
        conversions - the sequence of Conversions to apply over the column value.
        Returns:
        the value this record holds at the given column
      • getValue

        <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.
        Type Parameters:
        T - the expected value type
        Parameters:
        columnIndex - the index of the column whose value will be returned
        defaultValue - The default value to use if the column contains null.
        conversions - the sequence of Conversions to apply over the column value.
        Returns:
        the value this record holds at the given column
      • getString

        java.lang.String getString​(java.lang.String headerName)
        Returns the String value in the given column
        Parameters:
        headerName - the name of the column
        Returns:
        the value stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getString

        java.lang.String getString​(int columnIndex,
                                   int maxLength)
        Returns the String value in the given column, truncating it to a given maximum length
        Parameters:
        columnIndex - the index of the column
        maxLength - the maximum number of characters to be returned.
        Returns:
        the value stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getString

        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
        Parameters:
        headerName - the name of the column
        maxLength - the maximum number of characters to be returned.
        Returns:
        the value stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getString

        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
        Parameters:
        column - the column
        maxLength - the maximum number of characters to be returned.
        Returns:
        the value stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getString

        java.lang.String getString​(int columnIndex)
        Returns the String value in the given column
        Parameters:
        columnIndex - the index of the column
        Returns:
        the value stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getByte

        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. The ByteConversion conversion will be used perform the transformation.
        Parameters:
        headerName - the name of the column
        format - the numeric mask to apply over the parsed content
        formatOptions - 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"}
        Returns:
        the Byte stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getByte

        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. The ByteConversion conversion will be used perform the transformation.
        Parameters:
        column - the column
        format - the numeric mask to apply over the parsed content
        formatOptions - 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"}
        Returns:
        the Byte stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getByte

        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. The ByteConversion conversion will be used perform the transformation.
        Parameters:
        columnIndex - the index of column
        format - the numeric mask to apply over the parsed content
        formatOptions - 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"}
        Returns:
        the Byte stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getShort

        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. The ShortConversion conversion will be used perform the transformation.
        Parameters:
        headerName - the name of the column
        format - the numeric mask to apply over the parsed content
        formatOptions - 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"}
        Returns:
        the Short stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getShort

        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. The ShortConversion conversion will be used perform the transformation.
        Parameters:
        column - the column
        format - the numeric mask to apply over the parsed content
        formatOptions - 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"}
        Returns:
        the Short stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getShort

        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. The ShortConversion conversion will be used perform the transformation.
        Parameters:
        columnIndex - the index of column
        format - the numeric mask to apply over the parsed content
        formatOptions - 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"}
        Returns:
        the Short stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getInt

        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. The IntegerConversion conversion will be used perform the transformation.
        Parameters:
        headerName - the name of the column
        format - the numeric mask to apply over the parsed content
        formatOptions - 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"}
        Returns:
        the Integer stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getInt

        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. The IntegerConversion conversion will be used perform the transformation.
        Parameters:
        column - the column
        format - the numeric mask to apply over the parsed content
        formatOptions - 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"}
        Returns:
        the Integer stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getInt

        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. The IntegerConversion conversion will be used perform the transformation.
        Parameters:
        columnIndex - the index of column
        format - the numeric mask to apply over the parsed content
        formatOptions - 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"}
        Returns:
        the Integer stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getLong

        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. The LongConversion conversion will be used perform the transformation.
        Parameters:
        headerName - the name of the column
        format - the numeric mask to apply over the parsed content
        formatOptions - 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"}
        Returns:
        the Long stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getLong

        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. The LongConversion conversion will be used perform the transformation.
        Parameters:
        column - the column
        format - the numeric mask to apply over the parsed content
        formatOptions - 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"}
        Returns:
        the Long stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getLong

        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. The LongConversion conversion will be used perform the transformation.
        Parameters:
        columnIndex - the index of column
        format - the numeric mask to apply over the parsed content
        formatOptions - 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"}
        Returns:
        the Long stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getFloat

        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. The FloatConversion conversion will be used perform the transformation.
        Parameters:
        headerName - the name of the column
        format - the numeric mask to apply over the parsed content
        formatOptions - 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"}
        Returns:
        the Long stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getFloat

        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. The FloatConversion conversion will be used perform the transformation.
        Parameters:
        column - the column
        format - the numeric mask to apply over the parsed content
        formatOptions - 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"}
        Returns:
        the Float stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getFloat

        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. The FloatConversion conversion will be used perform the transformation.
        Parameters:
        columnIndex - the index of column
        format - the numeric mask to apply over the parsed content
        formatOptions - 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"}
        Returns:
        the Float stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getDouble

        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. The DoubleConversion conversion will be used perform the transformation.
        Parameters:
        headerName - the name of the column
        format - the numeric mask to apply over the parsed content
        formatOptions - 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"}
        Returns:
        the Double stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getDouble

        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. The DoubleConversion conversion will be used perform the transformation.
        Parameters:
        column - the column
        format - the numeric mask to apply over the parsed content
        formatOptions - 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"}
        Returns:
        the Double stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getDouble

        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. The DoubleConversion conversion will be used perform the transformation.
        Parameters:
        columnIndex - the index of column
        format - the numeric mask to apply over the parsed content
        formatOptions - 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"}
        Returns:
        the Double stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getByte

        java.lang.Byte getByte​(java.lang.String headerName)
        Converts the String value in the given column to a Byte and returns the result. The ByteConversion conversion will be used perform the transformation.
        Parameters:
        headerName - the column name
        Returns:
        the Byte stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getByte

        java.lang.Byte getByte​(java.lang.Enum<?> column)
        Converts the String value in the given column to a Byte and returns the result. The ByteConversion conversion will be used perform the transformation.
        Parameters:
        column - the column
        Returns:
        the Byte stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getByte

        java.lang.Byte getByte​(int columnIndex)
        Converts the String value in the given column to a Byte and returns the result. The ByteConversion conversion will be used perform the transformation.
        Parameters:
        columnIndex - the columnIndex
        Returns:
        the Byte stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getShort

        java.lang.Short getShort​(java.lang.String headerName)
        Converts the String value in the given column to a Short and returns the result. The ShortConversion conversion will be used perform the transformation.
        Parameters:
        headerName - the column name
        Returns:
        the Short stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getShort

        java.lang.Short getShort​(java.lang.Enum<?> column)
        Converts the String value in the given column to a Short and returns the result. The ShortConversion conversion will be used perform the transformation.
        Parameters:
        column - the column
        Returns:
        the Short stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getShort

        java.lang.Short getShort​(int columnIndex)
        Converts the String value in the given column to a Short and returns the result. The ShortConversion conversion will be used perform the transformation.
        Parameters:
        columnIndex - the columnIndex
        Returns:
        the Short stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getInt

        java.lang.Integer getInt​(java.lang.String headerName)
        Converts the String value in the given column to a Integer and returns the result. The IntegerConversion conversion will be used perform the transformation.
        Parameters:
        headerName - the column name
        Returns:
        the Integer stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getInt

        java.lang.Integer getInt​(java.lang.Enum<?> column)
        Converts the String value in the given column to a Integer and returns the result. The IntegerConversion conversion will be used perform the transformation.
        Parameters:
        column - the column
        Returns:
        the Integer stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getInt

        java.lang.Integer getInt​(int columnIndex)
        Converts the String value in the given column to a Integer and returns the result. The IntegerConversion conversion will be used perform the transformation.
        Parameters:
        columnIndex - the columnIndex
        Returns:
        the Integer stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getLong

        java.lang.Long getLong​(java.lang.String headerName)
        Converts the String value in the given column to a Long and returns the result. The LongConversion conversion will be used perform the transformation.
        Parameters:
        headerName - the column name
        Returns:
        the Long stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getLong

        java.lang.Long getLong​(java.lang.Enum<?> column)
        Converts the String value in the given column to a Long and returns the result. The LongConversion conversion will be used perform the transformation.
        Parameters:
        column - the column
        Returns:
        the Long stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getLong

        java.lang.Long getLong​(int columnIndex)
        Converts the String value in the given column to a Long and returns the result. The LongConversion conversion will be used perform the transformation.
        Parameters:
        columnIndex - the columnIndex
        Returns:
        the Long stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getFloat

        java.lang.Float getFloat​(java.lang.String headerName)
        Converts the String value in the given column to a Float and returns the result. The FloatConversion conversion will be used perform the transformation.
        Parameters:
        headerName - the column name
        Returns:
        the Float stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getFloat

        java.lang.Float getFloat​(java.lang.Enum<?> column)
        Converts the String value in the given column to a Float and returns the result. The FloatConversion conversion will be used perform the transformation.
        Parameters:
        column - the column
        Returns:
        the Float stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getFloat

        java.lang.Float getFloat​(int columnIndex)
        Converts the String value in the given column to a Float and returns the result. The FloatConversion conversion will be used perform the transformation.
        Parameters:
        columnIndex - the columnIndex
        Returns:
        the Float stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getDouble

        java.lang.Double getDouble​(java.lang.String headerName)
        Converts the String value in the given column to a Double and returns the result. The DoubleConversion conversion will be used perform the transformation.
        Parameters:
        headerName - the column name
        Returns:
        the Double stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getDouble

        java.lang.Double getDouble​(java.lang.Enum<?> column)
        Converts the String value in the given column to a Double and returns the result. The DoubleConversion conversion will be used perform the transformation.
        Parameters:
        column - the column
        Returns:
        the Double stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getDouble

        java.lang.Double getDouble​(int columnIndex)
        Converts the String value in the given column to a Double and returns the result. The DoubleConversion conversion will be used perform the transformation.
        Parameters:
        columnIndex - the columnIndex
        Returns:
        the Double stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getChar

        java.lang.Character getChar​(java.lang.String headerName)
        Converts the String value in the given column to a Character and returns the result. The CharacterConversion conversion will be used perform the transformation.
        Parameters:
        headerName - the column name
        Returns:
        the Character stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getChar

        java.lang.Character getChar​(java.lang.Enum<?> column)
        Converts the String value in the given column to a Character and returns the result. The CharacterConversion conversion will be used perform the transformation.
        Parameters:
        column - the column
        Returns:
        the Character stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getChar

        java.lang.Character getChar​(int columnIndex)
        Converts the String value in the given column to a Character and returns the result. The CharacterConversion conversion will be used perform the transformation.
        Parameters:
        columnIndex - the column index
        Returns:
        the Character stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getBoolean

        java.lang.Boolean getBoolean​(java.lang.String headerName)
        Converts the String value in the given column to a Boolean and returns the result. The BooleanConversion conversion will be used perform the transformation.
        Parameters:
        headerName - the column name
        Returns:
        the Boolean stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getBoolean

        java.lang.Boolean getBoolean​(java.lang.Enum<?> column)
        Converts the String value in the given column to a Boolean and returns the result. The BooleanConversion conversion will be used perform the transformation.
        Parameters:
        column - the column
        Returns:
        the Boolean stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getBoolean

        java.lang.Boolean getBoolean​(int columnIndex)
        Converts the String value in the given column to a Boolean and returns the result. The BooleanConversion conversion will be used perform the transformation.
        Parameters:
        columnIndex - the column index
        Returns:
        the Boolean stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getBoolean

        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. The BooleanConversion conversion will be used perform the transformation.
        Parameters:
        headerName - the column name
        trueString - a String that represents the Boolean value true
        falseString - a String that represents the Boolean value false
        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

        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. The BooleanConversion conversion will be used perform the transformation.
        Parameters:
        column - the column
        trueString - a String that represents the Boolean value true
        falseString - a String that represents the Boolean value false
        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

        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. The BooleanConversion conversion will be used perform the transformation.
        Parameters:
        columnIndex - the column index
        trueString - a String that represents the Boolean value true
        falseString - a String that represents the Boolean value false
        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)
      • getBigInteger

        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. The BigIntegerConversion conversion will be used perform the transformation.
        Parameters:
        headerName - the column name
        format - the numeric mask to apply over the parsed content
        formatOptions - 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"}
        Returns:
        the BigInteger stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getBigInteger

        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. The BigIntegerConversion conversion will be used perform the transformation.
        Parameters:
        column - the column
        format - the numeric mask to apply over the parsed content
        formatOptions - 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"}
        Returns:
        the BigInteger stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getBigInteger

        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. The BigIntegerConversion conversion will be used perform the transformation.
        Parameters:
        columnIndex - the index of column
        format - the numeric mask to apply over the parsed content
        formatOptions - 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"}
        Returns:
        the BigInteger stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getBigDecimal

        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. The BigDecimalConversion conversion will be used perform the transformation.
        Parameters:
        headerName - the column name
        format - the numeric mask to apply over the parsed content
        formatOptions - 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"}
        Returns:
        the BigDecimal stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getBigDecimal

        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. The BigDecimalConversion conversion will be used perform the transformation.
        Parameters:
        column - the column
        format - the numeric mask to apply over the parsed content
        formatOptions - 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"}
        Returns:
        the BigDecimal stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getBigDecimal

        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. The BigDecimalConversion conversion will be used perform the transformation.
        Parameters:
        columnIndex - the index of column
        format - the numeric mask to apply over the parsed content
        formatOptions - 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"}
        Returns:
        the BigDecimal stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getBigInteger

        java.math.BigInteger getBigInteger​(java.lang.String headerName)
        Converts the String value in the given column to a BigInteger and returns the result. The BigIntegerConversion conversion will be used perform the transformation.
        Parameters:
        headerName - the column name
        Returns:
        the BigInteger stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getBigInteger

        java.math.BigInteger getBigInteger​(java.lang.Enum<?> column)
        Converts the String value in the given column to a BigInteger and returns the result. The BigIntegerConversion conversion will be used perform the transformation.
        Parameters:
        column - the column
        Returns:
        the BigInteger stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getBigInteger

        java.math.BigInteger getBigInteger​(int columnIndex)
        Converts the String value in the given column to a BigInteger and returns the result. The BigIntegerConversion conversion will be used perform the transformation.
        Parameters:
        columnIndex - the columnIndex
        Returns:
        the BigInteger stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getBigDecimal

        java.math.BigDecimal getBigDecimal​(java.lang.String headerName)
        Converts the String value in the given column to a BigDecimal and returns the result. The BigDecimalConversion conversion will be used perform the transformation.
        Parameters:
        headerName - the column name
        Returns:
        the BigDecimal stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getBigDecimal

        java.math.BigDecimal getBigDecimal​(java.lang.Enum<?> column)
        Converts the String value in the given column to a BigDecimal and returns the result. The BigDecimalConversion conversion will be used perform the transformation.
        Parameters:
        column - the column
        Returns:
        the BigDecimal stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getBigDecimal

        java.math.BigDecimal getBigDecimal​(int columnIndex)
        Converts the String value in the given column to a BigDecimal and returns the result. The BigDecimalConversion conversion will be used perform the transformation.
        Parameters:
        columnIndex - the columnIndex
        Returns:
        the BigDecimal stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getDate

        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. The DateConversion conversion will be used perform the transformation.
        Parameters:
        headerName - the column name
        format - the numeric mask to apply over the parsed content
        formatOptions - 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"}
        Returns:
        the Date stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getDate

        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. The DateConversion conversion will be used perform the transformation.
        Parameters:
        column - the column
        format - the date mask to apply over the parsed content
        formatOptions - 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"}
        Returns:
        the Date stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getDate

        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. The DateConversion conversion will be used perform the transformation.
        Parameters:
        columnIndex - the index of column
        format - the date mask to apply over the parsed content
        formatOptions - 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"}
        Returns:
        the Date stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getCalendar

        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. The CalendarConversion conversion will be used perform the transformation.
        Parameters:
        headerName - the column name
        format - the date mask to apply over the parsed content
        formatOptions - 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"}
        Returns:
        the Calendar stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getCalendar

        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. The CalendarConversion conversion will be used perform the transformation.
        Parameters:
        column - the column
        format - the date mask to apply over the parsed content
        formatOptions - 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"}
        Returns:
        the Calendar stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • getCalendar

        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. The CalendarConversion conversion will be used perform the transformation.
        Parameters:
        columnIndex - the index of column
        format - the date mask to apply over the parsed content
        formatOptions - 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"}
        Returns:
        the Calendar stored in the given column, null or the default value specified in RecordMetaData.defaultValueOf(String)
      • toFieldMap

        java.util.Map<java.lang.String,​java.lang.String> toFieldMap​(java.lang.String... selectedFields)
        Converts the record into a map of String values.
        Parameters:
        selectedFields - the header names to use as keys of the map. If no selection then all headers will be used.
        Returns:
        a map containing the selected (or all) header names as the keys, and their respective values.
      • toIndexMap

        java.util.Map<java.lang.Integer,​java.lang.String> toIndexMap​(int... selectedIndexes)
        Converts the record into a map of String values.
        Parameters:
        selectedIndexes - the column indexes to use as keys of the map. If no selection then all indexes will be used.
        Returns:
        a map containing the selected (or all) column indexes as the keys, and their respective values.
      • toEnumMap

        <T extends java.lang.Enum<T>> java.util.Map<T,​java.lang.String> toEnumMap​(java.lang.Class<T> enumType,
                                                                                        T... selectedColumns)
        Converts the record into a map of String values.
        Type Parameters:
        T - the enumeration type
        Parameters:
        enumType - the enumeration type.
        selectedColumns - the columns to use as keys of the map. If no selection then all values of the enumeration type will be used.
        Returns:
        a map containing the selected (or all) columns as the keys, and their respective values.
      • fillFieldMap

        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.
        Parameters:
        map - the map that will receive the values
        selectedFields - the header names to use as keys of the map
        Returns:
        the input map, containing the selected header names as the keys, and their respective values.
      • fillIndexMap

        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.
        Parameters:
        map - the map that will receive the values
        selectedIndexes - the column indexes to use as keys of the map
        Returns:
        the input map, containing the selected column indexes as the keys, and their respective values.
      • fillEnumMap

        <T extends java.lang.Enum<T>> java.util.Map<T,​java.lang.String> fillEnumMap​(java.util.Map<T,​java.lang.String> map,
                                                                                          T... selectedColumns)
        Fills a map with the String values of this record.
        Type Parameters:
        T - the enumeration type
        Parameters:
        map - the map that will receive the values
        selectedColumns - the column to use as keys of the map
        Returns:
        the input map, containing the selected header names as the keys, and their respective values.
      • toFieldObjectMap

        java.util.Map<java.lang.String,​java.lang.Object> toFieldObjectMap​(java.lang.String... selectedFields)
        Converts the record into a map of Object values. Conversions must be registered using RecordMetaData.convertFields(Conversion[]) or RecordMetaData.convertIndexes(Conversion[]) (Conversion[])}. Columns without a known conversion will have their values put into the map as plain Strings.
        Parameters:
        selectedFields - the column names to use as keys of the map
        Returns:
        a map containing the selected column names as the keys, and their respective values.
      • toIndexObjectMap

        java.util.Map<java.lang.Integer,​java.lang.Object> toIndexObjectMap​(int... selectedIndexes)
        Converts the record into a map of Object values. Conversions must be registered using RecordMetaData.convertFields(Conversion[]) or RecordMetaData.convertIndexes(Conversion[]) (Conversion[])}. Columns without a known conversion will have their values put into the map as plain Strings.
        Parameters:
        selectedIndexes - the column indexes to use as keys of the map
        Returns:
        a map containing the selected column indexes as the keys, and their respective values.
      • toEnumObjectMap

        <T extends java.lang.Enum<T>> java.util.Map<T,​java.lang.Object> toEnumObjectMap​(java.lang.Class<T> enumType,
                                                                                              T... selectedColumns)
        Converts the record into a map of Object values. Conversions must be registered using RecordMetaData.convertFields(Conversion[]) or RecordMetaData.convertIndexes(Conversion[]) (Conversion[])}. Columns without a known conversion will have their values put into the map as plain Strings.
        Type Parameters:
        T - the enumeration type
        Parameters:
        enumType - the enumeration type.
        selectedColumns - the column to use as keys of the map
        Returns:
        a map containing the selected columns as the keys, and their respective values.
      • fillFieldObjectMap

        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. 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.
        Parameters:
        map - the map that will receive the values
        selectedFields - the column names to use as keys of the map
        Returns:
        the input map, containing the selected columns as the keys, and their respective values.
      • fillIndexObjectMap

        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. 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.
        Parameters:
        map - the map that will receive the values
        selectedIndexes - the column indexes to use as keys of the map
        Returns:
        the input map, containing the selected columns as the keys, and their respective values.
      • fillEnumObjectMap

        <T extends java.lang.Enum<T>> java.util.Map<T,​java.lang.Object> fillEnumObjectMap​(java.util.Map<T,​java.lang.Object> map,
                                                                                                T... selectedColumns)
        Fills a map with the converted Object values of this record. Conversions must be registered using RecordMetaData.convertFields(Conversion[]) or RecordMetaData.convertIndexes(Conversion[]) (Conversion[])}. Columns without a known conversion will have their values put into the map as plain Strings.
        Type Parameters:
        T - the enumeration type
        Parameters:
        map - the map that will receive the values
        selectedColumns - the column to use as keys of the map
        Returns:
        the input map, containing the selected columns as the keys, and their respective values.