Top Description Fields Constructors Methods
org.jooq.impl

pack-priv final Class Like

extends AbstractCondition
implements Like, LikeEscapeStep
Class Inheritance
All Implemented Interfaces
org.jooq.LikeEscapeStep, 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.Like, org.jooq.impl.QOM.UOperator3, org.jooq.impl.QOM.UOperator, org.jooq.impl.QOM.UReturnsNullOnNullInput
Annotations
@SuppressWarnings:hiding, rawtypes, unchecked, 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, QOM.Like and LikeEscapeStep being deprecated. See corresponding docs for further information.

The LIKE statement.

Field Summary

Modifier and TypeField and Description
pack-priv Character
private static final Set<SQLDialect>
pack-priv final Field<String>
pattern

Deprecated as a consequence of Field being deprecated.
private static final Set<SQLDialect>
pack-priv final Field<?>
value

Deprecated as a consequence of Field being deprecated.

Constructor Summary

AccessConstructor and Description
pack-priv
Like(Field<?> value, Field<String> pattern)

Deprecated as a consequence of Field being deprecated.
pack-priv
Like(Field<?> value, Field<String> pattern, Character escape)

Deprecated as a consequence of Field being deprecated.

Method Summary

Modifier and TypeMethod and Description
public final Field<?>
$arg1()

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

Deprecated as a consequence of Field being deprecated.
public final QOM.Like
$arg1(Field<?> newValue)

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

Deprecated as a consequence of Field and QOM.Like being deprecated.
public final Field<String>
$arg2()

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

Deprecated as a consequence of Field being deprecated.
public final QOM.Like
$arg2(Field<String> newValue)

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

Deprecated as a consequence of Field and QOM.Like being deprecated.
public final Character
public final QOM.Like
$arg3(Character newValue)

Overrides default org.jooq.impl.QOM.UOperator3.$arg3.

Deprecated as a consequence of QOM.Like being deprecated.
public final Function3<? super Field<?>, ? super Field<String>, ? super Character, ? extends QOM.Like>
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.
pack-priv static final void
accept0(Context<?> ctx, Field<?> arg1, Comparator op, Field<?> arg2, Character escape)

Deprecated as a consequence of Field being deprecated.
pack-priv static final boolean
castRhs(Context<?> ctx, Field<?> arg2)

Deprecated as a consequence of Field being deprecated.
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.
public final Like
escape(char escape)

Implements org.jooq.LikeEscapeStep.escape.

Deprecated as a consequence of Like being deprecated.
Add the ESCAPE clause to the LIKE function.
pack-priv static final ParamType
Inherited from org.jooq.impl.AbstractCondition:
andandandandandandandExistsandNotandNotandNotExistsclausesnotorororororororExistsorNotorNotorNotExistsxorxorxorxorxorxorxorExistsxorNotxorNotxorNotExists

Field Detail

escapeback to summary
pack-priv Character escape
NO_SUPPORT_ILIKEback to summary
private static final Set<SQLDialect> NO_SUPPORT_ILIKE
patternback to summary
pack-priv final Field<String> pattern

Deprecated

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

REQUIRES_CAST_ON_LIKEback to summary
private static final Set<SQLDialect> REQUIRES_CAST_ON_LIKE
valueback to summary
pack-priv final Field<?> value

Deprecated

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

Constructor Detail

Likeback to summary
pack-priv Like(Field<?> value, Field<String> pattern)

Deprecated

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

Likeback to summary
pack-priv Like(Field<?> value, Field<String> pattern, Character escape)

Deprecated

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

Method Detail

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

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

Deprecated

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

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

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

Deprecated

as a consequence of Field and QOM.Like being deprecated. See corresponding docs for further information.

Annotations
@Override
$arg2back to summary
public final Field<String> $arg2()

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

Deprecated

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

Annotations
@Override
$arg2back to summary
public final QOM.Like $arg2(Field<String> newValue)

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

Deprecated

as a consequence of Field and QOM.Like being deprecated. See corresponding docs for further information.

Annotations
@Override
$arg3back to summary
public final Character $arg3()

Implements org.jooq.impl.QOM.UOperator3.$arg3.

Annotations
@Override
$arg3back to summary
public final QOM.Like $arg3(Character newValue)

Overrides default org.jooq.impl.QOM.UOperator3.$arg3.

Deprecated

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

Annotations
@Override
$constructorback to summary
public final Function3<? super Field<?>, ? super Field<String>, ? super Character, ? extends QOM.Like> $constructor()

Implements org.jooq.impl.QOM.UOperator3.$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
accept0back to summary
pack-priv static final void accept0(Context<?> ctx, Field<?> arg1, Comparator op, Field<?> arg2, Character escape)

Deprecated

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

castRhsback to summary
pack-priv static final boolean castRhs(Context<?> ctx, Field<?> arg2)

Deprecated

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

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
escapeback to summary
public final Like escape(char escape)

Implements org.jooq.LikeEscapeStep.escape.

Doc from org.jooq.LikeEscapeStep.escape.

Deprecated

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

Add the ESCAPE clause to the LIKE function.

For example:


some_column LIKE 'A!%%' ESCAPE '!'
Annotations
@Override
forcedParamTypeback to summary
pack-priv static final ParamType forcedParamType(Context<?> ctx, Character escape)