Package org.hibernate.query.spi
Interface MutableQueryOptions
- All Superinterfaces:
QueryOptions
- All Known Implementing Classes:
QueryOptionsImpl
-
Field Summary
Fields inherited from interface org.hibernate.query.spi.QueryOptions
NONE, READ_ONLY, READ_WRITE -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDatabaseHint(String hint) Corollary toQueryOptions.getDatabaseHints()voidapplyGraph(RootGraphImplementor<?> rootGraph, GraphSemantic graphSemantic) voiddisableFetchProfile(String profileName) voidenableFetchProfile(String profileName) default voidsetCacheMode(CacheMode cacheMode) Corollary toQueryOptions.getCacheMode()voidsetCacheRetrieveMode(CacheRetrieveMode retrieveMode) Corollary toQueryOptions.getCacheRetrieveMode()voidsetCacheStoreMode(CacheStoreMode storeMode) Corollary toQueryOptions.getCacheStoreMode()voidsetComment(String comment) Corollary toQueryOptions.getComment()voidsetFetchSize(int fetchSize) Corollary toQueryOptions.getFetchSize()voidsetFlushMode(FlushMode flushMode) Corollary toQueryOptions.getFlushMode()voidsetQueryPlanCachingEnabled(Boolean queryPlanCachingEnabled) Corollary toQueryOptions.getQueryPlanCachingEnabled()voidsetReadOnly(boolean readOnly) Corollary toQueryOptions.isReadOnly()voidsetResultCacheRegionName(String cacheRegion) Corollary toQueryOptions.getResultCacheRegionName()voidsetResultCachingEnabled(boolean cacheable) Corollary toQueryOptions.isResultCachingEnabled()voidsetResultListTransformer(ResultListTransformer<?> transformer) voidsetTimeout(int timeout) Corollary toQueryOptions.getTimeout()voidsetTupleTransformer(TupleTransformer<?> transformer) Methods inherited from interface org.hibernate.query.spi.QueryOptions
getAppliedGraph, getCacheMode, getCacheRetrieveMode, getCacheStoreMode, getComment, getDatabaseHints, getDisabledFetchProfiles, getEffectiveLimit, getEnabledFetchProfiles, getFetchSize, getFirstRow, getFlushMode, getLimit, getLockOptions, getMaxRows, getQueryPlanCachingEnabled, getResultCacheRegionName, getResultListTransformer, getTimeout, getTupleTransformer, getUniqueSemantic, hasLimit, isReadOnly, isResultCachingEnabled
-
Method Details
-
setFlushMode
Corollary toQueryOptions.getFlushMode() -
setCacheRetrieveMode
Corollary toQueryOptions.getCacheRetrieveMode() -
setCacheStoreMode
Corollary toQueryOptions.getCacheStoreMode() -
setCacheMode
Corollary toQueryOptions.getCacheMode() -
setResultCachingEnabled
void setResultCachingEnabled(boolean cacheable) Corollary toQueryOptions.isResultCachingEnabled() -
setResultCacheRegionName
Corollary toQueryOptions.getResultCacheRegionName() -
setQueryPlanCachingEnabled
Corollary toQueryOptions.getQueryPlanCachingEnabled() -
setTimeout
void setTimeout(int timeout) Corollary toQueryOptions.getTimeout() -
setFetchSize
void setFetchSize(int fetchSize) Corollary toQueryOptions.getFetchSize() -
setReadOnly
void setReadOnly(boolean readOnly) Corollary toQueryOptions.isReadOnly() -
setComment
Corollary toQueryOptions.getComment() -
addDatabaseHint
Corollary toQueryOptions.getDatabaseHints() -
setTupleTransformer
-
setResultListTransformer
-
applyGraph
-
enableFetchProfile
-
disableFetchProfile
-