Top Description Methods
org.jooq

public Interface LikeEscapeStep

extends Condition
Known Direct Implementers
org.jooq.impl.SimilarTo, org.jooq.impl.SimilarToQuantified, org.jooq.impl.NotLike, org.jooq.impl.NotLikeIgnoreCase, org.jooq.impl.NotLikeQuantified, org.jooq.impl.NotSimilarTo, org.jooq.impl.NotSimilarToQuantified, org.jooq.impl.LikeIgnoreCase, org.jooq.impl.LikeQuantified, org.jooq.impl.Like
Annotations
@SuppressWarnings:unused
Static Imports
org.jooq.SQLDialect.*, org.jooq.impl.DSL.*

Deprecated

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

A step in the construction of the LIKE function.

Referencing XYZ*Step types directly from client code

It is usually not recommended to reference any XYZ*Step types directly from client code, or assign them to local variables. When writing dynamic SQL, creating a statement's components dynamically, and passing them to the DSL API statically is usually a better choice. See the manual's section about dynamic SQL for details: https://www.jooq.org/doc/latest/manual/sql-building/dynamic-sql.

Drawbacks of referencing the XYZ*Step types directly:

Method Summary

Modifier and TypeMethod and Description
public @NotNull Condition
escape(char escape)

Deprecated as a consequence of Condition being deprecated.
Add the ESCAPE clause to the LIKE function.
Inherited from org.jooq.Condition:
andandandandandandandExistsandNotandNotandNotExistsnotorororororororExistsorNotorNotorNotExistsxorxorxorxorxorxorxorExistsxorNotxorNotxorNotExists

Method Detail

escapeback to summary
public @NotNull Condition escape(char escape)

Deprecated

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

Add the ESCAPE clause to the LIKE function.

For example:


some_column LIKE 'A!%%' ESCAPE '!'
Annotations
@Support:CUBRID, DERBY, FIREBIRD, H2, HSQLDB, IGNITE, MARIADB, MYSQL, POSTGRES, SQLITE
@NotNull
@CheckReturnValue