Uses of Class
org.hibernate.search.mapper.pojo.route.DocumentRoutesDescriptor
-
Packages that use DocumentRoutesDescriptor Package Description org.hibernate.search.mapper.pojo.route org.hibernate.search.mapper.pojo.work.spi -
-
Uses of DocumentRoutesDescriptor in org.hibernate.search.mapper.pojo.route
Methods in org.hibernate.search.mapper.pojo.route that return DocumentRoutesDescriptor Modifier and Type Method Description static 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 DocumentRoutesDescriptor Modifier and Type Field Description DocumentRoutesDescriptorPojoIndexingQueueEventPayload. routesMethods in org.hibernate.search.mapper.pojo.work.spi with parameters of type DocumentRoutesDescriptor Modifier and Type Method Description CompletableFuture<?>PojoIndexer. add(PojoRawTypeIdentifier<?> typeIdentifier, Object providedId, DocumentRoutesDescriptor providedRoutes, Object entity, DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy)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)Add an entity to the index, assuming that the entity is absent from the index.CompletableFuture<?>PojoIndexer. addOrUpdate(PojoRawTypeIdentifier<?> typeIdentifier, Object providedId, DocumentRoutesDescriptor providedRoutes, Object entity, DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy)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)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)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.CompletableFuture<?>PojoIndexer. delete(PojoRawTypeIdentifier<?> typeIdentifier, Object providedId, DocumentRoutesDescriptor providedRoutes, Object entity, DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy)Delete an entity from the index.CompletableFuture<?>PojoIndexer. delete(PojoRawTypeIdentifier<?> typeIdentifier, Object providedId, DocumentRoutesDescriptor providedRoutes, DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy)Purge an entity from the index.voidPojoIndexingPlan. delete(PojoRawTypeIdentifier<?> typeIdentifier, 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 DocumentRoutesDescriptor Constructor Description PojoIndexingQueueEventPayload(DocumentRoutesDescriptor routes, DirtinessDescriptor dirtiness)
-