RxQuery

abstract class RxQuery

Static methods to Rx-ify ObjectBox queries.

Functions

flowableOneByOne
Link copied to clipboard
open fun <T> flowableOneByOne(query: Query<T>): Flowable<T>
The returned Flowable emits Query results one by one.
open fun <T> flowableOneByOne(query: Query<T>, strategy: BackpressureStrategy): Flowable<T>
The returned Flowable emits Query results one by one.
observable
Link copied to clipboard
open fun <T> observable(query: Query<T>): Observable<List<T>>
The returned Observable emits Query results as Lists.
single
Link copied to clipboard
open fun <T> single(query: Query<T>): Single<List<T>>
The returned Single emits one Query result as a List.