| Modifier and Type | Method and Description |
|---|---|
IndexedTypeIdentifier |
LuceneWork.getEntityType() |
| Constructor and Description |
|---|
AddLuceneWork(Serializable id,
String idInString,
IndexedTypeIdentifier entityType,
org.apache.lucene.document.Document document) |
AddLuceneWork(Serializable id,
String idInString,
IndexedTypeIdentifier entityType,
org.apache.lucene.document.Document document,
Map<String,String> fieldToAnalyzerMap) |
AddLuceneWork(String tenantId,
Serializable id,
String idInString,
IndexedTypeIdentifier entityType,
org.apache.lucene.document.Document document) |
AddLuceneWork(String tenantId,
Serializable id,
String idInString,
IndexedTypeIdentifier entityType,
org.apache.lucene.document.Document document,
Map<String,String> fieldToAnalyzerMap) |
DeleteLuceneWork(Serializable id,
String idInString,
IndexedTypeIdentifier typeIdentifier) |
DeleteLuceneWork(String tenantId,
Serializable id,
String idInString,
IndexedTypeIdentifier typeIdentifier) |
FlushLuceneWork(String tenantId,
IndexedTypeIdentifier typeIdentifier)
Flushes all index operations for a specific entity.
|
LuceneWork(String tenantId,
Serializable id,
String idInString,
IndexedTypeIdentifier typeIdentifier) |
LuceneWork(String tenantId,
Serializable id,
String idInString,
IndexedTypeIdentifier typeIdentifier,
org.apache.lucene.document.Document document) |
OptimizeLuceneWork(IndexedTypeIdentifier entityType)
Optimizes the index(es) of a specific entity
|
PurgeAllLuceneWork(IndexedTypeIdentifier type) |
PurgeAllLuceneWork(String tenantId,
IndexedTypeIdentifier type) |
UpdateLuceneWork(Serializable id,
String idInString,
IndexedTypeIdentifier entityType,
org.apache.lucene.document.Document document) |
UpdateLuceneWork(Serializable id,
String idInString,
IndexedTypeIdentifier entityType,
org.apache.lucene.document.Document document,
Map<String,String> fieldToAnalyzerMap) |
UpdateLuceneWork(String tenantId,
Serializable id,
String idInString,
IndexedTypeIdentifier entityType,
org.apache.lucene.document.Document document) |
UpdateLuceneWork(String tenantId,
Serializable id,
String idInString,
IndexedTypeIdentifier entityType,
org.apache.lucene.document.Document document,
Map<String,String> fieldToAnalyzerMap) |
| Modifier and Type | Method and Description |
|---|---|
DocumentBuilderIndexedEntity |
AbstractWorkspaceImpl.getDocumentBuilder(IndexedTypeIdentifier type) |
| Modifier and Type | Method and Description |
|---|---|
IndexedTypeIdentifier |
Work.getTypeIdentifier() |
| Constructor and Description |
|---|
DeleteByQueryLuceneWork(IndexedTypeIdentifier typeIdentifier,
DeletionQuery deletionQuery) |
DeleteByQueryLuceneWork(String tenantId,
IndexedTypeIdentifier typeIdentifier,
DeletionQuery deletionQuery) |
DeleteByQueryWork(IndexedTypeIdentifier entityType,
DeletionQuery deletionQuery) |
DeleteByQueryWork(String tenantId,
IndexedTypeIdentifier entityType,
DeletionQuery deletionQuery)
Creates a DeleteByWork
|
Work(IndexedTypeIdentifier entityType,
Serializable id,
WorkType type) |
Work(String tenantId,
IndexedTypeIdentifier entityType,
Serializable id,
WorkType type) |
| Modifier and Type | Method and Description |
|---|---|
ConversionContext |
ConversionContext.setConvertedTypeId(IndexedTypeIdentifier type)
In case the next conversion fails, the error message will point to this type.
|
| Modifier and Type | Method and Description |
|---|---|
ConversionContext |
ContextualExceptionBridgeHelper.setConvertedTypeId(IndexedTypeIdentifier type) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
IdUniquenessResolver.areIdsUniqueForClasses(IndexedTypeIdentifier firstEntity,
IndexedTypeIdentifier secondEntity)
Returns
true if the same identifier value cannot be shared between
two class instances of entityInIndex and otherEntityInIndex. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
DefaultIdUniquenessResolver.areIdsUniqueForClasses(IndexedTypeIdentifier firstEntity,
IndexedTypeIdentifier secondEntity) |
| Modifier and Type | Method and Description |
|---|---|
IndexedTypeIdentifier |
SimpleInitializer.getIndexedTypeIdFromWork(Work work) |
| Modifier and Type | Method and Description |
|---|---|
ScopedAnalyzerReference |
ExtendedSearchIntegrator.getAnalyzerReference(IndexedTypeIdentifier type)
Retrieve the scoped analyzer reference for a given indexed type.
|
DocumentBuilderContainedEntity |
ExtendedSearchIntegrator.getDocumentBuilderContainedEntity(IndexedTypeIdentifier entityType) |
| Modifier and Type | Method and Description |
|---|---|
IndexedTypeIdentifier |
TypeMetadata.Builder.getIndexedType() |
IndexedTypeIdentifier |
TypeMetadata.getType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
AnnotationMetadataProvider.containsSearchMetadata(IndexedTypeIdentifier type) |
boolean |
MetadataProvider.containsSearchMetadata(IndexedTypeIdentifier type) |
TypeMetadata |
AnnotationMetadataProvider.getTypeMetadataFor(IndexedTypeIdentifier type,
IndexManagerType indexManagerType) |
TypeMetadata |
MetadataProvider.getTypeMetadataFor(IndexedTypeIdentifier type,
IndexManagerType indexManagerType)
Returns the Search related metadata for the specified type.
|
TypeMetadata |
AnnotationMetadataProvider.getTypeMetadataForContainedIn(IndexedTypeIdentifier type) |
TypeMetadata |
MetadataProvider.getTypeMetadataForContainedIn(IndexedTypeIdentifier type)
Returns the
ContainedIn related metadata for the specified type. |
| Constructor and Description |
|---|
Builder(IndexedTypeIdentifier indexedType,
ConfigContext configContext,
ParseContext parseContext) |
Builder(IndexedTypeIdentifier indexedType,
TypeMetadata.Builder containerTypeBuilder) |
Builder(TypeMetadata.Builder parentTypeBuilder,
IndexedTypeIdentifier indexedType,
BackReference<PropertyMetadata> sourceProperty,
org.hibernate.annotations.common.reflection.XMember embeddedGetter,
String embeddedFieldPrefix) |
| Modifier and Type | Method and Description |
|---|---|
NestingContext |
DefaultNestingContextFactory.createNestingContext(IndexedTypeIdentifier indexedEntityType) |
NestingContext |
NestingContextFactory.createNestingContext(IndexedTypeIdentifier indexedEntityType) |
| Modifier and Type | Method and Description |
|---|---|
NullMarkerCodec |
MissingValueStrategy.createNullMarkerCodec(IndexedTypeIdentifier entityType,
PartialDocumentFieldMetadata fieldMetadata,
NullMarker marker) |
NullMarkerCodec |
LuceneMissingValueStrategy.createNullMarkerCodec(IndexedTypeIdentifier entityType,
PartialDocumentFieldMetadata fieldMetadata,
NullMarker nullMarker) |
| Modifier and Type | Method and Description |
|---|---|
IndexedTypeIdentifier |
DocumentBuilderIndexedEntity.getTypeIdentifier() |
| Modifier and Type | Method and Description |
|---|---|
void |
DocumentBuilderIndexedEntity.addWorkToQueue(String tenantId,
IndexedTypeIdentifier typeIdentifier,
Object entity,
Serializable id,
boolean delete,
boolean add,
List<LuceneWork> queue,
ConversionContext contextualBridge) |
void |
DocumentBuilderContainedEntity.addWorkToQueue(String tenantId,
IndexedTypeIdentifier typeIdentifier,
Object entity,
Serializable id,
boolean delete,
boolean add,
List<LuceneWork> queue,
ConversionContext contextualBridge) |
abstract void |
AbstractDocumentBuilder.addWorkToQueue(String tenantIdentifier,
IndexedTypeIdentifier typeIdentifier,
Object entity,
Serializable id,
boolean delete,
boolean add,
List<LuceneWork> queue,
ConversionContext contextualBridge) |
AddLuceneWork |
DocumentBuilderIndexedEntity.createAddWork(String tenantId,
IndexedTypeIdentifier entityType,
Object entity,
Serializable id,
String idInString,
InstanceInitializer sessionInitializer,
ConversionContext conversionContext) |
UpdateLuceneWork |
DocumentBuilderIndexedEntity.createUpdateWork(String tenantId,
IndexedTypeIdentifier entityType,
Object entity,
Serializable id,
String idInString,
InstanceInitializer sessionInitializer,
ConversionContext contextualBridge) |
| Modifier and Type | Method and Description |
|---|---|
MutableEntityIndexBinding |
IndexManagerHolder.buildEntityIndexBinding(org.hibernate.annotations.common.reflection.XClass entity,
IndexedTypeIdentifier mappedClassId,
SearchConfiguration cfg,
WorkerBuildContext buildContext) |
Set<IndexManager> |
IndexShardingStrategyIndexManagerSelector.forExisting(IndexedTypeIdentifier typeId,
Serializable id,
String idInString) |
Set<IndexManager> |
NotShardedIndexManagerSelector.forExisting(IndexedTypeIdentifier typeId,
Serializable id,
String idInString) |
IndexManager |
IndexShardingStrategyIndexManagerSelector.forNew(IndexedTypeIdentifier typeId,
Serializable id,
String idInString,
org.apache.lucene.document.Document document) |
IndexManager |
NotShardedIndexManagerSelector.forNew(IndexedTypeIdentifier typeId,
Serializable id,
String idInString,
org.apache.lucene.document.Document document) |
| Modifier and Type | Method and Description |
|---|---|
void |
DirectoryBasedIndexManager.addContainedEntity(IndexedTypeIdentifier entity) |
void |
IndexManager.addContainedEntity(IndexedTypeIdentifier entityType) |
Set<IndexManager> |
IndexManagerSelector.forExisting(IndexedTypeIdentifier typeId,
Serializable id,
String idInString) |
IndexManager |
IndexManagerSelector.forNew(IndexedTypeIdentifier typeId,
Serializable id,
String idInString,
org.apache.lucene.document.Document document) |
EntityIndexBinding |
DirectoryBasedIndexManager.getIndexBinding(IndexedTypeIdentifier type) |
| Modifier and Type | Method and Description |
|---|---|
IndexedTypeIdentifier |
IndexedTypeDescriptor.getIndexedType() |
| Modifier and Type | Method and Description |
|---|---|
IndexedTypeIdentifier |
IndexedTypeDescriptorForUnindexedType.getIndexedType() |
IndexedTypeIdentifier |
IndexedTypeDescriptorImpl.getIndexedType() |
| Constructor and Description |
|---|
IndexedTypeDescriptorForUnindexedType(IndexedTypeIdentifier freeFormType) |
| Modifier and Type | Method and Description |
|---|---|
IndexedTypeIdentifier |
QueryBuildingContext.getEntityType() |
| Constructor and Description |
|---|
HSearchEntityContext(IndexedTypeIdentifier entityType,
ExtendedSearchIntegrator factory) |
QueryBuildingContext(ExtendedSearchIntegrator factory,
ScopedAnalyzerReference originalAnalyzerReference,
ScopedAnalyzerReference queryAnalyzerReference,
IndexedTypeIdentifier indexBoundType) |
| Modifier and Type | Method and Description |
|---|---|
IndexedTypeIdentifier |
EntityInfoImpl.getType() |
| Modifier and Type | Method and Description |
|---|---|
protected Optional<CustomTypeMetadata> |
AbstractHSQuery.getCustomTypeMetadata(IndexedTypeIdentifier target) |
List<String> |
SortConfigurations.SortConfiguration.getUncoveredSorts(IndexedTypeIdentifier entityType,
org.apache.lucene.search.Sort sort) |
SortConfigurations.Builder |
SortConfigurations.Builder.setEntityType(IndexedTypeIdentifier indexedTypeIdentifier) |
| Constructor and Description |
|---|
EntityInfoImpl(IndexedTypeIdentifier type,
String idName,
Serializable id,
Object[] projection) |
| Constructor and Description |
|---|
SortConfiguration(String indexName,
Map<IndexedTypeIdentifier,List<SortableFieldMetadata>> sortableFieldsByType) |
| Modifier and Type | Method and Description |
|---|---|
IndexedTypeIdentifier |
EntityInfo.getType() |
| Modifier and Type | Method and Description |
|---|---|
IndexedTypeIdentifier |
InstanceInitializer.getIndexedTypeIdFromWork(Work work) |
IndexedTypeIdentifier |
IndexedTypeMap.keyFromName(String entityClassName)
Returns a type identified by its unique name.
|
IndexedTypeIdentifier |
IndexedTypeMap.keyFromPojoType(Class<?> clazz)
Returns a type identifier to the passed class.
|
| Modifier and Type | Method and Description |
|---|---|
Iterable<Map.Entry<IndexedTypeIdentifier,V>> |
IndexedTypeMap.entrySet() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
IndexedTypeMap.containsKey(IndexedTypeIdentifier type) |
V |
IndexedTypeMap.get(IndexedTypeIdentifier type) |
org.apache.lucene.analysis.Analyzer |
SearchIntegrator.getAnalyzer(IndexedTypeIdentifier typeId)
Retrieves the scoped analyzer for a given indexed type.
|
EntityIndexBinding |
SearchIntegrator.getIndexBinding(IndexedTypeIdentifier entityType)
Returns the entity to index binding for the given type.
|
IndexedTypeDescriptor |
SearchIntegrator.getIndexedTypeDescriptor(IndexedTypeIdentifier typeId)
Returns a descriptor for the specified entity type describing its indexed state.
|
void |
SearchIntegrator.optimize(IndexedTypeIdentifier entityType)
Optimize the index holding
entityType |
void |
IndexedTypeMap.put(IndexedTypeIdentifier type,
V typeBinding)
Deprecated.
This method will be removed. The implementations will be refactored to become immutable.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PojoIndexedTypeIdentifier |
| Modifier and Type | Method and Description |
|---|---|
static IndexedTypeIdentifier |
PojoIndexedTypeIdentifier.convertFromLegacy(Class<?> clazz) |
| Modifier and Type | Method and Description |
|---|---|
static Collector<IndexedTypeIdentifier,?,IndexedTypeSet> |
IndexedTypeSets.streamCollector() |
| Modifier and Type | Method and Description |
|---|---|
static IndexedTypeSet |
IndexedTypeSets.composite(IndexedTypeSet set,
IndexedTypeIdentifier additionalId) |
static Class<?> |
PojoIndexedTypeIdentifier.convertToLegacy(IndexedTypeIdentifier type) |
static IndexedTypeSet |
IndexedTypeSets.fromIdentifiers(IndexedTypeIdentifier... types) |
static <V> IndexedTypeMap<V> |
IndexedTypeMaps.singletonMapping(IndexedTypeIdentifier key,
V value) |
| Modifier and Type | Method and Description |
|---|---|
static IndexedTypeSet |
IndexedTypeSets.fromIdentifiers(Iterable<IndexedTypeIdentifier> entityTypes) |
| Modifier and Type | Method and Description |
|---|---|
DocumentBuilderIndexedEntity |
Workspace.getDocumentBuilder(IndexedTypeIdentifier type)
Deprecated.
|
| Constructor and Description |
|---|
IndexedTypeIdentifierFormatter(IndexedTypeIdentifier type) |
Copyright © 2006–2017 Hibernate. All rights reserved.