public interface EntityDocumentFactory<T extends WithId>
Modifier and Type | Interface and Description |
---|---|
static class |
EntityDocumentFactory.EntityDocumentBuilder<T extends WithId,C extends EntityDocumentFactory.EntityDocumentBuilder<T,C>> |
Modifier and Type | Field and Description |
---|---|
static Long |
ENTITY_VERSION_ZERO |
Modifier and Type | Method and Description |
---|---|
Optional<org.apache.lucene.document.Document> |
createDocument(EntityWithVersion<T> entity) |
default Map<EntityWithVersion<T>,Optional<org.apache.lucene.document.Document>> |
createDocuments(List<EntityWithVersion<T>> entities) |
static final Long ENTITY_VERSION_ZERO
Optional<org.apache.lucene.document.Document> createDocument(EntityWithVersion<T> entity)
default Map<EntityWithVersion<T>,Optional<org.apache.lucene.document.Document>> createDocuments(List<EntityWithVersion<T>> entities)
Copyright © 2002-2021 Atlassian. All Rights Reserved.