Top Fields Constructors Methods
org.jooq.impl

pack-priv abstract Class AbstractQualifiedRecord<R extends org.jooq.QualifiedRecord<R>>

extends AbstractRecord
implements QualifiedRecord<R extends QualifiedRecord<R>>
Class Inheritance
All Implemented Interfaces
org.jooq.QualifiedRecord, java.sql.SQLData, org.jooq.Record, org.jooq.Formattable, java.lang.Comparable, org.jooq.Attachable, java.io.Serializable, org.jooq.Fields
Known Direct Subclasses
org.jooq.impl.TableRecordImpl, org.jooq.impl.UDTRecordImpl
Static Imports
org.jooq.impl.DefaultExecuteContext.localExecuteContext, .Tools.fieldsArray, .Tools.getMappedUDTName, .Tools.row0

Author
Lukas Eder

Field Summary

Modifier and TypeField and Description
private final RecordQualifier<R>
Inherited from org.jooq.impl.AbstractRecord:
changedfetchedfieldsoriginalsvalues

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Row
fieldsRow()

Implements org.jooq.Fields.fieldsRow.

Get all fields known to this type as a Row.
public final RecordQualifier<R>
getQualifier()

Implements org.jooq.QualifiedRecord.getQualifier.

Get the UDT or Table reference.
public final String
getSQLTypeName()

Implements java.sql.SQLData.getSQLTypeName.

Returns the fully-qualified name of the SQL user-defined type that this object represents.
public final void
readSQL(SQLInput
the SQLInput object from which to read the data for the value that is being custom mapped
stream
,
String
the SQL type name of the value on the data stream
typeName
)

Implements java.sql.SQLData.readSQL.

Populates this object with data read from the database.
public Row
valuesRow()

Implements org.jooq.Record.valuesRow.

Get this record's values as a Row.
public final <T> R
with(Field<T> field, T value)

Overrides org.jooq.impl.AbstractRecord.with.

Implements org.jooq.QualifiedRecord.with, org.jooq.Record.with.

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

Overrides org.jooq.impl.AbstractRecord.with.

Implements org.jooq.QualifiedRecord.with, org.jooq.Record.with.

Deprecated as a consequence of Field being deprecated.
Set a value into this record, using field(Field) for lookup.
public final void
writeSQL(SQLOutput
the SQLOutput object to which to write the data for the value that was custom mapped
stream
)

Implements java.sql.SQLData.writeSQL.

Writes this object to the given SQL data stream, converting it back to its SQL value in the data source.
Inherited from org.jooq.impl.AbstractRecord:
asResultchangedchangedchangedchangedchangedchangedchangedchangedchangedchangedcomparecomparecompare0compareTodataTypedataTypedataTypedataTypesfieldfieldfieldfieldfieldfieldfieldfieldfieldfieldfieldsfieldsfieldsfieldsfieldsfieldStreamformatformatChartformatCSVformatHTMLformatInsertformatInsertformatJSONformatXMLfromfromfromfromfromfromfromfromArrayfromArrayfromArrayfromArrayfromArrayfromMapfromMapfromMapfromMapfromMapgetgetgetgetgetgetgetgetgetgetgetgetgetAttachablesgetPrimaryKeygetValuegetValuegetValuegetValuegetValuegetValuegetValuegetValuegetValuegetValuegetValuegetValueindexOfindexOfindexOfinternintern0intointointointointointointointointointointointointointointointointointointointointointointointointointointoArrayintoListintoMapintoRecordintoRecordintoResultSetintoStreamintoXMLintoXMLmaporiginaloriginaloriginaloriginaloriginalresetresetresetresetresetresetChangedOnNotNullsafeIndexsetsetsetsetsetsetValuesetValuesetValuesetValuessizetoStringtypetypetypetypes

Field Detail

qualifierback to summary
private final RecordQualifier<R> qualifier

Constructor Detail

AbstractQualifiedRecordback to summary
public AbstractQualifiedRecord(RecordQualifier<R> qualifier)

Method Detail

fieldsRowback to summary
public Row fieldsRow()

Implements org.jooq.Fields.fieldsRow.

Doc from org.jooq.Fields.fieldsRow.

Get all fields known to this type as a Row.

Annotations
@Override
getQualifierback to summary
public final RecordQualifier<R> getQualifier()

Implements org.jooq.QualifiedRecord.getQualifier.

Doc from org.jooq.QualifiedRecord.getQualifier.

Get the UDT or Table reference.

Annotations
@Override
getSQLTypeNameback to summary
public final String getSQLTypeName() throws SQLException

Implements java.sql.SQLData.getSQLTypeName.

Doc from java.sql.SQLData.getSQLTypeName.

Returns the fully-qualified name of the SQL user-defined type that this object represents. This method is called by the JDBC driver to get the name of the UDT instance that is being mapped to this instance of SQLData.

Returns:String

the type name that was passed to the method readSQL when this object was constructed and populated

Annotations
@Override
Exceptions
SQLException:
if there is a database access error
readSQLback to summary
public final void readSQL(SQLInput stream, String typeName) throws SQLException

Implements java.sql.SQLData.readSQL.

Doc from java.sql.SQLData.readSQL.

Populates this object with data read from the database. The implementation of the method must follow this protocol:

  • It must read each of the attributes or elements of the SQL type from the given input stream. This is done by calling a method of the input stream to read each item, in the order that they appear in the SQL definition of the type.
  • The method readSQL then assigns the data to appropriate fields or elements (of this or other objects). Specifically, it must call the appropriate reader method (SQLInput.readString, SQLInput.readBigDecimal, and so on) method(s) to do the following: for a distinct type, read its single data element; for a structured type, read a value for each attribute of the SQL type.
The JDBC driver initializes the input stream with a type map before calling this method, which is used by the appropriate SQLInput reader method on the stream.
Parameters
stream:SQLInput

the SQLInput object from which to read the data for the value that is being custom mapped

typeName:String

the SQL type name of the value on the data stream

Annotations
@SuppressWarnings:rawtypes, unchecked
@Override
Exceptions
SQLException:
if there is a database access error
valuesRowback to summary
public Row valuesRow()

Implements org.jooq.Record.valuesRow.

Doc from org.jooq.Record.valuesRow.

Get this record's values as a Row.

Annotations
@Override
withback to summary
public final <T> R with(Field<T> field, T value)

Overrides org.jooq.impl.AbstractRecord.with.

Implements org.jooq.QualifiedRecord.with, 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
@SuppressWarnings:unchecked
@Override
withback to summary
public final <T, U> R with(Field<T> field, U value, Converter<? extends T, ? super U> converter)

Overrides org.jooq.impl.AbstractRecord.with.

Implements org.jooq.QualifiedRecord.with, 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
@SuppressWarnings:unchecked
@Override
writeSQLback to summary
public final void writeSQL(SQLOutput stream) throws SQLException

Implements java.sql.SQLData.writeSQL.

Doc from java.sql.SQLData.writeSQL.

Writes this object to the given SQL data stream, converting it back to its SQL value in the data source. The implementation of the method must follow this protocol:
It must write each of the attributes of the SQL type to the given output stream. This is done by calling a method of the output stream to write each item, in the order that they appear in the SQL definition of the type. Specifically, it must call the appropriate SQLOutput writer method(s) (writeInt, writeString, and so on) to do the following: for a Distinct Type, write its single data element; for a Structured Type, write a value for each attribute of the SQL type.

Parameters
stream:SQLOutput

the SQLOutput object to which to write the data for the value that was custom mapped

Annotations
@SuppressWarnings:rawtypes, unchecked
@Override
Exceptions
SQLException:
if there is a database access error