public interface ExtendedSearchIntegrator extends SearchIntegrator
| Modifier and Type | Method and Description |
|---|---|
Properties |
getConfigurationProperties() |
DatabaseRetrievalMethod |
getDefaultDatabaseRetrievalMethod()
Returns the default
DatabaseRetrievalMethod. |
ObjectLookupMethod |
getDefaultObjectLookupMethod()
Returns the default
ObjectLookupMethod. |
DocumentBuilderContainedEntity |
getDocumentBuilderContainedEntity(Class<?> entityType) |
int |
getFilterCacheBitResultsSize() |
FilterCachingStrategy |
getFilterCachingStrategy() |
FilterDef |
getFilterDefinition(String name) |
Map<Class<?>,EntityIndexBinding> |
getIndexBindings()
Returns a map of all known entity index binding (indexed entities) keyed against the indexed type
|
Set<Class<?>> |
getIndexedTypesPolymorphic(Class<?>[] classes)
Given a set of target entities, return the set of indexed types following our
polymorphism rules for propagation of the
Indexed annotation:
It returns an empty set if none of the target entities is indexed, nor any of their sub types. |
IndexManagerHolder |
getIndexManagerHolder() |
InstanceInitializer |
getInstanceInitializer() |
StatisticsImplementor |
getStatisticsImplementor()
Retrieve the statistics implementor instance for this factory.
|
TimingSource |
getTimingSource() |
boolean |
isDirtyChecksEnabled() |
boolean |
isIndexUninvertingAllowed()
Whether index uninverting should be done when running queries with sorts not covered by the configured sortable
fields.
|
boolean |
isJMXEnabled() |
addClasses, buildQueryBuilder, close, createHSQuery, getAnalyzer, getAnalyzer, getDefaultTimeoutExceptionFactory, getErrorHandler, getIndexBinding, getIndexedTypeDescriptor, getIndexedTypes, getIndexingMode, getIndexManager, getIndexReaderAccessor, getServiceManager, getStatistics, getWorker, isStopped, makeBatchBackend, optimize, optimize, unwrapMap<Class<?>,EntityIndexBinding> getIndexBindings()
DocumentBuilderContainedEntity getDocumentBuilderContainedEntity(Class<?> entityType)
FilterCachingStrategy getFilterCachingStrategy()
int getFilterCacheBitResultsSize()
Set<Class<?>> getIndexedTypesPolymorphic(Class<?>[] classes)
Indexed annotation:
It returns an empty set if none of the target entities is indexed, nor any of their sub types.
Each of the classes of the argument is returned iff explicitly marked as indexed.
Each of the known subtypes of these classes which are explicitly marked as indexed are
added to the returned set.
The Indexed annotation is not inherited by subtypes which don't explicitly have it.
Passing Object.class among the parameters will have the returned set contain all known indexed types.classes - a list of typesboolean isJMXEnabled()
true if JMX is enabledStatisticsImplementor getStatisticsImplementor()
boolean isDirtyChecksEnabled()
true if we are allowed to inspect entity state to skip some indexing operations.
Can be disabled to get pre-3.4 behavior which always rebuilds the document.IndexManagerHolder getIndexManagerHolder()
IndexManagerHolder which gives access to all index managers known to this factoryInstanceInitializer getInstanceInitializer()
InstanceInitializer for class/object initialization.TimingSource getTimingSource()
Properties getConfigurationProperties()
DatabaseRetrievalMethod getDefaultDatabaseRetrievalMethod()
DatabaseRetrievalMethod.
This is either the system default or the default specified via the configuration property
Environment.DATABASE_RETRIEVAL_METHOD.DatabaseRetrievalMethod.ObjectLookupMethod getDefaultObjectLookupMethod()
ObjectLookupMethod.
This is either the system default or the default specified via the configuration property
Environment.OBJECT_LOOKUP_METHOD.OBJECT_LOOKUP_METHOD.boolean isIndexUninvertingAllowed()
Copyright © 2006–2017 Hibernate. All rights reserved.