Package org.hibernate.boot.spi
Class AbstractNamedQueryDefinition
- java.lang.Object
-
- org.hibernate.boot.spi.AbstractNamedQueryDefinition
-
- All Implemented Interfaces:
NamedQueryDefinition
- Direct Known Subclasses:
NamedHqlQueryDefinitionImpl,NamedNativeQueryDefinitionImpl
public abstract class AbstractNamedQueryDefinition extends Object implements NamedQueryDefinition
-
-
Constructor Summary
Constructors Constructor Description AbstractNamedQueryDefinition(String name, Boolean cacheable, String cacheRegion, CacheMode cacheMode, FlushMode flushMode, Boolean readOnly, LockOptions lockOptions, 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()LockOptionsgetLockOptions()BooleangetReadOnly()StringgetRegistrationName()The name under which the query is to be registeredIntegergetTimeout()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.boot.query.NamedQueryDefinition
resolve
-
-
-
-
Method Detail
-
getRegistrationName
public String getRegistrationName()
Description copied from interface:NamedQueryDefinitionThe name under which the query is to be registered- Specified by:
getRegistrationNamein interfaceNamedQueryDefinition
-
getCacheable
public Boolean getCacheable()
-
getCacheRegion
public String getCacheRegion()
-
getCacheMode
public CacheMode getCacheMode()
-
getFlushMode
public FlushMode getFlushMode()
-
getReadOnly
public Boolean getReadOnly()
-
getLockOptions
public LockOptions getLockOptions()
-
getTimeout
public Integer getTimeout()
-
getFetchSize
public Integer getFetchSize()
-
getComment
public String getComment()
-
-