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>
public interface ReactiveSelectionQuery<R> extends CommonQueryContract
- See Also:
SelectionQuery
-
-
Method Summary
-
Methods inherited from interface org.hibernate.query.CommonQueryContract
getComment, getFlushMode, getHibernateFlushMode, getTimeout, setComment
-
-
-
-
Method Detail
-
getQueryString
String getQueryString()
-
getReactiveResultList
default CompletionStage<List<R>> getReactiveResultList()
-
reactiveList
CompletionStage<List<R>> reactiveList()
-
getReactiveSingleResult
CompletionStage<R> getReactiveSingleResult()
-
getReactiveSingleResultOrNull
CompletionStage<R> getReactiveSingleResultOrNull()
-
reactiveUnique
CompletionStage<R> reactiveUnique()
-
reactiveUniqueResultOptional
CompletionStage<Optional<R>> reactiveUniqueResultOptional()
-
setHint
ReactiveSelectionQuery<R> setHint(String hintName, Object value)
- Specified by:
setHint
in interfaceCommonQueryContract
-
setFlushMode
ReactiveSelectionQuery<R> setFlushMode(jakarta.persistence.FlushModeType flushMode)
- Specified by:
setFlushMode
in interfaceCommonQueryContract
-
setHibernateFlushMode
ReactiveSelectionQuery<R> setHibernateFlushMode(FlushMode flushMode)
- Specified by:
setHibernateFlushMode
in interfaceCommonQueryContract
-
setTimeout
ReactiveSelectionQuery<R> setTimeout(int timeout)
- Specified by:
setTimeout
in interfaceCommonQueryContract
-
getFetchSize
Integer getFetchSize()
-
setFetchSize
ReactiveSelectionQuery<R> setFetchSize(int fetchSize)
-
isReadOnly
boolean isReadOnly()
-
setReadOnly
ReactiveSelectionQuery<R> setReadOnly(boolean readOnly)
-
setMaxResults
ReactiveSelectionQuery<R> setMaxResults(int maxResult)
-
getFirstResult
int getFirstResult()
-
getMaxResults
int getMaxResults()
-
setFirstResult
ReactiveSelectionQuery<R> setFirstResult(int startPosition)
-
getCacheMode
CacheMode getCacheMode()
-
getCacheStoreMode
jakarta.persistence.CacheStoreMode getCacheStoreMode()
-
getCacheRetrieveMode
jakarta.persistence.CacheRetrieveMode getCacheRetrieveMode()
-
setCacheMode
ReactiveSelectionQuery<R> setCacheMode(CacheMode cacheMode)
-
setCacheStoreMode
ReactiveSelectionQuery<R> setCacheStoreMode(jakarta.persistence.CacheStoreMode cacheStoreMode)
-
setCacheRetrieveMode
ReactiveSelectionQuery<R> setCacheRetrieveMode(jakarta.persistence.CacheRetrieveMode cacheRetrieveMode)
- See Also:
setCacheMode(CacheMode)
-
isCacheable
boolean isCacheable()
-
setCacheable
ReactiveSelectionQuery<R> setCacheable(boolean cacheable)
-
getCacheRegion
String getCacheRegion()
-
setCacheRegion
ReactiveSelectionQuery<R> setCacheRegion(String cacheRegion)
-
getLockOptions
LockOptions getLockOptions()
-
getLockMode
jakarta.persistence.LockModeType getLockMode()
-
setLockMode
ReactiveSelectionQuery<R> setLockMode(jakarta.persistence.LockModeType lockMode)
-
getHibernateLockMode
LockMode getHibernateLockMode()
-
setHibernateLockMode
ReactiveSelectionQuery<R> setHibernateLockMode(LockMode lockMode)
-
setLockMode
ReactiveSelectionQuery<R> setLockMode(String alias, LockMode lockMode)
-
setAliasSpecificLockMode
@Deprecated ReactiveSelectionQuery<R> setAliasSpecificLockMode(String alias, LockMode lockMode)
Deprecated.
-
setFollowOnLocking
ReactiveSelectionQuery<R> setFollowOnLocking(boolean enable)
-
applyGraph
void applyGraph(RootGraphImplementor<?> graph, GraphSemantic semantic)
-
setOrder
ReactiveSelectionQuery<R> setOrder(List<Order<? super R>> orderList)
-
setOrder
ReactiveSelectionQuery<R> setOrder(Order<? super R> order)
-
enableFetchProfile
ReactiveSelectionQuery<R> enableFetchProfile(String profileName)
-
setParameter
ReactiveSelectionQuery<R> setParameter(String name, Object value)
- Specified by:
setParameter
in interfaceCommonQueryContract
-
setParameter
<P> ReactiveSelectionQuery<R> setParameter(String name, P value, Class<P> type)
- Specified by:
setParameter
in interfaceCommonQueryContract
-
setParameter
<P> ReactiveSelectionQuery<R> setParameter(String name, P value, BindableType<P> type)
- 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
ReactiveSelectionQuery<R> setParameter(int position, Object value)
- Specified by:
setParameter
in interfaceCommonQueryContract
-
setParameter
<P> ReactiveSelectionQuery<R> setParameter(int position, P value, Class<P> type)
- Specified by:
setParameter
in interfaceCommonQueryContract
-
setParameter
<P> ReactiveSelectionQuery<R> setParameter(int position, P value, BindableType<P> type)
- 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
<T> ReactiveSelectionQuery<R> setParameter(QueryParameter<T> parameter, T value)
- Specified by:
setParameter
in interfaceCommonQueryContract
-
setParameter
<P> ReactiveSelectionQuery<R> setParameter(QueryParameter<P> parameter, P value, Class<P> type)
- Specified by:
setParameter
in interfaceCommonQueryContract
-
setParameter
<P> ReactiveSelectionQuery<R> setParameter(QueryParameter<P> parameter, P val, BindableType<P> type)
- Specified by:
setParameter
in interfaceCommonQueryContract
-
setParameter
<T> ReactiveSelectionQuery<R> setParameter(jakarta.persistence.Parameter<T> param, T value)
- 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
ReactiveSelectionQuery<R> setParameterList(String name, Collection values)
- 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
ReactiveSelectionQuery<R> setParameterList(String name, Object[] values)
- Specified by:
setParameterList
in interfaceCommonQueryContract
-
setParameterList
<P> ReactiveSelectionQuery<R> setParameterList(String name, P[] values, Class<P> javaType)
- Specified by:
setParameterList
in interfaceCommonQueryContract
-
setParameterList
<P> ReactiveSelectionQuery<R> setParameterList(String name, P[] values, BindableType<P> type)
- Specified by:
setParameterList
in interfaceCommonQueryContract
-
setParameterList
ReactiveSelectionQuery<R> setParameterList(int position, Collection values)
- 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
ReactiveSelectionQuery<R> setParameterList(int position, Object[] values)
- Specified by:
setParameterList
in interfaceCommonQueryContract
-
setParameterList
<P> ReactiveSelectionQuery<R> setParameterList(int position, P[] values, Class<P> javaType)
- Specified by:
setParameterList
in interfaceCommonQueryContract
-
setParameterList
<P> ReactiveSelectionQuery<R> setParameterList(int position, P[] values, BindableType<P> type)
- 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
<P> ReactiveSelectionQuery<R> setParameterList(QueryParameter<P> parameter, P[] values)
- 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
ReactiveSelectionQuery<R> setProperties(Object bean)
- Specified by:
setProperties
in interfaceCommonQueryContract
-
setProperties
ReactiveSelectionQuery<R> setProperties(Map bean)
- Specified by:
setProperties
in interfaceCommonQueryContract
-
-