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

Example usage for Java org.springframework.data.mongodb.core.query Query 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 Query.

The text is from its open source code.

Field

Sortsort
longskip
intlimit

Constructor

Query(CriteriaDefinition criteriaDefinition)
Creates a new Query using the given CriteriaDefinition .
Query()

Method

QueryaddCriteria(CriteriaDefinition criteriaDefinition)
Adds the given CriteriaDefinition to the current Query .
Fieldfields()
DocumentgetFieldsObject()
intgetLimit()
Get the maximum number of documents to be return.
DocumentgetQueryObject()
longgetSkip()
Get the number of documents to skip.
DocumentgetSortObject()
StringtoString()
Querywith(Pageable pageable)
Sets the given pagination information on the Query instance.
Querywith(Sort sort)
Adds a Sort to the Query instance.