Interface DocumentStore
- All Known Implementing Classes:
DefaultDocumentStore
public interface DocumentStore
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidbulkUpdate(Collection<BulkUpdate> updates) bulkUpdate(Collection<BulkUpdate> updates, Guarantee guarantee) createAuditTrail(String collection, Duration retentionTime) deleteCollection(String collection) deleteDocument(String id, String collection) <T> Optional<T>fetchDocument(String id, String collection) <T> Optional<T>fetchDocument(String id, String collection, Class<T> type) default voiddefault voiddefault voiddefault voidindex(Object object, String id, String collection, Instant begin, Instant end, Guarantee guarantee, boolean ifNotExists) default <T> voidindex(Collection<? extends T> objects, String collection) default <T> voidindex(Collection<? extends T> objects, String collection, String idPath, String timestampPath) default <T> voidindex(Collection<? extends T> objects, String collection, String idPath, String beginPath, String endPath) <T> CompletableFuture<Void>index(Collection<? extends T> objects, String collection, String idPath, String beginPath, String endPath, Guarantee guarantee, boolean ifNotExists) default <T> voidindex(Collection<? extends T> objects, String collection, Function<? super T, String> idFunction) default <T> voidindex(Collection<? extends T> objects, String collection, Function<? super T, String> idFunction, Function<? super T, Instant> timestampFunction) default <T> voidindex(Collection<? extends T> objects, String collection, Function<? super T, String> idFunction, Function<? super T, Instant> beginFunction, Function<? super T, Instant> endFunction) <T> CompletableFuture<Void>index(Collection<? extends T> objects, String collection, Function<? super T, String> idFunction, Function<? super T, Instant> beginFunction, Function<? super T, Instant> endFunction, Guarantee guarantee, boolean ifNotExists) default voidindexIfNotExists(Object object, String collection) default voidindexIfNotExists(Object object, String id, String collection) default voidindexIfNotExists(Object object, String id, String collection, Instant timestamp) default voiddefault <T> voidindexIfNotExists(Collection<? extends T> objects, String collection) default <T> voidindexIfNotExists(Collection<? extends T> objects, String collection, String idPath, String timestampPath) default <T> voidindexIfNotExists(Collection<? extends T> objects, String collection, String idPath, String beginPath, String endPath) default <T> voidindexIfNotExists(Collection<? extends T> objects, String collection, Function<? super T, String> idFunction) default <T> voidindexIfNotExists(Collection<? extends T> objects, String collection, Function<? super T, String> idFunction, Function<? super T, Instant> timestampFunction) default <T> voidindexIfNotExists(Collection<? extends T> objects, String collection, Function<? super T, String> idFunction, Function<? super T, Instant> beginFunction, Function<? super T, Instant> endFunction) search(SearchQuery.Builder queryBuilder) default Search
-
Method Details
-
index
-
index
-
index
-
index
-
index
-
index
-
index
default <T> void index(Collection<? extends T> objects, String collection, Function<? super T, String> idFunction) -
index
default <T> void index(Collection<? extends T> objects, String collection, @Nullable String idPath, @Nullable String timestampPath) -
index
default <T> void index(Collection<? extends T> objects, String collection, @Nullable String idPath, @Nullable String beginPath, @Nullable String endPath) -
index
<T> CompletableFuture<Void> index(Collection<? extends T> objects, String collection, @Nullable String idPath, @Nullable String beginPath, @Nullable String endPath, Guarantee guarantee, boolean ifNotExists) -
index
-
index
-
index
-
indexIfNotExists
-
indexIfNotExists
-
indexIfNotExists
-
indexIfNotExists
-
indexIfNotExists
-
indexIfNotExists
default <T> void indexIfNotExists(Collection<? extends T> objects, String collection, Function<? super T, String> idFunction) -
indexIfNotExists
default <T> void indexIfNotExists(Collection<? extends T> objects, String collection, @Nullable String idPath, @Nullable String timestampPath) -
indexIfNotExists
default <T> void indexIfNotExists(Collection<? extends T> objects, String collection, @Nullable String idPath, @Nullable String beginPath, @Nullable String endPath) -
indexIfNotExists
-
indexIfNotExists
-
bulkUpdate
-
bulkUpdate
-
search
-
search
-
fetchDocument
-
fetchDocument
-
deleteDocument
-
deleteCollection
-
createAuditTrail
-
getSerializer
DocumentSerializer getSerializer()
-