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 Integer
getFirstResult()
String
getHqlString()
LockOptions
getLockOptions()
Integer
getMaxResults()
Map<String,String>
getParameterTypes()
SqmStatement
getSqmStatement()
NamedSqmQueryMemento
makeCopy(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:
toQuery
in interfaceNamedQueryMemento
-
toQuery
<T> SqmQueryImplementor<T> toQuery(SharedSessionContractImplementor session)
Convert the memento into an untyped executable query- Specified by:
toQuery
in 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:NamedQueryMemento
Makes a copy of the memento using the specified registration name- Specified by:
makeCopy
in interfaceNamedQueryMemento
-
-