Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
org.hibernate.annotations |
Package containing all the Hibernate specific annotations.
|
org.hibernate.boot.jaxb.hbm.internal |
JAXB details.
|
org.hibernate.boot.jaxb.hbm.spi | |
org.hibernate.cfg.annotations | |
org.hibernate.engine.spi | |
org.hibernate.envers.query | |
org.hibernate.envers.query.internal.impl | |
org.hibernate.internal |
An internal package containing mostly implementations of central Hibernate APIs.
|
org.hibernate.jpa.internal.util | |
org.hibernate.query | |
org.hibernate.query.criteria.internal.compile | |
org.hibernate.query.internal | |
org.hibernate.query.spi | |
org.hibernate.search | |
org.hibernate.search.batchindexing.impl |
Modifier and Type | Method and Description |
---|---|
CacheMode |
Session.getCacheMode()
Get the current cache mode.
|
CacheMode |
Query.getCacheMode()
Deprecated.
Obtain the CacheMode in effect for this query.
|
CacheMode |
BasicQueryContract.getCacheMode()
Deprecated.
Obtain the CacheMode in effect for this query.
|
static CacheMode |
CacheMode.interpretExternalSetting(String setting)
Used to interpret externalized forms of this enum.
|
static CacheMode |
CacheMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheMode[] |
CacheMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Session.setCacheMode(CacheMode cacheMode)
Set the cache mode.
|
NativeQuery<T> |
SQLQuery.setCacheMode(CacheMode cacheMode)
Deprecated.
|
Query<R> |
Query.setCacheMode(CacheMode cacheMode)
Deprecated.
(Re)set the current CacheMode in effect for this query.
|
Criteria |
Criteria.setCacheMode(CacheMode cacheMode)
Override the cache mode for this particular query.
|
T |
BasicQueryContract.setCacheMode(CacheMode cacheMode)
Deprecated.
(Re)set the current CacheMode in effect for this query.
|
MultiIdentifierLoadAccess<T> |
MultiIdentifierLoadAccess.with(CacheMode cacheMode)
Specify the
CacheMode to use when retrieving the entity. |
IdentifierLoadAccess<T> |
IdentifierLoadAccess.with(CacheMode cacheMode)
Specify the
CacheMode to use when retrieving the entity. |
Modifier and Type | Method and Description |
---|---|
CacheMode |
CacheModeType.getCacheMode() |
Modifier and Type | Method and Description |
---|---|
static CacheModeType |
CacheModeType.fromCacheMode(CacheMode cacheMode)
Conversion from
CacheMode to CacheModeType . |
Modifier and Type | Method and Description |
---|---|
static CacheMode |
CacheModeConverter.fromXml(String name) |
Modifier and Type | Method and Description |
---|---|
static String |
CacheModeConverter.toXml(CacheMode cacheMode) |
Modifier and Type | Field and Description |
---|---|
protected CacheMode |
JaxbHbmNamedQueryType.cacheMode |
protected CacheMode |
JaxbHbmNamedNativeQueryType.cacheMode |
Modifier and Type | Method and Description |
---|---|
CacheMode |
JaxbHbmNamedQueryType.getCacheMode()
Gets the value of the cacheMode property.
|
CacheMode |
JaxbHbmNamedNativeQueryType.getCacheMode()
Gets the value of the cacheMode property.
|
CacheMode |
Adapter1.unmarshal(String value) |
Modifier and Type | Method and Description |
---|---|
String |
Adapter1.marshal(CacheMode value) |
void |
JaxbHbmNamedQueryType.setCacheMode(CacheMode value)
Sets the value of the cacheMode property.
|
void |
JaxbHbmNamedNativeQueryType.setCacheMode(CacheMode value)
Sets the value of the cacheMode property.
|
Modifier and Type | Method and Description |
---|---|
CacheMode |
QueryHintDefinition.getCacheMode(String query) |
Modifier and Type | Field and Description |
---|---|
protected CacheMode |
NamedQueryDefinitionBuilder.cacheMode |
Modifier and Type | Method and Description |
---|---|
CacheMode |
SharedSessionContractImplementor.getCacheMode() |
CacheMode |
SessionDelegatorBaseImpl.getCacheMode() |
CacheMode |
NamedQueryDefinition.getCacheMode() |
Modifier and Type | Method and Description |
---|---|
void |
SharedSessionContractImplementor.setCacheMode(CacheMode cm) |
void |
SessionDelegatorBaseImpl.setCacheMode(CacheMode cm) |
NamedSQLQueryDefinitionBuilder |
NamedSQLQueryDefinitionBuilder.setCacheMode(CacheMode cacheMode) |
NamedQueryDefinitionBuilder |
NamedQueryDefinitionBuilder.setCacheMode(CacheMode cacheMode) |
Constructor and Description |
---|
NamedQueryDefinition(String name,
String query,
boolean cacheable,
String cacheRegion,
Integer timeout,
Integer fetchSize,
FlushMode flushMode,
CacheMode cacheMode,
boolean readOnly,
String comment,
Map parameterTypes)
Deprecated.
Use
NamedQueryDefinitionBuilder instead. |
NamedQueryDefinition(String name,
String query,
boolean cacheable,
String cacheRegion,
Integer timeout,
Integer lockTimeout,
Integer fetchSize,
FlushMode flushMode,
CacheMode cacheMode,
boolean readOnly,
String comment,
Map parameterTypes)
Deprecated.
Use
NamedQueryDefinitionBuilder instead. |
NamedSQLQueryDefinition(String name,
String query,
NativeSQLQueryReturn[] queryReturns,
List<String> querySpaces,
boolean cacheable,
String cacheRegion,
Integer timeout,
Integer fetchSize,
FlushMode flushMode,
CacheMode cacheMode,
boolean readOnly,
String comment,
Map parameterTypes,
boolean callable)
Deprecated.
Use
NamedSQLQueryDefinitionBuilder instead. |
NamedSQLQueryDefinition(String name,
String query,
String resultSetRef,
List<String> querySpaces,
boolean cacheable,
String cacheRegion,
Integer timeout,
Integer fetchSize,
FlushMode flushMode,
CacheMode cacheMode,
boolean readOnly,
String comment,
Map parameterTypes,
boolean callable)
Deprecated.
Use
NamedSQLQueryDefinitionBuilder instead. |
Modifier and Type | Method and Description |
---|---|
AuditQuery |
AuditQuery.setCacheMode(CacheMode cacheMode) |
AuditAssociationQuery<Q> |
AuditAssociationQuery.setCacheMode(CacheMode cacheMode) |
Modifier and Type | Method and Description |
---|---|
AuditAssociationQueryImpl<Q> |
AuditAssociationQueryImpl.setCacheMode(CacheMode cacheMode) |
AuditQuery |
AbstractAuditQuery.setCacheMode(CacheMode cacheMode) |
Modifier and Type | Method and Description |
---|---|
CacheMode |
StatelessSessionImpl.getCacheMode() |
CacheMode |
AbstractSharedSessionContract.getCacheMode() |
Modifier and Type | Method and Description |
---|---|
void |
StatelessSessionImpl.setCacheMode(CacheMode cm) |
Criteria |
CriteriaImpl.setCacheMode(CacheMode cacheMode) |
Criteria |
CriteriaImpl.Subcriteria.setCacheMode(CacheMode cacheMode) |
void |
AbstractSharedSessionContract.setCacheMode(CacheMode cacheMode) |
Modifier and Type | Field and Description |
---|---|
static CacheMode |
CacheModeHelper.DEFAULT_LEGACY_MODE |
Modifier and Type | Method and Description |
---|---|
static CacheMode |
CacheModeHelper.effectiveCacheMode(CacheStoreMode storeMode,
CacheRetrieveMode retrieveMode)
Given a JPA
CacheStoreMode and CacheRetrieveMode , determine the corresponding
legacy Hibernate CacheMode . |
static CacheMode |
ConfigurationHelper.getCacheMode(Object value) |
static CacheMode |
CacheModeHelper.interpretCacheMode(CacheStoreMode storeMode,
CacheRetrieveMode retrieveMode)
Given a JPA
CacheStoreMode and CacheRetrieveMode , determine the corresponding
legacy Hibernate CacheMode . |
Modifier and Type | Method and Description |
---|---|
static CacheRetrieveMode |
CacheModeHelper.interpretCacheRetrieveMode(CacheMode cacheMode) |
static CacheStoreMode |
CacheModeHelper.interpretCacheStoreMode(CacheMode cacheMode) |
Modifier and Type | Method and Description |
---|---|
CacheMode |
Query.getCacheMode() |
Modifier and Type | Method and Description |
---|---|
Query<R> |
Query.setCacheMode(CacheMode cacheMode) |
NativeQuery<T> |
NativeQuery.setCacheMode(CacheMode cacheMode) |
Modifier and Type | Method and Description |
---|---|
CacheMode |
CriteriaQueryTypeQueryAdapter.getCacheMode() |
Modifier and Type | Method and Description |
---|---|
QueryImplementor<X> |
CriteriaQueryTypeQueryAdapter.setCacheMode(CacheMode cacheMode) |
Modifier and Type | Method and Description |
---|---|
CacheMode |
AbstractProducedQuery.getCacheMode() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
AbstractProducedQuery.applyCacheModeHint(CacheMode cacheMode)
Apply the CacheMode hint.
|
NativeQueryImplementor<T> |
NativeQueryImpl.setCacheMode(CacheMode cacheMode) |
QueryImplementor |
AbstractProducedQuery.setCacheMode(CacheMode cacheMode) |
Modifier and Type | Method and Description |
---|---|
CacheMode |
QueryProducerImplementor.getCacheMode() |
Modifier and Type | Method and Description |
---|---|
NativeQueryImplementor<T> |
NativeQueryImplementor.setCacheMode(CacheMode cacheMode) |
Modifier and Type | Method and Description |
---|---|
MassIndexer |
MassIndexer.cacheMode(CacheMode cacheMode)
Sets the cache interaction mode for the data loading tasks.
|
Modifier and Type | Method and Description |
---|---|
MassIndexer |
MassIndexerImpl.cacheMode(CacheMode cacheMode) |
Constructor and Description |
---|
BatchCoordinator(org.hibernate.search.spi.IndexedTypeSet rootEntities,
org.hibernate.search.engine.integration.impl.ExtendedSearchIntegrator extendedIntegrator,
SessionFactoryImplementor sessionFactory,
int typesToIndexInParallel,
int documentBuilderThreads,
CacheMode cacheMode,
int objectLoadingBatchSize,
long objectsLimit,
boolean optimizeAtEnd,
boolean purgeAtStart,
boolean optimizeAfterPurge,
org.hibernate.search.batchindexing.MassIndexerProgressMonitor monitor,
int idFetchSize,
Integer transactionTimeout,
String tenantId) |
BatchIndexingWorkspace(org.hibernate.search.engine.integration.impl.ExtendedSearchIntegrator extendedIntegrator,
SessionFactoryImplementor sessionFactory,
org.hibernate.search.spi.IndexedTypeIdentifier type,
int objectLoadingThreads,
CacheMode cacheMode,
int objectLoadingBatchSize,
CountDownLatch endAllSignal,
org.hibernate.search.batchindexing.MassIndexerProgressMonitor monitor,
org.hibernate.search.backend.spi.BatchBackend backend,
long objectsLimit,
int idFetchSize,
Integer transactionTimeout,
String tenantId) |
IdentifierConsumerDocumentProducer(ProducerConsumerQueue<List<Serializable>> fromIdentifierListToEntities,
org.hibernate.search.batchindexing.MassIndexerProgressMonitor monitor,
SessionFactory sessionFactory,
CountDownLatch producerEndSignal,
CacheMode cacheMode,
org.hibernate.search.spi.IndexedTypeIdentifier indexedType,
org.hibernate.search.engine.integration.impl.ExtendedSearchIntegrator searchFactory,
String idName,
org.hibernate.search.backend.spi.BatchBackend backend,
org.hibernate.search.exception.ErrorHandler errorHandler,
Integer transactionTimeout,
String tenantId) |
Copyright © 2019 JBoss by Red Hat. All rights reserved.