Interface Record<T>

Type Parameters:
T - The type managed by the Record.
All Superinterfaces:
Map<String,​T>
All Known Implementing Classes:
RecordImpl

public interface Record<T>
extends Map<String,​T>
A Record is a Map containing Field data structures with support for Column definitions. The Field instances can be managed with the functionality provided by a Column.

A value can be retrieved from a Record by providing an according Column definition, which verifies the value type. Also values can be converted to and from the appropriate interchange and string formats by the according Column instances.

In contrast to a Row, a Record relates the key (name) to its values. Similar to a Row, a Record makes use of Column instances (for example as provided by a Header or a Header instance) to give the fields additional semantics.

  • Method Details

    • toFieldSet

      Set<Field<T>> toFieldSet()
      Returns the Field Set representation of the Record.
      Returns:
      The Field instances representation of the Record.
    • toPurged

      default Record<T> toPurged()
      This Record is taken and only all non null values are taken for the returned Record. In case of string objects, only String instances with a length greater than zero are taken into account for the returned Record.
      Returns:
      The output Record without any keys which's values were null or in case of strings which's length was zero.