Top Description Fields Constructors Methods
org.jooq.impl

pack-priv final Class RecordImpl2<T1, T2>

extends AbstractRecord
implements InternalRecord, Record2<T1, T2>
Class Inheritance
All Implemented Interfaces
org.jooq.Record2, org.jooq.Record, org.jooq.Formattable, java.lang.Comparable, org.jooq.Attachable, java.io.Serializable, org.jooq.Fields, org.jooq.impl.InternalRecord
Annotations
@SuppressWarnings:unchecked
Imports
org.jooq.Converter, .Field, .Record, .Record2, org.jetbrains.annotations.NotNull

A general purpose record, typically used for ad-hoc types.

This type implements both the general-purpose, type-unsafe Record interface, as well as the more specific, type-safe Record2 interfaces

Author
Lukas Eder

Field Summary

Inherited from org.jooq.impl.AbstractRecord:
changedfetchedfieldsoriginalsvalues

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public final T1
component1()

Implements org.jooq.Record2.component1.

Get the first value.
public final T2
component2()

Implements org.jooq.Record2.component2.

Get the second value.
public final Field<T1>
field1()

Implements org.jooq.Record2.field1.

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

Implements org.jooq.Record2.field2.

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

Implements org.jooq.Fields.fieldsRow, org.jooq.Record2.fieldsRow.

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

Implements org.jooq.Record2.value1.

Get the first value.
public final Record2<T1, T2>
value1(T1 value)

Implements org.jooq.Record2.value1.

Set the first value.
public final T2
value2()

Implements org.jooq.Record2.value2.

Get the second value.
public final Record2<T1, T2>
value2(T2 value)

Implements org.jooq.Record2.value2.

Set the second value.
public final Record2<T1, T2>
values(T1 t1, T2 t2)

Implements org.jooq.Record2.values.

Set all values.
public final RowImpl2<T1, T2>
valuesRow()

Implements org.jooq.Record.valuesRow, org.jooq.Record2.valuesRow.

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

Overrides org.jooq.impl.AbstractRecord.with.

Implements org.jooq.Record.with, org.jooq.Record2.with.

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

Overrides org.jooq.impl.AbstractRecord.with.

Implements org.jooq.Record.with, org.jooq.Record2.with.

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

Constructor Detail

RecordImpl2back to summary
pack-priv RecordImpl2(AbstractRow<?> row)

Method Detail

component1back to summary
public final T1 component1()

Implements org.jooq.Record2.component1.

Doc from org.jooq.Record2.component1.

Get the first value.

This is the same as value1().

Annotations
@Override
component2back to summary
public final T2 component2()

Implements org.jooq.Record2.component2.

Doc from org.jooq.Record2.component2.

Get the second value.

This is the same as value2().

Annotations
@Override
field1back to summary
public final Field<T1> field1()

Implements org.jooq.Record2.field1.

Doc from org.jooq.Record2.field1.

Deprecated

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

Get the first field.

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

Implements org.jooq.Record2.field2.

Doc from org.jooq.Record2.field2.

Deprecated

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

Get the second field.

Annotations
@Override
fieldsRowback to summary
public RowImpl2<T1, T2> fieldsRow()

Implements org.jooq.Fields.fieldsRow, org.jooq.Record2.fieldsRow.

Doc from org.jooq.Record2.fieldsRow.

Get this record's fields as a Row2.

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

Implements org.jooq.Record2.value1.

Doc from org.jooq.Record2.value1.

Get the first value.

Annotations
@Override
value1back to summary
public final Record2<T1, T2> value1(T1 value)

Implements org.jooq.Record2.value1.

Doc from org.jooq.Record2.value1.

Set the first value.

Annotations
@Override
value2back to summary
public final T2 value2()

Implements org.jooq.Record2.value2.

Doc from org.jooq.Record2.value2.

Get the second value.

Annotations
@Override
value2back to summary
public final Record2<T1, T2> value2(T2 value)

Implements org.jooq.Record2.value2.

Doc from org.jooq.Record2.value2.

Set the second value.

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

Implements org.jooq.Record2.values.

Doc from org.jooq.Record2.values.

Set all values.

Annotations
@Override
valuesRowback to summary
public final RowImpl2<T1, T2> valuesRow()

Implements org.jooq.Record.valuesRow, org.jooq.Record2.valuesRow.

Doc from org.jooq.Record2.valuesRow.

Get this record's values as a Row2.

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

Overrides org.jooq.impl.AbstractRecord.with.

Implements org.jooq.Record.with, org.jooq.Record2.with.

Doc from org.jooq.Record2.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
@Override
withback to summary
public <T, U> Record2<T1, T2> with(Field<T> field, U value, Converter<? extends T, ? super U> converter)

Overrides org.jooq.impl.AbstractRecord.with.

Implements org.jooq.Record.with, org.jooq.Record2.with.

Doc from org.jooq.Record2.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
@Override