添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
耍酷的墨镜  ·  Spring Data MongoDB ...·  1 周前    · 
讲道义的鞭炮  ·  springboot mongodb ...·  1 周前    · 
有情有义的橙子  ·  birdben·  1 周前    · 
耍酷的骆驼  ·  伊川美_百度百科·  2 周前    · 
活泼的椰子  ·  python中tk的simpledialog ...·  4 月前    · 
热情的煎鸡蛋  ·  Np.vectorize in ...·  9 月前    · 
Docs Menu

Docs Home Develop Applications Atlas Device SDKs

Class MongoIterable

io.realm.mongodb.mongo.iterable.MongoIterable

The MongoIterable is the results from an operation, such as a find() or an aggregate() query.

This class somewhat mimics the behavior of an Iterable but given its results are obtained asynchronously, its values are wrapped inside a Task .

Modifier and Type
Method and Description

Helper to return the first item in the iterator or null.

Returns a cursor of the operation represented by this iterable.

  • Methods inherited from class java.lang.Object : getClass , hashCode , equals , clone , toString , notify , notifyAll , wait , wait , wait , finalize

Helper to return the first item in the iterator or null.The result is wrapped in a Task since the iterator should be capable of asynchronously retrieve documents from the server.

Returns

a task containing the first item or null.

Returns a cursor of the operation represented by this iterable.The result is wrapped in a Task since the iterator should be capable of asynchronously retrieve documents from the server.

Returns

an asynchronous task with cursor of the operation represented by this iterable.