Package | Description |
---|---|
com.allanbank.mongodb.bson.element | |
com.allanbank.mongodb.bson.io |
Provides the ability to serialize and deserialize BSON
Document s. |
com.allanbank.mongodb.builder |
Provides domain classes and builders for queries and the common MongoDB commands.
|
com.allanbank.mongodb.client.state |
Support for tracking the state of a set of MongoDB servers.
|
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 |
---|---|
protected StringElement |
BsonInputStream.readStringElement()
Reads a
StringElement from the stream. |
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" }.
|
Modifier and Type | Field and Description |
---|---|
static Class<StringElement> |
Server.STRING_TYPE
The string element type.
|
Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.