Uses of Class
org.hibernate.search.mapper.pojo.route.DocumentRoutesDescriptor
Packages that use DocumentRoutesDescriptor
Package
Description
-
Uses of DocumentRoutesDescriptor in org.hibernate.search.mapper.pojo.route
Methods in org.hibernate.search.mapper.pojo.route that return DocumentRoutesDescriptorModifier and TypeMethodDescriptionstatic DocumentRoutesDescriptor
DocumentRoutesDescriptor.fromLegacyRoutingKey
(String providedRoutingKey) A util to convert the legacy representation of a route (a single string) to aDocumentRoutesDescriptor
.static DocumentRoutesDescriptor
DocumentRoutesDescriptor.of
(DocumentRouteDescriptor currentRoute) static DocumentRoutesDescriptor
DocumentRoutesDescriptor.of
(DocumentRouteDescriptor currentRoute, Collection<DocumentRouteDescriptor> previousRoutes) -
Uses of DocumentRoutesDescriptor in org.hibernate.search.mapper.pojo.work.spi
Fields in org.hibernate.search.mapper.pojo.work.spi declared as DocumentRoutesDescriptorModifier and TypeFieldDescriptionfinal DocumentRoutesDescriptor
PojoIndexingQueueEventPayload.routes
Methods in org.hibernate.search.mapper.pojo.work.spi with parameters of type DocumentRoutesDescriptorModifier and TypeMethodDescriptiondefault CompletableFuture<?>
PojoIndexer.add
(PojoRawTypeIdentifier<?> typeIdentifier, Object providedId, DocumentRoutesDescriptor providedRoutes, Object entity, DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy) Deprecated.PojoIndexer.add
(PojoRawTypeIdentifier<?> typeIdentifier, Object providedId, DocumentRoutesDescriptor providedRoutes, Object entity, DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy, OperationSubmitter operationSubmitter) Add an entity to the index, assuming that the entity is absent from the index.void
PojoIndexingPlan.add
(PojoRawTypeIdentifier<?> typeIdentifier, Object providedId, DocumentRoutesDescriptor providedRoutes, Object entity) Deprecated.UsetypeIfIncludedOrNull(typeIdentifier)
instead, then (if non-null).add(...)
on the result.void
PojoTypeIndexingPlan.add
(Object providedId, DocumentRoutesDescriptor providedRoutes, Object entity) Add an entity to the index, assuming that the entity is absent from the index.default CompletableFuture<?>
PojoIndexer.addOrUpdate
(PojoRawTypeIdentifier<?> typeIdentifier, Object providedId, DocumentRoutesDescriptor providedRoutes, Object entity, DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy) PojoIndexer.addOrUpdate
(PojoRawTypeIdentifier<?> typeIdentifier, Object providedId, DocumentRoutesDescriptor providedRoutes, Object entity, DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy, OperationSubmitter operationSubmitter) Update an entity in the index, or add it if it's absent from the index.void
PojoIndexingPlan.addOrUpdate
(PojoRawTypeIdentifier<?> typeIdentifier, Object providedId, DocumentRoutesDescriptor providedRoutes, Object entity, boolean forceSelfDirty, boolean forceContainingDirty, BitSet dirtyPaths) Deprecated.UsetypeIfIncludedOrNull(typeIdentifier)
instead, then (if non-null).addOrUpdate(...)
on the result.void
PojoTypeIndexingPlan.addOrUpdate
(Object providedId, DocumentRoutesDescriptor providedRoutes, Object entity, boolean forceSelfDirty, boolean forceContainingDirty, BitSet dirtyPaths) Consider an entity updated, and perform reindexing of this entity as well as containing entities as necessary, taking into accountdirtyPaths
,forceSelfDirty
andforceContainingDirty
.void
PojoIndexingPlan.addOrUpdateOrDelete
(PojoRawTypeIdentifier<?> typeIdentifier, Object providedId, DocumentRoutesDescriptor providedRoutes, boolean forceSelfDirty, boolean forceContainingDirty, BitSet dirtyPaths) Deprecated.UsetypeIfIncludedOrNull(typeIdentifier)
instead, then (if non-null).addOrUpdateOrDelete(...)
on the result.void
PojoTypeIndexingPlan.addOrUpdateOrDelete
(Object providedId, DocumentRoutesDescriptor providedRoutes, boolean forceSelfDirty, boolean forceContainingDirty, BitSet dirtyPaths) Consider an entity added, updated, or deleted, depending on the result of loading it by ID, and perform reindexing of this entity as well as containing entities as necessary, taking into accountdirtyPaths
,forceSelfDirty
andforceContainingDirty
.default CompletableFuture<?>
PojoIndexer.delete
(PojoRawTypeIdentifier<?> typeIdentifier, Object providedId, DocumentRoutesDescriptor providedRoutes, Object entity, DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy) PojoIndexer.delete
(PojoRawTypeIdentifier<?> typeIdentifier, Object providedId, DocumentRoutesDescriptor providedRoutes, Object entity, DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy, OperationSubmitter operationSubmitter) Delete an entity from the index.default CompletableFuture<?>
PojoIndexer.delete
(PojoRawTypeIdentifier<?> typeIdentifier, Object providedId, DocumentRoutesDescriptor providedRoutes, DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy) PojoIndexer.delete
(PojoRawTypeIdentifier<?> typeIdentifier, Object providedId, DocumentRoutesDescriptor providedRoutes, DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy, OperationSubmitter operationSubmitter) Purge an entity from the index.void
PojoIndexingPlan.delete
(PojoRawTypeIdentifier<?> typeIdentifier, Object providedId, DocumentRoutesDescriptor providedRoutes, Object entity) Deprecated.UsetypeIfIncludedOrNull(typeIdentifier)
instead, then (if non-null).delete(...)
on the result.void
PojoTypeIndexingPlan.delete
(Object providedId, DocumentRoutesDescriptor providedRoutes, Object entity) Delete an entity from the index.Constructors in org.hibernate.search.mapper.pojo.work.spi with parameters of type DocumentRoutesDescriptorModifierConstructorDescriptionPojoIndexingQueueEventPayload
(DocumentRoutesDescriptor routes, DirtinessDescriptor dirtiness)
PojoIndexer.add(PojoRawTypeIdentifier, Object, DocumentRoutesDescriptor, Object, DocumentCommitStrategy, DocumentRefreshStrategy, OperationSubmitter)
instead.