Java org.springframework.data.mongodb.core.query BasicQuery fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.data.mongodb.core.query BasicQuery fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.data.mongodb.core.query BasicQuery.

The text is from its open source code.

Constructor

BasicQuery(@Nullable String query)
Create a new BasicQuery given a JSON query .
BasicQuery(Document queryObject)
Create a new BasicQuery given a query Document .
BasicQuery(@Nullable String query, @Nullable String fields)
Create a new BasicQuery given a JSON query and fields .
BasicQuery(Document queryObject, Document fieldsObject)
Create a new BasicQuery given a query Document and field specification Document .

Method

Querylimit(int limit)
Limit the number of returned documents to limit .
Querywith(Pageable pageable)
Sets the given pagination information on the Query instance.