Top Description Methods
org.jooq

public Interface DivideByOnConditionStep

extends DivideByReturningStep
Known Direct Implementers
org.jooq.impl.DivideBy
Imports
org.jetbrains.annotations.*, org.jooq.impl.DSL

An intermediate type for the construction of a relational division. This type can be used as a convenience type for connecting more conditions.

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:

Author
Lukas Eder

Method Summary

Modifier and TypeMethod and Description
public @NotNull DivideByOnConditionStep
and(Condition condition)

Deprecated as a consequence of Condition being deprecated.
Combine the currently assembled conditions with another one using the Operator#AND operator.
public @NotNull DivideByOnConditionStep
and(Field<Boolean> condition)

Deprecated as a consequence of Field being deprecated.
Combine the currently assembled conditions with another one using the Operator#AND operator.
public @NotNull DivideByOnConditionStep
and(SQL sql)

Combine the currently assembled conditions with another one using the Operator#AND operator.

public @NotNull DivideByOnConditionStep
and(String sql)

Combine the currently assembled conditions with another one using the Operator#AND operator.

public @NotNull DivideByOnConditionStep
and(String sql, Object... bindings)

Combine the currently assembled conditions with another one using the Operator#AND operator.

public @NotNull DivideByOnConditionStep
and(String sql, QueryPart... parts)

Combine the currently assembled conditions with another one using the Operator#AND operator.

public @NotNull DivideByOnConditionStep
andExists(Select<?> select)

Combine the currently assembled conditions with an EXISTS clause using the Operator#AND operator.

public @NotNull DivideByOnConditionStep
andNot(Condition condition)

Deprecated as a consequence of Condition being deprecated.
Combine the currently assembled conditions with a negated other one using the Operator#AND operator.
public @NotNull DivideByOnConditionStep
andNot(Field<Boolean> condition)

Deprecated as a consequence of Field being deprecated.
Combine the currently assembled conditions with a negated other one using the Operator#AND operator.
public @NotNull DivideByOnConditionStep
andNotExists(Select<?> select)

Combine the currently assembled conditions with a NOT EXISTS clause using the Operator#AND operator.

public @NotNull DivideByOnConditionStep
or(Condition condition)

Deprecated as a consequence of Condition being deprecated.
Combine the currently assembled conditions with another one using the Operator#OR operator.
public @NotNull DivideByOnConditionStep
or(Field<Boolean> condition)

Deprecated as a consequence of Field being deprecated.
Combine the currently assembled conditions with another one using the Operator#OR operator.
public @NotNull DivideByOnConditionStep
or(SQL sql)

Combine the currently assembled conditions with another one using the Operator#OR operator.

public @NotNull DivideByOnConditionStep
or(String sql)

Combine the currently assembled conditions with another one using the Operator#OR operator.

public @NotNull DivideByOnConditionStep
or(String sql, Object... bindings)

Combine the currently assembled conditions with another one using the Operator#OR operator.

public @NotNull DivideByOnConditionStep
or(String sql, QueryPart... parts)

Combine the currently assembled conditions with another one using the Operator#OR operator.

public @NotNull DivideByOnConditionStep
orExists(Select<?> select)

Combine the currently assembled conditions with an EXISTS clause using the Operator#OR operator.

public @NotNull DivideByOnConditionStep
orNot(Condition condition)

Deprecated as a consequence of Condition being deprecated.
Combine the currently assembled conditions with a negated other one using the Operator#OR operator.
public @NotNull DivideByOnConditionStep
orNot(Field<Boolean> condition)

Deprecated as a consequence of Field being deprecated.
Combine the currently assembled conditions with a negated other one using the Operator#OR operator.
public @NotNull DivideByOnConditionStep
orNotExists(Select<?> select)

Combine the currently assembled conditions with a NOT EXISTS clause using the Operator#OR operator.

Inherited from org.jooq.DivideByReturningStep:
returningreturning

Method Detail

andback to summary
public @NotNull DivideByOnConditionStep and(Condition condition)

Deprecated

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

Combine the currently assembled conditions with another one using the Operator#AND operator.

Annotations
@NotNull
@Support:CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE
andback to summary
public @NotNull DivideByOnConditionStep and(Field<Boolean> condition)

Deprecated

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

Combine the currently assembled conditions with another one using the Operator#AND operator.

Annotations
@NotNull
@Support:CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE
andback to summary
public @NotNull DivideByOnConditionStep and(SQL sql)

Combine the currently assembled conditions with another one using the Operator#AND operator.

Note

When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!

Annotations
@NotNull
@Support:CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE
@PlainSQL
See Also
DSL#condition(SQL), SQL
andback to summary
public @NotNull DivideByOnConditionStep and(String sql)

Combine the currently assembled conditions with another one using the Operator#AND operator.

Note

When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!

Annotations
@NotNull
@Support:CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE
@PlainSQL
See Also
DSL#condition(String), SQL
andback to summary
public @NotNull DivideByOnConditionStep and(String sql, Object... bindings)

Combine the currently assembled conditions with another one using the Operator#AND operator.

Note

When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!

Annotations
@NotNull
@Support:CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE
@PlainSQL
See Also
DSL#condition(String, Object...), DSL#sql(String, Object...), SQL
andback to summary
public @NotNull DivideByOnConditionStep and(String sql, QueryPart... parts)

Combine the currently assembled conditions with another one using the Operator#AND operator.

Note

When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!

Annotations
@NotNull
@Support:CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE
@PlainSQL
See Also
DSL#condition(String, QueryPart...), DSL#sql(String, QueryPart...), SQL
andExistsback to summary
public @NotNull DivideByOnConditionStep andExists(Select<?> select)

Combine the currently assembled conditions with an EXISTS clause using the Operator#AND operator.

Annotations
@NotNull
@Support:CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE
andNotback to summary
public @NotNull DivideByOnConditionStep andNot(Condition condition)

Deprecated

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

Combine the currently assembled conditions with a negated other one using the Operator#AND operator.

Annotations
@NotNull
@Support:CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE
andNotback to summary
public @NotNull DivideByOnConditionStep andNot(Field<Boolean> condition)

Deprecated

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

Combine the currently assembled conditions with a negated other one using the Operator#AND operator.

Annotations
@NotNull
@Support:CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE
andNotExistsback to summary
public @NotNull DivideByOnConditionStep andNotExists(Select<?> select)

Combine the currently assembled conditions with a NOT EXISTS clause using the Operator#AND operator.

Annotations
@NotNull
@Support:CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE
orback to summary
public @NotNull DivideByOnConditionStep or(Condition condition)

Deprecated

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

Combine the currently assembled conditions with another one using the Operator#OR operator.

Annotations
@NotNull
@Support:CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE
orback to summary
public @NotNull DivideByOnConditionStep or(Field<Boolean> condition)

Deprecated

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

Combine the currently assembled conditions with another one using the Operator#OR operator.

Annotations
@NotNull
@Support:CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE
orback to summary
public @NotNull DivideByOnConditionStep or(SQL sql)

Combine the currently assembled conditions with another one using the Operator#OR operator.

Note

When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!

Annotations
@NotNull
@Support:CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE
@PlainSQL
See Also
DSL#condition(SQL), SQL
orback to summary
public @NotNull DivideByOnConditionStep or(String sql)

Combine the currently assembled conditions with another one using the Operator#OR operator.

Note

When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!

Annotations
@NotNull
@Support:CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE
@PlainSQL
See Also
DSL#condition(String), SQL
orback to summary
public @NotNull DivideByOnConditionStep or(String sql, Object... bindings)

Combine the currently assembled conditions with another one using the Operator#OR operator.

Note

When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!

Annotations
@NotNull
@Support:CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE
@PlainSQL
See Also
DSL#condition(String, Object...), DSL#sql(String, Object...), SQL
orback to summary
public @NotNull DivideByOnConditionStep or(String sql, QueryPart... parts)

Combine the currently assembled conditions with another one using the Operator#OR operator.

Note

When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!

Annotations
@NotNull
@Support:CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE
@PlainSQL
See Also
DSL#condition(String, QueryPart...), DSL#sql(String, QueryPart...), SQL
orExistsback to summary
public @NotNull DivideByOnConditionStep orExists(Select<?> select)

Combine the currently assembled conditions with an EXISTS clause using the Operator#OR operator.

Annotations
@NotNull
@Support:CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE
orNotback to summary
public @NotNull DivideByOnConditionStep orNot(Condition condition)

Deprecated

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

Combine the currently assembled conditions with a negated other one using the Operator#OR operator.

Annotations
@NotNull
@Support:CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE
orNotback to summary
public @NotNull DivideByOnConditionStep orNot(Field<Boolean> condition)

Deprecated

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

Combine the currently assembled conditions with a negated other one using the Operator#OR operator.

Annotations
@NotNull
@Support:CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE
orNotExistsback to summary
public @NotNull DivideByOnConditionStep orNotExists(Select<?> select)

Combine the currently assembled conditions with a NOT EXISTS clause using the Operator#OR operator.

Annotations
@NotNull
@Support:CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE