Package org.hibernate.reactive.query
Interface ReactiveQuery<R>
-
- All Superinterfaces:
org.hibernate.query.CommonQueryContract,ReactiveMutationQuery<R>,ReactiveSelectionQuery<R>
- All Known Subinterfaces:
ReactiveNativeQuery<R>,ReactiveNativeQueryImplementor<R>,ReactiveQueryImplementor<R>,ReactiveSqmQueryImplementor<R>
- All Known Implementing Classes:
ReactiveNativeQueryImpl,ReactiveQuerySqmImpl
public interface ReactiveQuery<R> extends ReactiveSelectionQuery<R>, ReactiveMutationQuery<R>
- See Also:
Query
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReactiveQuery<R>addQueryHint(java.lang.String hint)java.lang.StringgetComment()org.hibernate.LockOptionsgetLockOptions()org.hibernate.query.ParameterMetadatagetParameterMetadata()org.hibernate.query.spi.QueryOptionsgetQueryOptions()java.lang.StringgetQueryString()ReactiveQuery<R>setCacheable(boolean cacheable)ReactiveQuery<R>setCacheMode(org.hibernate.CacheMode cacheMode)ReactiveQuery<R>setCacheRegion(java.lang.String cacheRegion)ReactiveQuery<R>setCacheRetrieveMode(jakarta.persistence.CacheRetrieveMode cacheRetrieveMode)ReactiveQuery<R>setCacheStoreMode(jakarta.persistence.CacheStoreMode cacheStoreMode)ReactiveQuery<R>setComment(java.lang.String comment)ReactiveQuery<R>setFetchSize(int fetchSize)ReactiveQuery<R>setFirstResult(int startPosition)ReactiveQuery<R>setFlushMode(jakarta.persistence.FlushModeType flushMode)ReactiveQuery<R>setHibernateFlushMode(org.hibernate.FlushMode flushMode)ReactiveQuery<R>setHint(java.lang.String hintName, java.lang.Object value)ReactiveQuery<R>setLockMode(jakarta.persistence.LockModeType lockMode)ReactiveQuery<R>setLockMode(java.lang.String alias, org.hibernate.LockMode lockMode)ReactiveQuery<R>setLockOptions(org.hibernate.LockOptions lockOptions)ReactiveQuery<R>setMaxResults(int maxResult)ReactiveQuery<R>setParameter(int parameter, java.lang.Object argument)Bind the given argument to an ordinal query parameter.ReactiveQuery<R>setParameter(int parameter, java.time.Instant argument, jakarta.persistence.TemporalType temporalType)Bind anInstantvalue to the ordinal query parameter using just the portion indicated by the givenTemporalType.ReactiveQuery<R>setParameter(int parameter, java.util.Calendar argument, jakarta.persistence.TemporalType temporalType)QueryoverrideReactiveQuery<R>setParameter(int parameter, java.util.Date argument, jakarta.persistence.TemporalType temporalType)Queryoverride<P> ReactiveQuery<R>setParameter(int parameter, P argument, java.lang.Class<P> type)Bind the given argument to an ordinal query parameter using the given Class reference to attempt to determine theBindableTypeto use.<P> ReactiveQuery<R>setParameter(int parameter, P argument, org.hibernate.query.BindableType<P> type)Bind the given argument to an ordinal query parameter using the givenBindableType.ReactiveQuery<R>setParameter(jakarta.persistence.Parameter<java.util.Calendar> parameter, java.util.Calendar argument, jakarta.persistence.TemporalType temporalType)ReactiveQuery<R>setParameter(jakarta.persistence.Parameter<java.util.Date> parameter, java.util.Date argument, jakarta.persistence.TemporalType temporalType)<T> ReactiveQuery<R>setParameter(jakarta.persistence.Parameter<T> parameter, T argument)ReactiveQuery<R>setParameter(java.lang.String parameter, java.lang.Object argument)ReactiveQuery<R>setParameter(java.lang.String parameter, java.time.Instant argument, jakarta.persistence.TemporalType temporalType)Bind anInstantvalue to the named query parameter using just the portion indicated by the givenTemporalType.ReactiveQuery<R>setParameter(java.lang.String parameter, java.util.Calendar argument, jakarta.persistence.TemporalType temporalType)ReactiveQuery<R>setParameter(java.lang.String parameter, java.util.Date argument, jakarta.persistence.TemporalType temporalType)<P> ReactiveQuery<R>setParameter(java.lang.String parameter, P argument, java.lang.Class<P> type)<P> ReactiveQuery<R>setParameter(java.lang.String parameter, P argument, org.hibernate.query.BindableType<P> type)<P> ReactiveQuery<R>setParameter(org.hibernate.query.QueryParameter<P> parameter, P argument, java.lang.Class<P> type)<P> ReactiveQuery<R>setParameter(org.hibernate.query.QueryParameter<P> parameter, P argument, org.hibernate.query.BindableType<P> type)<T> ReactiveQuery<R>setParameter(org.hibernate.query.QueryParameter<T> parameter, T argument)ReactiveQuery<R>setParameterList(int parameter, java.lang.Object[] arguments)Bind multiple arguments to an ordinal query parameter.ReactiveQuery<R>setParameterList(int parameter, java.util.Collection arguments)Bind multiple arguments to an ordinal query parameter.<P> ReactiveQuery<R>setParameterList(int parameter, java.util.Collection<? extends P> arguments, java.lang.Class<P> javaType)Bind multiple arguments to an ordinal query parameter using the given Class reference to attempt to determine theBindableTypeto use.<P> ReactiveQuery<R>setParameterList(int parameter, java.util.Collection<? extends P> arguments, org.hibernate.query.BindableType<P> type)Bind multiple arguments to an ordinal query parameter using the givenBindableType.<P> ReactiveQuery<R>setParameterList(int parameter, P[] arguments, java.lang.Class<P> javaType)Bind multiple arguments to an ordinal query parameter using the givenClassreference to attempt to determine theBindableTypeto use.<P> ReactiveQuery<R>setParameterList(int parameter, P[] arguments, org.hibernate.query.BindableType<P> type)Bind multiple arguments to an ordinal query parameter using the givenBindableType.ReactiveQuery<R>setParameterList(java.lang.String parameter, java.lang.Object[] values)Bind multiple arguments to a named query parameter.ReactiveQuery<R>setParameterList(java.lang.String parameter, java.util.Collection arguments)<P> ReactiveQuery<R>setParameterList(java.lang.String parameter, java.util.Collection<? extends P> arguments, java.lang.Class<P> javaType)<P> ReactiveQuery<R>setParameterList(java.lang.String parameter, java.util.Collection<? extends P> arguments, org.hibernate.query.BindableType<P> type)Bind multiple arguments to a named query parameter using the givenBindableType.<P> ReactiveQuery<R>setParameterList(java.lang.String parameter, P[] arguments, java.lang.Class<P> javaType)Bind multiple arguments to a named query parameter using the given Class reference to attempt to determine theBindableTypeto use.<P> ReactiveQuery<R>setParameterList(java.lang.String parameter, P[] arguments, org.hibernate.query.BindableType<P> type)Bind multiple arguments to a named query parameter using the givenBindableType.<P> ReactiveQuery<R>setParameterList(org.hibernate.query.QueryParameter<P> parameter, java.util.Collection<? extends P> arguments)Bind multiple arguments to the query parameter represented by the givenQueryParameter.<P> ReactiveQuery<R>setParameterList(org.hibernate.query.QueryParameter<P> parameter, java.util.Collection<? extends P> arguments, java.lang.Class<P> javaType)Bind multiple arguments to the query parameter represented by the givenQueryParameterusing the given Class reference to attempt to determine theBindableTypeto use.<P> ReactiveQuery<R>setParameterList(org.hibernate.query.QueryParameter<P> parameter, java.util.Collection<? extends P> arguments, org.hibernate.query.BindableType<P> type)Bind multiple arguments to the query parameter represented by the givenQueryParameter, inferring theBindableType.<P> ReactiveQuery<R>setParameterList(org.hibernate.query.QueryParameter<P> parameter, P[] arguments)Bind multiple arguments to the query parameter represented by the givenQueryParameter<P> ReactiveQuery<R>setParameterList(org.hibernate.query.QueryParameter<P> parameter, P[] arguments, java.lang.Class<P> javaType)Bind multiple arguments to the query parameter represented by the givenQueryParameterusing the given Class reference to attempt to determine theBindableTypeto use.<P> ReactiveQuery<R>setParameterList(org.hibernate.query.QueryParameter<P> parameter, P[] arguments, org.hibernate.query.BindableType<P> type)Bind multiple arguments to the query parameter represented by the givenQueryParameter, inferring theBindableType.ReactiveQuery<R>setProperties(java.lang.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.ReactiveQuery<R>setProperties(java.util.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.ReactiveQuery<R>setReadOnly(boolean readOnly)ReactiveQuery<R>setResultListTransformer(org.hibernate.query.ResultListTransformer<R> transformer)ReactiveQuery<R>setTimeout(int timeout)<T> ReactiveQuery<T>setTupleTransformer(org.hibernate.query.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.ReactiveSelectionQuery
applyGraph, getCacheMode, getCacheRegion, getCacheRetrieveMode, getCacheStoreMode, getFetchSize, getFirstResult, getHibernateLockMode, getLockMode, getMaxResults, getReactiveResultList, getReactiveSingleResult, getReactiveSingleResultOrNull, isCacheable, isReadOnly, reactiveList, reactiveUnique, reactiveUniqueResultOptional, setAliasSpecificLockMode, setFollowOnLocking, setHibernateLockMode
-
-
-
-
Method Detail
-
getQueryString
java.lang.String getQueryString()
- Specified by:
getQueryStringin interfaceReactiveSelectionQuery<R>
-
getComment
java.lang.String getComment()
- Specified by:
getCommentin interfaceorg.hibernate.query.CommonQueryContract
-
setComment
ReactiveQuery<R> setComment(java.lang.String comment)
- Specified by:
setCommentin interfaceorg.hibernate.query.CommonQueryContract
-
addQueryHint
ReactiveQuery<R> addQueryHint(java.lang.String hint)
-
getLockOptions
org.hibernate.LockOptions getLockOptions()
- Specified by:
getLockOptionsin interfaceReactiveSelectionQuery<R>
-
setLockOptions
ReactiveQuery<R> setLockOptions(org.hibernate.LockOptions lockOptions)
-
setLockMode
ReactiveQuery<R> setLockMode(java.lang.String alias, org.hibernate.LockMode lockMode)
- Specified by:
setLockModein interfaceReactiveSelectionQuery<R>
-
setTupleTransformer
<T> ReactiveQuery<T> setTupleTransformer(org.hibernate.query.TupleTransformer<T> transformer)
-
setResultListTransformer
ReactiveQuery<R> setResultListTransformer(org.hibernate.query.ResultListTransformer<R> transformer)
-
getQueryOptions
org.hibernate.query.spi.QueryOptions getQueryOptions()
-
getParameterMetadata
org.hibernate.query.ParameterMetadata getParameterMetadata()
-
setParameter
ReactiveQuery<R> setParameter(java.lang.String parameter, java.lang.Object argument)
- Specified by:
setParameterin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
<P> ReactiveQuery<R> setParameter(java.lang.String parameter, P argument, java.lang.Class<P> type)
- Specified by:
setParameterin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
<P> ReactiveQuery<R> setParameter(java.lang.String parameter, P argument, org.hibernate.query.BindableType<P> type)
- Specified by:
setParameterin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveQuery<R> setParameter(java.lang.String parameter, java.time.Instant argument, jakarta.persistence.TemporalType temporalType)
Bind anInstantvalue to the named query parameter using just the portion indicated by the givenTemporalType.- Specified by:
setParameterin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveQuery<R> setParameter(java.lang.String parameter, java.util.Calendar argument, jakarta.persistence.TemporalType temporalType)
- Specified by:
setParameterin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveQuery<R> setParameter(java.lang.String parameter, java.util.Date argument, jakarta.persistence.TemporalType temporalType)
- Specified by:
setParameterin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveQuery<R> setParameter(int parameter, java.lang.Object argument)
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:
setParameterin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>- See Also:
setParameter(int, Object, Class),setParameter(int, Object, BindableType)
-
setParameter
<P> ReactiveQuery<R> setParameter(int parameter, P argument, java.lang.Class<P> type)
Bind the given argument to an ordinal query parameter using the given Class reference to attempt to determine theBindableTypeto use. If unable to determine an appropriateBindableType,setParameter(int, Object)is used.- Specified by:
setParameterin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>- See Also:
setParameter(int, Object, BindableType)
-
setParameter
<P> ReactiveQuery<R> setParameter(int parameter, P argument, org.hibernate.query.BindableType<P> type)
Bind the given argument to an ordinal query parameter using the givenBindableType.- Specified by:
setParameterin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveQuery<R> setParameter(int parameter, java.time.Instant argument, jakarta.persistence.TemporalType temporalType)
Bind anInstantvalue to the ordinal query parameter using just the portion indicated by the givenTemporalType.- Specified by:
setParameterin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveQuery<R> setParameter(int parameter, java.util.Date argument, jakarta.persistence.TemporalType temporalType)
Queryoverride- Specified by:
setParameterin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveQuery<R> setParameter(int parameter, java.util.Calendar argument, jakarta.persistence.TemporalType temporalType)
Queryoverride- Specified by:
setParameterin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
<T> ReactiveQuery<R> setParameter(org.hibernate.query.QueryParameter<T> parameter, T argument)
- Specified by:
setParameterin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
<P> ReactiveQuery<R> setParameter(org.hibernate.query.QueryParameter<P> parameter, P argument, java.lang.Class<P> type)
- Specified by:
setParameterin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
<P> ReactiveQuery<R> setParameter(org.hibernate.query.QueryParameter<P> parameter, P argument, org.hibernate.query.BindableType<P> type)
- Specified by:
setParameterin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
<T> ReactiveQuery<R> setParameter(jakarta.persistence.Parameter<T> parameter, T argument)
- Specified by:
setParameterin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveQuery<R> setParameter(jakarta.persistence.Parameter<java.util.Calendar> parameter, java.util.Calendar argument, jakarta.persistence.TemporalType temporalType)
- Specified by:
setParameterin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveQuery<R> setParameter(jakarta.persistence.Parameter<java.util.Date> parameter, java.util.Date argument, jakarta.persistence.TemporalType temporalType)
- Specified by:
setParameterin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameterList
ReactiveQuery<R> setParameterList(java.lang.String parameter, java.util.Collection arguments)
- Specified by:
setParameterListin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>
-
setParameterList
<P> ReactiveQuery<R> setParameterList(java.lang.String parameter, java.util.Collection<? extends P> arguments, java.lang.Class<P> javaType)
- Specified by:
setParameterListin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>
-
setParameterList
<P> ReactiveQuery<R> setParameterList(java.lang.String parameter, java.util.Collection<? extends P> arguments, org.hibernate.query.BindableType<P> type)
Bind multiple arguments to a named query parameter using the givenBindableType.- Specified by:
setParameterListin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>- Returns:
this, for method chaining
-
setParameterList
ReactiveQuery<R> setParameterList(java.lang.String parameter, java.lang.Object[] values)
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:
setParameterListin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>- Returns:
this, for method chaining
-
setParameterList
<P> ReactiveQuery<R> setParameterList(java.lang.String parameter, P[] arguments, java.lang.Class<P> javaType)
Bind multiple arguments to a named query parameter using the given Class reference to attempt to determine theBindableTypeto use. If unable to determine an appropriateBindableType,setParameterList(String, Collection)is used.- Specified by:
setParameterListin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>- Returns:
this, for method chaining- See Also:
setParameterList(java.lang.String, Object[], BindableType)
-
setParameterList
<P> ReactiveQuery<R> setParameterList(java.lang.String parameter, P[] arguments, org.hibernate.query.BindableType<P> type)
Bind multiple arguments to a named query parameter using the givenBindableType.- Specified by:
setParameterListin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>- Returns:
this, for method chaining
-
setParameterList
ReactiveQuery<R> setParameterList(int parameter, java.util.Collection arguments)
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:
setParameterListin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>- Returns:
this, for method chaining
-
setParameterList
<P> ReactiveQuery<R> setParameterList(int parameter, java.util.Collection<? extends P> arguments, java.lang.Class<P> javaType)
Bind multiple arguments to an ordinal query parameter using the given Class reference to attempt to determine theBindableTypeto use. If unable to determine an appropriateBindableType,setParameterList(String, Collection)is used.- Specified by:
setParameterListin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>- Returns:
this, for method chaining- See Also:
setParameterList(int, Collection, BindableType)
-
setParameterList
<P> ReactiveQuery<R> setParameterList(int parameter, java.util.Collection<? extends P> arguments, org.hibernate.query.BindableType<P> type)
Bind multiple arguments to an ordinal query parameter using the givenBindableType.- Specified by:
setParameterListin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>- Returns:
this, for method chaining
-
setParameterList
ReactiveQuery<R> setParameterList(int parameter, java.lang.Object[] arguments)
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:
setParameterListin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>- Returns:
this, for method chaining
-
setParameterList
<P> ReactiveQuery<R> setParameterList(int parameter, P[] arguments, java.lang.Class<P> javaType)
Bind multiple arguments to an ordinal query parameter using the givenClassreference to attempt to determine theBindableTypeto use. If unable to determine an appropriateBindableType,setParameterList(String, Collection)is used.- Specified by:
setParameterListin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>- Returns:
this, for method chaining- See Also:
setParameterList(int, Object[], BindableType)
-
setParameterList
<P> ReactiveQuery<R> setParameterList(int parameter, P[] arguments, org.hibernate.query.BindableType<P> type)
Bind multiple arguments to an ordinal query parameter using the givenBindableType.- Specified by:
setParameterListin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>- Returns:
this, for method chaining
-
setParameterList
<P> ReactiveQuery<R> setParameterList(org.hibernate.query.QueryParameter<P> parameter, java.util.Collection<? extends P> arguments)
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:
setParameterListin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>- Parameters:
parameter- the parameter mementoarguments- a collection of arguments- Returns:
this, for method chaining
-
setParameterList
<P> ReactiveQuery<R> setParameterList(org.hibernate.query.QueryParameter<P> parameter, java.util.Collection<? extends P> arguments, java.lang.Class<P> javaType)
Bind multiple arguments to the query parameter represented by the givenQueryParameterusing the given Class reference to attempt to determine theBindableTypeto use. If unable to determine an appropriateBindableType,setParameterList(String, Collection)is used.- Specified by:
setParameterListin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>- Returns:
this, for method chaining- See Also:
setParameterList(QueryParameter, java.util.Collection, BindableType)
-
setParameterList
<P> ReactiveQuery<R> setParameterList(org.hibernate.query.QueryParameter<P> parameter, java.util.Collection<? extends P> arguments, org.hibernate.query.BindableType<P> type)
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:
setParameterListin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>- Returns:
this, for method chaining
-
setParameterList
<P> ReactiveQuery<R> setParameterList(org.hibernate.query.QueryParameter<P> parameter, P[] arguments)
Bind 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 interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>- Parameters:
parameter- the parameter mementoarguments- a collection of arguments- Returns:
this, for method chaining
-
setParameterList
<P> ReactiveQuery<R> setParameterList(org.hibernate.query.QueryParameter<P> parameter, P[] arguments, java.lang.Class<P> javaType)
Bind multiple arguments to the query parameter represented by the givenQueryParameterusing the given Class reference to attempt to determine theBindableTypeto use. If unable to determine an appropriateBindableType,setParameterList(String, Collection)is used- Specified by:
setParameterListin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>- Returns:
this, for method chaining- See Also:
setParameterList(QueryParameter, Object[], BindableType)
-
setParameterList
<P> ReactiveQuery<R> setParameterList(org.hibernate.query.QueryParameter<P> parameter, P[] arguments, org.hibernate.query.BindableType<P> type)
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:
setParameterListin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>- Returns:
this, for method chaining
-
setProperties
ReactiveQuery<R> setProperties(java.lang.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.- Specified by:
setPropertiesin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setPropertiesin interfaceReactiveMutationQuery<R>- Specified by:
setPropertiesin interfaceReactiveSelectionQuery<R>- Parameters:
bean- any JavaBean or POJO- Returns:
this, for method chaining
-
setProperties
ReactiveQuery<R> setProperties(java.util.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.- Specified by:
setPropertiesin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setPropertiesin interfaceReactiveMutationQuery<R>- Specified by:
setPropertiesin interfaceReactiveSelectionQuery<R>- Parameters:
bean- aMapof names to arguments- Returns:
this, for method chaining
-
setHibernateFlushMode
ReactiveQuery<R> setHibernateFlushMode(org.hibernate.FlushMode flushMode)
- Specified by:
setHibernateFlushModein interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setHibernateFlushModein interfaceReactiveMutationQuery<R>- Specified by:
setHibernateFlushModein interfaceReactiveSelectionQuery<R>
-
setCacheable
ReactiveQuery<R> setCacheable(boolean cacheable)
- Specified by:
setCacheablein interfaceReactiveSelectionQuery<R>
-
setCacheRegion
ReactiveQuery<R> setCacheRegion(java.lang.String cacheRegion)
- Specified by:
setCacheRegionin interfaceReactiveSelectionQuery<R>
-
setCacheMode
ReactiveQuery<R> setCacheMode(org.hibernate.CacheMode cacheMode)
- Specified by:
setCacheModein interfaceReactiveSelectionQuery<R>
-
setCacheStoreMode
ReactiveQuery<R> setCacheStoreMode(jakarta.persistence.CacheStoreMode cacheStoreMode)
- Specified by:
setCacheStoreModein interfaceReactiveSelectionQuery<R>
-
setCacheRetrieveMode
ReactiveQuery<R> setCacheRetrieveMode(jakarta.persistence.CacheRetrieveMode cacheRetrieveMode)
- Specified by:
setCacheRetrieveModein interfaceReactiveSelectionQuery<R>- See Also:
ReactiveSelectionQuery.setCacheMode(CacheMode)
-
setTimeout
ReactiveQuery<R> setTimeout(int timeout)
- Specified by:
setTimeoutin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setTimeoutin interfaceReactiveSelectionQuery<R>
-
setFetchSize
ReactiveQuery<R> setFetchSize(int fetchSize)
- Specified by:
setFetchSizein interfaceReactiveSelectionQuery<R>
-
setReadOnly
ReactiveQuery<R> setReadOnly(boolean readOnly)
- Specified by:
setReadOnlyin interfaceReactiveSelectionQuery<R>
-
setMaxResults
ReactiveQuery<R> setMaxResults(int maxResult)
- Specified by:
setMaxResultsin interfaceReactiveSelectionQuery<R>
-
setFirstResult
ReactiveQuery<R> setFirstResult(int startPosition)
- Specified by:
setFirstResultin interfaceReactiveSelectionQuery<R>
-
setHint
ReactiveQuery<R> setHint(java.lang.String hintName, java.lang.Object value)
- Specified by:
setHintin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setHintin interfaceReactiveSelectionQuery<R>
-
setFlushMode
ReactiveQuery<R> setFlushMode(jakarta.persistence.FlushModeType flushMode)
- Specified by:
setFlushModein interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setFlushModein interfaceReactiveSelectionQuery<R>
-
setLockMode
ReactiveQuery<R> setLockMode(jakarta.persistence.LockModeType lockMode)
- Specified by:
setLockModein interfaceReactiveSelectionQuery<R>
-
-