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 classAbstractNamedQueryMemento.AbstractBuilder<T extends AbstractNamedQueryMemento.AbstractBuilder>-
Nested classes/interfaces inherited from interface org.hibernate.query.named.NamedQueryMemento
NamedQueryMemento.ParameterMemento
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractNamedQueryMemento(String name, @Nullable Class<?> resultType, Boolean cacheable, String cacheRegion, CacheMode cacheMode, FlushMode flushMode, Boolean readOnly, Integer timeout, Integer fetchSize, String comment, Map<String,Object> hints)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetCacheable()CacheModegetCacheMode()StringgetCacheRegion()StringgetComment()IntegergetFetchSize()FlushModegetFlushMode()Map<String,Object>getHints()BooleangetReadOnly()StringgetRegistrationName()The name under which the query is registered@Nullable Class<?>getResultType()IntegergetTimeout()-
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:NamedQueryMementoThe name under which the query is registered- Specified by:
getRegistrationNamein interfaceNamedQueryMemento
-
getResultType
public @Nullable Class<?> getResultType()
-
getCacheable
public Boolean getCacheable()
- Specified by:
getCacheablein interfaceNamedQueryMemento
-
getCacheRegion
public String getCacheRegion()
- Specified by:
getCacheRegionin interfaceNamedQueryMemento
-
getCacheMode
public CacheMode getCacheMode()
- Specified by:
getCacheModein interfaceNamedQueryMemento
-
getFlushMode
public FlushMode getFlushMode()
- Specified by:
getFlushModein interfaceNamedQueryMemento
-
getReadOnly
public Boolean getReadOnly()
- Specified by:
getReadOnlyin interfaceNamedQueryMemento
-
getTimeout
public Integer getTimeout()
- Specified by:
getTimeoutin interfaceNamedQueryMemento
-
getFetchSize
public Integer getFetchSize()
- Specified by:
getFetchSizein interfaceNamedQueryMemento
-
getComment
public String getComment()
- Specified by:
getCommentin interfaceNamedQueryMemento
-
getHints
public Map<String,Object> getHints()
- Specified by:
getHintsin interfaceNamedQueryMemento
-
-