Package org.hibernate.query.spi
Interface MutableQueryOptions
-
- All Superinterfaces:
QueryOptions
- All Known Implementing Classes:
QueryOptionsImpl
public interface MutableQueryOptions extends QueryOptions
-
-
Field Summary
-
Fields inherited from interface org.hibernate.query.spi.QueryOptions
NONE, READ_ONLY, READ_WRITE
-
-
Method Summary
-
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 Detail
-
setFlushMode
void setFlushMode(FlushMode flushMode)
Corollary toQueryOptions.getFlushMode()
-
setCacheRetrieveMode
void setCacheRetrieveMode(CacheRetrieveMode retrieveMode)
Corollary toQueryOptions.getCacheRetrieveMode()
-
setCacheStoreMode
void setCacheStoreMode(CacheStoreMode storeMode)
Corollary toQueryOptions.getCacheStoreMode()
-
setCacheMode
default void setCacheMode(CacheMode cacheMode)
Corollary toQueryOptions.getCacheMode()
-
setResultCachingEnabled
void setResultCachingEnabled(boolean cacheable)
Corollary toQueryOptions.isResultCachingEnabled()
-
setResultCacheRegionName
void setResultCacheRegionName(String cacheRegion)
Corollary toQueryOptions.getResultCacheRegionName()
-
setQueryPlanCachingEnabled
void setQueryPlanCachingEnabled(Boolean queryPlanCachingEnabled)
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
void setComment(String comment)
Corollary toQueryOptions.getComment()
-
addDatabaseHint
void addDatabaseHint(String hint)
Corollary toQueryOptions.getDatabaseHints()
-
setTupleTransformer
void setTupleTransformer(TupleTransformer<?> transformer)
-
setResultListTransformer
void setResultListTransformer(ResultListTransformer<?> transformer)
-
applyGraph
void applyGraph(RootGraphImplementor<?> rootGraph, GraphSemantic graphSemantic)
-
enableFetchProfile
void enableFetchProfile(String profileName)
-
disableFetchProfile
void disableFetchProfile(String profileName)
-
-