Package org.jooq
Interface EmbeddableRecord<R extends EmbeddableRecord<R>>
-
- Type Parameters:
R
- The embeddable record type
- All Superinterfaces:
Attachable
,java.lang.Comparable<Record>
,Formattable
,Record
,java.io.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 R
original()
Get this record containing the original values as fetched from the database.<T> R
with(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:Record
Get 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:
original
in 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:Record
Set a value into this record.Like
Record.set(Field, Object)
but returningthis
for 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:Record
Set a value into this record.Like
Record.set(Field, Object, Converter)
but returningthis
for fluent setting of multiple values.
-
-