- Type Parameters:
R- The embeddable record type
- All Superinterfaces:
Attachable,Comparable<Record>,Fields,Formattable,Record,Serializable
- All Known Implementing Classes:
EmbeddableRecordImpl
Embeddable records are implemented purely as a code generation feature where
columns in a Table should be grouped to form a synthetic
UDTRecord type. Examples of common embeddable types are:
- Keys (composite or not)
- Amount / currency
Embeddable records are not strictly tied to individual tables that reference them, but can be shared among tables, and even appear multiple times in the same table.
- Author:
- Lukas Eder
-
Method Summary
Modifier and TypeMethodDescriptionoriginal()Get this record containing the original values as fetched from the database.<T> RSet a value into this record, usingFields.field(Field)for lookup.<T,U> R Set a value into this record, usingFields.field(Field)for lookup.Methods inherited from interface org.jooq.Attachable
attach, configuration, detachMethods inherited from interface org.jooq.Fields
dataType, dataType, dataType, dataTypes, field, field, field, field, field, field, field, field, field, field, fields, fields, fields, fields, fields, fieldsIncludingHidden, fieldsRow, fieldStream, indexOf, indexOf, indexOf, type, type, type, typesMethods inherited from interface org.jooq.Formattable
format, format, format, format, format, format, format, format, format, formatChart, formatChart, formatChart, formatChart, formatChart, formatChart, formatCSV, formatCSV, formatCSV, formatCSV, formatCSV, formatCSV, formatCSV, formatCSV, formatCSV, formatCSV, formatCSV, formatCSV, formatCSV, formatCSV, formatCSV, formatCSV, formatCSV, formatCSV, formatCSV, formatCSV, formatCSV, formatHTML, formatHTML, formatHTML, formatInsert, formatInsert, formatInsert, formatInsert, formatInsert, formatInsert, formatJSON, formatJSON, formatJSON, formatJSON, formatJSON, formatJSON, formatXML, formatXML, formatXML, formatXML, formatXML, formatXML, intoXML, intoXML, intoXML, intoXMLMethods inherited from interface org.jooq.Record
changed, changed, changed, changed, changed, changed, changed, changed, changed, changed, compareTo, equals, from, from, from, from, from, fromArray, fromArray, fromArray, fromArray, fromArray, fromMap, fromMap, fromMap, fromMap, fromMap, get, get, get, get, get, get, get, get, get, get, get, get, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, hashCode, into, into, into, into, into, into, into, into, into, into, into, into, into, into, into, into, into, into, into, into, into, into, into, into, into, into, intoArray, intoList, intoMap, intoResultSet, intoStream, map, modified, modified, modified, modified, modified, original, original, original, original, reset, reset, reset, reset, reset, set, set, setValue, setValue, size, touched, touched, touched, touched, touched, touched, touched, touched, touched, touched, valuesRow
-
Method Details
-
original
R original()Description copied from interface:RecordGet this record containing the original values as fetched from the database.Record values can be freely modified after having fetched a record from the database. Every record also references the originally fetched values. This method returns a new record containing those original values.
-
with
Description copied from interface:RecordSet a value into this record, usingFields.field(Field)for lookup.Like
Record.set(Field, Object)but returningthisfor fluent setting of multiple values. -
with
Description copied from interface:RecordSet a value into this record, usingFields.field(Field)for lookup.Like
Record.set(Field, Object, Converter)but returningthisfor fluent setting of multiple values.
-