Class ReactiveSqmSelectionQueryImpl<R>

java.lang.Object
org.hibernate.query.spi.AbstractCommonQueryContract
org.hibernate.query.spi.AbstractSelectionQuery<R>
org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
org.hibernate.reactive.query.sqm.internal.ReactiveSqmSelectionQueryImpl<R>
Type Parameters:
R -
All Implemented Interfaces:
org.hibernate.query.CommonQueryContract, org.hibernate.query.SelectionQuery<R>, org.hibernate.query.spi.DomainQueryExecutionContext, org.hibernate.query.spi.SqmQuery<R>, org.hibernate.query.sqm.spi.CacheabilityInfluencers, org.hibernate.query.sqm.spi.InterpretationsKeySource, org.hibernate.query.sqm.spi.SqmSelectionQueryImplementor<R>, org.hibernate.query.sqm.SqmSelectionQuery<R>, ReactiveSelectionQuery<R>, ReactiveSqmSelectionQuery<R>

public class ReactiveSqmSelectionQueryImpl<R> extends org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R> implements ReactiveSqmSelectionQuery<R>
A reactive SqmSelectionQueryImpl
  • Constructor Details

    • ReactiveSqmSelectionQueryImpl

      public ReactiveSqmSelectionQueryImpl(String hql, org.hibernate.query.spi.HqlInterpretation hqlInterpretation, Class<R> expectedResultType, org.hibernate.engine.spi.SharedSessionContractImplementor session)
    • ReactiveSqmSelectionQueryImpl

      public ReactiveSqmSelectionQueryImpl(org.hibernate.query.sqm.tree.select.SqmSelectStatement<R> criteria, Class<R> expectedResultType, org.hibernate.engine.spi.SharedSessionContractImplementor session)
  • Method Details

    • setFlushMode

      public ReactiveSqmSelectionQueryImpl<R> setFlushMode(jakarta.persistence.FlushModeType flushMode)
      Specified by:
      setFlushMode in interface org.hibernate.query.CommonQueryContract
      Specified by:
      setFlushMode in interface ReactiveSelectionQuery<R>
      Specified by:
      setFlushMode in interface org.hibernate.query.SelectionQuery<R>
      Overrides:
      setFlushMode in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • getReactiveSingleResult

      public CompletionStage<R> getReactiveSingleResult()
      Specified by:
      getReactiveSingleResult in interface ReactiveSelectionQuery<R>
    • reactiveList

      public CompletionStage<List<R>> reactiveList()
      Specified by:
      reactiveList in interface ReactiveSelectionQuery<R>
    • getReactiveSingleResultOrNull

      public CompletionStage<R> getReactiveSingleResultOrNull()
      Specified by:
      getReactiveSingleResultOrNull in interface ReactiveSelectionQuery<R>
    • reactiveUnique

      public CompletionStage<R> reactiveUnique()
      Specified by:
      reactiveUnique in interface ReactiveSelectionQuery<R>
    • reactiveUniqueResultOptional

      public CompletionStage<Optional<R>> reactiveUniqueResultOptional()
      Specified by:
      reactiveUniqueResultOptional in interface ReactiveSelectionQuery<R>
    • getSingleResult

      public R getSingleResult()
      Specified by:
      getSingleResult in interface org.hibernate.query.SelectionQuery<R>
      Overrides:
      getSingleResult in class org.hibernate.query.spi.AbstractSelectionQuery<R>
    • getSingleResultOrNull

      public R getSingleResultOrNull()
      Specified by:
      getSingleResultOrNull in interface org.hibernate.query.SelectionQuery<R>
      Overrides:
      getSingleResultOrNull in class org.hibernate.query.spi.AbstractSelectionQuery<R>
    • getReactiveResultCount

      public CompletionStage<Long> getReactiveResultCount()
      Specified by:
      getReactiveResultCount in interface ReactiveSelectionQuery<R>
    • getCallback

      public org.hibernate.sql.exec.spi.Callback getCallback()
      Specified by:
      getCallback in interface org.hibernate.query.spi.DomainQueryExecutionContext
      Overrides:
      getCallback in class org.hibernate.query.spi.AbstractSelectionQuery<R>
    • getResultList

      public List<R> getResultList()
      Specified by:
      getResultList in interface org.hibernate.query.SelectionQuery<R>
    • getResultStream

      public Stream<R> getResultStream()
      Specified by:
      getResultStream in interface org.hibernate.query.SelectionQuery<R>
      Overrides:
      getResultStream in class org.hibernate.query.spi.AbstractSelectionQuery<R>
    • setLockMode

      public ReactiveSqmSelectionQueryImpl<R> setLockMode(jakarta.persistence.LockModeType lockMode)
      Specified by:
      setLockMode in interface ReactiveSelectionQuery<R>
      Specified by:
      setLockMode in interface org.hibernate.query.SelectionQuery<R>
      Overrides:
      setLockMode in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setHibernateLockMode

      public ReactiveSqmSelectionQueryImpl<R> setHibernateLockMode(org.hibernate.LockMode lockMode)
      Specified by:
      setHibernateLockMode in interface ReactiveSelectionQuery<R>
      Specified by:
      setHibernateLockMode in interface org.hibernate.query.SelectionQuery<R>
      Overrides:
      setHibernateLockMode in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setLockMode

      public ReactiveSqmSelectionQueryImpl<R> setLockMode(String alias, org.hibernate.LockMode lockMode)
      Specified by:
      setLockMode in interface ReactiveSelectionQuery<R>
      Specified by:
      setLockMode in interface org.hibernate.query.SelectionQuery<R>
      Overrides:
      setLockMode in class org.hibernate.query.spi.AbstractSelectionQuery<R>
    • setFollowOnLocking

      public ReactiveSqmSelectionQueryImpl<R> setFollowOnLocking(boolean enable)
      Specified by:
      setFollowOnLocking in interface ReactiveSelectionQuery<R>
      Specified by:
      setFollowOnLocking in interface org.hibernate.query.SelectionQuery<R>
      Overrides:
      setFollowOnLocking in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setFetchSize

      public ReactiveSqmSelectionQueryImpl<R> setFetchSize(int fetchSize)
      Specified by:
      setFetchSize in interface ReactiveSelectionQuery<R>
      Specified by:
      setFetchSize in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setFetchSize in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setFetchSize in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setFetchSize in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setReadOnly

      public ReactiveSqmSelectionQueryImpl<R> setReadOnly(boolean readOnly)
      Specified by:
      setReadOnly in interface ReactiveSelectionQuery<R>
      Specified by:
      setReadOnly in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setReadOnly in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setReadOnly in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setReadOnly in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setCacheMode

      public ReactiveSqmSelectionQueryImpl<R> setCacheMode(org.hibernate.CacheMode cacheMode)
      Specified by:
      setCacheMode in interface ReactiveSelectionQuery<R>
      Specified by:
      setCacheMode in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setCacheMode in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setCacheMode in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setCacheMode in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setCacheRetrieveMode

      public ReactiveSqmSelectionQueryImpl<R> setCacheRetrieveMode(jakarta.persistence.CacheRetrieveMode cacheRetrieveMode)
      Specified by:
      setCacheRetrieveMode in interface ReactiveSelectionQuery<R>
      Specified by:
      setCacheRetrieveMode in interface org.hibernate.query.SelectionQuery<R>
      Overrides:
      setCacheRetrieveMode in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
      See Also:
    • setCacheStoreMode

      public ReactiveSqmSelectionQueryImpl<R> setCacheStoreMode(jakarta.persistence.CacheStoreMode cacheStoreMode)
      Specified by:
      setCacheStoreMode in interface ReactiveSelectionQuery<R>
      Specified by:
      setCacheStoreMode in interface org.hibernate.query.SelectionQuery<R>
      Overrides:
      setCacheStoreMode in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setCacheable

      public ReactiveSqmSelectionQueryImpl<R> setCacheable(boolean cacheable)
      Specified by:
      setCacheable in interface ReactiveSelectionQuery<R>
      Specified by:
      setCacheable in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setCacheable in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setCacheable in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setCacheable in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setCacheRegion

      public ReactiveSqmSelectionQueryImpl<R> setCacheRegion(String regionName)
      Specified by:
      setCacheRegion in interface ReactiveSelectionQuery<R>
      Specified by:
      setCacheRegion in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setCacheRegion in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setCacheRegion in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setCacheRegion in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setHibernateFlushMode

      public ReactiveSqmSelectionQueryImpl<R> setHibernateFlushMode(org.hibernate.FlushMode flushMode)
      Specified by:
      setHibernateFlushMode in interface org.hibernate.query.CommonQueryContract
      Specified by:
      setHibernateFlushMode in interface ReactiveSelectionQuery<R>
      Specified by:
      setHibernateFlushMode in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setHibernateFlushMode in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setHibernateFlushMode in interface org.hibernate.query.spi.SqmQuery<R>
      Specified by:
      setHibernateFlushMode in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setHibernateFlushMode in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setTimeout

      public ReactiveSqmSelectionQueryImpl<R> setTimeout(int timeout)
      Specified by:
      setTimeout in interface org.hibernate.query.CommonQueryContract
      Specified by:
      setTimeout in interface ReactiveSelectionQuery<R>
      Specified by:
      setTimeout in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setTimeout in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setTimeout in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setTimeout in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setMaxResults

      public ReactiveSqmSelectionQueryImpl<R> setMaxResults(int maxResult)
      Specified by:
      setMaxResults in interface ReactiveSelectionQuery<R>
      Specified by:
      setMaxResults in interface org.hibernate.query.SelectionQuery<R>
      Overrides:
      setMaxResults in class org.hibernate.query.spi.AbstractSelectionQuery<R>
    • setFirstResult

      public ReactiveSqmSelectionQueryImpl<R> setFirstResult(int startPosition)
      Specified by:
      setFirstResult in interface ReactiveSelectionQuery<R>
      Specified by:
      setFirstResult in interface org.hibernate.query.SelectionQuery<R>
      Overrides:
      setFirstResult in class org.hibernate.query.spi.AbstractSelectionQuery<R>
    • setHint

      public ReactiveSqmSelectionQueryImpl<R> setHint(String hintName, Object value)
      Specified by:
      setHint in interface org.hibernate.query.CommonQueryContract
      Specified by:
      setHint in interface ReactiveSelectionQuery<R>
      Specified by:
      setHint in interface org.hibernate.query.SelectionQuery<R>
      Overrides:
      setHint in class org.hibernate.query.spi.AbstractSelectionQuery<R>
    • setParameter

      public ReactiveSqmSelectionQueryImpl<R> setParameter(String name, Object value)
      Specified by:
      setParameter in interface org.hibernate.query.CommonQueryContract
      Specified by:
      setParameter in interface ReactiveSelectionQuery<R>
      Specified by:
      setParameter in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.spi.SqmQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setParameter in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setParameter

      public <P> ReactiveSqmSelectionQueryImpl<R> setParameter(String name, P value, Class<P> javaType)
      Specified by:
      setParameter in interface org.hibernate.query.CommonQueryContract
      Specified by:
      setParameter in interface ReactiveSelectionQuery<R>
      Specified by:
      setParameter in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.spi.SqmQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setParameter in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setParameter

      public <P> ReactiveSqmSelectionQueryImpl<R> setParameter(String name, P value, jakarta.persistence.metamodel.Type<P> type)
      Specified by:
      setParameter in interface org.hibernate.query.CommonQueryContract
      Specified by:
      setParameter in interface ReactiveSelectionQuery<R>
      Specified by:
      setParameter in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.spi.SqmQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setParameter in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setParameter

      public ReactiveSqmSelectionQueryImpl<R> setParameter(String name, Instant value, jakarta.persistence.TemporalType temporalType)
      Specified by:
      setParameter in interface org.hibernate.query.CommonQueryContract
      Specified by:
      setParameter in interface ReactiveSelectionQuery<R>
      Specified by:
      setParameter in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.spi.SqmQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setParameter in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setParameter

      public ReactiveSqmSelectionQueryImpl<R> setParameter(int position, Object value)
      Specified by:
      setParameter in interface org.hibernate.query.CommonQueryContract
      Specified by:
      setParameter in interface ReactiveSelectionQuery<R>
      Specified by:
      setParameter in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.spi.SqmQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setParameter in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setParameter

      public <P> ReactiveSqmSelectionQueryImpl<R> setParameter(int position, P value, Class<P> javaType)
      Specified by:
      setParameter in interface org.hibernate.query.CommonQueryContract
      Specified by:
      setParameter in interface ReactiveSelectionQuery<R>
      Specified by:
      setParameter in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.spi.SqmQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setParameter in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setParameter

      public <P> ReactiveSqmSelectionQueryImpl<R> setParameter(int position, P value, jakarta.persistence.metamodel.Type<P> type)
      Specified by:
      setParameter in interface org.hibernate.query.CommonQueryContract
      Specified by:
      setParameter in interface ReactiveSelectionQuery<R>
      Specified by:
      setParameter in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.spi.SqmQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setParameter in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setParameter

      public ReactiveSqmSelectionQueryImpl<R> setParameter(int position, Instant value, jakarta.persistence.TemporalType temporalType)
      Specified by:
      setParameter in interface org.hibernate.query.CommonQueryContract
      Specified by:
      setParameter in interface ReactiveSelectionQuery<R>
      Specified by:
      setParameter in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.spi.SqmQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setParameter in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setParameter

      public <P> ReactiveSqmSelectionQueryImpl<R> setParameter(org.hibernate.query.QueryParameter<P> parameter, P value)
      Specified by:
      setParameter in interface org.hibernate.query.CommonQueryContract
      Specified by:
      setParameter in interface ReactiveSelectionQuery<R>
      Specified by:
      setParameter in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.spi.SqmQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setParameter in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setParameter

      public <P> ReactiveSqmSelectionQueryImpl<R> setParameter(org.hibernate.query.QueryParameter<P> parameter, P value, Class<P> javaType)
      Specified by:
      setParameter in interface org.hibernate.query.CommonQueryContract
      Specified by:
      setParameter in interface ReactiveSelectionQuery<R>
      Specified by:
      setParameter in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.spi.SqmQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setParameter in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setParameter

      public <P> ReactiveSqmSelectionQueryImpl<R> setParameter(org.hibernate.query.QueryParameter<P> parameter, P value, jakarta.persistence.metamodel.Type<P> type)
      Specified by:
      setParameter in interface org.hibernate.query.CommonQueryContract
      Specified by:
      setParameter in interface ReactiveSelectionQuery<R>
      Specified by:
      setParameter in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.spi.SqmQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setParameter in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setParameter

      public <P> ReactiveSqmSelectionQueryImpl<R> setParameter(jakarta.persistence.Parameter<P> parameter, P value)
      Specified by:
      setParameter in interface org.hibernate.query.CommonQueryContract
      Specified by:
      setParameter in interface ReactiveSelectionQuery<R>
      Specified by:
      setParameter in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.spi.SqmQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setParameter in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setParameter

      public ReactiveSqmSelectionQueryImpl<R> setParameter(jakarta.persistence.Parameter<Calendar> param, Calendar value, jakarta.persistence.TemporalType temporalType)
      Specified by:
      setParameter in interface org.hibernate.query.CommonQueryContract
      Specified by:
      setParameter in interface ReactiveSelectionQuery<R>
      Specified by:
      setParameter in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.spi.SqmQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setParameter in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setParameter

      public ReactiveSqmSelectionQueryImpl<R> setParameter(jakarta.persistence.Parameter<Date> param, Date value, jakarta.persistence.TemporalType temporalType)
      Specified by:
      setParameter in interface org.hibernate.query.CommonQueryContract
      Specified by:
      setParameter in interface ReactiveSelectionQuery<R>
      Specified by:
      setParameter in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.spi.SqmQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setParameter in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setParameter

      public ReactiveSqmSelectionQueryImpl<R> setParameter(String name, Calendar value, jakarta.persistence.TemporalType temporalType)
      Specified by:
      setParameter in interface org.hibernate.query.CommonQueryContract
      Specified by:
      setParameter in interface ReactiveSelectionQuery<R>
      Specified by:
      setParameter in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.spi.SqmQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setParameter in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setParameter

      public ReactiveSqmSelectionQueryImpl<R> setParameter(String name, Date value, jakarta.persistence.TemporalType temporalType)
      Specified by:
      setParameter in interface org.hibernate.query.CommonQueryContract
      Specified by:
      setParameter in interface ReactiveSelectionQuery<R>
      Specified by:
      setParameter in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.spi.SqmQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setParameter in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setParameter

      public ReactiveSqmSelectionQueryImpl<R> setParameter(int position, Calendar value, jakarta.persistence.TemporalType temporalType)
      Specified by:
      setParameter in interface org.hibernate.query.CommonQueryContract
      Specified by:
      setParameter in interface ReactiveSelectionQuery<R>
      Specified by:
      setParameter in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.spi.SqmQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setParameter in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setParameter

      public ReactiveSqmSelectionQueryImpl<R> setParameter(int position, Date value, jakarta.persistence.TemporalType temporalType)
      Specified by:
      setParameter in interface org.hibernate.query.CommonQueryContract
      Specified by:
      setParameter in interface ReactiveSelectionQuery<R>
      Specified by:
      setParameter in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.spi.SqmQuery<R>
      Specified by:
      setParameter in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setParameter in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setParameterList

      public ReactiveSqmSelectionQueryImpl<R> setParameterList(String name, Collection values)
      Specified by:
      setParameterList in interface org.hibernate.query.CommonQueryContract
      Specified by:
      setParameterList in interface ReactiveSelectionQuery<R>
      Specified by:
      setParameterList in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.spi.SqmQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setParameterList in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setParameterList

      public <P> ReactiveSqmSelectionQueryImpl<R> setParameterList(String name, Collection<? extends P> values, Class<P> javaType)
      Specified by:
      setParameterList in interface org.hibernate.query.CommonQueryContract
      Specified by:
      setParameterList in interface ReactiveSelectionQuery<R>
      Specified by:
      setParameterList in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.spi.SqmQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setParameterList in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setParameterList

      public <P> ReactiveSqmSelectionQueryImpl<R> setParameterList(String name, Collection<? extends P> values, jakarta.persistence.metamodel.Type<P> type)
      Specified by:
      setParameterList in interface org.hibernate.query.CommonQueryContract
      Specified by:
      setParameterList in interface ReactiveSelectionQuery<R>
      Specified by:
      setParameterList in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.spi.SqmQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setParameterList in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setParameterList

      public ReactiveSqmSelectionQueryImpl<R> setParameterList(String name, Object[] values)
      Specified by:
      setParameterList in interface org.hibernate.query.CommonQueryContract
      Specified by:
      setParameterList in interface ReactiveSelectionQuery<R>
      Specified by:
      setParameterList in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.spi.SqmQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setParameterList in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setParameterList

      public <P> ReactiveSqmSelectionQueryImpl<R> setParameterList(String name, P[] values, Class<P> javaType)
      Specified by:
      setParameterList in interface org.hibernate.query.CommonQueryContract
      Specified by:
      setParameterList in interface ReactiveSelectionQuery<R>
      Specified by:
      setParameterList in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.spi.SqmQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setParameterList in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setParameterList

      public <P> ReactiveSqmSelectionQueryImpl<R> setParameterList(String name, P[] values, jakarta.persistence.metamodel.Type<P> type)
      Specified by:
      setParameterList in interface org.hibernate.query.CommonQueryContract
      Specified by:
      setParameterList in interface ReactiveSelectionQuery<R>
      Specified by:
      setParameterList in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.spi.SqmQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setParameterList in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setParameterList

      public ReactiveSqmSelectionQueryImpl<R> setParameterList(int position, Collection values)
      Specified by:
      setParameterList in interface org.hibernate.query.CommonQueryContract
      Specified by:
      setParameterList in interface ReactiveSelectionQuery<R>
      Specified by:
      setParameterList in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.spi.SqmQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setParameterList in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setParameterList

      public <P> ReactiveSqmSelectionQueryImpl<R> setParameterList(int position, Collection<? extends P> values, Class<P> javaType)
      Specified by:
      setParameterList in interface org.hibernate.query.CommonQueryContract
      Specified by:
      setParameterList in interface ReactiveSelectionQuery<R>
      Specified by:
      setParameterList in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.spi.SqmQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setParameterList in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setParameterList

      public <P> ReactiveSqmSelectionQueryImpl<R> setParameterList(int position, Collection<? extends P> values, jakarta.persistence.metamodel.Type<P> type)
      Specified by:
      setParameterList in interface org.hibernate.query.CommonQueryContract
      Specified by:
      setParameterList in interface ReactiveSelectionQuery<R>
      Specified by:
      setParameterList in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.spi.SqmQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setParameterList in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setParameterList

      public ReactiveSqmSelectionQueryImpl<R> setParameterList(int position, Object[] values)
      Specified by:
      setParameterList in interface org.hibernate.query.CommonQueryContract
      Specified by:
      setParameterList in interface ReactiveSelectionQuery<R>
      Specified by:
      setParameterList in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.spi.SqmQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setParameterList in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setParameterList

      public <P> ReactiveSqmSelectionQueryImpl<R> setParameterList(int position, P[] values, Class<P> javaType)
      Specified by:
      setParameterList in interface org.hibernate.query.CommonQueryContract
      Specified by:
      setParameterList in interface ReactiveSelectionQuery<R>
      Specified by:
      setParameterList in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.spi.SqmQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setParameterList in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setParameterList

      public <P> ReactiveSqmSelectionQueryImpl<R> setParameterList(int position, P[] values, jakarta.persistence.metamodel.Type<P> type)
      Specified by:
      setParameterList in interface org.hibernate.query.CommonQueryContract
      Specified by:
      setParameterList in interface ReactiveSelectionQuery<R>
      Specified by:
      setParameterList in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.spi.SqmQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setParameterList in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setParameterList

      public <P> ReactiveSqmSelectionQueryImpl<R> setParameterList(org.hibernate.query.QueryParameter<P> parameter, Collection<? extends P> values)
      Specified by:
      setParameterList in interface org.hibernate.query.CommonQueryContract
      Specified by:
      setParameterList in interface ReactiveSelectionQuery<R>
      Specified by:
      setParameterList in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.spi.SqmQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setParameterList in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setParameterList

      public <P> ReactiveSqmSelectionQueryImpl<R> setParameterList(org.hibernate.query.QueryParameter<P> parameter, Collection<? extends P> values, Class<P> javaType)
      Specified by:
      setParameterList in interface org.hibernate.query.CommonQueryContract
      Specified by:
      setParameterList in interface ReactiveSelectionQuery<R>
      Specified by:
      setParameterList in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.spi.SqmQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setParameterList in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setParameterList

      public <P> ReactiveSqmSelectionQueryImpl<R> setParameterList(org.hibernate.query.QueryParameter<P> parameter, Collection<? extends P> values, jakarta.persistence.metamodel.Type<P> type)
      Specified by:
      setParameterList in interface org.hibernate.query.CommonQueryContract
      Specified by:
      setParameterList in interface ReactiveSelectionQuery<R>
      Specified by:
      setParameterList in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.spi.SqmQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setParameterList in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setParameterList

      public <P> ReactiveSqmSelectionQueryImpl<R> setParameterList(org.hibernate.query.QueryParameter<P> parameter, P[] values)
      Specified by:
      setParameterList in interface org.hibernate.query.CommonQueryContract
      Specified by:
      setParameterList in interface ReactiveSelectionQuery<R>
      Specified by:
      setParameterList in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.spi.SqmQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setParameterList in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setParameterList

      public <P> ReactiveSqmSelectionQueryImpl<R> setParameterList(org.hibernate.query.QueryParameter<P> parameter, P[] values, Class<P> javaType)
      Specified by:
      setParameterList in interface org.hibernate.query.CommonQueryContract
      Specified by:
      setParameterList in interface ReactiveSelectionQuery<R>
      Specified by:
      setParameterList in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.spi.SqmQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setParameterList in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setParameterList

      public <P> ReactiveSqmSelectionQueryImpl<R> setParameterList(org.hibernate.query.QueryParameter<P> parameter, P[] values, jakarta.persistence.metamodel.Type<P> type)
      Specified by:
      setParameterList in interface org.hibernate.query.CommonQueryContract
      Specified by:
      setParameterList in interface ReactiveSelectionQuery<R>
      Specified by:
      setParameterList in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.spi.SqmQuery<R>
      Specified by:
      setParameterList in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setParameterList in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setProperties

      public ReactiveSqmSelectionQueryImpl<R> setProperties(Map map)
      Specified by:
      setProperties in interface org.hibernate.query.CommonQueryContract
      Specified by:
      setProperties in interface ReactiveSelectionQuery<R>
      Specified by:
      setProperties in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setProperties in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setProperties in interface org.hibernate.query.spi.SqmQuery<R>
      Specified by:
      setProperties in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setProperties in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • setProperties

      public ReactiveSqmSelectionQueryImpl<R> setProperties(Object bean)
      Specified by:
      setProperties in interface org.hibernate.query.CommonQueryContract
      Specified by:
      setProperties in interface ReactiveSelectionQuery<R>
      Specified by:
      setProperties in interface ReactiveSqmSelectionQuery<R>
      Specified by:
      setProperties in interface org.hibernate.query.SelectionQuery<R>
      Specified by:
      setProperties in interface org.hibernate.query.spi.SqmQuery<R>
      Specified by:
      setProperties in interface org.hibernate.query.sqm.SqmSelectionQuery<R>
      Overrides:
      setProperties in class org.hibernate.query.sqm.internal.SqmSelectionQueryImpl<R>
    • applyGraph

      public void applyGraph(org.hibernate.graph.spi.RootGraphImplementor<?> graph, org.hibernate.graph.GraphSemantic semantic)
      Specified by:
      applyGraph in interface ReactiveSelectionQuery<R>
      Overrides:
      applyGraph in class org.hibernate.query.spi.AbstractCommonQueryContract
    • enableFetchProfile

      public ReactiveSqmSelectionQueryImpl<R> enableFetchProfile(String profileName)
      Specified by:
      enableFetchProfile in interface ReactiveSelectionQuery<R>
      Specified by:
      enableFetchProfile in interface org.hibernate.query.SelectionQuery<R>
      Overrides:
      enableFetchProfile in class org.hibernate.query.spi.AbstractSelectionQuery<R>
    • max

      protected int max(boolean arg0, org.hibernate.query.sqm.tree.select.SqmSelectStatement<?> arg1, List<R> arg2)
    • first

      protected int first(boolean arg0, org.hibernate.query.sqm.tree.select.SqmSelectStatement<?> arg1)
    • hasLimit

      protected static boolean hasLimit(org.hibernate.query.sqm.tree.select.SqmSelectStatement<?> arg0, org.hibernate.query.spi.MutableQueryOptions arg1)
    • needsDistinct

      protected boolean needsDistinct(boolean arg0, boolean arg1, org.hibernate.query.sqm.tree.select.SqmSelectStatement<?> arg2)
    • hasAppliedGraph

      protected static boolean hasAppliedGraph(org.hibernate.query.spi.MutableQueryOptions arg0)
    • errorOrLogForPaginationWithCollectionFetch

      protected void errorOrLogForPaginationWithCollectionFetch()
    • copyParameterBindings

      protected void copyParameterBindings(org.hibernate.query.spi.QueryParameterBindings arg0)
    • bindCriteriaParameter

      protected <T extends Object> void bindCriteriaParameter(org.hibernate.query.sqm.tree.expression.SqmJpaCriteriaParameterWrapper<T> arg0)
    • setPage

      public org.hibernate.query.SelectionQuery<R> setPage(org.hibernate.query.Page arg0)
    • getKeyedResultList

      public org.hibernate.query.KeyedResultList<R> getKeyedResultList(org.hibernate.query.KeyedPage<R> arg0)
    • buildSelectQueryPlan

      protected org.hibernate.query.spi.SelectQueryPlan<R> buildSelectQueryPlan()
    • buildConcreteQueryPlan

      protected org.hibernate.query.spi.SelectQueryPlan<R> buildConcreteQueryPlan(org.hibernate.query.sqm.tree.select.SqmSelectStatement<R> arg0)
    • buildConcreteQueryPlan

      protected <T extends Object> org.hibernate.query.sqm.internal.ConcreteSqmSelectQueryPlan<T> buildConcreteQueryPlan(org.hibernate.query.sqm.tree.select.SqmSelectStatement<T> arg0, Class<T> arg1, org.hibernate.sql.results.internal.TupleMetadata arg2, org.hibernate.query.spi.QueryOptions arg3)
    • applySqmOptions

      protected void applySqmOptions(org.hibernate.query.sqm.spi.NamedSqmQueryMemento<?> arg0)
    • buildTupleMetadata

      protected org.hibernate.sql.results.internal.TupleMetadata buildTupleMetadata(org.hibernate.query.sqm.tree.SqmStatement<?> arg0, Class<R> arg1)
    • interpretation

      protected static <T extends Object> org.hibernate.query.spi.HqlInterpretation<T> interpretation(org.hibernate.query.sqm.spi.NamedSqmQueryMemento<?> arg0, Class<T> arg1, org.hibernate.engine.spi.SharedSessionContractImplementor arg2)