T
- The type managed by the Record
.RecordImpl
public interface Record<T> extends Map<String,T>
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.
Modifier and Type | Method | Description |
---|---|---|
Set<Field<T>> |
toFieldSet() |
|
default Record<T> |
toPurged() |
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
default Record<T> toPurged()
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
.Record
without any keys which's values were
null or in case of strings which's length was zero.Copyright © 2021. All rights reserved.