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 Boolean
getCacheable()
CacheMode
getCacheMode()
String
getCacheRegion()
String
getComment()
Integer
getFetchSize()
FlushMode
getFlushMode()
Map<String,Object>
getHints()
LockOptions
getLockOptions()
Boolean
getReadOnly()
String
getRegistrationName()
The name under which the query is to be 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.boot.query.NamedQueryDefinition
resolve
-
-
-
-
Method Detail
-
getRegistrationName
public String getRegistrationName()
Description copied from interface:NamedQueryDefinition
The name under which the query is to be registered- Specified by:
getRegistrationName
in 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()
-
-