Package org.hibernate.reactive.session
Interface ReactiveSqmQueryImplementor<R>
- All Superinterfaces:
CommonQueryContract
,NameableQuery
,ReactiveMutationQuery<R>
,ReactiveQuery<R>
,ReactiveQueryImplementor<R>
,ReactiveSelectionQuery<R>
@Incubating
public interface ReactiveSqmQueryImplementor<R>
extends ReactiveQueryImplementor<R>, NameableQuery
An internal contract between the reactive session implementation
and the
Stage.Query
and
Mutiny.Query
APIs.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionaddQueryHint
(String hint) setCacheable
(boolean cacheable) setCacheMode
(CacheMode cacheMode) setCacheRegion
(String cacheRegion) setComment
(String comment) setFetchSize
(int fetchSize) setFirstResult
(int startPosition) setFlushMode
(jakarta.persistence.FlushModeType flushMode) setHibernateFlushMode
(FlushMode flushMode) setLockMode
(jakarta.persistence.LockModeType lockMode) setLockMode
(String alias, LockMode lockMode) setLockOptions
(LockOptions lockOptions) setMaxResults
(int maxResult) setParameter
(int position, Object value) Bind the given argument to an ordinal query parameter.setParameter
(int position, Instant value, jakarta.persistence.TemporalType temporalType) Bind anInstant
value to the ordinal query parameter using just the portion indicated by the givenTemporalType
.setParameter
(int position, Calendar value, jakarta.persistence.TemporalType temporalType) Query
overridesetParameter
(int position, Date value, jakarta.persistence.TemporalType temporalType) Query
overridesetParameter
(int position, P value, jakarta.persistence.metamodel.Type<P> type) Bind the given argument to an ordinal query parameter using the givenType
.setParameter
(int position, P value, Class<P> type) Bind the given argument to an ordinal query parameter using the given Class reference to attempt to determine theType
to use.setParameter
(jakarta.persistence.Parameter<Calendar> param, Calendar value, jakarta.persistence.TemporalType temporalType) setParameter
(jakarta.persistence.Parameter<Date> param, Date value, jakarta.persistence.TemporalType temporalType) setParameter
(jakarta.persistence.Parameter<T> param, T value) setParameter
(String name, Object value) setParameter
(String name, Instant value, jakarta.persistence.TemporalType temporalType) Bind anInstant
value to the named query parameter using just the portion indicated by the givenTemporalType
.setParameter
(String name, Calendar value, jakarta.persistence.TemporalType temporalType) setParameter
(String name, Date value, jakarta.persistence.TemporalType temporalType) setParameter
(String name, P value, jakarta.persistence.metamodel.Type<P> type) setParameter
(String name, P value, Class<P> type) setParameter
(QueryParameter<P> parameter, P val, jakarta.persistence.metamodel.Type<P> type) setParameter
(QueryParameter<P> parameter, P value, Class<P> type) setParameter
(QueryParameter<T> parameter, T value) setParameterList
(int position, Object[] values) Bind multiple arguments to an ordinal query parameter.setParameterList
(int position, Collection values) Bind multiple arguments to an ordinal query parameter.setParameterList
(int position, Collection<? extends P> values, jakarta.persistence.metamodel.Type<P> type) Bind multiple arguments to an ordinal query parameter using the givenType
.setParameterList
(int position, Collection<? extends P> values, Class<P> javaType) Bind multiple arguments to an ordinal query parameter using the given Class reference to attempt to determine theType
to use.setParameterList
(int position, P[] values, jakarta.persistence.metamodel.Type<P> type) Bind multiple arguments to an ordinal query parameter using the givenType
.setParameterList
(int position, P[] values, Class<P> javaType) Bind multiple arguments to an ordinal query parameter using the givenClass
reference to attempt to determine theType
to use.setParameterList
(String name, Object[] values) Bind multiple arguments to a named query parameter.setParameterList
(String name, Collection values) setParameterList
(String name, Collection<? extends P> values, jakarta.persistence.metamodel.Type<P> type) Bind multiple arguments to a named query parameter using the givenType
.setParameterList
(String name, Collection<? extends P> values, Class<P> javaType) setParameterList
(String name, P[] values, jakarta.persistence.metamodel.Type<P> type) Bind multiple arguments to a named query parameter using the givenType
.setParameterList
(String name, P[] values, Class<P> javaType) Bind multiple arguments to a named query parameter using the given Class reference to attempt to determine theType
to use.setParameterList
(QueryParameter<P> parameter, Collection<? extends P> values) Bind multiple arguments to the query parameter represented by the givenQueryParameter
.setParameterList
(QueryParameter<P> parameter, Collection<? extends P> values, jakarta.persistence.metamodel.Type<P> type) Bind multiple arguments to the query parameter represented by the givenQueryParameter
, inferring theType
.setParameterList
(QueryParameter<P> parameter, Collection<? extends P> values, Class<P> javaType) Bind multiple arguments to the query parameter represented by the givenQueryParameter
using the given Class reference to attempt to determine theType
to use.setParameterList
(QueryParameter<P> parameter, P[] values) Bind multiple arguments to the query parameter represented by the givenQueryParameter
setParameterList
(QueryParameter<P> parameter, P[] values, jakarta.persistence.metamodel.Type<P> type) Bind multiple arguments to the query parameter represented by the givenQueryParameter
, inferring theType
.setParameterList
(QueryParameter<P> parameter, P[] values, Class<P> javaType) Bind multiple arguments to the query parameter represented by the givenQueryParameter
using the given Class reference to attempt to determine theType
to use.setProperties
(Object bean) Bind the property values of the given bean to named parameters of the query, matching property names with parameter names and mapping property types to Hibernate types using heuristics.setProperties
(Map bean) Bind the values of the given Map for each named parameters of the query, matching key names with parameter names and mapping value types to Hibernate types using heuristics.setReadOnly
(boolean readOnly) setResultListTransformer
(ResultListTransformer<R> transformer) setTimeout
(int timeout) <T> ReactiveSqmQueryImplementor<T>
setTupleTransformer
(TupleTransformer<T> transformer) Methods inherited from interface org.hibernate.query.CommonQueryContract
getFlushMode, getHibernateFlushMode, getQueryFlushMode, getTimeout, setQueryFlushMode, setTimeout
Methods inherited from interface org.hibernate.query.named.NameableQuery
toMemento
Methods inherited from interface org.hibernate.reactive.query.ReactiveMutationQuery
executeReactiveUpdate
Methods inherited from interface org.hibernate.reactive.query.ReactiveQuery
getComment, getLockOptions, getParameterMetadata, getQueryOptions, getQueryString, setCacheRetrieveMode, setCacheStoreMode
Methods inherited from interface org.hibernate.reactive.query.ReactiveQueryImplementor
getParameterBindings
Methods inherited from interface org.hibernate.reactive.query.ReactiveSelectionQuery
applyGraph, enableFetchProfile, getCacheMode, getCacheRegion, getCacheRetrieveMode, getCacheStoreMode, getFetchSize, getFirstResult, getHibernateLockMode, getLockMode, getMaxResults, getReactiveResultCount, getReactiveResultList, getReactiveSingleResult, getReactiveSingleResultOrNull, isCacheable, isReadOnly, reactiveList, reactiveUnique, reactiveUniqueResultOptional, setFollowOnLocking, setHibernateLockMode
-
Method Details
-
getSqmStatement
SqmStatement<R> getSqmStatement() -
setCacheMode
- Specified by:
setCacheMode
in interfaceReactiveQuery<R>
- Specified by:
setCacheMode
in interfaceReactiveSelectionQuery<R>
-
setCacheable
- Specified by:
setCacheable
in interfaceReactiveQuery<R>
- Specified by:
setCacheable
in interfaceReactiveSelectionQuery<R>
-
setCacheRegion
- Specified by:
setCacheRegion
in interfaceReactiveQuery<R>
- Specified by:
setCacheRegion
in interfaceReactiveSelectionQuery<R>
-
setTimeout
- Specified by:
setTimeout
in interfaceCommonQueryContract
- Specified by:
setTimeout
in interfaceReactiveQuery<R>
- Specified by:
setTimeout
in interfaceReactiveSelectionQuery<R>
-
setFetchSize
- Specified by:
setFetchSize
in interfaceReactiveQuery<R>
- Specified by:
setFetchSize
in interfaceReactiveSelectionQuery<R>
-
setReadOnly
- Specified by:
setReadOnly
in interfaceReactiveQuery<R>
- Specified by:
setReadOnly
in interfaceReactiveSelectionQuery<R>
-
setComment
- Specified by:
setComment
in interfaceCommonQueryContract
- Specified by:
setComment
in interfaceReactiveQuery<R>
-
addQueryHint
- Specified by:
addQueryHint
in interfaceReactiveQuery<R>
-
setLockOptions
- Specified by:
setLockOptions
in interfaceReactiveQuery<R>
-
setLockMode
- Specified by:
setLockMode
in interfaceReactiveQuery<R>
- Specified by:
setLockMode
in interfaceReactiveSelectionQuery<R>
-
setTupleTransformer
- Specified by:
setTupleTransformer
in interfaceReactiveQuery<R>
- Specified by:
setTupleTransformer
in interfaceReactiveQueryImplementor<R>
-
setResultListTransformer
- Specified by:
setResultListTransformer
in interfaceReactiveQuery<R>
- Specified by:
setResultListTransformer
in interfaceReactiveQueryImplementor<R>
-
setHibernateFlushMode
- Specified by:
setHibernateFlushMode
in interfaceCommonQueryContract
- Specified by:
setHibernateFlushMode
in interfaceReactiveMutationQuery<R>
- Specified by:
setHibernateFlushMode
in interfaceReactiveQuery<R>
- Specified by:
setHibernateFlushMode
in interfaceReactiveSelectionQuery<R>
-
setMaxResults
- Specified by:
setMaxResults
in interfaceReactiveQuery<R>
- Specified by:
setMaxResults
in interfaceReactiveSelectionQuery<R>
-
setFirstResult
- Specified by:
setFirstResult
in interfaceReactiveQuery<R>
- Specified by:
setFirstResult
in interfaceReactiveSelectionQuery<R>
-
setHint
- Specified by:
setHint
in interfaceCommonQueryContract
- Specified by:
setHint
in interfaceReactiveQuery<R>
- Specified by:
setHint
in interfaceReactiveSelectionQuery<R>
-
setFlushMode
- Specified by:
setFlushMode
in interfaceCommonQueryContract
- Specified by:
setFlushMode
in interfaceReactiveQuery<R>
- Specified by:
setFlushMode
in interfaceReactiveSelectionQuery<R>
-
setLockMode
- Specified by:
setLockMode
in interfaceReactiveQuery<R>
- Specified by:
setLockMode
in interfaceReactiveSelectionQuery<R>
-
setParameter
- Specified by:
setParameter
in interfaceCommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveQueryImplementor<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
- Specified by:
setParameter
in interfaceCommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveQueryImplementor<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
<P> ReactiveSqmQueryImplementor<R> setParameter(String name, P value, jakarta.persistence.metamodel.Type<P> type) - Specified by:
setParameter
in interfaceCommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveQueryImplementor<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveSqmQueryImplementor<R> setParameter(String name, Instant value, jakarta.persistence.TemporalType temporalType) Description copied from interface:ReactiveQuery
Bind anInstant
value to the named query parameter using just the portion indicated by the givenTemporalType
.- Specified by:
setParameter
in interfaceCommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveQueryImplementor<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveSqmQueryImplementor<R> setParameter(String name, Calendar value, jakarta.persistence.TemporalType temporalType) - Specified by:
setParameter
in interfaceCommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveQueryImplementor<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveSqmQueryImplementor<R> setParameter(String name, Date value, jakarta.persistence.TemporalType temporalType) - Specified by:
setParameter
in interfaceCommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveQueryImplementor<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
Description copied from interface:ReactiveQuery
Bind the given argument to an ordinal query parameter.If the type of the parameter cannot be inferred from the context in which it occurs, use one of the forms which accepts a "type".
- Specified by:
setParameter
in interfaceCommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveQueryImplementor<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
- See Also:
-
setParameter
Description copied from interface:ReactiveQuery
Bind the given argument to an ordinal query parameter using the given Class reference to attempt to determine theType
to use. If unable to determine an appropriateType
,ReactiveQuery.setParameter(int, Object)
is used.- Specified by:
setParameter
in interfaceCommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveQueryImplementor<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
- See Also:
-
setParameter
<P> ReactiveSqmQueryImplementor<R> setParameter(int position, P value, jakarta.persistence.metamodel.Type<P> type) Description copied from interface:ReactiveQuery
Bind the given argument to an ordinal query parameter using the givenType
.- Specified by:
setParameter
in interfaceCommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveQueryImplementor<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveSqmQueryImplementor<R> setParameter(int position, Instant value, jakarta.persistence.TemporalType temporalType) Description copied from interface:ReactiveQuery
Bind anInstant
value to the ordinal query parameter using just the portion indicated by the givenTemporalType
.- Specified by:
setParameter
in interfaceCommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveQueryImplementor<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveSqmQueryImplementor<R> setParameter(int position, Date value, jakarta.persistence.TemporalType temporalType) Description copied from interface:ReactiveQuery
Query
override- Specified by:
setParameter
in interfaceCommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveQueryImplementor<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveSqmQueryImplementor<R> setParameter(int position, Calendar value, jakarta.persistence.TemporalType temporalType) Description copied from interface:ReactiveQuery
Query
override- Specified by:
setParameter
in interfaceCommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveQueryImplementor<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
- Specified by:
setParameter
in interfaceCommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveQueryImplementor<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
<P> ReactiveSqmQueryImplementor<R> setParameter(QueryParameter<P> parameter, P value, Class<P> type) - Specified by:
setParameter
in interfaceCommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveQueryImplementor<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
<P> ReactiveSqmQueryImplementor<R> setParameter(QueryParameter<P> parameter, P val, jakarta.persistence.metamodel.Type<P> type) - Specified by:
setParameter
in interfaceCommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveQueryImplementor<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
- Specified by:
setParameter
in interfaceCommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveQueryImplementor<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveSqmQueryImplementor<R> setParameter(jakarta.persistence.Parameter<Calendar> param, Calendar value, jakarta.persistence.TemporalType temporalType) - Specified by:
setParameter
in interfaceCommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveQueryImplementor<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveSqmQueryImplementor<R> setParameter(jakarta.persistence.Parameter<Date> param, Date value, jakarta.persistence.TemporalType temporalType) - Specified by:
setParameter
in interfaceCommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveQueryImplementor<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameterList
- Specified by:
setParameterList
in interfaceCommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQueryImplementor<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
-
setParameterList
<P> ReactiveSqmQueryImplementor<R> setParameterList(String name, Collection<? extends P> values, Class<P> javaType) - Specified by:
setParameterList
in interfaceCommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQueryImplementor<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
-
setParameterList
<P> ReactiveSqmQueryImplementor<R> setParameterList(String name, Collection<? extends P> values, jakarta.persistence.metamodel.Type<P> type) Description copied from interface:ReactiveQuery
Bind multiple arguments to a named query parameter using the givenType
.- Specified by:
setParameterList
in interfaceCommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQueryImplementor<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
Description copied from interface:ReactiveQuery
Bind multiple arguments to a named query parameter. The "type mapping" for the binding is inferred from the type of the first collection element.- Specified by:
setParameterList
in interfaceCommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQueryImplementor<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
Description copied from interface:ReactiveQuery
Bind multiple arguments to a named query parameter using the given Class reference to attempt to determine theType
to use. If unable to determine an appropriateType
,ReactiveQuery.setParameterList(String, Collection)
is used.- Specified by:
setParameterList
in interfaceCommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQueryImplementor<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining- See Also:
-
setParameterList
<P> ReactiveSqmQueryImplementor<R> setParameterList(String name, P[] values, jakarta.persistence.metamodel.Type<P> type) Description copied from interface:ReactiveQuery
Bind multiple arguments to a named query parameter using the givenType
.- Specified by:
setParameterList
in interfaceCommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQueryImplementor<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
Description copied from interface:ReactiveQuery
Bind multiple arguments to an ordinal query parameter. The "type mapping" for the binding is inferred from the type of the first collection element.- Specified by:
setParameterList
in interfaceCommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQueryImplementor<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
<P> ReactiveSqmQueryImplementor<R> setParameterList(int position, Collection<? extends P> values, Class<P> javaType) Description copied from interface:ReactiveQuery
Bind multiple arguments to an ordinal query parameter using the given Class reference to attempt to determine theType
to use. If unable to determine an appropriateType
,ReactiveQuery.setParameterList(String, Collection)
is used.- Specified by:
setParameterList
in interfaceCommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQueryImplementor<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining- See Also:
-
setParameterList
<P> ReactiveSqmQueryImplementor<R> setParameterList(int position, Collection<? extends P> values, jakarta.persistence.metamodel.Type<P> type) Description copied from interface:ReactiveQuery
Bind multiple arguments to an ordinal query parameter using the givenType
.- Specified by:
setParameterList
in interfaceCommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQueryImplementor<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
Description copied from interface:ReactiveQuery
Bind multiple arguments to an ordinal query parameter.The "type mapping" for the binding is inferred from the type of the first collection element.
- Specified by:
setParameterList
in interfaceCommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQueryImplementor<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
Description copied from interface:ReactiveQuery
Bind multiple arguments to an ordinal query parameter using the givenClass
reference to attempt to determine theType
to use. If unable to determine an appropriateType
,ReactiveQuery.setParameterList(String, Collection)
is used.- Specified by:
setParameterList
in interfaceCommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQueryImplementor<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining- See Also:
-
setParameterList
<P> ReactiveSqmQueryImplementor<R> setParameterList(int position, P[] values, jakarta.persistence.metamodel.Type<P> type) Description copied from interface:ReactiveQuery
Bind multiple arguments to an ordinal query parameter using the givenType
.- Specified by:
setParameterList
in interfaceCommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQueryImplementor<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
<P> ReactiveSqmQueryImplementor<R> setParameterList(QueryParameter<P> parameter, Collection<? extends P> values) Description copied from interface:ReactiveQuery
Bind multiple arguments to the query parameter represented by the givenQueryParameter
.The type of the parameter is inferred from the context in which it occurs, and from the type of the first given argument.
- Specified by:
setParameterList
in interfaceCommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQueryImplementor<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Parameters:
parameter
- the parameter mementovalues
- a collection of arguments- Returns:
this
, for method chaining
-
setParameterList
<P> ReactiveSqmQueryImplementor<R> setParameterList(QueryParameter<P> parameter, Collection<? extends P> values, Class<P> javaType) Description copied from interface:ReactiveQuery
Bind multiple arguments to the query parameter represented by the givenQueryParameter
using the given Class reference to attempt to determine theType
to use. If unable to determine an appropriateType
,ReactiveQuery.setParameterList(String, Collection)
is used.- Specified by:
setParameterList
in interfaceCommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQueryImplementor<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining- See Also:
-
setParameterList
<P> ReactiveSqmQueryImplementor<R> setParameterList(QueryParameter<P> parameter, Collection<? extends P> values, jakarta.persistence.metamodel.Type<P> type) Description copied from interface:ReactiveQuery
Bind multiple arguments to the query parameter represented by the givenQueryParameter
, inferring theType
.The "type mapping" for the binding is inferred from the type of the first collection element.
- Specified by:
setParameterList
in interfaceCommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQueryImplementor<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
Description copied from interface:ReactiveQuery
Bind multiple arguments to the query parameter represented by the givenQueryParameter
The type of the parameter is inferred between the context in which it occurs, the type associated with the QueryParameter and the type of the first given argument.
- Specified by:
setParameterList
in interfaceCommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQueryImplementor<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Parameters:
parameter
- the parameter mementovalues
- a collection of arguments- Returns:
this
, for method chaining
-
setParameterList
<P> ReactiveSqmQueryImplementor<R> setParameterList(QueryParameter<P> parameter, P[] values, Class<P> javaType) Description copied from interface:ReactiveQuery
Bind multiple arguments to the query parameter represented by the givenQueryParameter
using the given Class reference to attempt to determine theType
to use. If unable to determine an appropriateType
,ReactiveQuery.setParameterList(String, Collection)
is used- Specified by:
setParameterList
in interfaceCommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQueryImplementor<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining- See Also:
-
setParameterList
<P> ReactiveSqmQueryImplementor<R> setParameterList(QueryParameter<P> parameter, P[] values, jakarta.persistence.metamodel.Type<P> type) Description copied from interface:ReactiveQuery
Bind multiple arguments to the query parameter represented by the givenQueryParameter
, inferring theType
.The "type mapping" for the binding is inferred from the type of the first collection element
- Specified by:
setParameterList
in interfaceCommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQueryImplementor<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining
-
setProperties
Description copied from interface:ReactiveQuery
Bind the property values of the given bean to named parameters of the query, matching property names with parameter names and mapping property types to Hibernate types using heuristics.- Specified by:
setProperties
in interfaceCommonQueryContract
- Specified by:
setProperties
in interfaceReactiveMutationQuery<R>
- Specified by:
setProperties
in interfaceReactiveQuery<R>
- Specified by:
setProperties
in interfaceReactiveQueryImplementor<R>
- Specified by:
setProperties
in interfaceReactiveSelectionQuery<R>
- Parameters:
bean
- any JavaBean or POJO- Returns:
this
, for method chaining
-
setProperties
Description copied from interface:ReactiveQuery
Bind the values of the given Map for each named parameters of the query, matching key names with parameter names and mapping value types to Hibernate types using heuristics.- Specified by:
setProperties
in interfaceCommonQueryContract
- Specified by:
setProperties
in interfaceReactiveMutationQuery<R>
- Specified by:
setProperties
in interfaceReactiveQuery<R>
- Specified by:
setProperties
in interfaceReactiveQueryImplementor<R>
- Specified by:
setProperties
in interfaceReactiveSelectionQuery<R>
- Parameters:
bean
- aMap
of names to arguments- Returns:
this
, for method chaining
-