Top Description Fields Constructors Methods
org.jooq.impl

pack-priv final Class Or

extends AbstractCondition
implements Or
Class Inheritance
All Implemented Interfaces
org.jooq.impl.QOM.Or, org.jooq.impl.QOM.CombinedCondition, org.jooq.impl.QOM.UCommutativeOperator, org.jooq.impl.QOM.UConvertibleOperator, org.jooq.impl.QOM.UOperator2, org.jooq.impl.QOM.UOperator, 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
Annotations
@SuppressWarnings: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.Or being deprecated. See corresponding docs for further information.

The OR statement.

Field Summary

Modifier and TypeField and Description
pack-priv final Condition
arg1

Deprecated as a consequence of Condition being deprecated.
pack-priv final Condition
arg2

Deprecated as a consequence of Condition being deprecated.
private static final Clause[]
CLAUSES

Hides org.jooq.impl.AbstractCondition.CLAUSES.

Deprecated as a consequence of Clause being deprecated.

Constructor Summary

AccessConstructor and Description
pack-priv
Or(Condition arg1, Condition arg2)

Deprecated as a consequence of Condition being deprecated.

Method Summary

Modifier and TypeMethod and Description
public final Condition
$arg1()

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

Deprecated as a consequence of Condition being deprecated.
public final QOM.Or
$arg1(Condition newValue)

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

Deprecated as a consequence of Condition and QOM.Or being deprecated.
public final Condition
$arg2()

Implements org.jooq.impl.QOM.UOperator2.$arg2.

Deprecated as a consequence of Condition being deprecated.
public final QOM.Or
$arg2(Condition newValue)

Overrides default org.jooq.impl.QOM.UOperator2.$arg2.

Deprecated as a consequence of Condition and QOM.Or being deprecated.
public final Function2<? super Condition, ? super Condition, ? extends QOM.Or>
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

arg1back to summary
pack-priv final Condition arg1

Deprecated

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

arg2back to summary
pack-priv final Condition arg2

Deprecated

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

CLAUSESback to summary
private static final Clause[] CLAUSES

Hides org.jooq.impl.AbstractCondition.CLAUSES.

Deprecated

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

Constructor Detail

Orback to summary
pack-priv Or(Condition arg1, Condition arg2)

Deprecated

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

Method Detail

$arg1back to summary
public final Condition $arg1()

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

Deprecated

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

Annotations
@Override
$arg1back to summary
public final QOM.Or $arg1(Condition newValue)

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

Deprecated

as a consequence of Condition and QOM.Or being deprecated. See corresponding docs for further information.

Annotations
@Override
$arg2back to summary
public final Condition $arg2()

Implements org.jooq.impl.QOM.UOperator2.$arg2.

Deprecated

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

Annotations
@Override
$arg2back to summary
public final QOM.Or $arg2(Condition newValue)

Overrides default org.jooq.impl.QOM.UOperator2.$arg2.

Deprecated

as a consequence of Condition and QOM.Or being deprecated. See corresponding docs for further information.

Annotations
@Override
$constructorback to summary
public final Function2<? super Condition, ? super Condition, ? extends QOM.Or> $constructor()

Implements org.jooq.impl.QOM.UOperator2.$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