Module org.jooq
Package org.jooq

Interface Record4<T1,T2,T3,T4>

All Superinterfaces:
Attachable, Comparable<Record>, Fields, Formattable, Record, Serializable

public interface Record4<T1,T2,T3,T4> extends Record
A model type for a records with degree 4
Author:
Lukas Eder
See Also:
  • Method Details

    • fieldsRow

      @NotNull @NotNull Row4<T1,T2,T3,T4> fieldsRow()
      Get this record's fields as a Row4.
      Specified by:
      fieldsRow in interface Fields
    • valuesRow

      @NotNull @NotNull Row4<T1,T2,T3,T4> valuesRow()
      Get this record's values as a Row4.
      Specified by:
      valuesRow in interface Record
    • field1

      @NotNull @NotNull Field<T1> field1()
      Get the first field.
    • field2

      @NotNull @NotNull Field<T2> field2()
      Get the second field.
    • field3

      @NotNull @NotNull Field<T3> field3()
      Get the third field.
    • field4

      @NotNull @NotNull Field<T4> field4()
      Get the fourth field.
    • value1

      T1 value1()
      Get the first value.
    • value2

      T2 value2()
      Get the second value.
    • value3

      T3 value3()
      Get the third value.
    • value4

      T4 value4()
      Get the fourth value.
    • value1

      @NotNull @NotNull Record4<T1,T2,T3,T4> value1(T1 value)
      Set the first value.
    • value2

      @NotNull @NotNull Record4<T1,T2,T3,T4> value2(T2 value)
      Set the second value.
    • value3

      @NotNull @NotNull Record4<T1,T2,T3,T4> value3(T3 value)
      Set the third value.
    • value4

      @NotNull @NotNull Record4<T1,T2,T3,T4> value4(T4 value)
      Set the fourth value.
    • values

      @NotNull @NotNull Record4<T1,T2,T3,T4> values(T1 t1, T2 t2, T3 t3, T4 t4)
      Set all values.
    • with

      @NotNull <T> @NotNull Record4<T1,T2,T3,T4> with(Field<T> field, T value)
      Set a value into this record.

      Like Record.set(Field, Object) but returning this for fluent setting of multiple values.

      Specified by:
      with in interface Record
    • with

      @NotNull <T, U> @NotNull Record4<T1,T2,T3,T4> 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 returning this for fluent setting of multiple values.

      Specified by:
      with in interface Record
    • component1

      T1 component1()
      Get the first value.

      This is the same as value1().

    • component2

      T2 component2()
      Get the second value.

      This is the same as value2().

    • component3

      T3 component3()
      Get the third value.

      This is the same as value3().

    • component4

      T4 component4()
      Get the fourth value.

      This is the same as value4().