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 DocumentRoutesDescriptorDocumentRoutesDescriptor.fromLegacyRoutingKey(String providedRoutingKey) A util to convert the legacy representation of a route (a single string) to aDocumentRoutesDescriptor.static DocumentRoutesDescriptorDocumentRoutesDescriptor.of(DocumentRouteDescriptor currentRoute) static DocumentRoutesDescriptorDocumentRoutesDescriptor.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 DocumentRoutesDescriptorPojoIndexingQueueEventPayload.routesMethods 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, org.hibernate.search.engine.backend.work.execution.DocumentCommitStrategy commitStrategy, org.hibernate.search.engine.backend.work.execution.DocumentRefreshStrategy refreshStrategy) Deprecated.PojoIndexer.add(PojoRawTypeIdentifier<?> typeIdentifier, Object providedId, DocumentRoutesDescriptor providedRoutes, Object entity, org.hibernate.search.engine.backend.work.execution.DocumentCommitStrategy commitStrategy, org.hibernate.search.engine.backend.work.execution.DocumentRefreshStrategy refreshStrategy, org.hibernate.search.engine.backend.work.execution.OperationSubmitter operationSubmitter) Add an entity to the index, assuming that the entity is absent from the index.voidPojoIndexingPlan.add(PojoRawTypeIdentifier<?> typeIdentifier, Object providedId, DocumentRoutesDescriptor providedRoutes, Object entity) Deprecated.UsetypeIfIncludedOrNull(typeIdentifier)instead, then (if non-null).add(...)on the result.voidPojoTypeIndexingPlan.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, org.hibernate.search.engine.backend.work.execution.DocumentCommitStrategy commitStrategy, org.hibernate.search.engine.backend.work.execution.DocumentRefreshStrategy refreshStrategy) PojoIndexer.addOrUpdate(PojoRawTypeIdentifier<?> typeIdentifier, Object providedId, DocumentRoutesDescriptor providedRoutes, Object entity, org.hibernate.search.engine.backend.work.execution.DocumentCommitStrategy commitStrategy, org.hibernate.search.engine.backend.work.execution.DocumentRefreshStrategy refreshStrategy, org.hibernate.search.engine.backend.work.execution.OperationSubmitter operationSubmitter) Update an entity in the index, or add it if it's absent from the index.voidPojoIndexingPlan.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.voidPojoTypeIndexingPlan.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,forceSelfDirtyandforceContainingDirty.voidPojoIndexingPlan.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.voidPojoTypeIndexingPlan.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,forceSelfDirtyandforceContainingDirty.default CompletableFuture<?> PojoIndexer.delete(PojoRawTypeIdentifier<?> typeIdentifier, Object providedId, DocumentRoutesDescriptor providedRoutes, Object entity, org.hibernate.search.engine.backend.work.execution.DocumentCommitStrategy commitStrategy, org.hibernate.search.engine.backend.work.execution.DocumentRefreshStrategy refreshStrategy) PojoIndexer.delete(PojoRawTypeIdentifier<?> typeIdentifier, Object providedId, DocumentRoutesDescriptor providedRoutes, Object entity, org.hibernate.search.engine.backend.work.execution.DocumentCommitStrategy commitStrategy, org.hibernate.search.engine.backend.work.execution.DocumentRefreshStrategy refreshStrategy, org.hibernate.search.engine.backend.work.execution.OperationSubmitter operationSubmitter) Delete an entity from the index.default CompletableFuture<?> PojoIndexer.delete(PojoRawTypeIdentifier<?> typeIdentifier, Object providedId, DocumentRoutesDescriptor providedRoutes, org.hibernate.search.engine.backend.work.execution.DocumentCommitStrategy commitStrategy, org.hibernate.search.engine.backend.work.execution.DocumentRefreshStrategy refreshStrategy) PojoIndexer.delete(PojoRawTypeIdentifier<?> typeIdentifier, Object providedId, DocumentRoutesDescriptor providedRoutes, org.hibernate.search.engine.backend.work.execution.DocumentCommitStrategy commitStrategy, org.hibernate.search.engine.backend.work.execution.DocumentRefreshStrategy refreshStrategy, org.hibernate.search.engine.backend.work.execution.OperationSubmitter operationSubmitter) Purge an entity from the index.voidPojoIndexingPlan.delete(PojoRawTypeIdentifier<?> typeIdentifier, Object providedId, DocumentRoutesDescriptor providedRoutes, Object entity) Deprecated.UsetypeIfIncludedOrNull(typeIdentifier)instead, then (if non-null).delete(...)on the result.voidPojoTypeIndexingPlan.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.