Top Description Fields Constructors Methods
org.jooq.impl

pack-priv final Class Exists

extends AbstractCondition
implements Exists
Class Inheritance
All Implemented Interfaces
org.jooq.impl.QOM.Exists, org.jooq.Condition, org.jooq.Field, org.jooq.TableElement, org.jooq.Named, org.jooq.QueryPart, java.io.Serializable, org.jooq.FieldOrConstraint, org.jooq.FieldOrRowOrSelect, org.jooq.FieldOrRow, org.jooq.OrderField, org.jooq.GroupField, org.jooq.SelectField, org.jooq.Typed, org.jooq.SelectFieldOrAsterisk, org.jooq.impl.QOM.UOperator1, org.jooq.impl.QOM.UOperator
Annotations
@SuppressWarnings:rawtypes, unused
Static Imports
org.jooq.impl.DSL.*, org.jooq.impl.Internal.*, org.jooq.impl.Keywords.*, org.jooq.impl.Names.*, org.jooq.impl.SQLDataType.*, org.jooq.impl.Tools.*, org.jooq.impl.Tools.BooleanDataKey.*, org.jooq.impl.Tools.ExtendedDataKey.*, org.jooq.impl.Tools.SimpleDataKey.*, org.jooq.SQLDialect.*

Deprecated

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

The EXISTS statement.

Field Summary

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

Deprecated as a consequence of Clause being deprecated.
pack-priv final Select<?>

Constructor Summary

AccessConstructor and Description
pack-priv
Exists(Select<?> query)

Method Summary

Modifier and TypeMethod and Description
public final Select<?>
public final QOM.Exists
$arg1(Select<?> newValue)

Overrides default org.jooq.impl.QOM.UOperator1.$arg1.

Deprecated as a consequence of QOM.Exists being deprecated.
public final Function1<? super Select<?>, ? extends QOM.Exists>
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.
public boolean
equals(Object
The other QueryPart
that
)

Overrides org.jooq.impl.AbstractNamed.equals.

Implements org.jooq.QueryPart.equals, org.jooq.Field.equals.

Check whether this QueryPart can be considered equal to another QueryPart.
pack-priv final boolean
isNullable()

Overrides org.jooq.impl.AbstractField.isNullable.

[#10179] [#14665] Subclasses may override this method to indicate that the condition may produce TRUE, FALSE, or NULL.
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

CLAUSES_EXISTSback to summary
private static final Clause[] CLAUSES_EXISTS

Deprecated

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

queryback to summary
pack-priv final Select<?> query

Constructor Detail

Existsback to summary
pack-priv Exists(Select<?> query)

Method Detail

$arg1back to summary
public final Select<?> $arg1()

Implements org.jooq.impl.QOM.UOperator1.$arg1.

Annotations
@Override
$arg1back to summary
public final QOM.Exists $arg1(Select<?> newValue)

Overrides default org.jooq.impl.QOM.UOperator1.$arg1.

Deprecated

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

Annotations
@Override
$constructorback to summary
public final Function1<? super Select<?>, ? extends QOM.Exists> $constructor()

Implements org.jooq.impl.QOM.UOperator1.$constructor.

Annotations
@Override
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
equalsback to summary
public boolean equals(Object that)

Overrides org.jooq.impl.AbstractNamed.equals.

Implements org.jooq.QueryPart.equals, org.jooq.Field.equals.

Doc from org.jooq.QueryPart.equals.

Check whether this QueryPart can be considered equal to another QueryPart.

In general, QueryPart equality is defined in terms of toString() equality. In other words, two query parts are considered equal if their rendered SQL (with inlined bind variables) is equal. This means that the two query parts do not necessarily have to be of the same type.

Some QueryPart implementations may choose to override this behaviour for improved performance, as toString() is an expensive operation, if called many times.

Parameters
that:Object

The other QueryPart

Returns:boolean

Whether the two query parts are equal

Annotations
@Override
isNullableback to summary
pack-priv final boolean isNullable()

Overrides org.jooq.impl.AbstractField.isNullable.

Doc from org.jooq.impl.AbstractField.isNullable.

[#10179] [#14665] Subclasses may override this method to indicate that the condition may produce TRUE, FALSE, or NULL.

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