Package org.hibernate.reactive.query
Interface ReactiveQueryImplementor<R>
-
- All Superinterfaces:
CommonQueryContract
,ReactiveMutationQuery<R>
,ReactiveQuery<R>
,ReactiveSelectionQuery<R>
- All Known Subinterfaces:
ReactiveNativeQueryImplementor<R>
,ReactiveSqmQueryImplementor<R>
public interface ReactiveQueryImplementor<R> extends ReactiveQuery<R>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description QueryParameterBindings
getParameterBindings()
void
setOptionalEntityName(String entityName)
void
setOptionalId(Serializable id)
void
setOptionalObject(Object optionalObject)
ReactiveQueryImplementor<R>
setParameter(int position, Object value)
Bind the given argument to an ordinal query parameter.ReactiveQueryImplementor<R>
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
.ReactiveQueryImplementor<R>
setParameter(int position, Calendar value, jakarta.persistence.TemporalType temporalType)
Query
overrideReactiveQueryImplementor<R>
setParameter(int position, Date value, jakarta.persistence.TemporalType temporalType)
Query
override<P> ReactiveQueryImplementor<R>
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 theBindableType
to use.<P> ReactiveQueryImplementor<R>
setParameter(int position, P value, BindableType<P> type)
Bind the given argument to an ordinal query parameter using the givenBindableType
.ReactiveQueryImplementor<R>
setParameter(jakarta.persistence.Parameter<Calendar> param, Calendar value, jakarta.persistence.TemporalType temporalType)
ReactiveQueryImplementor<R>
setParameter(jakarta.persistence.Parameter<Date> param, Date value, jakarta.persistence.TemporalType temporalType)
<T> ReactiveQueryImplementor<R>
setParameter(jakarta.persistence.Parameter<T> param, T value)
ReactiveQueryImplementor<R>
setParameter(String name, Object value)
ReactiveQueryImplementor<R>
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
.ReactiveQueryImplementor<R>
setParameter(String name, Calendar value, jakarta.persistence.TemporalType temporalType)
ReactiveQueryImplementor<R>
setParameter(String name, Date value, jakarta.persistence.TemporalType temporalType)
<P> ReactiveQueryImplementor<R>
setParameter(String name, P value, Class<P> type)
<P> ReactiveQueryImplementor<R>
setParameter(String name, P value, BindableType<P> type)
<P> ReactiveQueryImplementor<R>
setParameter(QueryParameter<P> parameter, P value, Class<P> type)
<P> ReactiveQueryImplementor<R>
setParameter(QueryParameter<P> parameter, P val, BindableType<P> type)
<T> ReactiveQueryImplementor<R>
setParameter(QueryParameter<T> parameter, T value)
ReactiveQueryImplementor<R>
setParameterList(int position, Object[] values)
Bind multiple arguments to an ordinal query parameter.ReactiveQueryImplementor<R>
setParameterList(int position, Collection values)
Bind multiple arguments to an ordinal query parameter.<P> ReactiveQueryImplementor<R>
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 theBindableType
to use.<P> ReactiveQueryImplementor<R>
setParameterList(int position, Collection<? extends P> values, BindableType<P> type)
Bind multiple arguments to an ordinal query parameter using the givenBindableType
.<P> ReactiveQueryImplementor<R>
setParameterList(int position, P[] values, Class<P> javaType)
Bind multiple arguments to an ordinal query parameter using the givenClass
reference to attempt to determine theBindableType
to use.<P> ReactiveQueryImplementor<R>
setParameterList(int position, P[] values, BindableType<P> type)
Bind multiple arguments to an ordinal query parameter using the givenBindableType
.ReactiveQueryImplementor<R>
setParameterList(String name, Object[] values)
Bind multiple arguments to a named query parameter.ReactiveQueryImplementor<R>
setParameterList(String name, Collection values)
<P> ReactiveQueryImplementor<R>
setParameterList(String name, Collection<? extends P> values, Class<P> javaType)
<P> ReactiveQueryImplementor<R>
setParameterList(String name, Collection<? extends P> values, BindableType<P> type)
Bind multiple arguments to a named query parameter using the givenBindableType
.<P> ReactiveQueryImplementor<R>
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 theBindableType
to use.<P> ReactiveQueryImplementor<R>
setParameterList(String name, P[] values, BindableType<P> type)
Bind multiple arguments to a named query parameter using the givenBindableType
.<P> ReactiveQueryImplementor<R>
setParameterList(QueryParameter<P> parameter, Collection<? extends P> values)
Bind multiple arguments to the query parameter represented by the givenQueryParameter
.<P> ReactiveQueryImplementor<R>
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 theBindableType
to use.<P> ReactiveQueryImplementor<R>
setParameterList(QueryParameter<P> parameter, Collection<? extends P> values, BindableType<P> type)
Bind multiple arguments to the query parameter represented by the givenQueryParameter
, inferring theBindableType
.<P> ReactiveQueryImplementor<R>
setParameterList(QueryParameter<P> parameter, P[] values)
Bind multiple arguments to the query parameter represented by the givenQueryParameter
<P> ReactiveQueryImplementor<R>
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 theBindableType
to use.<P> ReactiveQueryImplementor<R>
setParameterList(QueryParameter<P> parameter, P[] values, BindableType<P> type)
Bind multiple arguments to the query parameter represented by the givenQueryParameter
, inferring theBindableType
.ReactiveQueryImplementor<R>
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.ReactiveQueryImplementor<R>
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.ReactiveQueryImplementor<R>
setResultListTransformer(ResultListTransformer<R> transformer)
<T> ReactiveQueryImplementor<T>
setTupleTransformer(TupleTransformer<T> transformer)
-
Methods inherited from interface org.hibernate.query.CommonQueryContract
getFlushMode, getHibernateFlushMode, getTimeout
-
Methods inherited from interface org.hibernate.reactive.query.ReactiveMutationQuery
executeReactiveUpdate
-
Methods inherited from interface org.hibernate.reactive.query.ReactiveQuery
addQueryHint, getComment, getLockOptions, getParameterMetadata, getQueryOptions, getQueryString, setCacheable, setCacheMode, setCacheRegion, setCacheRetrieveMode, setCacheStoreMode, setComment, setFetchSize, setFirstResult, setFlushMode, setHibernateFlushMode, setHint, setLockMode, setLockMode, setLockOptions, setMaxResults, setReadOnly, setTimeout
-
Methods inherited from interface org.hibernate.reactive.query.ReactiveSelectionQuery
applyGraph, enableFetchProfile, getCacheMode, getCacheRegion, getCacheRetrieveMode, getCacheStoreMode, getFetchSize, getFirstResult, getHibernateLockMode, getLockMode, getMaxResults, getReactiveResultList, getReactiveSingleResult, getReactiveSingleResultOrNull, isCacheable, isReadOnly, reactiveList, reactiveUnique, reactiveUniqueResultOptional, setAliasSpecificLockMode, setFollowOnLocking, setHibernateLockMode, setOrder, setOrder
-
-
-
-
Method Detail
-
setOptionalId
void setOptionalId(Serializable id)
-
setOptionalEntityName
void setOptionalEntityName(String entityName)
-
setOptionalObject
void setOptionalObject(Object optionalObject)
-
getParameterBindings
QueryParameterBindings getParameterBindings()
-
setTupleTransformer
<T> ReactiveQueryImplementor<T> setTupleTransformer(TupleTransformer<T> transformer)
- Specified by:
setTupleTransformer
in interfaceReactiveQuery<R>
-
setResultListTransformer
ReactiveQueryImplementor<R> setResultListTransformer(ResultListTransformer<R> transformer)
- Specified by:
setResultListTransformer
in interfaceReactiveQuery<R>
-
setParameter
ReactiveQueryImplementor<R> setParameter(String name, Object value)
- Specified by:
setParameter
in interfaceCommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
<P> ReactiveQueryImplementor<R> setParameter(String name, 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 interfaceReactiveSelectionQuery<R>
-
setParameter
<P> ReactiveQueryImplementor<R> setParameter(String name, P value, BindableType<P> type)
- Specified by:
setParameter
in interfaceCommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveQueryImplementor<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 interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveQueryImplementor<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 interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveQueryImplementor<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 interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveQueryImplementor<R> setParameter(int position, Object value)
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 interfaceReactiveSelectionQuery<R>
- See Also:
ReactiveQuery.setParameter(int, Object, Class)
,ReactiveQuery.setParameter(int, Object, BindableType)
-
setParameter
<P> ReactiveQueryImplementor<R> setParameter(int position, P value, Class<P> type)
Description copied from interface:ReactiveQuery
Bind the given argument to an ordinal query parameter using the given Class reference to attempt to determine theBindableType
to use. If unable to determine an appropriateBindableType
,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 interfaceReactiveSelectionQuery<R>
- See Also:
ReactiveQuery.setParameter(int, Object, BindableType)
-
setParameter
<P> ReactiveQueryImplementor<R> setParameter(int position, P value, BindableType<P> type)
Description copied from interface:ReactiveQuery
Bind the given argument to an ordinal query parameter using the givenBindableType
.- Specified by:
setParameter
in interfaceCommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveQueryImplementor<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 interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveQueryImplementor<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 interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveQueryImplementor<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 interfaceReactiveSelectionQuery<R>
-
setParameter
<T> ReactiveQueryImplementor<R> setParameter(QueryParameter<T> parameter, T value)
- Specified by:
setParameter
in interfaceCommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
<P> ReactiveQueryImplementor<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 interfaceReactiveSelectionQuery<R>
-
setParameter
<P> ReactiveQueryImplementor<R> setParameter(QueryParameter<P> parameter, P val, BindableType<P> type)
- Specified by:
setParameter
in interfaceCommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
<T> ReactiveQueryImplementor<R> setParameter(jakarta.persistence.Parameter<T> param, T value)
- Specified by:
setParameter
in interfaceCommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveQueryImplementor<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 interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveQueryImplementor<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 interfaceReactiveSelectionQuery<R>
-
setParameterList
ReactiveQueryImplementor<R> setParameterList(String name, Collection values)
- Specified by:
setParameterList
in interfaceCommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
-
setParameterList
<P> ReactiveQueryImplementor<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 interfaceReactiveSelectionQuery<R>
-
setParameterList
<P> ReactiveQueryImplementor<R> setParameterList(String name, Collection<? extends P> values, BindableType<P> type)
Description copied from interface:ReactiveQuery
Bind multiple arguments to a named query parameter using the givenBindableType
.- Specified by:
setParameterList
in interfaceCommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
ReactiveQueryImplementor<R> setParameterList(String name, Object[] values)
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 interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
<P> ReactiveQueryImplementor<R> setParameterList(String name, P[] values, Class<P> javaType)
Description copied from interface:ReactiveQuery
Bind multiple arguments to a named query parameter using the given Class reference to attempt to determine theBindableType
to use. If unable to determine an appropriateBindableType
,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 interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining- See Also:
ReactiveQuery.setParameterList(java.lang.String, Object[], BindableType)
-
setParameterList
<P> ReactiveQueryImplementor<R> setParameterList(String name, P[] values, BindableType<P> type)
Description copied from interface:ReactiveQuery
Bind multiple arguments to a named query parameter using the givenBindableType
.- Specified by:
setParameterList
in interfaceCommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
ReactiveQueryImplementor<R> setParameterList(int position, Collection values)
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 interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
<P> ReactiveQueryImplementor<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 theBindableType
to use. If unable to determine an appropriateBindableType
,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 interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining- See Also:
ReactiveQuery.setParameterList(int, Collection, BindableType)
-
setParameterList
<P> ReactiveQueryImplementor<R> setParameterList(int position, Collection<? extends P> values, BindableType<P> type)
Description copied from interface:ReactiveQuery
Bind multiple arguments to an ordinal query parameter using the givenBindableType
.- Specified by:
setParameterList
in interfaceCommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
ReactiveQueryImplementor<R> setParameterList(int position, Object[] values)
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 interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
<P> ReactiveQueryImplementor<R> setParameterList(int position, P[] values, Class<P> javaType)
Description copied from interface:ReactiveQuery
Bind multiple arguments to an ordinal query parameter using the givenClass
reference to attempt to determine theBindableType
to use. If unable to determine an appropriateBindableType
,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 interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining- See Also:
ReactiveQuery.setParameterList(int, Object[], BindableType)
-
setParameterList
<P> ReactiveQueryImplementor<R> setParameterList(int position, P[] values, BindableType<P> type)
Description copied from interface:ReactiveQuery
Bind multiple arguments to an ordinal query parameter using the givenBindableType
.- Specified by:
setParameterList
in interfaceCommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
<P> ReactiveQueryImplementor<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 interfaceReactiveSelectionQuery<R>
- Parameters:
parameter
- the parameter mementovalues
- a collection of arguments- Returns:
this
, for method chaining
-
setParameterList
<P> ReactiveQueryImplementor<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 theBindableType
to use. If unable to determine an appropriateBindableType
,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 interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining- See Also:
ReactiveQuery.setParameterList(QueryParameter, java.util.Collection, BindableType)
-
setParameterList
<P> ReactiveQueryImplementor<R> setParameterList(QueryParameter<P> parameter, Collection<? extends P> values, BindableType<P> type)
Description copied from interface:ReactiveQuery
Bind multiple arguments to the query parameter represented by the givenQueryParameter
, inferring theBindableType
.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 interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
<P> ReactiveQueryImplementor<R> setParameterList(QueryParameter<P> parameter, 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 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 interfaceReactiveSelectionQuery<R>
- Parameters:
parameter
- the parameter mementovalues
- a collection of arguments- Returns:
this
, for method chaining
-
setParameterList
<P> ReactiveQueryImplementor<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 theBindableType
to use. If unable to determine an appropriateBindableType
,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 interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining- See Also:
ReactiveQuery.setParameterList(QueryParameter, Object[], BindableType)
-
setParameterList
<P> ReactiveQueryImplementor<R> setParameterList(QueryParameter<P> parameter, P[] values, BindableType<P> type)
Description copied from interface:ReactiveQuery
Bind multiple arguments to the query parameter represented by the givenQueryParameter
, inferring theBindableType
.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 interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining
-
setProperties
ReactiveQueryImplementor<R> setProperties(Object bean)
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 interfaceReactiveSelectionQuery<R>
- Parameters:
bean
- any JavaBean or POJO- Returns:
this
, for method chaining
-
setProperties
ReactiveQueryImplementor<R> setProperties(Map bean)
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 interfaceReactiveSelectionQuery<R>
- Parameters:
bean
- aMap
of names to arguments- Returns:
this
, for method chaining
-
-