- 
- All Superinterfaces:
- Attachable,- Comparable<Record>,- Formattable,- Record,- Serializable
 
 public interface Record2<T1,T2> extends Record A model type for a records with degree2- Author:
- Lukas Eder
- See Also:
- Row2
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description T1component1()Get the first value.T2component2()Get the second value.@NotNull Field<T1>field1()Get the first field.@NotNull Field<T2>field2()Get the second field.@NotNull Row2<T1,T2>fieldsRow()Get this record's fields as aRow2.T1value1()Get the first value.@NotNull Record2<T1,T2>value1(T1 value)Set the first value.T2value2()Get the second value.@NotNull Record2<T1,T2>value2(T2 value)Set the second value.@NotNull Record2<T1,T2>values(T1 t1, T2 t2)Set all values.@NotNull Row2<T1,T2>valuesRow()Get this record's values as aRow2.<T> @NotNull Record2<T1,T2>with(Field<T> field, T value)Set a value into this record.<T,U>
 @NotNull Record2<T1,T2>with(Field<T> field, U value, Converter<? extends T,? super U> converter)Set a value into this record.- 
Methods inherited from interface org.jooq.Attachableattach, configuration, detach
 - 
Methods inherited from interface org.jooq.Formattableformat, 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.Recordchanged, changed, changed, changed, changed, changed, changed, changed, changed, changed, compareTo, equals, field, field, field, field, fields, fields, fields, fields, fields, 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, original, reset, reset, reset, reset, reset, set, set, setValue, setValue, size
 
- 
 
- 
- 
- 
Method Detail- 
value1T1 value1() Get the first value.
 - 
value2T2 value2() Get the second value.
 - 
with@NotNull <T> @NotNull Record2<T1,T2> with(Field<T> field, T value) Set a value into this record.Like Record.set(Field, Object)but returningthisfor fluent setting of multiple values.
 - 
with@NotNull <T,U> @NotNull Record2<T1,T2> with(Field<T> field, U value, Converter<? extends T,? super U> converter) Set a value into this record.Like Record.set(Field, Object, Converter)but returningthisfor fluent setting of multiple values.
 
- 
 
-