Package org.hibernate.reactive.query
Interface ReactiveSelectionQuery<R>
- All Superinterfaces:
CommonQueryContract
- All Known Subinterfaces:
ReactiveNativeQuery<R>
,ReactiveNativeQueryImplementor<R>
,ReactiveQuery<R>
,ReactiveQueryImplementor<R>
,ReactiveSqmQueryImplementor<R>
,ReactiveSqmSelectionQuery<R>
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applyGraph
(RootGraphImplementor<?> graph, GraphSemantic semantic) enableFetchProfile
(String profileName) jakarta.persistence.CacheRetrieveMode
jakarta.persistence.CacheStoreMode
int
jakarta.persistence.LockModeType
int
default CompletionStage<List<R>>
boolean
boolean
setCacheable
(boolean cacheable) setCacheMode
(CacheMode cacheMode) setCacheRegion
(String cacheRegion) setCacheRetrieveMode
(jakarta.persistence.CacheRetrieveMode cacheRetrieveMode) setCacheStoreMode
(jakarta.persistence.CacheStoreMode cacheStoreMode) setFetchSize
(int fetchSize) setFirstResult
(int startPosition) setFlushMode
(jakarta.persistence.FlushModeType flushMode) setFollowOnLocking
(boolean enable) setHibernateFlushMode
(FlushMode flushMode) setHibernateLockMode
(LockMode lockMode) setLockMode
(jakarta.persistence.LockModeType lockMode) setLockMode
(String alias, LockMode lockMode) setMaxResults
(int maxResult) setParameter
(int position, Object value) setParameter
(int position, Instant value, jakarta.persistence.TemporalType temporalType) setParameter
(int position, Calendar value, jakarta.persistence.TemporalType temporalType) setParameter
(int position, Date value, jakarta.persistence.TemporalType temporalType) <P> ReactiveSelectionQuery<R>
setParameter
(int position, P value, Class<P> type) <P> ReactiveSelectionQuery<R>
setParameter
(int position, P value, BindableType<P> type) setParameter
(jakarta.persistence.Parameter<Calendar> param, Calendar value, jakarta.persistence.TemporalType temporalType) setParameter
(jakarta.persistence.Parameter<Date> param, Date value, jakarta.persistence.TemporalType temporalType) <T> ReactiveSelectionQuery<R>
setParameter
(jakarta.persistence.Parameter<T> param, T value) setParameter
(String name, Object value) setParameter
(String name, Instant value, jakarta.persistence.TemporalType temporalType) setParameter
(String name, Calendar value, jakarta.persistence.TemporalType temporalType) setParameter
(String name, Date value, jakarta.persistence.TemporalType temporalType) <P> ReactiveSelectionQuery<R>
setParameter
(String name, P value, Class<P> type) <P> ReactiveSelectionQuery<R>
setParameter
(String name, P value, BindableType<P> type) <P> ReactiveSelectionQuery<R>
setParameter
(QueryParameter<P> parameter, P value, Class<P> type) <P> ReactiveSelectionQuery<R>
setParameter
(QueryParameter<P> parameter, P val, BindableType<P> type) <T> ReactiveSelectionQuery<R>
setParameter
(QueryParameter<T> parameter, T value) setParameterList
(int position, Object[] values) setParameterList
(int position, Collection values) <P> ReactiveSelectionQuery<R>
setParameterList
(int position, Collection<? extends P> values, Class<P> javaType) <P> ReactiveSelectionQuery<R>
setParameterList
(int position, Collection<? extends P> values, BindableType<P> type) <P> ReactiveSelectionQuery<R>
setParameterList
(int position, P[] values, Class<P> javaType) <P> ReactiveSelectionQuery<R>
setParameterList
(int position, P[] values, BindableType<P> type) setParameterList
(String name, Object[] values) setParameterList
(String name, Collection values) <P> ReactiveSelectionQuery<R>
setParameterList
(String name, Collection<? extends P> values, Class<P> javaType) <P> ReactiveSelectionQuery<R>
setParameterList
(String name, Collection<? extends P> values, BindableType<P> type) <P> ReactiveSelectionQuery<R>
setParameterList
(String name, P[] values, Class<P> javaType) <P> ReactiveSelectionQuery<R>
setParameterList
(String name, P[] values, BindableType<P> type) <P> ReactiveSelectionQuery<R>
setParameterList
(QueryParameter<P> parameter, Collection<? extends P> values) <P> ReactiveSelectionQuery<R>
setParameterList
(QueryParameter<P> parameter, Collection<? extends P> values, Class<P> javaType) <P> ReactiveSelectionQuery<R>
setParameterList
(QueryParameter<P> parameter, Collection<? extends P> values, BindableType<P> type) <P> ReactiveSelectionQuery<R>
setParameterList
(QueryParameter<P> parameter, P[] values) <P> ReactiveSelectionQuery<R>
setParameterList
(QueryParameter<P> parameter, P[] values, Class<P> javaType) <P> ReactiveSelectionQuery<R>
setParameterList
(QueryParameter<P> parameter, P[] values, BindableType<P> type) setProperties
(Object bean) setProperties
(Map bean) setReadOnly
(boolean readOnly) setTimeout
(int timeout) Methods inherited from interface org.hibernate.query.CommonQueryContract
getComment, getFlushMode, getHibernateFlushMode, getQueryFlushMode, getTimeout, setComment, setQueryFlushMode
-
Method Details
-
getQueryString
String getQueryString() -
getReactiveResultList
-
reactiveList
CompletionStage<List<R>> reactiveList() -
getReactiveSingleResult
CompletionStage<R> getReactiveSingleResult() -
getReactiveSingleResultOrNull
CompletionStage<R> getReactiveSingleResultOrNull() -
getReactiveResultCount
CompletionStage<Long> getReactiveResultCount() -
reactiveUnique
CompletionStage<R> reactiveUnique() -
reactiveUniqueResultOptional
CompletionStage<Optional<R>> reactiveUniqueResultOptional() -
setHint
- Specified by:
setHint
in interfaceCommonQueryContract
-
setFlushMode
- Specified by:
setFlushMode
in interfaceCommonQueryContract
-
setHibernateFlushMode
- Specified by:
setHibernateFlushMode
in interfaceCommonQueryContract
-
setTimeout
- Specified by:
setTimeout
in interfaceCommonQueryContract
-
getFetchSize
Integer getFetchSize() -
setFetchSize
-
isReadOnly
boolean isReadOnly() -
setReadOnly
-
setMaxResults
-
getFirstResult
int getFirstResult() -
getMaxResults
int getMaxResults() -
setFirstResult
-
getCacheMode
CacheMode getCacheMode() -
getCacheStoreMode
jakarta.persistence.CacheStoreMode getCacheStoreMode() -
getCacheRetrieveMode
jakarta.persistence.CacheRetrieveMode getCacheRetrieveMode() -
setCacheMode
-
setCacheStoreMode
-
setCacheRetrieveMode
ReactiveSelectionQuery<R> setCacheRetrieveMode(jakarta.persistence.CacheRetrieveMode cacheRetrieveMode) - See Also:
-
isCacheable
boolean isCacheable() -
setCacheable
-
getCacheRegion
String getCacheRegion() -
setCacheRegion
-
getLockOptions
LockOptions getLockOptions() -
getLockMode
jakarta.persistence.LockModeType getLockMode() -
setLockMode
-
getHibernateLockMode
LockMode getHibernateLockMode() -
setHibernateLockMode
-
setLockMode
-
setFollowOnLocking
-
applyGraph
-
setOrder
-
setOrder
-
enableFetchProfile
-
setParameter
- Specified by:
setParameter
in interfaceCommonQueryContract
-
setParameter
- Specified by:
setParameter
in interfaceCommonQueryContract
-
setParameter
- Specified by:
setParameter
in interfaceCommonQueryContract
-
setParameter
ReactiveSelectionQuery<R> setParameter(String name, Instant value, jakarta.persistence.TemporalType temporalType) - Specified by:
setParameter
in interfaceCommonQueryContract
-
setParameter
ReactiveSelectionQuery<R> setParameter(String name, Calendar value, jakarta.persistence.TemporalType temporalType) - Specified by:
setParameter
in interfaceCommonQueryContract
-
setParameter
ReactiveSelectionQuery<R> setParameter(String name, Date value, jakarta.persistence.TemporalType temporalType) - Specified by:
setParameter
in interfaceCommonQueryContract
-
setParameter
- Specified by:
setParameter
in interfaceCommonQueryContract
-
setParameter
- Specified by:
setParameter
in interfaceCommonQueryContract
-
setParameter
- Specified by:
setParameter
in interfaceCommonQueryContract
-
setParameter
ReactiveSelectionQuery<R> setParameter(int position, Instant value, jakarta.persistence.TemporalType temporalType) - Specified by:
setParameter
in interfaceCommonQueryContract
-
setParameter
ReactiveSelectionQuery<R> setParameter(int position, Date value, jakarta.persistence.TemporalType temporalType) - Specified by:
setParameter
in interfaceCommonQueryContract
-
setParameter
ReactiveSelectionQuery<R> setParameter(int position, Calendar value, jakarta.persistence.TemporalType temporalType) - Specified by:
setParameter
in interfaceCommonQueryContract
-
setParameter
- Specified by:
setParameter
in interfaceCommonQueryContract
-
setParameter
- Specified by:
setParameter
in interfaceCommonQueryContract
-
setParameter
<P> ReactiveSelectionQuery<R> setParameter(QueryParameter<P> parameter, P val, BindableType<P> type) - Specified by:
setParameter
in interfaceCommonQueryContract
-
setParameter
- Specified by:
setParameter
in interfaceCommonQueryContract
-
setParameter
ReactiveSelectionQuery<R> setParameter(jakarta.persistence.Parameter<Calendar> param, Calendar value, jakarta.persistence.TemporalType temporalType) - Specified by:
setParameter
in interfaceCommonQueryContract
-
setParameter
ReactiveSelectionQuery<R> setParameter(jakarta.persistence.Parameter<Date> param, Date value, jakarta.persistence.TemporalType temporalType) - Specified by:
setParameter
in interfaceCommonQueryContract
-
setParameterList
- Specified by:
setParameterList
in interfaceCommonQueryContract
-
setParameterList
<P> ReactiveSelectionQuery<R> setParameterList(String name, Collection<? extends P> values, Class<P> javaType) - Specified by:
setParameterList
in interfaceCommonQueryContract
-
setParameterList
<P> ReactiveSelectionQuery<R> setParameterList(String name, Collection<? extends P> values, BindableType<P> type) - Specified by:
setParameterList
in interfaceCommonQueryContract
-
setParameterList
- Specified by:
setParameterList
in interfaceCommonQueryContract
-
setParameterList
- Specified by:
setParameterList
in interfaceCommonQueryContract
-
setParameterList
- Specified by:
setParameterList
in interfaceCommonQueryContract
-
setParameterList
- Specified by:
setParameterList
in interfaceCommonQueryContract
-
setParameterList
<P> ReactiveSelectionQuery<R> setParameterList(int position, Collection<? extends P> values, Class<P> javaType) - Specified by:
setParameterList
in interfaceCommonQueryContract
-
setParameterList
<P> ReactiveSelectionQuery<R> setParameterList(int position, Collection<? extends P> values, BindableType<P> type) - Specified by:
setParameterList
in interfaceCommonQueryContract
-
setParameterList
- Specified by:
setParameterList
in interfaceCommonQueryContract
-
setParameterList
- Specified by:
setParameterList
in interfaceCommonQueryContract
-
setParameterList
- Specified by:
setParameterList
in interfaceCommonQueryContract
-
setParameterList
<P> ReactiveSelectionQuery<R> setParameterList(QueryParameter<P> parameter, Collection<? extends P> values) - Specified by:
setParameterList
in interfaceCommonQueryContract
-
setParameterList
<P> ReactiveSelectionQuery<R> setParameterList(QueryParameter<P> parameter, Collection<? extends P> values, Class<P> javaType) - Specified by:
setParameterList
in interfaceCommonQueryContract
-
setParameterList
<P> ReactiveSelectionQuery<R> setParameterList(QueryParameter<P> parameter, Collection<? extends P> values, BindableType<P> type) - Specified by:
setParameterList
in interfaceCommonQueryContract
-
setParameterList
- Specified by:
setParameterList
in interfaceCommonQueryContract
-
setParameterList
<P> ReactiveSelectionQuery<R> setParameterList(QueryParameter<P> parameter, P[] values, Class<P> javaType) - Specified by:
setParameterList
in interfaceCommonQueryContract
-
setParameterList
<P> ReactiveSelectionQuery<R> setParameterList(QueryParameter<P> parameter, P[] values, BindableType<P> type) - Specified by:
setParameterList
in interfaceCommonQueryContract
-
setProperties
- Specified by:
setProperties
in interfaceCommonQueryContract
-
setProperties
- Specified by:
setProperties
in interfaceCommonQueryContract
-