Package org.hibernate.reactive.query
Interface ReactiveQueryImplementor<R>
- All Superinterfaces:
CommonQueryContract,ReactiveMutationQuery<R>,ReactiveQuery<R>,ReactiveSelectionQuery<R>
- All Known Subinterfaces:
ReactiveNativeQueryImplementor<R>,ReactiveSqmQueryImplementor<R>
-
Method Summary
Modifier and TypeMethodDescriptionsetParameter(int position, Object value) Bind the given argument to an ordinal query parameter.setParameter(int position, Instant value, TemporalType temporalType) Bind anInstantvalue to the ordinal query parameter using just the portion indicated by the givenTemporalType.setParameter(int position, Calendar value, TemporalType temporalType) QueryoverridesetParameter(int position, Date value, TemporalType temporalType) QueryoverridesetParameter(int position, P value, 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 theTypeto use.setParameter(Parameter<Calendar> param, Calendar value, TemporalType temporalType) setParameter(Parameter<Date> param, Date value, TemporalType temporalType) setParameter(Parameter<T> param, T value) setParameter(String name, Object value) setParameter(String name, Instant value, TemporalType temporalType) Bind anInstantvalue to the named query parameter using just the portion indicated by the givenTemporalType.setParameter(String name, Calendar value, TemporalType temporalType) setParameter(String name, Date value, TemporalType temporalType) setParameter(String name, P value, Type<P> type) setParameter(String name, P value, Class<P> type) setParameter(QueryParameter<P> parameter, P val, 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, 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 theTypeto use.setParameterList(int position, P[] values, Type<P> type) Bind multiple arguments to an ordinal query parameter using the givenType.setParameterList(int position, P[] values, Class<P> javaType) 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, 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, 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 theTypeto 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, 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 givenQueryParameterusing the given Class reference to attempt to determine theTypeto use.setParameterList(QueryParameter<P> parameter, P[] values) Bind multiple arguments to the query parameter represented by the givenQueryParametersetParameterList(QueryParameter<P> parameter, P[] values, 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 givenQueryParameterusing the given Class reference to attempt to determine theTypeto 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.setResultListTransformer(ResultListTransformer<R> transformer) <T> ReactiveQueryImplementor<T>setTupleTransformer(TupleTransformer<T> transformer) Methods inherited from interface org.hibernate.query.CommonQueryContract
getFlushMode, getHibernateFlushMode, getQueryFlushMode, getTimeout, setQueryFlushMode, setTimeoutMethods inherited from interface org.hibernate.reactive.query.ReactiveMutationQuery
executeReactiveUpdateMethods 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, setTimeoutMethods 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
-
getParameterBindings
QueryParameterBindings getParameterBindings() -
setTupleTransformer
- Specified by:
setTupleTransformerin interfaceReactiveQuery<R>
-
setResultListTransformer
- Specified by:
setResultListTransformerin interfaceReactiveQuery<R>
-
setParameter
- Specified by:
setParameterin interfaceCommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
- Specified by:
setParameterin interfaceCommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
- Specified by:
setParameterin interfaceCommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
Description copied from interface:ReactiveQueryBind anInstantvalue to the named query parameter using just the portion indicated by the givenTemporalType.- Specified by:
setParameterin interfaceCommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
- Specified by:
setParameterin interfaceCommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
- Specified by:
setParameterin interfaceCommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
Description copied from interface:ReactiveQueryBind 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:
setParameterin interfaceCommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>- See Also:
-
setParameter
Description copied from interface:ReactiveQueryBind the given argument to an ordinal query parameter using the given Class reference to attempt to determine theTypeto use. If unable to determine an appropriateType,ReactiveQuery.setParameter(int, Object)is used.- Specified by:
setParameterin interfaceCommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>- See Also:
-
setParameter
Description copied from interface:ReactiveQueryBind the given argument to an ordinal query parameter using the givenType.- Specified by:
setParameterin interfaceCommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
Description copied from interface:ReactiveQueryBind anInstantvalue to the ordinal query parameter using just the portion indicated by the givenTemporalType.- Specified by:
setParameterin interfaceCommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
Description copied from interface:ReactiveQueryQueryoverride- Specified by:
setParameterin interfaceCommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
Description copied from interface:ReactiveQueryQueryoverride- Specified by:
setParameterin interfaceCommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
- Specified by:
setParameterin interfaceCommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
- Specified by:
setParameterin interfaceCommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
- Specified by:
setParameterin interfaceCommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
- Specified by:
setParameterin interfaceCommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveQueryImplementor<R> setParameter(Parameter<Calendar> param, Calendar value, TemporalType temporalType) - Specified by:
setParameterin interfaceCommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveQueryImplementor<R> setParameter(Parameter<Date> param, Date value, TemporalType temporalType) - Specified by:
setParameterin interfaceCommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameterList
- Specified by:
setParameterListin interfaceCommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>
-
setParameterList
<P> ReactiveQueryImplementor<R> setParameterList(String name, Collection<? extends P> values, Class<P> javaType) - Specified by:
setParameterListin interfaceCommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>
-
setParameterList
<P> ReactiveQueryImplementor<R> setParameterList(String name, Collection<? extends P> values, Type<P> type) Description copied from interface:ReactiveQueryBind multiple arguments to a named query parameter using the givenType.- Specified by:
setParameterListin interfaceCommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>- Returns:
this, for method chaining
-
setParameterList
Description copied from interface:ReactiveQueryBind 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:
setParameterListin interfaceCommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>- Returns:
this, for method chaining
-
setParameterList
Description copied from interface:ReactiveQueryBind multiple arguments to a named query parameter using the given Class reference to attempt to determine theTypeto use. If unable to determine an appropriateType,ReactiveQuery.setParameterList(String, Collection)is used.- Specified by:
setParameterListin interfaceCommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>- Returns:
this, for method chaining- See Also:
-
setParameterList
Description copied from interface:ReactiveQueryBind multiple arguments to a named query parameter using the givenType.- Specified by:
setParameterListin interfaceCommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>- Returns:
this, for method chaining
-
setParameterList
Description copied from interface:ReactiveQueryBind 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:
setParameterListin interfaceCommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveQuery<R>- Specified by:
setParameterListin 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:ReactiveQueryBind multiple arguments to an ordinal query parameter using the given Class reference to attempt to determine theTypeto use. If unable to determine an appropriateType,ReactiveQuery.setParameterList(String, Collection)is used.- Specified by:
setParameterListin interfaceCommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>- Returns:
this, for method chaining- See Also:
-
setParameterList
<P> ReactiveQueryImplementor<R> setParameterList(int position, Collection<? extends P> values, Type<P> type) Description copied from interface:ReactiveQueryBind multiple arguments to an ordinal query parameter using the givenType.- Specified by:
setParameterListin interfaceCommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>- Returns:
this, for method chaining
-
setParameterList
Description copied from interface:ReactiveQueryBind 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:
setParameterListin interfaceCommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>- Returns:
this, for method chaining
-
setParameterList
Description copied from interface:ReactiveQueryBind multiple arguments to an ordinal query parameter using the givenClassreference to attempt to determine theTypeto use. If unable to determine an appropriateType,ReactiveQuery.setParameterList(String, Collection)is used.- Specified by:
setParameterListin interfaceCommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>- Returns:
this, for method chaining- See Also:
-
setParameterList
Description copied from interface:ReactiveQueryBind multiple arguments to an ordinal query parameter using the givenType.- Specified by:
setParameterListin interfaceCommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>- Returns:
this, for method chaining
-
setParameterList
<P> ReactiveQueryImplementor<R> setParameterList(QueryParameter<P> parameter, Collection<? extends P> values) Description copied from interface:ReactiveQueryBind 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:
setParameterListin interfaceCommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveQuery<R>- Specified by:
setParameterListin 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:ReactiveQueryBind multiple arguments to the query parameter represented by the givenQueryParameterusing the given Class reference to attempt to determine theTypeto use. If unable to determine an appropriateType,ReactiveQuery.setParameterList(String, Collection)is used.- Specified by:
setParameterListin interfaceCommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>- Returns:
this, for method chaining- See Also:
-
setParameterList
<P> ReactiveQueryImplementor<R> setParameterList(QueryParameter<P> parameter, Collection<? extends P> values, Type<P> type) Description copied from interface:ReactiveQueryBind 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:
setParameterListin interfaceCommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>- Returns:
this, for method chaining
-
setParameterList
Description copied from interface:ReactiveQueryBind multiple arguments to the query parameter represented by the givenQueryParameterThe 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:
setParameterListin interfaceCommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveQuery<R>- Specified by:
setParameterListin 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:ReactiveQueryBind multiple arguments to the query parameter represented by the givenQueryParameterusing the given Class reference to attempt to determine theTypeto use. If unable to determine an appropriateType,ReactiveQuery.setParameterList(String, Collection)is used- Specified by:
setParameterListin interfaceCommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>- Returns:
this, for method chaining- See Also:
-
setParameterList
<P> ReactiveQueryImplementor<R> setParameterList(QueryParameter<P> parameter, P[] values, Type<P> type) Description copied from interface:ReactiveQueryBind 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:
setParameterListin interfaceCommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>- Returns:
this, for method chaining
-
setProperties
Description copied from interface:ReactiveQueryBind 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:
setPropertiesin interfaceCommonQueryContract- Specified by:
setPropertiesin interfaceReactiveMutationQuery<R>- Specified by:
setPropertiesin interfaceReactiveQuery<R>- Specified by:
setPropertiesin interfaceReactiveSelectionQuery<R>- Parameters:
bean- any JavaBean or POJO- Returns:
this, for method chaining
-
setProperties
Description copied from interface:ReactiveQueryBind 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:
setPropertiesin interfaceCommonQueryContract- Specified by:
setPropertiesin interfaceReactiveMutationQuery<R>- Specified by:
setPropertiesin interfaceReactiveQuery<R>- Specified by:
setPropertiesin interfaceReactiveSelectionQuery<R>- Parameters:
bean- aMapof names to arguments- Returns:
this, for method chaining
-