RxQuery

abstract class RxQuery

Static methods to Rx-ify ObjectBox queries.

Constructors

Link copied to clipboard
constructor()

Functions

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