Package org.hibernate.boot.query
Class NamedHqlQueryDefinition.Builder
- java.lang.Object
-
- org.hibernate.boot.query.AbstractNamedQueryBuilder<NamedHqlQueryDefinition.Builder>
-
- org.hibernate.boot.query.NamedHqlQueryDefinition.Builder
-
- Enclosing interface:
- NamedHqlQueryDefinition
public static class NamedHqlQueryDefinition.Builder extends AbstractNamedQueryBuilder<NamedHqlQueryDefinition.Builder>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addParameterTypeHint(String name, String type)
NamedHqlQueryDefinitionImpl
build()
String
getHqlString()
protected NamedHqlQueryDefinition.Builder
getThis()
NamedHqlQueryDefinition.Builder
setFirstResult(Integer firstResult)
NamedHqlQueryDefinition.Builder
setHqlString(String hqlString)
NamedHqlQueryDefinition.Builder
setMaxResults(Integer maxResults)
-
Methods inherited from class org.hibernate.boot.query.AbstractNamedQueryBuilder
addHint, addHints, getCacheable, getCacheMode, getCacheRegion, getComment, getFetchSize, getFlushMode, getHints, getLockOptions, getName, getReadOnly, getTimeout, setCacheable, setCacheMode, setCacheRegion, setComment, setFetchSize, setFlushMode, setLockOptions, setReadOnly, setTimeout
-
-
-
-
Constructor Detail
-
Builder
public Builder(String name)
-
-
Method Detail
-
getThis
protected NamedHqlQueryDefinition.Builder getThis()
- Specified by:
getThis
in classAbstractNamedQueryBuilder<NamedHqlQueryDefinition.Builder>
-
getHqlString
public String getHqlString()
-
setHqlString
public NamedHqlQueryDefinition.Builder setHqlString(String hqlString)
-
setFirstResult
public NamedHqlQueryDefinition.Builder setFirstResult(Integer firstResult)
-
setMaxResults
public NamedHqlQueryDefinition.Builder setMaxResults(Integer maxResults)
-
build
public NamedHqlQueryDefinitionImpl build()
-
-