Top Fields Constructors Methods
org.jooq.impl

pack-priv final Class SQLImpl

extends AbstractQueryPart
implements SQL, UEmpty
Class Inheritance
All Implemented Interfaces
org.jooq.impl.QOM.UEmpty, org.jooq.QueryPart, java.io.Serializable, org.jooq.SQL
Static Imports
java.util.Objects.requireNonNull, org.jooq.Clause.TEMPLATE, org.jooq.impl.DSL.list, .Tools.renderAndBind, .Tools.stringLiteral

Field Summary

Modifier and TypeField and Description
private static final Clause[]
CLAUSES

Deprecated as a consequence of Clause being deprecated.
pack-priv final boolean
pack-priv final boolean
pack-priv final String
pack-priv final List<QueryPart>

Constructor Summary

AccessConstructor and Description
pack-priv
SQLImpl(String sql, boolean raw, Object... input)

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.
pack-priv static final boolean
public String
toString()

Overrides org.jooq.impl.AbstractQueryPart.toString.

Implements org.jooq.QueryPart.toString.

Render a SQL string representation of this QueryPart.
Inherited from org.jooq.impl.AbstractQueryPart:
configurationcreatecreatecreatedeclaresCTEdeclaresFieldsdeclaresTablesdeclaresWindowsequalsgeneratesCasthashCoderendersContenttranslate

Field Detail

CLAUSESback to summary
private static final Clause[] CLAUSES

Deprecated

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

isNameback to summary
pack-priv final boolean isName
rawback to summary
pack-priv final boolean raw
sqlback to summary
pack-priv final String sql
substitutesback to summary
pack-priv final List<QueryPart> substitutes

Constructor Detail

SQLImplback to summary
pack-priv SQLImpl(String sql, boolean raw, Object... input)

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
isNameback to summary
pack-priv static final boolean isName(String sql)
toStringback to summary
public String toString()

Overrides org.jooq.impl.AbstractQueryPart.toString.

Implements org.jooq.QueryPart.toString.

Doc from org.jooq.QueryPart.toString.

Render a SQL string representation of this QueryPart.

For improved debugging, this renders a SQL string of this QueryPart with inlined bind variables. If this QueryPart is Attachable, then the attached Configuration may be used for rendering the SQL string, including SQLDialect and Settings. Do note that most QueryPart instances are not attached to a Configuration, and thus there is no guarantee that the SQL string will make sense in the context of a specific database.

Returns:String

A SQL string representation of this QueryPart

Annotations
@Override