Module org.jooq
Package org.jooq

Interface Record3<T1,T2,T3>

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

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

    • fieldsRow

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

      @NotNull @NotNull Row3<T1,T2,T3> valuesRow()
      Get this record's values as a Row3.
      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.
    • value1

      T1 value1()
      Get the first value.
    • value2

      T2 value2()
      Get the second value.
    • value3

      T3 value3()
      Get the third value.
    • value1

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

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

      @NotNull @NotNull Record3<T1,T2,T3> value3(T3 value)
      Set the third value.
    • values

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

      @NotNull <T> @NotNull Record3<T1,T2,T3> with(Field<T> field, T value)
      Set a value into this record, using Fields.field(Field) for lookup.

      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 Record3<T1,T2,T3> with(Field<T> field, U value, Converter<? extends T,? super U> converter)
      Set a value into this record, using Fields.field(Field) for lookup.

      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().