Top Description Fields Constructors Methods
org.jooq.impl

pack-priv final Class JSONEntryImpl<T>

extends AbstractQueryPart
implements JSONEntry<T>, JSONEntryValueStep
Class Inheritance
All Implemented Interfaces
org.jooq.JSONEntryValueStep, org.jooq.JSONEntry, org.jooq.QueryPart, java.io.Serializable
Static Imports
org.jooq.SQLDialect.MARIADB, .SQLDialect.MYSQL, org.jooq.impl.AbstractRowAsField.forceMultisetContent, .DSL.case_, .DSL.coalesce, .DSL.field, .DSL.function, .DSL.inline, .DSL.inlined, .DSL.nvl, .DSL.toChar, .DSL.when, .Keywords.K_FORMAT, .Keywords.K_JSON, .Keywords.K_KEY, .Keywords.K_VALUE, .Names.N_HEX, .Names.N_JSON, .Names.N_JSON_EXTRACT, .Names.N_JSON_MERGE, .Names.N_JSON_MERGE_PRESERVE, .Names.N_JSON_QUERY, .Names.N_PARSE_JSON, .Names.N_RAWTOHEX, .Names.N_TO_VARIANT, .SQLDataType.BIT, .SQLDataType.BOOLEAN, .SQLDataType.JSON, .SQLDataType.VARCHAR, .Tools.combine, .Tools.emulateMultiset, .Tools.isScalarSubquery

The JSON object entry.
Author
Lukas Eder

Field Summary

Modifier and TypeField and Description
private final Field<String>
key

Deprecated as a consequence of Field being deprecated.
pack-priv static final Set<SQLDialect>
private final Field<T>
value

Deprecated as a consequence of Field being deprecated.

Constructor Summary

AccessConstructor and Description
pack-priv
JSONEntryImpl(Field<String> key)

Deprecated as a consequence of Field being deprecated.
pack-priv
JSONEntryImpl(Field<String> key, Field<T> value)

Deprecated as a consequence of Field being deprecated.

Method Summary

Modifier and TypeMethod and Description
public final Field<String>
$key()

Implements org.jooq.JSONEntry.$key.

Deprecated as a consequence of Field being deprecated.
Experimental query object model accessor method, see also QOM.
public final Field<?>
$value()

Implements org.jooq.JSONEntry.$value.

Deprecated as a consequence of Field being deprecated.
Experimental query object model accessor method, see also QOM.
public void
accept(Context<?> ctx)

Implements org.jooq.QueryPartInternal.accept.

This QueryPart can accept a Context object in order to render a SQL string or to bind its variables.
private static Field<String>
booleanCase(Field<?> field)

Deprecated as a consequence of Field being deprecated.
pack-priv static final Field<?>
booleanValAsVarchar(Field<?> field)

Deprecated as a consequence of Field being deprecated.
private static final boolean
pack-priv static final boolean
isJSON(Context<?> ctx, DataType<?> type)

pack-priv static final boolean
isType(DataType<?> t, Class<?> type)

pack-priv static final Field<?>
jsonCast(Context<?> ctx, Field<?> field)

Deprecated as a consequence of Field being deprecated.
pack-priv static final Field<?>
jsonCast(Context<?> ctx, Field<?> field, boolean castJSONTypes)

Deprecated as a consequence of Field being deprecated.
pack-priv static final Function<? super Field<?>, ? extends Field<?>>
jsonCastMapper(final Context<?> ctx)

pack-priv static final Field<?>
jsonMerge(Scope scope, String empty, Field<?>... fields)

Deprecated as a consequence of Field being deprecated.
public final Field<String>
key()

Implements org.jooq.JSONEntry.key.

Deprecated as a consequence of Field being deprecated.
The JSON entry key.
pack-priv static final <T> Field<T>
unescapeNestedJSON(Context<?> ctx, Field<T> value)

Deprecated as a consequence of Field being deprecated.
public final Field<T>
value()

Implements org.jooq.JSONEntry.value.

Deprecated as a consequence of Field being deprecated.
The JSON entry value.
public final <X> JSONEntry<X>
value(X newValue)

Implements org.jooq.JSONEntryValueStep.value.

The JSON entry value.
public final <X> JSONEntry<X>
value(Field<X> newValue)

Implements org.jooq.JSONEntryValueStep.value, org.jooq.JSONEntryValueStep.value.

Deprecated as a consequence of Field being deprecated.
The JSON entry value.
public final <X> JSONEntry<X>
value(Select<? extends Record1<X>> newValue)

Implements org.jooq.JSONEntryValueStep.value, org.jooq.JSONEntryValueStep.value.

The JSON entry value.
Inherited from org.jooq.impl.AbstractQueryPart:
clausesconfigurationcreatecreatecreatedeclaresCTEdeclaresFieldsdeclaresTablesdeclaresWindowsequalsgeneratesCasthashCoderendersContenttoStringtranslate

Field Detail

keyback to summary
private final Field<String> key

Deprecated

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

SUPPORT_JSON_MERGE_PRESERVEback to summary
pack-priv static final Set<SQLDialect> SUPPORT_JSON_MERGE_PRESERVE
valueback to summary
private final Field<T> value

Deprecated

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

Constructor Detail

JSONEntryImplback to summary
pack-priv JSONEntryImpl(Field<String> key)

Deprecated

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

JSONEntryImplback to summary
pack-priv JSONEntryImpl(Field<String> key, Field<T> value)

Deprecated

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

Method Detail

$keyback to summary
public final Field<String> $key()

Implements org.jooq.JSONEntry.$key.

Doc from org.jooq.JSONEntry.$key.

Deprecated

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

Experimental query object model accessor method, see also QOM. Subject to change in future jOOQ versions, use at your own risk.

Annotations
@Override
$valueback to summary
public final Field<?> $value()

Implements org.jooq.JSONEntry.$value.

Doc from org.jooq.JSONEntry.$value.

Deprecated

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

Experimental query object model accessor method, see also QOM. Subject to change in future jOOQ versions, use at your own risk.

Annotations
@Override
acceptback to summary
public void accept(Context<?> ctx)

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
booleanCaseback to summary
private static Field<String> booleanCase(Field<?> field)

Deprecated

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

Annotations
@SuppressWarnings:unchecked
booleanValAsVarcharback to summary
pack-priv static final Field<?> booleanValAsVarchar(Field<?> field)

Deprecated

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

emulateMultisetWithJSONback to summary
private static final boolean emulateMultisetWithJSON(Scope scope)
isJSONback to summary
pack-priv static final boolean isJSON(Context<?> ctx, DataType<?> type)
isTypeback to summary
pack-priv static final boolean isType(DataType<?> t, Class<?> type)
jsonCastback to summary
pack-priv static final Field<?> jsonCast(Context<?> ctx, Field<?> field)

Deprecated

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

jsonCastback to summary
pack-priv static final Field<?> jsonCast(Context<?> ctx, Field<?> field, boolean castJSONTypes)

Deprecated

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

jsonCastMapperback to summary
pack-priv static final Function<? super Field<?>, ? extends Field<?>> jsonCastMapper(final Context<?> ctx)
jsonMergeback to summary
pack-priv static final Field<?> jsonMerge(Scope scope, String empty, Field<?>... fields)

Deprecated

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

keyback to summary
public final Field<String> key()

Implements org.jooq.JSONEntry.key.

Doc from org.jooq.JSONEntry.key.

Deprecated

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

The JSON entry key.

Annotations
@Override
unescapeNestedJSONback to summary
pack-priv static final <T> Field<T> unescapeNestedJSON(Context<?> ctx, Field<T> value)

Deprecated

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

valueback to summary
public final Field<T> value()

Implements org.jooq.JSONEntry.value.

Doc from org.jooq.JSONEntry.value.

Deprecated

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

The JSON entry value.

Annotations
@Override
valueback to summary
public final <X> JSONEntry<X> value(X newValue)

Implements org.jooq.JSONEntryValueStep.value.

Doc from org.jooq.JSONEntryValueStep.value.

The JSON entry value.

Annotations
@Override
valueback to summary
public final <X> JSONEntry<X> value(Field<X> newValue)

Implements org.jooq.JSONEntryValueStep.value, org.jooq.JSONEntryValueStep.value.

Doc from org.jooq.JSONEntryValueStep.value.

Deprecated

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

The JSON entry value.

Annotations
@Override
valueback to summary
public final <X> JSONEntry<X> value(Select<? extends Record1<X>> newValue)

Implements org.jooq.JSONEntryValueStep.value, org.jooq.JSONEntryValueStep.value.

Doc from org.jooq.JSONEntryValueStep.value.

The JSON entry value.

Annotations
@Override