io.realm.mongodb.mongo.iterable
MongoIterable es el resultado de una operación, como una find() o una consulta aggregate().
This class somewhat mimics the behavior of an Iterable but given its results are obtained asynchronously, its values are wrapped inside a Task .
Resumen del método
Modificador y Tipo | Método y descripción |
|---|---|
public RealmResultTask | first () Asistente para devolver el primer elemento en el iterador o nulo. |
public RealmResultTask | iterator () Returns a cursor of the operation represented by this iterable. |
Inherited Methods
Methods inherited from class java.lang.Object :
getClass,hashCode,equals,clone,toString,notify,notifyAll,wait,wait,wait,finalize
Detalle del método
primero
public RealmResultTask first () |
|---|
Ayudante para devolver el primer elemento del iterador o nulo. El resultado se envuelve en un Devuelve a task containing the first item or null. |
iterador
public RealmResultTask iterator () |
|---|
Devuelve un cursor de la operación representada por este iterable. El resultado está envuelto en un Devuelve an asynchronous task with cursor of the operation represented by this iterable. |