Package org.hibernate.boot.query
Class AbstractNamedQueryBuilder<T extends AbstractNamedQueryBuilder<T>>
- java.lang.Object
-
- org.hibernate.boot.query.AbstractNamedQueryBuilder<T>
-
- Direct Known Subclasses:
NamedHqlQueryDefinition.Builder
,NamedNativeQueryDefinitionBuilder
public abstract class AbstractNamedQueryBuilder<T extends AbstractNamedQueryBuilder<T>> extends Object
-
-
Constructor Summary
Constructors Constructor Description AbstractNamedQueryBuilder(String name)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
addHint(String name, Object value)
T
addHints(Map<String,Object> hintsMap)
Boolean
getCacheable()
CacheMode
getCacheMode()
String
getCacheRegion()
String
getComment()
Integer
getFetchSize()
FlushMode
getFlushMode()
Map<String,Object>
getHints()
LockOptions
getLockOptions()
String
getName()
Boolean
getReadOnly()
protected abstract T
getThis()
Integer
getTimeout()
T
setCacheable(Boolean cacheable)
T
setCacheMode(CacheMode cacheMode)
T
setCacheRegion(String cacheRegion)
T
setComment(String comment)
T
setFetchSize(Integer fetchSize)
T
setFlushMode(FlushMode flushMode)
T
setLockOptions(LockOptions lockOptions)
T
setReadOnly(Boolean readOnly)
T
setTimeout(Integer timeout)
-
-
-
Constructor Detail
-
AbstractNamedQueryBuilder
public AbstractNamedQueryBuilder(String name)
-
-
Method Detail
-
getName
public String getName()
-
getThis
protected abstract T getThis()
-
setLockOptions
public T setLockOptions(LockOptions lockOptions)
-
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()
-
-