Class DefaultDocumentStore
java.lang.Object
io.fluxcapacitor.javaclient.persisting.search.DefaultDocumentStore
- All Implemented Interfaces:
DocumentStore
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbulkUpdate(Collection<? extends BulkUpdate> updates, Guarantee guarantee) createAuditTrail(Object collection, Duration retentionTime) deleteCollection(Object collection) deleteDocument(Object id, Object collection) <T> Optional<T>fetchDocument(Object id, Object collection) <T> Optional<T>fetchDocument(Object id, Object collection, Class<T> type) index(Object object, Object id, Object collection, Instant begin, Instant end, Guarantee guarantee, boolean ifNotExists) index(Collection<?> objects, Object collection, String idPath, String beginPath, String endPath, Guarantee guarantee, boolean ifNotExists) <T> CompletableFuture<Void>index(Collection<? extends T> objects, Object collection, Function<? super T, ?> idFunction, Function<? super T, Instant> beginFunction, Function<? super T, Instant> endFunction, Guarantee guarantee, boolean ifNotExists) search(SearchQuery.Builder searchBuilder) serializeAction(BulkUpdate update) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.fluxcapacitor.javaclient.persisting.search.DocumentStore
bulkUpdate, getSerializer, index, index, index, index, index, index, index, index, index, index, indexIfNotExists, indexIfNotExists, indexIfNotExists, indexIfNotExists, indexIfNotExists, indexIfNotExists, indexIfNotExists, indexIfNotExists, indexIfNotExists, indexIfNotExists, search
-
Constructor Details
-
DefaultDocumentStore
public DefaultDocumentStore()
-
-
Method Details
-
index
public CompletableFuture<Void> index(Object object, Object id, Object collection, Instant begin, Instant end, Guarantee guarantee, boolean ifNotExists) - Specified by:
indexin interfaceDocumentStore
-
index
public CompletableFuture<Void> index(Collection<?> objects, Object collection, String idPath, String beginPath, String endPath, Guarantee guarantee, boolean ifNotExists) - Specified by:
indexin interfaceDocumentStore
-
index
public <T> CompletableFuture<Void> index(Collection<? extends T> objects, Object collection, Function<? super T, ?> idFunction, Function<? super T, Instant> beginFunction, Function<? super T, Instant> endFunction, Guarantee guarantee, boolean ifNotExists) - Specified by:
indexin interfaceDocumentStore
-
bulkUpdate
public CompletableFuture<Void> bulkUpdate(Collection<? extends BulkUpdate> updates, Guarantee guarantee) - Specified by:
bulkUpdatein interfaceDocumentStore
-
serializeAction
-
search
- Specified by:
searchin interfaceDocumentStore
-
fetchDocument
- Specified by:
fetchDocumentin interfaceDocumentStore
-
fetchDocument
- Specified by:
fetchDocumentin interfaceDocumentStore
-
deleteDocument
- Specified by:
deleteDocumentin interfaceDocumentStore
-
deleteCollection
- Specified by:
deleteCollectionin interfaceDocumentStore
-
createAuditTrail
- Specified by:
createAuditTrailin interfaceDocumentStore
-