Class ReactiveNamedSqmQueryMemento<E>

java.lang.Object
org.hibernate.reactive.query.sql.spi.ReactiveNamedSqmQueryMemento<E>
All Implemented Interfaces:
jakarta.persistence.TypedQueryReference<E>, org.hibernate.query.named.NamedQueryMemento<E>, org.hibernate.query.sqm.spi.NamedSqmQueryMemento<E>

public class ReactiveNamedSqmQueryMemento<E> extends Object implements org.hibernate.query.sqm.spi.NamedSqmQueryMemento<E>
See Also:
  • NamedNativeQueryMemento
  • Constructor Details

    • ReactiveNamedSqmQueryMemento

      public ReactiveNamedSqmQueryMemento(org.hibernate.query.sqm.spi.NamedSqmQueryMemento<E> delegate)
  • Method Details

    • getResultType

      public Class<? extends E> getResultType()
      Specified by:
      getResultType in interface jakarta.persistence.TypedQueryReference<E>
    • toQuery

      public org.hibernate.query.hql.spi.SqmQueryImplementor<E> toQuery(SharedSessionContractImplementor session)
      Specified by:
      toQuery in interface org.hibernate.query.named.NamedQueryMemento<E>
      Specified by:
      toQuery in interface org.hibernate.query.sqm.spi.NamedSqmQueryMemento<E>
    • toQuery

      public <T> org.hibernate.query.hql.spi.SqmQueryImplementor<T> toQuery(SharedSessionContractImplementor session, Class<T> resultType)
      Specified by:
      toQuery in interface org.hibernate.query.named.NamedQueryMemento<E>
      Specified by:
      toQuery in interface org.hibernate.query.sqm.spi.NamedSqmQueryMemento<E>
    • toSelectionQuery

      public <T> org.hibernate.query.sqm.SqmSelectionQuery<T> toSelectionQuery(Class<T> resultType, SharedSessionContractImplementor session)
      Specified by:
      toSelectionQuery in interface org.hibernate.query.sqm.spi.NamedSqmQueryMemento<E>
    • getHqlString

      public String getHqlString()
      Specified by:
      getHqlString in interface org.hibernate.query.sqm.spi.NamedSqmQueryMemento<E>
    • getSqmStatement

      public org.hibernate.query.sqm.tree.SqmStatement<E> getSqmStatement()
      Specified by:
      getSqmStatement in interface org.hibernate.query.sqm.spi.NamedSqmQueryMemento<E>
    • getFirstResult

      public Integer getFirstResult()
      Specified by:
      getFirstResult in interface org.hibernate.query.sqm.spi.NamedSqmQueryMemento<E>
    • getMaxResults

      public Integer getMaxResults()
      Specified by:
      getMaxResults in interface org.hibernate.query.sqm.spi.NamedSqmQueryMemento<E>
    • getLockOptions

      public LockOptions getLockOptions()
      Specified by:
      getLockOptions in interface org.hibernate.query.sqm.spi.NamedSqmQueryMemento<E>
    • getParameterTypes

      public Map<String,String> getParameterTypes()
      Specified by:
      getParameterTypes in interface org.hibernate.query.sqm.spi.NamedSqmQueryMemento<E>
    • makeCopy

      public org.hibernate.query.sqm.spi.NamedSqmQueryMemento<E> makeCopy(String name)
      Specified by:
      makeCopy in interface org.hibernate.query.named.NamedQueryMemento<E>
      Specified by:
      makeCopy in interface org.hibernate.query.sqm.spi.NamedSqmQueryMemento<E>
    • getRegistrationName

      public String getRegistrationName()
      Specified by:
      getRegistrationName in interface org.hibernate.query.named.NamedQueryMemento<E>
    • getCacheable

      public Boolean getCacheable()
      Specified by:
      getCacheable in interface org.hibernate.query.named.NamedQueryMemento<E>
    • getCacheRegion

      public String getCacheRegion()
      Specified by:
      getCacheRegion in interface org.hibernate.query.named.NamedQueryMemento<E>
    • getCacheMode

      public CacheMode getCacheMode()
      Specified by:
      getCacheMode in interface org.hibernate.query.named.NamedQueryMemento<E>
    • getFlushMode

      public FlushMode getFlushMode()
      Specified by:
      getFlushMode in interface org.hibernate.query.named.NamedQueryMemento<E>
    • getReadOnly

      public Boolean getReadOnly()
      Specified by:
      getReadOnly in interface org.hibernate.query.named.NamedQueryMemento<E>
    • getTimeout

      public Integer getTimeout()
      Specified by:
      getTimeout in interface org.hibernate.query.named.NamedQueryMemento<E>
    • getFetchSize

      public Integer getFetchSize()
      Specified by:
      getFetchSize in interface org.hibernate.query.named.NamedQueryMemento<E>
    • getComment

      public String getComment()
      Specified by:
      getComment in interface org.hibernate.query.named.NamedQueryMemento<E>
    • getHints

      public Map<String,Object> getHints()
      Specified by:
      getHints in interface org.hibernate.query.named.NamedQueryMemento<E>
      Specified by:
      getHints in interface jakarta.persistence.TypedQueryReference<E>
    • validate

      public void validate(QueryEngine queryEngine)
      Specified by:
      validate in interface org.hibernate.query.named.NamedQueryMemento<E>