Interface DocumentStore
- All Known Implementing Classes:
DefaultDocumentStore
public interface DocumentStore
-
Method Summary
Modifier and TypeMethodDescriptiondefault CompletableFuture<Void>bulkUpdate(Collection<BulkUpdate> updates) bulkUpdate(Collection<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) default CompletableFuture<Void>default CompletableFuture<Void>default CompletableFuture<Void>default CompletableFuture<Void>index(Object object, Object id, Object collection, Instant begin, Instant end, Guarantee guarantee, boolean ifNotExists) default CompletableFuture<Void>index(Collection<?> objects, Object collection) default CompletableFuture<Void>index(Collection<?> objects, Object collection, String idPath, String timestampPath) default CompletableFuture<Void>index(Collection<?> objects, Object collection, String idPath, String beginPath, String endPath, Guarantee guarantee, boolean ifNotExists) default <T> CompletableFuture<Void>index(Collection<? extends T> objects, Object collection, Function<? super T, ?> idFunction) default <T> CompletableFuture<Void>index(Collection<? extends T> objects, Object collection, Function<? super T, ?> idFunction, Function<? super T, Instant> timestampFunction) default <T> CompletableFuture<Void>index(Collection<? extends T> objects, Object collection, Function<? super T, ?> idFunction, Function<? super T, Instant> beginFunction, Function<? super T, Instant> endFunction) <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) default CompletableFuture<Void>indexIfNotExists(Object object, Object collection) default CompletableFuture<Void>indexIfNotExists(Object object, Object id, Object collection) default CompletableFuture<Void>indexIfNotExists(Object object, Object id, Object collection, Instant timestamp) default CompletableFuture<Void>default <T> CompletableFuture<Void>indexIfNotExists(Collection<? extends T> objects, Object collection) default <T> CompletableFuture<Void>indexIfNotExists(Collection<? extends T> objects, Object collection, String idPath, String timestampPath) default <T> CompletableFuture<Void>indexIfNotExists(Collection<? extends T> objects, Object collection, String idPath, String beginPath, String endPath) default <T> CompletableFuture<Void>indexIfNotExists(Collection<? extends T> objects, Object collection, Function<? super T, ?> idFunction) default <T> CompletableFuture<Void>indexIfNotExists(Collection<? extends T> objects, Object collection, Function<? super T, ?> idFunction, Function<? super T, Instant> timestampFunction) default <T> CompletableFuture<Void>indexIfNotExists(Collection<? extends T> objects, Object collection, Function<? super T, ?> idFunction, Function<? super T, Instant> beginFunction, Function<? super T, Instant> endFunction) default Searchsearch(SearchQuery.Builder queryBuilder)
-
Method Details
-
index
-
index
-
index
-
index
-
index
-
index
-
index
default <T> CompletableFuture<Void> index(Collection<? extends T> objects, Object collection, Function<? super T, ?> idFunction) -
index
default CompletableFuture<Void> index(Collection<?> objects, Object collection, String idPath, String timestampPath) -
index
default CompletableFuture<Void> index(Collection<?> objects, Object collection, String idPath, String beginPath, String endPath) -
index
CompletableFuture<Void> index(Collection<?> objects, Object collection, String idPath, String beginPath, String endPath, Guarantee guarantee, boolean ifNotExists) -
index
default <T> CompletableFuture<Void> index(Collection<? extends T> objects, Object collection, Function<? super T, ?> idFunction, Function<? super T, Instant> timestampFunction) -
index
default <T> CompletableFuture<Void> index(Collection<? extends T> objects, Object collection, Function<? super T, ?> idFunction, Function<? super T, Instant> beginFunction, Function<? super T, Instant> endFunction) -
index
<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) -
indexIfNotExists
-
indexIfNotExists
-
indexIfNotExists
-
indexIfNotExists
-
indexIfNotExists
default <T> CompletableFuture<Void> indexIfNotExists(Collection<? extends T> objects, Object collection) -
indexIfNotExists
default <T> CompletableFuture<Void> indexIfNotExists(Collection<? extends T> objects, Object collection, Function<? super T, ?> idFunction) -
indexIfNotExists
default <T> CompletableFuture<Void> indexIfNotExists(Collection<? extends T> objects, Object collection, String idPath, String timestampPath) -
indexIfNotExists
default <T> CompletableFuture<Void> indexIfNotExists(Collection<? extends T> objects, Object collection, String idPath, String beginPath, String endPath) -
indexIfNotExists
default <T> CompletableFuture<Void> indexIfNotExists(Collection<? extends T> objects, Object collection, Function<? super T, ?> idFunction, Function<? super T, Instant> timestampFunction) -
indexIfNotExists
default <T> CompletableFuture<Void> indexIfNotExists(Collection<? extends T> objects, Object collection, Function<? super T, ?> idFunction, Function<? super T, Instant> beginFunction, Function<? super T, Instant> endFunction) -
bulkUpdate
-
bulkUpdate
-
search
-
search
-
fetchDocument
-
fetchDocument
-
deleteDocument
-
deleteCollection
-
createAuditTrail
-
getSerializer
DocumentSerializer getSerializer()
-