| Package | Description | 
|---|---|
| com.allanbank.mongodb.bson.element | |
| com.allanbank.mongodb.builder | 
 Provides domain classes and builders for queries and the common MongoDB commands. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
StringElement | 
StringElement.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 StringElement | 
Index.geo2d(String field)
Creates an 2D index specification, e.g.,
 { <field> : "2d" }. 
 | 
static StringElement | 
Sort.geo2d(String field)
Deprecated. 
 
Moved to the  
Index class as Index.geo2d(java.lang.String) to
             live with the other other index types. This method will be
             removed after the 1.3.0 release. | 
static StringElement | 
Index.geo2dSphere(String field)
Creates an 2D Sphere index specification, e.g.,
 { <field> : "2dsphere" }. 
 | 
static StringElement | 
Index.geoHaystack(String field)
Creates a haystack index specification, e.g.,
 { <field> : "geoHaystack" }. 
 | 
static StringElement | 
Index.hashed(String field)
Creates an 'hashed' index specification, e.g.,
 { <field> : "hashed" }. 
 | 
static StringElement | 
Index.text(String field)
Creates an 'text' index specification, e.g.,
 { <field> : "text" }. 
 | 
Copyright © 2011-2013 Allanbank Consulting, Inc.. All Rights Reserved.