Interface Record<T>

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


    public interface Record<T>
    extends java.util.Map<java.lang.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.

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,V extends java.lang.Object>
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Set<Field<T>> toFieldSet​()
      Returns the Field Set representation of the Record.
      • Methods inherited from interface java.util.Map

        clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entry, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, of, of, of, of, of, of, of, of, of, of, of, ofEntries, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
    • Method Detail

      • toFieldSet

        java.util.Set<Field<T>> toFieldSet​()
        Returns the Field Set representation of the Record.
        Returns:
        The Field instances representation of the Record.