Top Fields Constructors Methods
org.hibernate.engine.spi

public Class NamedQueryDefinitionBuilder

extends Object
Class Inheritance
Known Direct Subclasses
org.hibernate.engine.spi.NamedSQLQueryDefinitionBuilder
Imports
java.util.HashMap, .Map, org.hibernate.CacheMode, .FlushMode, .LockOptions

Field Summary

Modifier and TypeField and Description
protected boolean
protected CacheMode
protected String
protected String
protected Integer
protected Integer
protected FlushMode
protected LockOptions
protected Integer
protected String
protected Map<K, V>
protected Boolean
protected String
protected boolean
protected Integer

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public NamedQueryDefinitionBuilder
addParameterType(String name, String typeName)

public NamedQueryDefinition
public NamedQueryDefinitionBuilder
setCacheable(boolean cacheable)

public NamedQueryDefinitionBuilder
public NamedQueryDefinitionBuilder
setCacheRegion(String cacheRegion)

public NamedQueryDefinitionBuilder
setComment(String comment)

public NamedQueryDefinitionBuilder
setFetchSize(Integer fetchSize)

public NamedQueryDefinitionBuilder
setFirstResult(Integer firstResult)

public NamedQueryDefinitionBuilder
public NamedQueryDefinitionBuilder
public NamedQueryDefinitionBuilder
setMaxResults(Integer maxResults)

public NamedQueryDefinitionBuilder
public NamedQueryDefinitionBuilder
setParameterTypes(Map<K, V> parameterTypes)

public NamedQueryDefinitionBuilder
setPassDistinctThrough(Boolean passDistinctThrough)

public NamedQueryDefinitionBuilder
public NamedQueryDefinitionBuilder
setReadOnly(boolean readOnly)

public NamedQueryDefinitionBuilder
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

cacheableback to summary
protected boolean cacheable
cacheModeback to summary
protected CacheMode cacheMode
cacheRegionback to summary
protected String cacheRegion
commentback to summary
protected String comment
fetchSizeback to summary
protected Integer fetchSize
firstResultback to summary
protected Integer firstResult
flushModeback to summary
protected FlushMode flushMode
lockOptionsback to summary
protected LockOptions lockOptions
maxResultsback to summary
protected Integer maxResults
nameback to summary
protected String name
parameterTypesback to summary
protected Map<K, V> parameterTypes
passDistinctThroughback to summary
protected Boolean passDistinctThrough
queryback to summary
protected String query
readOnlyback to summary
protected boolean readOnly
timeoutback to summary
protected Integer timeout

Constructor Detail

NamedQueryDefinitionBuilderback to summary
public NamedQueryDefinitionBuilder()
NamedQueryDefinitionBuilderback to summary
public NamedQueryDefinitionBuilder(String name)

Method Detail

addParameterTypeback to summary
public NamedQueryDefinitionBuilder addParameterType(String name, String typeName)
createNamedQueryDefinitionback to summary
public NamedQueryDefinition createNamedQueryDefinition()
setCacheableback to summary
public NamedQueryDefinitionBuilder setCacheable(boolean cacheable)
setCacheModeback to summary
public NamedQueryDefinitionBuilder setCacheMode(CacheMode cacheMode)
setCacheRegionback to summary
public NamedQueryDefinitionBuilder setCacheRegion(String cacheRegion)
setCommentback to summary
public NamedQueryDefinitionBuilder setComment(String comment)
setFetchSizeback to summary
public NamedQueryDefinitionBuilder setFetchSize(Integer fetchSize)
setFirstResultback to summary
public NamedQueryDefinitionBuilder setFirstResult(Integer firstResult)
setFlushModeback to summary
public NamedQueryDefinitionBuilder setFlushMode(FlushMode flushMode)
setLockOptionsback to summary
public NamedQueryDefinitionBuilder setLockOptions(LockOptions lockOptions)
setMaxResultsback to summary
public NamedQueryDefinitionBuilder setMaxResults(Integer maxResults)
setNameback to summary
public NamedQueryDefinitionBuilder setName(String name)
setParameterTypesback to summary
public NamedQueryDefinitionBuilder setParameterTypes(Map<K, V> parameterTypes)
setPassDistinctThroughback to summary
public NamedQueryDefinitionBuilder setPassDistinctThrough(Boolean passDistinctThrough)
setQueryback to summary
public NamedQueryDefinitionBuilder setQuery(String query)
setReadOnlyback to summary
public NamedQueryDefinitionBuilder setReadOnly(boolean readOnly)
setTimeoutback to summary
public NamedQueryDefinitionBuilder setTimeout(Integer timeout)