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 voidaddHint(String name, Object value)TaddHints(Map<String,Object> hintsMap)BooleangetCacheable()CacheModegetCacheMode()StringgetCacheRegion()StringgetComment()IntegergetFetchSize()FlushModegetFlushMode()Map<String,Object>getHints()LockOptionsgetLockOptions()StringgetName()BooleangetReadOnly()protected abstract TgetThis()IntegergetTimeout()TsetCacheable(Boolean cacheable)TsetCacheMode(CacheMode cacheMode)TsetCacheRegion(String cacheRegion)TsetComment(String comment)TsetFetchSize(Integer fetchSize)TsetFlushMode(FlushMode flushMode)TsetLockOptions(LockOptions lockOptions)TsetReadOnly(Boolean readOnly)TsetTimeout(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()
-
-