public final class MongoDbCursorMethodsProperties extends Object
| Constructor and Description |
|---|
MongoDbCursorMethodsProperties() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
additionalProperties()
Get the additionalProperties property: Cursor methods for Mongodb query.
|
Object |
limit()
Get the limit property: Specifies the maximum number of documents the server returns.
|
Object |
project()
Get the project property: Specifies the fields to return in the documents that match the query filter.
|
Object |
skip()
Get the skip property: Specifies the how many documents skipped and where MongoDB begins returning results.
|
Object |
sort()
Get the sort property: Specifies the order in which the query returns matching documents.
|
void |
validate()
Validates the instance.
|
MongoDbCursorMethodsProperties |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Cursor methods for Mongodb query.
|
MongoDbCursorMethodsProperties |
withLimit(Object limit)
Set the limit property: Specifies the maximum number of documents the server returns.
|
MongoDbCursorMethodsProperties |
withProject(Object project)
Set the project property: Specifies the fields to return in the documents that match the query filter.
|
MongoDbCursorMethodsProperties |
withSkip(Object skip)
Set the skip property: Specifies the how many documents skipped and where MongoDB begins returning results.
|
MongoDbCursorMethodsProperties |
withSort(Object sort)
Set the sort property: Specifies the order in which the query returns matching documents.
|
public Object project()
public MongoDbCursorMethodsProperties withProject(Object project)
project - the project value to set.public Object sort()
public MongoDbCursorMethodsProperties withSort(Object sort)
sort - the sort value to set.public Object skip()
public MongoDbCursorMethodsProperties withSkip(Object skip)
skip - the skip value to set.public Object limit()
public MongoDbCursorMethodsProperties withLimit(Object limit)
limit - the limit value to set.public Map<String,Object> additionalProperties()
public MongoDbCursorMethodsProperties withAdditionalProperties(Map<String,Object> additionalProperties)
additionalProperties - the additionalProperties value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.