Top Description Methods
org.jooq

public Interface Record2<T1, T2>

extends Record
Known Direct Implementers
org.jooq.impl.RecordImpl2
Imports
org.jetbrains.annotations.NotNull

A model type for a records with degree 2
Author
Lukas Eder
See Also
Row2

Method Summary

Modifier and TypeMethod and Description
public T1
component1()

Get the first value.

public T2
component2()

Get the second value.

public @NotNull Field<T1>
field1()

Deprecated as a consequence of Field being deprecated.
Get the first field.
public @NotNull Field<T2>
field2()

Deprecated as a consequence of Field being deprecated.
Get the second field.
public @NotNull Row2<T1, T2>
fieldsRow()

Redeclares org.jooq.Fields.fieldsRow.

Get this record's fields as a Row2.
public T1
value1()

Get the first value.

public @NotNull Record2<T1, T2>
value1(T1 value)

Set the first value.

public T2
value2()

Get the second value.

public @NotNull Record2<T1, T2>
value2(T2 value)

Set the second value.

public @NotNull Record2<T1, T2>
values(T1 t1, T2 t2)

Set all values.

public @NotNull Row2<T1, T2>
valuesRow()

Redeclares org.jooq.Record.valuesRow.

Get this record's values as a Row2.
public <T> @NotNull Record2<T1, T2>
with(Field<T> field, T value)

Redeclares org.jooq.Record.with.

Deprecated as a consequence of Field being deprecated.
Set a value into this record, using field(Field) for lookup.
public <T, U> @NotNull Record2<T1, T2>
with(Field<T> field, U value, Converter<? extends T, ? super U> converter)

Redeclares org.jooq.Record.with.

Deprecated as a consequence of Field being deprecated.
Set a value into this record, using field(Field) for lookup.
Inherited from org.jooq.Record:
changedchangedchangedchangedchangedchangedchangedchangedchangedchangedcompareToequalsfromfromfromfromfromfromArrayfromArrayfromArrayfromArrayfromArrayfromMapfromMapfromMapfromMapfromMapgetgetgetgetgetgetgetgetgetgetgetgetgetValuegetValuegetValuegetValuegetValuegetValuegetValuegetValuegetValuegetValuegetValuegetValuehashCodeintointointointointointointointointointointointointointointointointointointointointointointointointointointoArrayintoListintoMapintoResultSetintoStreammaporiginaloriginaloriginaloriginaloriginalresetresetresetresetresetsetsetsetValuesetValuesize

Method Detail

component1back to summary
public T1 component1()

Get the first value.

This is the same as value1().

component2back to summary
public T2 component2()

Get the second value.

This is the same as value2().

field1back to summary
public @NotNull Field<T1> field1()

Deprecated

as a consequence of Field being deprecated. See corresponding docs for further information.

Get the first field.

Annotations
@NotNull
field2back to summary
public @NotNull Field<T2> field2()

Deprecated

as a consequence of Field being deprecated. See corresponding docs for further information.

Get the second field.

Annotations
@NotNull
fieldsRowback to summary
public @NotNull Row2<T1, T2> fieldsRow()

Redeclares org.jooq.Fields.fieldsRow.

Get this record's fields as a Row2.

Annotations
@NotNull
@Override
value1back to summary
public T1 value1()

Get the first value.

value1back to summary
public @NotNull Record2<T1, T2> value1(T1 value)

Set the first value.

Annotations
@NotNull
value2back to summary
public T2 value2()

Get the second value.

value2back to summary
public @NotNull Record2<T1, T2> value2(T2 value)

Set the second value.

Annotations
@NotNull
valuesback to summary
public @NotNull Record2<T1, T2> values(T1 t1, T2 t2)

Set all values.

Annotations
@NotNull
valuesRowback to summary
public @NotNull Row2<T1, T2> valuesRow()

Redeclares org.jooq.Record.valuesRow.

Get this record's values as a Row2.

Annotations
@NotNull
@Override
withback to summary
public <T> @NotNull Record2<T1, T2> with(Field<T> field, T value)

Redeclares org.jooq.Record.with.

Doc from org.jooq.Record.with.

Deprecated

as a consequence of Field being deprecated. See corresponding docs for further information.

Set a value into this record, using field(Field) for lookup.

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

Annotations
@NotNull
@Override
withback to summary
public <T, U> @NotNull Record2<T1, T2> with(Field<T> field, U value, Converter<? extends T, ? super U> converter)

Redeclares org.jooq.Record.with.

Doc from org.jooq.Record.with.

Deprecated

as a consequence of Field being deprecated. See corresponding docs for further information.

Set a value into this record, using field(Field) for lookup.

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

Annotations
@NotNull
@Override