Example usage for Java org.springframework.data.mongodb.core.query Query fields, constructors, methods, implement or subclass
The text is from its open source code.
Query(CriteriaDefinition criteriaDefinition) Creates a new Query using the given CriteriaDefinition . | |
Query() |
Query | addCriteria(CriteriaDefinition criteriaDefinition) Adds the given CriteriaDefinition to the current Query . |
Field | fields() |
Document | getFieldsObject() |
int | getLimit() Get the maximum number of documents to be return. |
Document | getQueryObject() |
long | getSkip() Get the number of documents to skip. |
Document | getSortObject() |
String | toString() |
Query | with(Pageable pageable) Sets the given pagination information on the Query instance. |
Query | with(Sort sort) Adds a Sort to the Query instance. |