Top Description Fields Constructors Methods
org.jooq.impl

pack-priv final Class JSONObject<T>

extends AbstractField<T>
implements QOM.JSONObject<T>, JSONObjectNullStep<T>, JSONObjectReturningStep<T>
Class Inheritance
All Implemented Interfaces
org.jooq.JSONObjectReturningStep, org.jooq.Field, org.jooq.TableElement, org.jooq.Named, org.jooq.QueryPart, java.io.Serializable, org.jooq.FieldOrConstraint, org.jooq.FieldOrRowOrSelect, org.jooq.FieldOrRow, org.jooq.OrderField, org.jooq.GroupField, org.jooq.SelectField, org.jooq.Typed, org.jooq.SelectFieldOrAsterisk, org.jooq.JSONObjectNullStep, org.jooq.impl.QOM.JSONObject, org.jooq.impl.QOM.UOperator4, org.jooq.impl.QOM.UOperator
Annotations
@SuppressWarnings:hiding, rawtypes, unchecked, unused
Static Imports
org.jooq.impl.DSL.*, org.jooq.impl.Internal.*, org.jooq.impl.Keywords.*, org.jooq.impl.Names.*, org.jooq.impl.SQLDataType.*, org.jooq.impl.Tools.*, org.jooq.impl.Tools.BooleanDataKey.*, org.jooq.impl.Tools.ExtendedDataKey.*, org.jooq.impl.Tools.SimpleDataKey.*, org.jooq.SQLDialect.*

Deprecated

as a consequence of AbstractField, QOM.JSONObject, JSONObjectNullStep and JSONObjectReturningStep being deprecated. See corresponding docs for further information.

The JSON OBJECT statement.

Field Summary

Modifier and TypeField and Description
pack-priv final QueryPartListView<? extends JSONEntry<?>>
pack-priv QOM.JSONOnNull
pack-priv DataType<?>
pack-priv final DataType<T>

Constructor Summary

AccessConstructor and Description
pack-priv
JSONObject(DataType<T> type, Collection<? extends JSONEntry<?>> entries)

pack-priv
JSONObject(DataType<T> type, Collection<? extends JSONEntry<?>> entries, QOM.JSONOnNull onNull, DataType<?> returning)

Method Summary

Modifier and TypeMethod and Description
public final DataType<T>
public final QOM.JSONObject<T>
$arg1(DataType<T> newValue)

Overrides default org.jooq.impl.QOM.UOperator4.$arg1.

Deprecated as a consequence of QOM.JSONObject being deprecated.
public final QOM.UnmodifiableList<? extends JSONEntry<?>>
public final QOM.JSONObject<T>
$arg2(QOM.UnmodifiableList<? extends JSONEntry<?>> newValue)

Overrides default org.jooq.impl.QOM.UOperator4.$arg2.

Deprecated as a consequence of QOM.JSONObject being deprecated.
public final QOM.JSONOnNull
public final QOM.JSONObject<T>
$arg3(QOM.JSONOnNull newValue)

Overrides default org.jooq.impl.QOM.UOperator4.$arg3.

Deprecated as a consequence of QOM.JSONObject being deprecated.
public final DataType<?>
public final QOM.JSONObject<T>
$arg4(DataType<?> newValue)

Overrides default org.jooq.impl.QOM.UOperator4.$arg4.

Deprecated as a consequence of QOM.JSONObject being deprecated.
public final Function4<? super DataType<T>, ? super Collection<? extends JSONEntry<?>>, ? super QOM.JSONOnNull, ? super DataType<?>, ? extends QOM.JSONObject<T>>
public final JSONObject<T>
absentOnNull()

Implements org.jooq.JSONObjectNullStep.absentOnNull.

Deprecated as a consequence of JSONObject being deprecated.
Add the ABSENT ON NULL clause to the JSON OBJECT function.
public final void
accept(Context<?> ctx)

Implements abstract org.jooq.impl.AbstractField.accept.

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 final void
public boolean
equals(Object
The other QueryPart
that
)

Overrides org.jooq.impl.AbstractNamed.equals.

Implements org.jooq.QueryPart.equals, org.jooq.Field.equals.

Check whether this QueryPart can be considered equal to another QueryPart.
private static final boolean
isJSONArray(Field<?> field)

Deprecated as a consequence of Field being deprecated.
pack-priv final boolean
isNullable()

Overrides org.jooq.impl.AbstractField.isNullable.

[#10179] [#14665] Subclasses may override this method to indicate that the condition may produce TRUE, FALSE, or NULL.
public final JSONObject<T>
nullOnNull()

Implements org.jooq.JSONObjectNullStep.nullOnNull.

Deprecated as a consequence of JSONObject being deprecated.
Add the NULL ON NULL clause to the JSON OBJECT function.
public final JSONObject<T>
returning(DataType<?> returning)

Implements org.jooq.JSONObjectReturningStep.returning.

Deprecated as a consequence of JSONObject being deprecated.
Add the RETURNING clause to the JSON OBJECT function.
Inherited from org.jooq.impl.AbstractField:
$alias$aliasedabsacosaddaddasasasasascasciiasinatanatan2atan2avgavgOverbetweenbetweenbetweenbetweenbetweenSymmetricbetweenSymmetricbetweenSymmetricbetweenSymmetricbitAndbitAndbitLengthbitNandbitNandbitNorbitNorbitNotbitOrbitOrbitXNorbitXNorbitXorbitXorcastcastcastceilchangedcharLengthclausescoalescecoalescecoercecoercecoercecollatecollatecollatecommentcommentcomparecomparecomparecompareconcatconcatconcatcontainscontainscontainsIgnoreCasecontainsIgnoreCaseconvertconvertconvertconvertFromconvertFromconvertToconvertTocoscoshcotcothcountcountDistinctcountOverdecodedecodedecodedecodedegdescdivdivdividedivideendsWithendsWithendsWithIgnoreCaseendsWithIgnoreCaseeqeqeqeqequalequalequalequalequalIgnoreCaseequalIgnoreCaseexpextractfieldfirstValuefloorfromgegegegegetgetValuegreaterOrEqualgreaterOrEqualgreaterOrEqualgreaterOrEqualgreaterThangreaterThangreaterThangreaterThangreatestgreatestgtgtgtgtinininininisDistinctFromisDistinctFromisDistinctFromisDocumentisFalseisJsonisNotDistinctFromisNotDistinctFromisNotDistinctFromisNotDocumentisNotJsonisNotNullisNullisPossiblyNullableisTruelaglaglaglaglastValueleleleleleadleadleadleadleastleastlengthlessOrEquallessOrEquallessOrEquallessOrEquallessThanlessThanlessThanlessThanlikelikelikelikelikelikeIgnoreCaselikeIgnoreCaselikeIgnoreCaselikeIgnoreCaselikeRegexlikeRegexlnloglowerlpadlpadlpadlpadltltltltltrimmaxmaxOvermedianminminOverminusminusmodmodmodulomodulomulmulmultiplymultiplynenenenenegnotBetweennotBetweennotBetweennotBetweennotBetweenSymmetricnotBetweenSymmetricnotBetweenSymmetricnotBetweenSymmetricnotContainsnotContainsnotContainsIgnoreCasenotContainsIgnoreCasenotEqualnotEqualnotEqualnotEqualnotEqualIgnoreCasenotEqualIgnoreCasenotInnotInnotInnotInnotInnotLikenotLikenotLikenotLikenotLikenotLikeIgnoreCasenotLikeIgnoreCasenotLikeIgnoreCasenotLikeIgnoreCasenotLikeRegexnotLikeRegexnotSimilarTonotSimilarTonotSimilarTonotSimilarTonotSimilarTonullifnullifnullsFirstnullsLastnvlnvlnvl2nvl2octetLengthoriginalparenthesisedpluspluspositionpositionpowpowpowerpowerprojectionSizeradremremrepeatrepeatreplacereplacereplacereplaceresetroundroundrpadrpadrpadrpadrtrimshlshlshrshrsignsimilarTosimilarTosimilarTosimilarTosimilarTosinsinhsortsortsortAscsortAscsortDefaultsortDescsortDescsqrtstartsWithstartsWithstartsWithIgnoreCasestartsWithIgnoreCasestddevPopstddevPopOverstddevSampstddevSampOversubsubsubstringsubstringsubstringsubstringsubtractsubtractsumsumOvertantanhtimestimestrimunaryMinusunaryPlusuppervarPopvarPopOvervarSampvarSampOver

Field Detail

entriesback to summary
pack-priv final QueryPartListView<? extends JSONEntry<?>> entries
onNullback to summary
pack-priv QOM.JSONOnNull onNull
returningback to summary
pack-priv DataType<?> returning
typeback to summary
pack-priv final DataType<T> type

Hides org.jooq.impl.AbstractTypedNamed.type.

Constructor Detail

JSONObjectback to summary
pack-priv JSONObject(DataType<T> type, Collection<? extends JSONEntry<?>> entries)
JSONObjectback to summary
pack-priv JSONObject(DataType<T> type, Collection<? extends JSONEntry<?>> entries, QOM.JSONOnNull onNull, DataType<?> returning)

Method Detail

$arg1back to summary
public final DataType<T> $arg1()

Implements org.jooq.impl.QOM.UOperator4.$arg1.

Annotations
@Override
$arg1back to summary
public final QOM.JSONObject<T> $arg1(DataType<T> newValue)

Overrides default org.jooq.impl.QOM.UOperator4.$arg1.

Deprecated

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

Annotations
@Override
$arg2back to summary
public final QOM.UnmodifiableList<? extends JSONEntry<?>> $arg2()

Implements org.jooq.impl.QOM.UOperator4.$arg2.

Annotations
@Override
$arg2back to summary
public final QOM.JSONObject<T> $arg2(QOM.UnmodifiableList<? extends JSONEntry<?>> newValue)

Overrides default org.jooq.impl.QOM.UOperator4.$arg2.

Deprecated

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

Annotations
@Override
$arg3back to summary
public final QOM.JSONOnNull $arg3()

Implements org.jooq.impl.QOM.UOperator4.$arg3.

Annotations
@Override
$arg3back to summary
public final QOM.JSONObject<T> $arg3(QOM.JSONOnNull newValue)

Overrides default org.jooq.impl.QOM.UOperator4.$arg3.

Deprecated

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

Annotations
@Override
$arg4back to summary
public final DataType<?> $arg4()

Implements org.jooq.impl.QOM.UOperator4.$arg4.

Annotations
@Override
$arg4back to summary
public final QOM.JSONObject<T> $arg4(DataType<?> newValue)

Overrides default org.jooq.impl.QOM.UOperator4.$arg4.

Deprecated

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

Annotations
@Override
$constructorback to summary
public final Function4<? super DataType<T>, ? super Collection<? extends JSONEntry<?>>, ? super QOM.JSONOnNull, ? super DataType<?>, ? extends QOM.JSONObject<T>> $constructor()

Implements org.jooq.impl.QOM.UOperator4.$constructor.

Annotations
@Override
absentOnNullback to summary
public final JSONObject<T> absentOnNull()

Implements org.jooq.JSONObjectNullStep.absentOnNull.

Doc from org.jooq.JSONObjectNullStep.absentOnNull.

Deprecated

as a consequence of JSONObject 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
@Override
acceptback to summary
public final void accept(Context<?> ctx)

Implements abstract org.jooq.impl.AbstractField.accept.

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
acceptStandardback to summary
private final void acceptStandard(Context<?> ctx)
equalsback to summary
public boolean equals(Object that)

Overrides org.jooq.impl.AbstractNamed.equals.

Implements org.jooq.QueryPart.equals, org.jooq.Field.equals.

Doc from org.jooq.Field.equals.

Check whether this QueryPart can be considered equal to another QueryPart.

In general, QueryPart equality is defined in terms of toString() equality. In other words, two query parts are considered equal if their rendered SQL (with inlined bind variables) is equal. This means that the two query parts do not necessarily have to be of the same type.

Some QueryPart implementations may choose to override this behaviour for improved performance, as toString() is an expensive operation, if called many times.

Watch out! This is Object#equals(Object), not a jOOQ DSL feature!

Parameters
that:Object

Doc from org.jooq.QueryPart.equals.

The other QueryPart

Returns:boolean

Doc from org.jooq.QueryPart.equals.

Whether the two query parts are equal

Annotations
@Override
isJSONArrayback to summary
private static final boolean isJSONArray(Field<?> field)

Deprecated

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

isNullableback to summary
pack-priv final boolean isNullable()

Overrides org.jooq.impl.AbstractField.isNullable.

Doc from org.jooq.impl.AbstractField.isNullable.

[#10179] [#14665] Subclasses may override this method to indicate that the condition may produce TRUE, FALSE, or NULL.

Annotations
@Override
nullOnNullback to summary
public final JSONObject<T> nullOnNull()

Implements org.jooq.JSONObjectNullStep.nullOnNull.

Doc from org.jooq.JSONObjectNullStep.nullOnNull.

Deprecated

as a consequence of JSONObject 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
@Override
returningback to summary
public final JSONObject<T> returning(DataType<?> returning)

Implements org.jooq.JSONObjectReturningStep.returning.

Doc from org.jooq.JSONObjectReturningStep.returning.

Deprecated

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

Add the RETURNING clause to the JSON OBJECT function.

Annotations
@Override