Class MongoDbCursorMethodsProperties

java.lang.Object
com.azure.analytics.synapse.artifacts.models.MongoDbCursorMethodsProperties

public final class MongoDbCursorMethodsProperties extends Object
Cursor methods for Mongodb query.
  • Constructor Details

    • MongoDbCursorMethodsProperties

      public MongoDbCursorMethodsProperties()
  • Method Details

    • getProject

      public Object 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

      public MongoDbCursorMethodsProperties setProject(Object project)
      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

      public Object 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

      public MongoDbCursorMethodsProperties setSort(Object sort)
      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

      public Object 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

      public MongoDbCursorMethodsProperties setSkip(Object skip)
      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

      public Object 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

      public MongoDbCursorMethodsProperties setLimit(Object limit)
      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

      public Map<String,Object> 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.