Package | Description |
---|---|
com.allanbank.mongodb.builder |
Provides domain classes and builders for queries and the common MongoDB commands.
|
Modifier and Type | Method and Description |
---|---|
Distinct.Builder |
Distinct.Builder.setKey(String key)
Sets the name of the key to collect distinct values for.
|
Distinct.Builder |
Distinct.Builder.setQuery(DocumentAssignable query)
Sets the value of the query to select the documents to run the
distinct against.
|
Distinct.Builder |
Distinct.Builder.setReadPreference(ReadPreference readPreference)
Sets the
ReadPreference specifying which servers may be used
to execute the Distinct command. |
Constructor and Description |
---|
Distinct(Distinct.Builder builder)
Creates a new Distinct.
|
Copyright © 2011-2013 Allanbank Consulting, Inc.. All Rights Reserved.