Package | Description |
---|---|
com.allanbank.mongodb.bson.builder |
Provides the interfaces for builders to aid in constructing BSON
Document s. |
com.allanbank.mongodb.bson.builder.impl |
Provides the implementations for builders to aid in constructing BSON
Document s. |
com.allanbank.mongodb.bson.element | |
com.allanbank.mongodb.bson.io |
Provides the ability to serialize and deserialize BSON
Document s. |
com.allanbank.mongodb.builder.expression | |
com.allanbank.mongodb.client.state |
Support for tracking the state of a set of MongoDB servers.
|
Modifier and Type | Method and Description |
---|---|
ArrayBuilder |
ArrayBuilder.add(DocumentElement document)
Adds a pre-constructed
DocumentElement to the array. |
Modifier and Type | Method and Description |
---|---|
ArrayBuilder |
ArrayBuilderImpl.add(DocumentElement document)
Adds a pre-constructed
DocumentElement to the array. |
Modifier and Type | Method and Description |
---|---|
DocumentElement |
DocumentElement.withName(String name)
Creates a new element with the same type and value as this element but
with the specified name.
|
Constructor and Description |
---|
DocumentElement(String name,
DocumentElement value)
Constructs a new
DocumentElement with a single sub-document
element. |
Modifier and Type | Method and Description |
---|---|
protected DocumentElement |
BsonInputStream.readDocumentElement()
Reads a BSON Subdocument element:
|
Modifier and Type | Method and Description |
---|---|
DocumentElement |
UnaryExpression.toElement(String name)
Returns the expression in the form of a BSON element.
|
DocumentElement |
NaryExpression.toElement(String name)
Returns the expression in the form of a BSON element.
|
Modifier and Type | Field and Description |
---|---|
static Class<DocumentElement> |
Server.DOCUMENT_TYPE
The document element type.
|
Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.