Package org.hibernate.query.internal
Class NamedQueryHelper.NamedQueryDescriptorBuilder
- java.lang.Object
-
- org.hibernate.query.internal.NamedQueryHelper.NamedQueryDescriptorBuilder
-
- Enclosing class:
- NamedQueryHelper
public abstract static class NamedQueryHelper.NamedQueryDescriptorBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description NamedQueryDescriptorBuilder(String name, Map<String,Object> hints, SessionFactoryImplementor sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetCacheable()CacheModegetCacheMode()StringgetCacheRegion()StringgetComment()IntegergetFetchSize()FlushModegetFlushMode()Map<String,Object>getHints()LockOptionsgetLockOptions()StringgetName()BooleangetReadOnly()IntegergetTimeout()voidsetCacheable(Boolean cacheable)voidsetCacheMode(CacheMode cacheMode)voidsetCacheRegion(String cacheRegion)voidsetComment(String comment)voidsetFetchSize(Integer fetchSize)voidsetFlushMode(FlushMode flushMode)voidsetLockOptions(LockOptions lockOptions)voidsetReadOnly(Boolean readOnly)voidsetTimeout(Integer timeout)
-
-
-
Constructor Detail
-
NamedQueryDescriptorBuilder
public NamedQueryDescriptorBuilder(String name, Map<String,Object> hints, SessionFactoryImplementor sessionFactory)
-
-
Method Detail
-
getName
public String getName()
-
getCacheable
public Boolean getCacheable()
-
setCacheable
public void setCacheable(Boolean cacheable)
-
getCacheRegion
public String getCacheRegion()
-
setCacheRegion
public void setCacheRegion(String cacheRegion)
-
getCacheMode
public CacheMode getCacheMode()
-
setCacheMode
public void setCacheMode(CacheMode cacheMode)
-
getFlushMode
public FlushMode getFlushMode()
-
setFlushMode
public void setFlushMode(FlushMode flushMode)
-
getReadOnly
public Boolean getReadOnly()
-
setReadOnly
public void setReadOnly(Boolean readOnly)
-
getLockOptions
public LockOptions getLockOptions()
-
setLockOptions
public void setLockOptions(LockOptions lockOptions)
-
getTimeout
public Integer getTimeout()
-
setTimeout
public void setTimeout(Integer timeout)
-
getFetchSize
public Integer getFetchSize()
-
setFetchSize
public void setFetchSize(Integer fetchSize)
-
getComment
public String getComment()
-
setComment
public void setComment(String comment)
-
-