Top Fields Constructors Methods
org.hibernate.boot.spi

public abstract Class AbstractNamedQueryDefinition

extends Object
implements NamedQueryDefinition
Class Inheritance
All Implemented Interfaces
org.hibernate.boot.query.NamedQueryDefinition
Known Direct Subclasses
org.hibernate.boot.internal.NamedHqlQueryDefinitionImpl, org.hibernate.boot.internal.NamedNativeQueryDefinitionImpl
Imports
java.util.HashMap, .Map, org.hibernate.CacheMode, .FlushMode, .LockOptions, org.hibernate.boot.query.NamedQueryDefinition

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final Boolean
private final CacheMode
private final String
private final String
private final Integer
private final FlushMode
private final Map<String, Object>
private final LockOptions
private final String
private final Boolean
private final Integer

Constructor Summary

AccessConstructor and Description
public
AbstractNamedQueryDefinition(String name, Boolean cacheable, String cacheRegion, CacheMode cacheMode, FlushMode flushMode, Boolean readOnly, LockOptions lockOptions, Integer timeout, Integer fetchSize, String comment, Map<String, Object> hints)

Method Summary

Modifier and TypeMethod and Description
public Boolean
public CacheMode
public String
public String
public Integer
public FlushMode
public Map<String, Object>
public LockOptions
public Boolean
public String
getRegistrationName()

Implements org.hibernate.boot.query.NamedQueryDefinition.getRegistrationName.

The name under which the query is to be registered
public Integer
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

cacheableback to summary
private final Boolean cacheable
cacheModeback to summary
private final CacheMode cacheMode
cacheRegionback to summary
private final String cacheRegion
commentback to summary
private final String comment
fetchSizeback to summary
private final Integer fetchSize
flushModeback to summary
private final FlushMode flushMode
hintsback to summary
private final Map<String, Object> hints
lockOptionsback to summary
private final LockOptions lockOptions
nameback to summary
private final String name
readOnlyback to summary
private final Boolean readOnly
timeoutback to summary
private final Integer timeout

Constructor Detail

AbstractNamedQueryDefinitionback to summary
public AbstractNamedQueryDefinition(String name, Boolean cacheable, String cacheRegion, CacheMode cacheMode, FlushMode flushMode, Boolean readOnly, LockOptions lockOptions, Integer timeout, Integer fetchSize, String comment, Map<String, Object> hints)

Method Detail

getCacheableback to summary
public Boolean getCacheable()
getCacheModeback to summary
public CacheMode getCacheMode()
getCacheRegionback to summary
public String getCacheRegion()
getCommentback to summary
public String getComment()
getFetchSizeback to summary
public Integer getFetchSize()
getFlushModeback to summary
public FlushMode getFlushMode()
getHintsback to summary
public Map<String, Object> getHints()
getLockOptionsback to summary
public LockOptions getLockOptions()
getReadOnlyback to summary
public Boolean getReadOnly()
getRegistrationNameback to summary
public String getRegistrationName()

Implements org.hibernate.boot.query.NamedQueryDefinition.getRegistrationName.

Doc from org.hibernate.boot.query.NamedQueryDefinition.getRegistrationName.

The name under which the query is to be registered

Annotations
@Override
getTimeoutback to summary
public Integer getTimeout()