Package org.hibernate.query.sqm.spi
Interface NamedSqmQueryMemento
-
- All Superinterfaces:
NamedQueryMemento
- All Known Implementing Classes:
NamedCriteriaQueryMementoImpl,NamedHqlQueryMementoImpl
public interface NamedSqmQueryMemento extends NamedQueryMemento
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.hibernate.query.named.NamedQueryMemento
NamedQueryMemento.ParameterMemento
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IntegergetFirstResult()StringgetHqlString()LockOptionsgetLockOptions()IntegergetMaxResults()Map<String,String>getParameterTypes()SqmStatement<?>getSqmStatement()NamedSqmQueryMementomakeCopy(String name)Makes a copy of the memento using the specified registration name<T> SqmQueryImplementor<T>toQuery(SharedSessionContractImplementor session)Convert the memento into an untyped executable query<T> SqmQueryImplementor<T>toQuery(SharedSessionContractImplementor session, Class<T> resultType)<T> SqmSelectionQuery<T>toSelectionQuery(Class<T> resultType, SharedSessionContractImplementor session)-
Methods inherited from interface org.hibernate.query.named.NamedQueryMemento
getCacheable, getCacheMode, getCacheRegion, getComment, getFetchSize, getFlushMode, getHints, getReadOnly, getRegistrationName, getTimeout, validate
-
-
-
-
Method Detail
-
toQuery
<T> SqmQueryImplementor<T> toQuery(SharedSessionContractImplementor session, Class<T> resultType)
- Specified by:
toQueryin interfaceNamedQueryMemento
-
toQuery
<T> SqmQueryImplementor<T> toQuery(SharedSessionContractImplementor session)
Convert the memento into an untyped executable query- Specified by:
toQueryin interfaceNamedQueryMemento
-
toSelectionQuery
<T> SqmSelectionQuery<T> toSelectionQuery(Class<T> resultType, SharedSessionContractImplementor session)
-
getHqlString
String getHqlString()
-
getSqmStatement
SqmStatement<?> getSqmStatement()
-
getFirstResult
Integer getFirstResult()
-
getMaxResults
Integer getMaxResults()
-
getLockOptions
LockOptions getLockOptions()
-
makeCopy
NamedSqmQueryMemento makeCopy(String name)
Description copied from interface:NamedQueryMementoMakes a copy of the memento using the specified registration name- Specified by:
makeCopyin interfaceNamedQueryMemento
-
-