| Package | Description | 
|---|---|
| com.allanbank.mongodb | Provides a Java driver for the MongoDB document store that allows asynchronous invocation of requests. | 
| com.allanbank.mongodb.bson.element | |
| com.allanbank.mongodb.builder | Provides domain classes and builders for queries and the common MongoDB commands. | 
| com.allanbank.mongodb.client | Provides implementations of the main client interfaces and classes to translate the 
  Reply(s) from the server. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | MongoCollection. dropIndex(IntegerElement... keys)Deletes the indexes matching the keys specified. | 
| Modifier and Type | Method and Description | 
|---|---|
| IntegerElement | IntegerElement. withName(String name)Creates a new element with the same type and value as this element but
 with the specified name. | 
| Modifier and Type | Method and Description | 
|---|---|
| static IntegerElement | Sort. asc(String field)Creates an ascending order specification, e.g.,
 { <field> : 1 }. | 
| static IntegerElement | Sort. desc(String field)Creates an descending order specification, e.g.,
 { <field> : -1 }. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<IntegerElement> | AggregationProjectFields. toElements()Returns the elements describing the fields to be included (and if the _id
 should be excluded). | 
| Modifier and Type | Method and Description | 
|---|---|
| Find.Builder | Find.Builder. setHint(IntegerElement... indexFields)Sets the value of hint as to which index should be used to execute
 the query. | 
| Find.Builder | Find.Builder. setSort(IntegerElement... sortFields)Sets the value of the fields to to sort matching documents by. | 
| MapReduce.Builder | MapReduce.Builder. setSort(IntegerElement... sortFields)Sets the sort to apply to the input objects. | 
| FindAndModify.Builder | FindAndModify.Builder. setSort(IntegerElement... sortFields)Sets the sort to apply if multiple docs match, choose the first one
 as the object to manipulate. | 
| Aggregate.Builder | Aggregate.Builder. sort(IntegerElement... sortFields)Adds a $sort operation to sort the documents passing this
 point based on the sort specification provided. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | AbstractMongoCollection. dropIndex(IntegerElement... keys)Deletes the indexes matching the keys specified. | 
Copyright © 2011-2013 Allanbank Consulting, Inc.. All Rights Reserved.