Top Description Fields Constructors Methods
org.jooq.impl

pack-priv final Class SimilarTo

extends AbstractCondition
implements SimilarTo, 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.SimilarTo, 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.SimilarTo and LikeEscapeStep being deprecated. See corresponding docs for further information.

The SIMILAR TO statement.

Field Summary

Modifier and TypeField and Description
pack-priv Character
pack-priv final Field<String>
pattern

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

Deprecated as a consequence of Field being deprecated.

Constructor Summary

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

Deprecated as a consequence of Field being deprecated.
pack-priv
SimilarTo(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.SimilarTo
$arg1(Field<?> newValue)

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

Deprecated as a consequence of Field and QOM.SimilarTo 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.SimilarTo
$arg2(Field<String> newValue)

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

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

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

Deprecated as a consequence of QOM.SimilarTo being deprecated.
public final Function3<? super Field<?>, ? super Field<String>, ? super Character, ? extends QOM.SimilarTo>
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.
public final SimilarTo
escape(char escape)

Implements org.jooq.LikeEscapeStep.escape.

Deprecated as a consequence of SimilarTo being deprecated.
Add the ESCAPE clause to the LIKE function.
Inherited from org.jooq.impl.AbstractCondition:
andandandandandandandExistsandNotandNotandNotExistsclausesnotorororororororExistsorNotorNotorNotExistsxorxorxorxorxorxorxorExistsxorNotxorNotxorNotExists

Field Detail

escapeback to summary
pack-priv Character escape
patternback to summary
pack-priv final Field<String> pattern

Deprecated

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

valueback to summary
pack-priv final Field<?> value

Deprecated

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

Constructor Detail

SimilarToback to summary
pack-priv SimilarTo(Field<?> value, Field<String> pattern)

Deprecated

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

SimilarToback to summary
pack-priv SimilarTo(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.SimilarTo $arg1(Field<?> newValue)

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

Deprecated

as a consequence of Field and QOM.SimilarTo 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.SimilarTo $arg2(Field<String> newValue)

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

Deprecated

as a consequence of Field and QOM.SimilarTo 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.SimilarTo $arg3(Character newValue)

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

Deprecated

as a consequence of QOM.SimilarTo 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.SimilarTo> $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
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 SimilarTo escape(char escape)

Implements org.jooq.LikeEscapeStep.escape.

Doc from org.jooq.LikeEscapeStep.escape.

Deprecated

as a consequence of SimilarTo 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