Top Description Methods
org.jooq

public Interface JSONObjectNullStep<T>

extends JSONObjectReturningStep<T>
Known Direct Implementers
org.jooq.impl.JSONObject
Annotations
@SuppressWarnings:unused
Static Imports
org.jooq.SQLDialect.*, org.jooq.impl.DSL.*

Deprecated

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

A step in the construction of the JSON OBJECT 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 JSONObjectReturningStep<T>
absentOnNull()

Deprecated as a consequence of JSONObjectReturningStep being deprecated.
Add the ABSENT ON NULL clause to the JSON OBJECT function.
public @NotNull JSONObjectReturningStep<T>
nullOnNull()

Deprecated as a consequence of JSONObjectReturningStep being deprecated.
Add the NULL ON NULL clause to the JSON OBJECT function.
Inherited from org.jooq.JSONObjectReturningStep:
returning

Method Detail

absentOnNullback to summary
public @NotNull JSONObjectReturningStep<T> absentOnNull()

Deprecated

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

Add the ABSENT ON NULL clause to the JSON OBJECT function.

Exclude NULL values in output JSON.

Annotations
@Support:H2, MYSQL, POSTGRES, YUGABYTEDB
@NotNull
@CheckReturnValue
nullOnNullback to summary
public @NotNull JSONObjectReturningStep<T> nullOnNull()

Deprecated

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

Add the NULL ON NULL clause to the JSON OBJECT function.

Include NULL values in output JSON.

Annotations
@Support:H2, MARIADB, MYSQL, POSTGRES, SQLITE, YUGABYTEDB
@NotNull
@CheckReturnValue