Join us at MongoDB.local London on 7 May to unlock new possibilities for your data. Use WEB50 to save 50%.
Register now >
Docs Menu
Docs Home
/ /
io.realm.mongodb.mongo.iterable

Clase FindIterable

java.lang.Object
io.realm.mongodb.mongo.iterable.FindIterable

Specific iterable for io.realm.mongodb.mongo.MongoCollection.find() operations.

Constructor and Description
ThreadPoolExecutor threadPoolExecutor,
<any> osMongoCollection,
CodecRegistry codecRegistry,
)
Modificador y Tipo
Método y descripción
Bson filter
)

Establece el filtro de query a aplicar a la query.

int limit
)

Sets the limit to apply.

Bson projection
)

Sets a document describing the fields to return for all matching documents.

Bson sort
)

Establece los criterios de ordenación a aplicar en la query.

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

  • Métodos heredados de la clase io.realm.mongodb.mongo.iterable.MongoIterable : iterator , first

public FindIterable (
ThreadPoolExecutor threadPoolExecutor,
<any> osMongoCollection,
CodecRegistry codecRegistry,
)
Bson filter
)

Establece el filtro de query a aplicar a la query.

Parámetros

  • filter - el filtro, que puede ser nulo.

Devuelve

this

int limit
)

Sets the limit to apply.

Parámetros

  • limit - el límite, que puede ser 0

Devuelve

this

Bson projection
)

Sets a document describing the fields to return for all matching documents.

Parámetros

  • projection - the project document, which may be null.

Devuelve

this

Bson sort
)

Establece los criterios de ordenación a aplicar en la query.

Parámetros

  • sort - los criterios de ordenación, que pueden ser nulos.

Devuelve

this

Volver

AggregateIterable

En esta página