Module org.jooq
Package org.jooq

Interface Record1<T1>

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

public interface Record1<T1> extends Record
A model type for a records with degree 1
Author:
Lukas Eder
See Also:
  • Method Details

    • fieldsRow

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

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

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

      T1 value1()
      Get the first value.
    • value1

      @NotNull @NotNull Record1<T1> value1(T1 value)
      Set the first value.
    • values

      @NotNull @NotNull Record1<T1> values(T1 t1)
      Set all values.
    • with

      @NotNull <T> @NotNull Record1<T1> 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 Record1<T1> 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().