Class MongoDbCursorMethodsProperties
java.lang.Object
com.azure.analytics.synapse.artifacts.models.MongoDbCursorMethodsProperties
Cursor methods for Mongodb query.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: Cursor methods for Mongodb query.getLimit()
Get the limit property: Specifies the maximum number of documents the server returns.Get the project property: Specifies the fields to return in the documents that match the query filter.getSkip()
Get the skip property: Specifies the how many documents skipped and where MongoDB begins returning results.getSort()
Get the sort property: Specifies the order in which the query returns matching documents.setAdditionalProperties
(Map<String, Object> additionalProperties) Set the additionalProperties property: Cursor methods for Mongodb query.Set the limit property: Specifies the maximum number of documents the server returns.setProject
(Object project) Set the project property: Specifies the fields to return in the documents that match the query filter.Set the skip property: Specifies the how many documents skipped and where MongoDB begins returning results.Set the sort property: Specifies the order in which the query returns matching documents.
-
Constructor Details
-
MongoDbCursorMethodsProperties
public MongoDbCursorMethodsProperties()
-
-
Method Details
-
getProject
Get the project property: Specifies the fields to return in the documents that match the query filter. To return all fields in the matching documents, omit this parameter. Type: string (or Expression with resultType string).- Returns:
- the project value.
-
setProject
Set the project property: Specifies the fields to return in the documents that match the query filter. To return all fields in the matching documents, omit this parameter. Type: string (or Expression with resultType string).- Parameters:
project
- the project value to set.- Returns:
- the MongoDbCursorMethodsProperties object itself.
-
getSort
Get the sort property: Specifies the order in which the query returns matching documents. Type: string (or Expression with resultType string). Type: string (or Expression with resultType string).- Returns:
- the sort value.
-
setSort
Set the sort property: Specifies the order in which the query returns matching documents. Type: string (or Expression with resultType string). Type: string (or Expression with resultType string).- Parameters:
sort
- the sort value to set.- Returns:
- the MongoDbCursorMethodsProperties object itself.
-
getSkip
Get the skip property: Specifies the how many documents skipped and where MongoDB begins returning results. This approach may be useful in implementing paginated results. Type: integer (or Expression with resultType integer).- Returns:
- the skip value.
-
setSkip
Set the skip property: Specifies the how many documents skipped and where MongoDB begins returning results. This approach may be useful in implementing paginated results. Type: integer (or Expression with resultType integer).- Parameters:
skip
- the skip value to set.- Returns:
- the MongoDbCursorMethodsProperties object itself.
-
getLimit
Get the limit property: Specifies the maximum number of documents the server returns. limit() is analogous to the LIMIT statement in a SQL database. Type: integer (or Expression with resultType integer).- Returns:
- the limit value.
-
setLimit
Set the limit property: Specifies the maximum number of documents the server returns. limit() is analogous to the LIMIT statement in a SQL database. Type: integer (or Expression with resultType integer).- Parameters:
limit
- the limit value to set.- Returns:
- the MongoDbCursorMethodsProperties object itself.
-
getAdditionalProperties
Get the additionalProperties property: Cursor methods for Mongodb query.- Returns:
- the additionalProperties value.
-
setAdditionalProperties
public MongoDbCursorMethodsProperties setAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: Cursor methods for Mongodb query.- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the MongoDbCursorMethodsProperties object itself.
-