public class InMemoryDocumentView extends Object implements DocumentView
| Constructor and Description |
|---|
InMemoryDocumentView() |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<Long> |
count(String collection) |
io.reactivex.Observable<DocumentWithKey> |
findAll(String collection) |
io.reactivex.Maybe<Map<String,Object>> |
findById(String collection,
String key) |
io.reactivex.Completable |
remove(String collection,
String key) |
io.reactivex.Completable |
save(String collection,
String key,
Map<String,Object> document) |
public io.reactivex.Completable save(String collection, String key, Map<String,Object> document)
save in interface DocumentViewpublic io.reactivex.Maybe<Map<String,Object>> findById(String collection, String key)
findById in interface DocumentViewpublic io.reactivex.Single<Long> count(String collection)
count in interface DocumentViewpublic io.reactivex.Observable<DocumentWithKey> findAll(String collection)
findAll in interface DocumentViewpublic io.reactivex.Completable remove(String collection, String key)
remove in interface DocumentViewCopyright © 2017. All rights reserved.