public class LongObjStoreView<V> extends Object
| Constructor and Description |
|---|
LongObjStoreView(LongObjStore<V> backing) |
| Modifier and Type | Method and Description |
|---|---|
Mono<Long> |
count()
Retrieves the amount of stored values in the data source currently.
|
Flux<Tuple2<Long,V>> |
entries()
Gets a stream of all entries in the data source.
|
Mono<V> |
find(long id)
Attempts to find the value associated with the provided id.
|
Flux<V> |
findInRange(long start,
long end)
Retrieves all stored values with ids within a provided range.
|
Flux<Long> |
keys()
Gets a stream of all keys in the data source.
|
Flux<LongObjTuple2<V>> |
longObjEntries()
Gets a stream of all entries in the data source.
|
Flux<V> |
values()
Gets a stream of all values in the data source.
|
public LongObjStoreView(LongObjStore<V> backing)
public Mono<V> find(long id)
id - The id to search with.public Flux<V> findInRange(long start, long end)
start - The starting key (inclusive).end - The ending key (exclusive).public Mono<Long> count()
public Flux<Long> keys()
public Flux<V> values()
public Flux<Tuple2<Long,V>> entries()
public Flux<LongObjTuple2<V>> longObjEntries()