Make the MongoDB docs better! We value your opinion. Share your feedback for a chance to win $100.
Click here >
Docs Menu
Docs Home
/ /
io.realm.rx

Class RealmObservableFactory

java.lang.Object
io.realm.rx.RealmObservableFactory

Implemented interfaces:

Factory class for creating Observables for RxJava (<=2.0.*).

Tip

Constructor and Description
boolean emitFrozenObjects
)

Constructs the factory for creating Realm observables for RxJava.

Modificador y Tipo
Método y descripción

public <any>

Creates an Observable for a RealmObject .

public <any>

Realm realm,
E object
)

Creates an Observable for a RealmObject .

public <any>

Creates an Observable for a RealmList .

public <any>

Creates an Observable for a RealmList .

public <any>

Creates an Observable for a RealmResults .

public <any>

Creates an Observable for a RealmResults .

public booleano

public <any>

Crea un Single a partir de un RealmQuery .

public <any>

Crea un Single a partir de un RealmQuery .

public <any>

Creates a Flowable for a DynamicRealmObject .

public <any>

from <E >(
Realm realm,
E object
)

Crea un Flowable para un RealmObject .

public <any>

Creates a Flowable for a RealmList .

public <any>

Creates an Observable for a RealmList .

public <any>

Crea un Flowable para RealmResults .

public <any>

from <E >(
)

Crea un Flowable para RealmResults .

public <any>

Creates a Flowable for a DynamicRealm .

public <any>

Realm realm
)

Crea un Flowable para un Realm .

public int

  • Métodos heredados de la clase java.lang.Object: getClass , hashCode , equals , clone , toString , notify , notifyAll , wait , wait , wait , finalize

boolean emitFrozenObjects
)

Constructs the factory for creating Realm observables for RxJava.

Parámetros

  • emitFrozenObjects - true if all objects should be frozen before being returned to the user. false if they should be live objects.

public <any> changesetsFrom (
)

Creates an Observable for a RealmObject . It should emit the initial object when subscribed to and on each subsequent update of the object it should emit the object + the io.realm.ObjectChangeSet that describes the update.

Changeset observables do not support backpressure as a changeset depends on the state of the previous changeset. Handling backpressure should therefore be left to the user.

public <any> changesetsFrom <E >(
Realm realm,
E object
)

Creates an Observable for a RealmObject . It should emit the initial object when subscribed to and on each subsequent update of the object it should emit the object + the io.realm.ObjectChangeSet that describes the update.

Changeset observables do not support backpressure as a changeset depends on the state of the previous changeset. Handling backpressure should therefore be left to the user.

public <any> changesetsFrom <E >(
)

Creates an Observable for a RealmList . It should emit the initial RealmList when subscribed to and on each subsequent update of the RealmList it should emit the RealmList + the OrderedCollectionChangeSet that describes the update.

Changeset observables do not support backpressure as a changeset depends on the state of the previous changeset. Handling backpressure should therefor be left to users.

Devuelve

Rx observable that emit all updates + their changeset.

public <any> changesetsFrom <E >(
)

Creates an Observable for a RealmList . It should emit the initial RealmList when subscribed to and on each subsequent update of the RealmIst it should emit the RealmList + the OrderedCollectionChangeSet that describes the update.

Changeset observables do not support backpressure as a changeset depends on the state of the previous changeset. Handling backpressure should therefor be left to users.

Devuelve

Rx observable that emit all updates + their changeset.

public <any> changesetsFrom <E >(
)

Creates an Observable for a RealmResults . It should emit the initial RealmResult when subscribed to and on each subsequent update of the RealmResults it should emit the RealmResults + the OrderedCollectionChangeSet that describes the update.

Changeset observables do not support backpressure as a changeset depends on the state of the previous changeset. Handling backpressure should therefor be left to users.

Devuelve

Rx observable that emit all updates + their changeset.

public <any> changesetsFrom <E >(
)

Creates an Observable for a RealmResults . It should emit the initial RealmResult when subscribed to and on each subsequent update of the RealmResults it should emit the RealmResults + the OrderedCollectionChangeSet that describes the update.

Changeset observables do not support backpressure as a changeset depends on the state of the previous changeset. Handling backpressure should therefor be left to users.

Devuelve

Rx observable that emit all updates + their changeset.

public boolean equals (
)

Anulaciones

equals en la clase Objeto

public <any> from <E >(
)

Creates a Single from a RealmQuery . It should emit the query and then complete.

Un RealmQuery observable es frío.

public <any> from <E >(
)

Creates a Single from a RealmQuery . It should emit the query and then complete.

Un RealmQuery observable es frío.

public <any> from (
)

Creates a Flowable for a DynamicRealmObject . It should emit the initial object when subscribed to and on each subsequent update of the object.

DynamicRealmObject observables are hot as DynamicRealmObjects automatically are kept up to date.

public <any> from <E >(
Realm realm,
E object
)

Crea un Flowable para un RealmObject . Debe emitir el objeto inicial al suscribirse y en cada actualización posterior del objeto.

RealmObject observables are hot as RealmObjects are automatically kept up to date.

public <any> from <E >(
)

Creates a Flowable for a RealmList . It should emit the initial list when subscribed to and on each subsequent update of the RealmList.

RealmList observables are hot as RealmLists are automatically kept up to date.

Note: io.realm.RealmChangeListener is currently not supported on RealmLists.

public <any> from <E >(
)

Crea un Observable para un RealmList . Debe emitir la lista inicial cuando se suscriba y en cada actualización posterior del RealmList.

RealmList observables are hot as RealmLists are automatically kept up to date.

Note: io.realm.RealmChangeListener is currently not supported on RealmLists.

public <any> from <E >(
)

Creates a Flowable for a RealmResults . It should emit the initial RealmResult when subscribed to and on each subsequent update of the RealmResults.

Realm observables are hot as RealmResults are automatically kept up to date.

Devuelve

Rx observable that emit all updates to the RealmResults.

public <any> from <E >(
)

Creates a Flowable for a RealmResults . It should emit the initial RealmResult when subscribed to and on each subsequent update of the RealmResults.

RealmResults observables are hot as RealmResults are automatically kept up to date.

Devuelve

Rx observable que emite todas las actualizaciones en el RealmObject.

public <any> from (
)

Creates a Flowable for a DynamicRealm . It should emit the initial state of the Realm when subscribed to and on each subsequent update of the Realm.

Los observables de DynamicRealm están siempre activos, ya que DynamicRealms se mantienen actualizados automáticamente.

Devuelve

Rx observable que emite todas las actualizaciones al DynamicRealm.

public <any> from (
Realm realm
)

Creates a Flowable for a Realm . It should emit the initial state of the Realm when subscribed to and on each subsequent update of the Realm.

Los flowables de Realm son hot, ya que Realms se mantienen actualizados automáticamente.

Devuelve

Rx observable that emit all updates to the Realm.

public int hashCode ()

Anulaciones

hashCode en la clase Objeto

Volver

ObjectChange

En esta página