Package com.mongodb.client.model
Class DBCollectionDistinctOptions
java.lang.Object
com.mongodb.client.model.DBCollectionDistinctOptions
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
The options for a distinct operation.
- Since:
- 3.4
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Sets the collationDeprecated.Sets the selection query to determine the subset of documents from which to retrieve the distinct values.Deprecated.Returns the collation optionsDeprecated.Gets the selection query to determine the subset of documents from which to retrieve the distinct valuesDeprecated.Returns the readConcernDeprecated.Returns the readPreferencereadConcern
(ReadConcern readConcern) Deprecated.Sets the readConcernreadPreference
(ReadPreference readPreference) Deprecated.Sets the readPreference
-
Constructor Details
-
DBCollectionDistinctOptions
public DBCollectionDistinctOptions()Deprecated.Construct a new instance
-
-
Method Details
-
getFilter
Deprecated.Gets the selection query to determine the subset of documents from which to retrieve the distinct values- Returns:
- the query
-
filter
Deprecated.Sets the selection query to determine the subset of documents from which to retrieve the distinct values.- Parameters:
filter
- the selection query to determine the subset of documents from which to retrieve the distinct values- Returns:
- this
-
getReadPreference
Deprecated.Returns the readPreference- Returns:
- the readPreference
-
readPreference
Deprecated.Sets the readPreference- Parameters:
readPreference
- the readPreference- Returns:
- this
-
getReadConcern
Deprecated.Returns the readConcern- Returns:
- the readConcern
-
readConcern
Deprecated.Sets the readConcern- Parameters:
readConcern
- the readConcern- Returns:
- this
-
getCollation
Deprecated.Returns the collation options- Returns:
- the collation options
-
collation
Deprecated.Sets the collation- Parameters:
collation
- the collation- Returns:
- this
-