Class AbstractNamedQueryMemento.AbstractBuilder<T extends AbstractNamedQueryMemento.AbstractBuilder>

java.lang.Object
org.hibernate.query.named.AbstractNamedQueryMemento.AbstractBuilder<T>
Direct Known Subclasses:
NamedNativeQueryMemento.Builder
Enclosing class:
AbstractNamedQueryMemento

public abstract static class AbstractNamedQueryMemento.AbstractBuilder<T extends AbstractNamedQueryMemento.AbstractBuilder> extends Object
  • Field Details

    • name

      protected final String name
    • querySpaces

      protected Set<String> querySpaces
    • cacheable

      protected Boolean cacheable
    • cacheRegion

      protected String cacheRegion
    • cacheMode

      protected CacheMode cacheMode
    • flushMode

      protected FlushMode flushMode
    • readOnly

      protected Boolean readOnly
    • timeout

      protected Integer timeout
    • fetchSize

      protected Integer fetchSize
    • comment

      protected String comment
    • hints

      protected Map<String,Object> hints
  • Constructor Details

    • AbstractBuilder

      public AbstractBuilder(String name)
  • Method Details

    • getName

      public String getName()
    • getThis

      protected abstract T getThis()
    • addQuerySpaces

      public T addQuerySpaces(Set<String> querySpaces)
    • addQuerySpace

      public T addQuerySpace(String space)
    • setCacheable

      public T setCacheable(Boolean cacheable)
    • setCacheRegion

      public T setCacheRegion(String cacheRegion)
    • setCacheMode

      public T setCacheMode(CacheMode cacheMode)
    • setTimeout

      public T setTimeout(Integer timeout)
    • setFlushMode

      public T setFlushMode(FlushMode flushMode)
    • setReadOnly

      public T setReadOnly(Boolean readOnly)
    • setReadOnly

      public T setReadOnly(boolean readOnly)
    • setFetchSize

      public T setFetchSize(Integer fetchSize)
    • setComment

      public T setComment(String comment)
    • getQuerySpaces

      public Set<String> getQuerySpaces()
    • getCacheable

      public Boolean getCacheable()
    • getCacheRegion

      public String getCacheRegion()
    • getCacheMode

      public CacheMode getCacheMode()
    • getFlushMode

      public FlushMode getFlushMode()
    • getReadOnly

      public Boolean getReadOnly()
    • getTimeout

      public Integer getTimeout()
    • getFetchSize

      public Integer getFetchSize()
    • getComment

      public String getComment()
    • addHint

      public void addHint(String name, Object value)