Top Description Inners Fields Constructors Methods
org.jooq.impl

pack-priv abstract Class AbstractStoreQuery<R extends org.jooq.Record, K extends org.jooq.FieldOrRow, V extends org.jooq.FieldOrRowOrSelect>

extends AbstractDMLQuery<R extends Record>
implements StoreQuery<R extends Record>
Class Inheritance
All Implemented Interfaces
org.jooq.StoreQuery, org.jooq.RowCountQuery, org.jooq.Publisher, java.util.concurrent.Flow.Publisher, org.reactivestreams.Publisher, org.jooq.Query, org.jooq.AttachableQueryPart, org.jooq.QueryPart, java.io.Serializable, org.jooq.Attachable, org.jooq.Statement
Known Direct Subclasses
org.jooq.impl.UpdateQueryImpl, org.jooq.impl.InsertQueryImpl
Imports
java.util.Map, org.jooq.Configuration, .Context, .DataType, .Field, .FieldOrRow, .FieldOrRowOrSelect, .Record, .StoreQuery, .Table, org.jooq.impl.QOM.UTransient

A default implementation for store queries.
Author
Lukas Eder

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class
AbstractStoreQuery.UnknownField<T>

Deprecated as a consequence of AbstractField being deprecated.

Field Summary

Inherited from org.jooq.impl.AbstractDMLQuery:
returnedreturnedResultreturningreturningResolvedAsteriskstablewith

Constructor Summary

AccessConstructor and Description
pack-priv
AbstractStoreQuery(Configuration configuration, WithImpl with, Table<R> table)

Method Summary

Modifier and TypeMethod and Description
public final <T> void
addValue(Field<T>
The field
field
,
T
The value
value
)

Implements org.jooq.StoreQuery.addValue.

Deprecated as a consequence of Field being deprecated.
Add a value to the store statement
public final <T> void
addValue(Field<T>
The field
field
,
Field<T>
The value. If value is null, this results in calling addValue(Field, Object) with null as a value.
value
)

Implements org.jooq.StoreQuery.addValue, org.jooq.StoreQuery.addValue.

Deprecated as a consequence of Field being deprecated.
Add a value to the store statement
pack-priv final <T> void
addValue(Field<T> field, int index, T value)

Deprecated as a consequence of Field being deprecated.
pack-priv final <T> void
addValue(Field<T> field, int index, Field<T> value)

Deprecated as a consequence of Field being deprecated.
protected abstract Map<K, V>
public final void
setRecord(R
The record holding values that are stored by the query
record
)

Implements org.jooq.StoreQuery.setRecord.

Add values to the store statement
Inherited from org.jooq.impl.AbstractDMLQuery:
acceptaccept0executeexecuteWithoutWheregetFieldsgetRecordTypegetResultgetReturnedRecordgetReturnedRecordsnativeSupportReturningnativeSupportReturningOrDataChangeDeltaTablepreparesetReturningsetReturningsetReturningsetReturningtabletabletoSQLReturning

Constructor Detail

AbstractStoreQueryback to summary
pack-priv AbstractStoreQuery(Configuration configuration, WithImpl with, Table<R> table)

Method Detail

addValueback to summary
public final <T> void addValue(Field<T> field, T value)

Implements org.jooq.StoreQuery.addValue.

Doc from org.jooq.StoreQuery.addValue.

Deprecated

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

Add a value to the store statement

Parameters
field:Field<T>

The field

value:T

The value

Annotations
@Override
addValueback to summary
public final <T> void addValue(Field<T> field, Field<T> value)

Implements org.jooq.StoreQuery.addValue, org.jooq.StoreQuery.addValue.

Doc from org.jooq.StoreQuery.addValue.

Deprecated

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

Add a value to the store statement

Parameters
field:Field<T>

The field

value:Field<T>

The value. If value is null, this results in calling addValue(Field, Object) with null as a value.

Annotations
@Override
addValueback to summary
pack-priv final <T> void addValue(Field<T> field, int index, T value)

Deprecated

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

addValueback to summary
pack-priv final <T> void addValue(Field<T> field, int index, Field<T> value)

Deprecated

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

getValuesback to summary
protected abstract Map<K, V> getValues()
setRecordback to summary
public final void setRecord(R record)

Implements org.jooq.StoreQuery.setRecord.

Doc from org.jooq.StoreQuery.setRecord.

Add values to the store statement

Parameters
record:R

The record holding values that are stored by the query

Annotations
@SuppressWarnings:unchecked, rawtypes
@Override
org.jooq.impl back to summary

pack-priv Class AbstractStoreQuery.UnknownField<T>

extends AbstractField<T>
implements UTransient
Class Inheritance
All Implemented Interfaces
org.jooq.impl.QOM.UTransient, org.jooq.impl.QOM.UEmpty, org.jooq.QueryPart, java.io.Serializable

Deprecated

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

Field Summary

Modifier and TypeField and Description
private final int

Constructor Summary

AccessConstructor and Description
pack-priv
UnknownField(int index)

Method Summary

Modifier and TypeMethod and Description
public 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.
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.
public int
hashCode()

Overrides org.jooq.impl.AbstractNamed.hashCode.

Implements org.jooq.QueryPart.hashCode.

Generate a hash code from this QueryPart.
Inherited from org.jooq.impl.AbstractField:
$alias$aliasedabsacosaddaddasasasasascasciiasinatanatan2atan2avgavgOverbetweenbetweenbetweenbetweenbetweenSymmetricbetweenSymmetricbetweenSymmetricbetweenSymmetricbitAndbitAndbitLengthbitNandbitNandbitNorbitNorbitNotbitOrbitOrbitXNorbitXNorbitXorbitXorcastcastcastceilchangedcharLengthclausescoalescecoalescecoercecoercecoercecollatecollatecollatecommentcommentcomparecomparecomparecompareconcatconcatconcatcontainscontainscontainsIgnoreCasecontainsIgnoreCaseconvertconvertconvertconvertFromconvertFromconvertToconvertTocoscoshcotcothcountcountDistinctcountOverdecodedecodedecodedecodedegdescdivdivdividedivideendsWithendsWithendsWithIgnoreCaseendsWithIgnoreCaseeqeqeqeqequalequalequalequalequalIgnoreCaseequalIgnoreCaseexpextractfieldfirstValuefloorfromgegegegegetgetValuegreaterOrEqualgreaterOrEqualgreaterOrEqualgreaterOrEqualgreaterThangreaterThangreaterThangreaterThangreatestgreatestgtgtgtgtinininininisDistinctFromisDistinctFromisDistinctFromisDocumentisFalseisJsonisNotDistinctFromisNotDistinctFromisNotDistinctFromisNotDocumentisNotJsonisNotNullisNullisNullableisPossiblyNullableisTruelaglaglaglaglastValueleleleleleadleadleadleadleastleastlengthlessOrEquallessOrEquallessOrEquallessOrEquallessThanlessThanlessThanlessThanlikelikelikelikelikelikeIgnoreCaselikeIgnoreCaselikeIgnoreCaselikeIgnoreCaselikeRegexlikeRegexlnloglowerlpadlpadlpadlpadltltltltltrimmaxmaxOvermedianminminOverminusminusmodmodmodulomodulomulmulmultiplymultiplynenenenenegnotBetweennotBetweennotBetweennotBetweennotBetweenSymmetricnotBetweenSymmetricnotBetweenSymmetricnotBetweenSymmetricnotContainsnotContainsnotContainsIgnoreCasenotContainsIgnoreCasenotEqualnotEqualnotEqualnotEqualnotEqualIgnoreCasenotEqualIgnoreCasenotInnotInnotInnotInnotInnotLikenotLikenotLikenotLikenotLikenotLikeIgnoreCasenotLikeIgnoreCasenotLikeIgnoreCasenotLikeIgnoreCasenotLikeRegexnotLikeRegexnotSimilarTonotSimilarTonotSimilarTonotSimilarTonotSimilarTonullifnullifnullsFirstnullsLastnvlnvlnvl2nvl2octetLengthoriginalparenthesisedpluspluspositionpositionpowpowpowerpowerprojectionSizeradremremrepeatrepeatreplacereplacereplacereplaceresetroundroundrpadrpadrpadrpadrtrimshlshlshrshrsignsimilarTosimilarTosimilarTosimilarTosimilarTosinsinhsortsortsortAscsortAscsortDefaultsortDescsortDescsqrtstartsWithstartsWithstartsWithIgnoreCasestartsWithIgnoreCasestddevPopstddevPopOverstddevSampstddevSampOversubsubsubstringsubstringsubstringsubstringsubtractsubtractsumsumOvertantanhtimestimestrimunaryMinusunaryPlusuppervarPopvarPopOvervarSampvarSampOver

Field Detail

indexback to summary
private final int index

Constructor Detail

UnknownFieldback to summary
pack-priv UnknownField(int index)
Annotations
@SuppressWarnings:rawtypes, unchecked

Method Detail

acceptback to summary
public 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
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.QueryPart.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.

Parameters
that:Object

The other QueryPart

Returns:boolean

Whether the two query parts are equal

Annotations
@Override
hashCodeback to summary
public int hashCode()

Overrides org.jooq.impl.AbstractNamed.hashCode.

Implements org.jooq.QueryPart.hashCode.

Doc from org.jooq.QueryPart.hashCode.

Generate a hash code from this QueryPart.

In general, QueryPart hash codes are the same as the hash codes generated from toString(). This guarantees consistent behaviour with equals(Object)

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

Returns:int

The QueryPart hash code

Annotations
@Override