-
- Type Parameters:
R- The embeddable record type
- All Superinterfaces:
Attachable,Comparable<Record>,Formattable,Record,Serializable
- All Known Implementing Classes:
EmbeddableRecordImpl
public interface EmbeddableRecord<R extends EmbeddableRecord<R>> extends Record
A record originating from a single table- Author:
- Lukas Eder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Roriginal()Get this record containing the original values as fetched from the database.<T> Rwith(Field<T> field, T value)Set a value into this record.<T,U>
Rwith(Field<T> field, U value, Converter<? extends T,? super U> converter)Set a value into this record.-
Methods inherited from interface org.jooq.Attachable
attach, configuration, detach
-
Methods 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, intoXML
-
Methods inherited from interface org.jooq.Record
changed, changed, changed, changed, changed, changed, changed, changed, changed, changed, compareTo, equals, field, field, field, field, fields, fields, fields, fields, fields, fieldsRow, 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, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, hashCode, indexOf, indexOf, indexOf, 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, original, original, original, original, reset, reset, reset, reset, reset, set, set, setValue, setValue, size, valuesRow
-
-
-
-
Method Detail
-
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.
- Specified by:
originalin interfaceRecord- See Also:
Record.original(Field),Record.original(int),Record.original(String)
-
with
<T> R with(Field<T> field, T value)
Description copied from interface:RecordSet a value into this record.Like
Record.set(Field, Object)but returningthisfor fluent setting of multiple values.
-
with
<T,U> R with(Field<T> field, U value, Converter<? extends T,? super U> converter)
Description copied from interface:RecordSet a value into this record.Like
Record.set(Field, Object, Converter)but returningthisfor fluent setting of multiple values.
-
-