Top Description Methods
org.jooq

public Interface DivideByOnStep

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

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
on(Condition condition)

Deprecated as a consequence of Condition being deprecated.
Add a division condition to the DIVIDE BY clause, connecting them with each other with Operator#AND.
public @NotNull DivideByOnConditionStep
on(Condition... conditions)

Deprecated as a consequence of Condition being deprecated.
Add a division condition to the DIVIDE BY clause, connecting them with each other with Operator#AND.
public @NotNull DivideByOnConditionStep
on(Field<Boolean> condition)

Deprecated as a consequence of Field being deprecated.
Add a division condition to the DIVIDE BY clause
public @NotNull DivideByOnConditionStep
on(SQL sql)

Add a division condition to the DIVIDE BY clause

Note

When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity.

public @NotNull DivideByOnConditionStep
on(String sql)

Add a division condition to the DIVIDE BY clause

Note

When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity.

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

Add a division condition to the DIVIDE BY clause

Note

When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity.

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

Add a division condition to the DIVIDE BY clause

Note

When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity.

Method Detail

onback to summary
public @NotNull DivideByOnConditionStep on(Condition condition)

Deprecated

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

Add a division condition to the DIVIDE BY clause, connecting them with each other with Operator#AND.

Annotations
@NotNull
@Support:CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE
onback to summary
public @NotNull DivideByOnConditionStep on(Condition... conditions)

Deprecated

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

Add a division condition to the DIVIDE BY clause, connecting them with each other with Operator#AND.

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

Deprecated

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

Add a division condition to the DIVIDE BY clause

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

Add a division condition to the DIVIDE BY clause

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
onback to summary
public @NotNull DivideByOnConditionStep on(String sql)

Add a division condition to the DIVIDE BY clause

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
onback to summary
public @NotNull DivideByOnConditionStep on(String sql, Object... bindings)

Add a division condition to the DIVIDE BY clause

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
onback to summary
public @NotNull DivideByOnConditionStep on(String sql, QueryPart... parts)

Add a division condition to the DIVIDE BY clause

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