Top Description Fields Constructors Methods
org.jooq.impl

pack-priv final Class Unique

extends AbstractCondition
implements Unique
Class Inheritance
All Implemented Interfaces
org.jooq.impl.QOM.Unique, 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.Unique being deprecated. See corresponding docs for further information.

The UNIQUE statement.

Field Summary

Modifier and TypeField and Description
pack-priv final Select<?>

Constructor Summary

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

Method Summary

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

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

Deprecated as a consequence of QOM.Unique being deprecated.
public final Function1<? super Select<?>, ? extends QOM.Unique>
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 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.
Inherited from org.jooq.impl.AbstractCondition:
andandandandandandandExistsandNotandNotandNotExistsclausesnotorororororororExistsorNotorNotorNotExistsxorxorxorxorxorxorxorExistsxorNotxorNotxorNotExists

Field Detail

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

Constructor Detail

Uniqueback to summary
pack-priv Unique(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.Unique $arg1(Select<?> newValue)

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

Deprecated

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

Annotations
@Override
$constructorback to summary
public final Function1<? super Select<?>, ? extends QOM.Unique> $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
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