Package org.hibernate.query.named
Class AbstractNamedQueryMemento
- java.lang.Object
-
- org.hibernate.query.named.AbstractNamedQueryMemento
-
- All Implemented Interfaces:
NamedQueryMemento
- Direct Known Subclasses:
NamedCallableQueryMementoImpl
,NamedCriteriaQueryMementoImpl
,NamedHqlQueryMementoImpl
,NamedNativeQueryMementoImpl
public abstract class AbstractNamedQueryMemento extends Object implements NamedQueryMemento
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AbstractNamedQueryMemento.AbstractBuilder<T extends AbstractNamedQueryMemento.AbstractBuilder>
-
Nested classes/interfaces inherited from interface org.hibernate.query.named.NamedQueryMemento
NamedQueryMemento.ParameterMemento
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
getCacheable()
CacheMode
getCacheMode()
String
getCacheRegion()
String
getComment()
Integer
getFetchSize()
FlushMode
getFlushMode()
Map<String,Object>
getHints()
Boolean
getReadOnly()
String
getRegistrationName()
The name under which the query is registeredInteger
getTimeout()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.query.named.NamedQueryMemento
makeCopy, toQuery, toQuery, validate
-
-
-
-
Method Detail
-
getRegistrationName
public String getRegistrationName()
Description copied from interface:NamedQueryMemento
The name under which the query is registered- Specified by:
getRegistrationName
in interfaceNamedQueryMemento
-
getCacheable
public Boolean getCacheable()
- Specified by:
getCacheable
in interfaceNamedQueryMemento
-
getCacheRegion
public String getCacheRegion()
- Specified by:
getCacheRegion
in interfaceNamedQueryMemento
-
getCacheMode
public CacheMode getCacheMode()
- Specified by:
getCacheMode
in interfaceNamedQueryMemento
-
getFlushMode
public FlushMode getFlushMode()
- Specified by:
getFlushMode
in interfaceNamedQueryMemento
-
getReadOnly
public Boolean getReadOnly()
- Specified by:
getReadOnly
in interfaceNamedQueryMemento
-
getTimeout
public Integer getTimeout()
- Specified by:
getTimeout
in interfaceNamedQueryMemento
-
getFetchSize
public Integer getFetchSize()
- Specified by:
getFetchSize
in interfaceNamedQueryMemento
-
getComment
public String getComment()
- Specified by:
getComment
in interfaceNamedQueryMemento
-
getHints
public Map<String,Object> getHints()
- Specified by:
getHints
in interfaceNamedQueryMemento
-
-