Top Description Fields Constructors Methods
org.jooq.impl

pack-priv final Class SQLResultQuery

extends AbstractResultQuery<Record>
implements UEmptyQuery
Class Inheritance
All Implemented Interfaces
org.jooq.impl.QOM.UEmptyQuery, org.jooq.impl.QOM.UEmpty, org.jooq.QueryPart, java.io.Serializable, org.jooq.Query, org.jooq.AttachableQueryPart, org.jooq.Attachable, org.jooq.Statement
Static Imports
org.jooq.impl.Tools.EMPTY_FIELD, .Tools.isEmpty

A plain SQL query that returns results
Author
Lukas Eder

Field Summary

Modifier and TypeField and Description
private final SQL

Constructor Summary

AccessConstructor and Description
pack-priv
SQLResultQuery(Configuration configuration, SQL delegate)

Method Summary

Modifier and TypeMethod and Description
public final void
accept(Context<?> ctx)

Implements org.jooq.QueryPartInternal.accept.

This QueryPart can accept a Context object in order to render a SQL string or to bind its variables.
public final Clause[]
clauses(Context<?> ctx)

Overrides org.jooq.impl.AbstractQueryPart.clauses.

Implements org.jooq.QueryPartInternal.clauses.

Deprecated as a consequence of Clause being deprecated.
The Clauses that are represented by this query part.
public final Field<?>[]
getFields(ThrowingSupplier<? extends ResultSetMetaData, SQLException> rs)

Overrides default org.jooq.impl.ResultQueryTrait.getFields.

Deprecated as a consequence of Field being deprecated.
Get a list of fields provided a result set.
public final Field<?>[]
getFields()

Implements org.jooq.impl.ResultQueryTrait.getFields.

Deprecated as a consequence of Field being deprecated.
Get a list of fields if we don't have a result set.
public final Class<? extends Record>
Inherited from org.jooq.impl.AbstractResultQuery:
bindbindcoercecoercecoerceexecutefetchfetchLazyfetchLazyNonAutoClosingfetchManyfetchSizefetchSizegetRecordTypegetResultinterninterninterninternkeepResultSetkeepStatementmaxRowspoolablepreparequeryTimeoutresultSetConcurrencyresultSetHoldabilityresultSetType

Field Detail

delegateback to summary
private final SQL delegate

Constructor Detail

SQLResultQueryback to summary
pack-priv SQLResultQuery(Configuration configuration, SQL delegate)

Method Detail

acceptback to summary
public final void accept(Context<?> ctx)

Implements org.jooq.QueryPartInternal.accept.

Doc from org.jooq.QueryPartInternal.accept.

This QueryPart can accept a Context object in order to render a SQL string or to bind its variables.

Annotations
@Override
clausesback to summary
public final Clause[] clauses(Context<?> ctx)

Overrides org.jooq.impl.AbstractQueryPart.clauses.

Implements org.jooq.QueryPartInternal.clauses.

Doc from org.jooq.QueryPartInternal.clauses.

Deprecated

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

The Clauses that are represented by this query part.

QueryParts can specify several Clauses for which an event will be emitted before (in forward order) and after (in reverse order) visiting the the query part through Context#visit(QueryPart)

This method is for JOOQ INTERNAL USE only. Do not reference directly

Returns:Clause[]

The Clauses represented by this query part or null or an empty array if this query part does not represent a clause.

Annotations
@Override
getFieldsback to summary
public final Field<?>[] getFields(ThrowingSupplier<? extends ResultSetMetaData, SQLException> rs) throws SQLException

Overrides default org.jooq.impl.ResultQueryTrait.getFields.

Doc from org.jooq.impl.ResultQueryTrait.getFields.

Deprecated

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

Get a list of fields provided a result set.

Annotations
@Override
Exceptions
SQLException:
If something goes wrong when accessing ResultSetMetaData.
getFieldsback to summary
public final Field<?>[] getFields()

Implements org.jooq.impl.ResultQueryTrait.getFields.

Doc from org.jooq.impl.ResultQueryTrait.getFields.

Deprecated

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

Get a list of fields if we don't have a result set.

Annotations
@Override
getRecordType0back to summary
public final Class<? extends Record> getRecordType0()

Implements abstract org.jooq.impl.AbstractResultQuery.getRecordType0.

Annotations
@Override