io.realm.mongodb.mongo.options
Las opciones para aplicar a una operación de find (también comúnmente conocida como query).
Constructores
Constructor and Description |
|---|
FindOptions () Construct a new instance. |
Resumen del método
Modificador y Tipo | Método y descripción |
|---|---|
public int | getLimit () Gets the limit to apply. |
public Bson | Gets a document describing the fields to return for all matching documents. |
public Bson | getSort () Obtiene los criterios de ordenación que se aplicarán a la query. |
public FindOptions | Sets the limit to apply. |
public FindOptions | Sets a document describing the fields to return for all matching documents. |
public FindOptions | Establece los criterios de ordenación a aplicar en la query. |
public String | toString () |
Inherited Methods
Métodos heredados de la clase java.lang.Object:
getClass,hashCode,equals,clone,toString,notify,notifyAll,wait,wait,wait,finalize
Detalle del constructor
public FindOptions () |
|---|
Construct a new instance. |
Detalle del método
getLimit
public int getLimit () |
|---|
Obtiene el límite a aplicar. El valor predeterminado es nulo. Devuelve el límite |
getProjection
public Bson getProjection () |
|---|
Gets a document describing the fields to return for all matching documents. Devuelve the project document, which may be null |
getSort
public Bson getSort () |
|---|
Gets the sort criteria to apply to the query. The default is null, which means that the documents will be returned in an undefined order. Devuelve un documento que describe los criterios de clasificación |
limit
Sets the limit to apply. Parámetros
Devuelve this |
proyección
Sets a document describing the fields to return for all matching documents. Parámetros
Devuelve this |
sort
Establece los criterios de ordenación a aplicar en la query. Parámetros
Devuelve this |