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 |
BasicQueryContract.getCacheMode()
Deprecated.
Obtain the CacheMode in effect for this query.
|
CacheMode |
Query.getCacheMode()
Deprecated.
Obtain the CacheMode in effect for this query.
|
CacheMode |
Session.getCacheMode()
Get the current cache mode.
|
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 |
---|---|
T |
BasicQueryContract.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.
|
Query<R> |
Query.setCacheMode(CacheMode cacheMode)
Deprecated.
(Re)set the current CacheMode in effect for this query.
|
NativeQuery<T> |
SQLQuery.setCacheMode(CacheMode cacheMode)
Deprecated.
|
void |
Session.setCacheMode(CacheMode cacheMode)
Set the cache mode.
|
IdentifierLoadAccess<T> |
IdentifierLoadAccess.with(CacheMode cacheMode)
Specify the
CacheMode to use when retrieving the entity. |
MultiIdentifierLoadAccess<T> |
MultiIdentifierLoadAccess.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 |
JaxbHbmNamedNativeQueryType.cacheMode |
protected CacheMode |
JaxbHbmNamedQueryType.cacheMode |
Modifier and Type | Method and Description |
---|---|
CacheMode |
JaxbHbmNamedNativeQueryType.getCacheMode()
Gets the value of the cacheMode property.
|
CacheMode |
JaxbHbmNamedQueryType.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 |
JaxbHbmNamedNativeQueryType.setCacheMode(CacheMode value)
Sets the value of the cacheMode property.
|
void |
JaxbHbmNamedQueryType.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 |
NamedQueryDefinition.getCacheMode() |
CacheMode |
SessionDelegatorBaseImpl.getCacheMode() |
CacheMode |
SharedSessionContractImplementor.getCacheMode() |
Modifier and Type | Method and Description |
---|---|
NamedQueryDefinitionBuilder |
NamedQueryDefinitionBuilder.setCacheMode(CacheMode cacheMode) |
NamedSQLQueryDefinitionBuilder |
NamedSQLQueryDefinitionBuilder.setCacheMode(CacheMode cacheMode) |
void |
SessionDelegatorBaseImpl.setCacheMode(CacheMode cm) |
void |
SharedSessionContractImplementor.setCacheMode(CacheMode cm) |
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 |
---|---|
AuditAssociationQuery<Q> |
AuditAssociationQuery.setCacheMode(CacheMode cacheMode) |
AuditQuery |
AuditQuery.setCacheMode(CacheMode cacheMode) |
Modifier and Type | Method and Description |
---|---|
AuditQuery |
AbstractAuditQuery.setCacheMode(CacheMode cacheMode) |
AuditAssociationQueryImpl<Q> |
AuditAssociationQueryImpl.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) |
void |
AbstractSharedSessionContract.setCacheMode(CacheMode cacheMode) |
Criteria |
CriteriaImpl.setCacheMode(CacheMode cacheMode) |
Criteria |
CriteriaImpl.Subcriteria.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 |
---|---|
NativeQuery<T> |
NativeQuery.setCacheMode(CacheMode cacheMode) |
Query<R> |
Query.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.
|
QueryImplementor |
AbstractProducedQuery.setCacheMode(CacheMode cacheMode) |
NativeQueryImplementor<T> |
NativeQueryImpl.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 © 2020 JBoss by Red Hat. All rights reserved.