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 Boolean
getCacheable()
CacheMode
getCacheMode()
String
getCacheRegion()
String
getComment()
Integer
getFetchSize()
FlushMode
getFlushMode()
Map<String,Object>
getHints()
LockOptions
getLockOptions()
String
getName()
Boolean
getReadOnly()
Integer
getTimeout()
void
setCacheable(Boolean cacheable)
void
setCacheMode(CacheMode cacheMode)
void
setCacheRegion(String cacheRegion)
void
setComment(String comment)
void
setFetchSize(Integer fetchSize)
void
setFlushMode(FlushMode flushMode)
void
setLockOptions(LockOptions lockOptions)
void
setReadOnly(Boolean readOnly)
void
setTimeout(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)
-
-