E
- element typepublic class RxResult<E> extends ResultDelegate<E> implements QueryWrapper, TransactionListenable
Result
type with RxJava conversion methods.delegate
Modifier and Type | Method and Description |
---|---|
void |
addTransactionListener(Supplier<TransactionListener> supplier) |
rx.Observable<E> |
toObservable()
Converts the result stream to a
Observable . |
rx.Observable<RxResult<E>> |
toSelfObservable()
Creates an observable that emits this result initially and then again whenever commits that
may affect the query result are made from within the same
EntityStore
from where this instance originated. |
QueryElement |
unwrapQuery() |
close, collect, each, first, firstOr, firstOr, firstOrNull, iterator, iterator, stream, toList, toMap, toMap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
@CheckReturnValue public rx.Observable<E> toObservable()
Observable
. When the observable terminates this
result instance will be closed.@CheckReturnValue public rx.Observable<RxResult<E>> toSelfObservable()
EntityStore
from where this instance originated.public void addTransactionListener(Supplier<TransactionListener> supplier)
addTransactionListener
in interface TransactionListenable
public QueryElement unwrapQuery()
unwrapQuery
in interface QueryWrapper