Top Fields Constructors Methods
org.jooq.impl

pack-priv final Class SQLCondition

extends AbstractCondition
implements UEmptyCondition
Class Inheritance
All Implemented Interfaces
org.jooq.impl.QOM.UEmptyCondition, org.jooq.impl.QOM.UEmpty, org.jooq.QueryPart, java.io.Serializable, org.jooq.Condition, org.jooq.Field, org.jooq.TableElement, org.jooq.Named, org.jooq.FieldOrConstraint, org.jooq.FieldOrRowOrSelect, org.jooq.FieldOrRow, org.jooq.OrderField, org.jooq.GroupField, org.jooq.SelectField, org.jooq.Typed, org.jooq.SelectFieldOrAsterisk
Imports
org.jooq.Clause, .Context, .QueryPart, .SQL, org.jooq.impl.QOM.UEmpty, .QOM.UEmptyCondition

Deprecated

as a consequence of AbstractCondition and QOM.UEmptyCondition being deprecated. See corresponding docs for further information.

Field Summary

Modifier and TypeField and Description
private final SQL

Constructor Summary

AccessConstructor and Description
pack-priv
SQLCondition(SQL delegate)

Method Summary

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

Implements abstract org.jooq.impl.AbstractField.accept.

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.AbstractCondition.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 final boolean
parenthesised(Context<?> ctx)

Overrides org.jooq.impl.AbstractField.parenthesised.

[#7362] Subclasses may override this method to indicate that the condition is already parenthesised, or produces syntax that render parentheses around this condition unnecessary.
Inherited from org.jooq.impl.AbstractCondition:
andandandandandandandExistsandNotandNotandNotExistsnotorororororororExistsorNotorNotorNotExistsxorxorxorxorxorxorxorExistsxorNotxorNotxorNotExists

Field Detail

delegateback to summary
private final SQL delegate

Constructor Detail

SQLConditionback to summary
pack-priv SQLCondition(SQL delegate)

Method Detail

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

Implements abstract org.jooq.impl.AbstractField.accept.

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.AbstractCondition.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
parenthesisedback to summary
pack-priv final boolean parenthesised(Context<?> ctx)

Overrides org.jooq.impl.AbstractField.parenthesised.

Doc from org.jooq.impl.AbstractField.parenthesised.

[#7362] Subclasses may override this method to indicate that the condition is already parenthesised, or produces syntax that render parentheses around this condition unnecessary.

This can help prevent excess parentheses, e.g. when this condition is wrapped in QOM.Not, QOM.BitNot, or QOM.Neg

Annotations
@Override