Package | Description |
---|---|
com.allanbank.mongodb.bson |
Strongly typed, immutable implementation of the
BSON Specification.
|
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.impl |
Provides the implementation of a top level BSON
Document . |
com.allanbank.mongodb.bson.io |
Provides the ability to serialize and deserialize BSON
Document s. |
com.allanbank.mongodb.client.message |
Low level messages to be sent to the MongoDB server.
|
Modifier and Type | Class and Description |
---|---|
class |
VisitorAdapter
VisitorAdapter provides a helper for
Visitor implementations that are
only interested in a subset of the elements within a document. |
Modifier and Type | Method and Description |
---|---|
void |
Document.accept(Visitor visitor)
Accepts the visitor and calls the appropriate method on the visitor based
on the document type.
|
void |
Element.accept(Visitor visitor)
Accepts the visitor and calls the appropriate method on the visitor based
on the element type.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractBuilder.BuilderElement.accept(Visitor visitor)
Accepts the visitor and calls the appropriate method on the visitor based
on the element type.
|
Modifier and Type | Interface and Description |
---|---|
interface |
SizeAwareVisitor
Extension for visitors that could benefit from knowledge of the size of the
array and document elements.
|
Modifier and Type | Class and Description |
---|---|
class |
JsonSerializationVisitor
JsonSerializationVisitor provides a BSON Visitor that generates a JSON
document.
|
Modifier and Type | Method and Description |
---|---|
void |
JavaScriptElement.accept(Visitor visitor)
Accepts the visitor and calls the
visitJavaScript(String,String) method. |
void |
MinKeyElement.accept(Visitor visitor)
Accepts the visitor and calls the
visitMinKey(java.lang.String) method. |
void |
JavaScriptWithScopeElement.accept(Visitor visitor)
Accepts the visitor and calls the
visitJavaScript(String,String,Document) method. |
void |
RegularExpressionElement.accept(Visitor visitor)
Accepts the visitor and calls the
visitRegularExpression(java.lang.String, java.lang.String, java.lang.String)
method. |
void |
DoubleElement.accept(Visitor visitor)
Accepts the visitor and calls the
visitDouble(java.lang.String, double) method. |
void |
BooleanElement.accept(Visitor visitor)
Accepts the visitor and calls the
visitBoolean(java.lang.String, boolean) method. |
void |
IntegerElement.accept(Visitor visitor)
Accepts the visitor and calls the
visitInteger(java.lang.String, int) method. |
void |
SymbolElement.accept(Visitor visitor)
Accepts the visitor and calls the
visitSymbol(java.lang.String, java.lang.String) method. |
void |
ObjectIdElement.accept(Visitor visitor)
Accepts the visitor and calls the
visitObjectId(java.lang.String, com.allanbank.mongodb.bson.element.ObjectId) method. |
void |
TimestampElement.accept(Visitor visitor)
Accepts the visitor and calls the
visitTimestamp(java.lang.String, long) method. |
void |
ArrayElement.accept(Visitor visitor)
Accepts the visitor and calls the
visitArray(String, List) method. |
void |
DBPointerElement.accept(Visitor visitor)
Deprecated.
Accepts the visitor and calls the
visitDBPointer(java.lang.String, java.lang.String, java.lang.String, com.allanbank.mongodb.bson.element.ObjectId) method. |
void |
LongElement.accept(Visitor visitor)
Accepts the visitor and calls the
visitLong(java.lang.String, long) method. |
void |
MaxKeyElement.accept(Visitor visitor)
Accepts the visitor and calls the
visitMaxKey(java.lang.String) method. |
void |
StringElement.accept(Visitor visitor)
Accepts the visitor and calls the
visitString(java.lang.String, java.lang.String) method. |
void |
BinaryElement.accept(Visitor visitor)
Accepts the visitor and calls the
visitBinary(java.lang.String, byte, byte[]) method. |
void |
MongoTimestampElement.accept(Visitor visitor)
Accepts the visitor and calls the
visitMongoTimestamp(java.lang.String, long)
method. |
void |
DocumentElement.accept(Visitor visitor)
Accepts the visitor and calls the
visitDocument(java.lang.String, java.util.List<com.allanbank.mongodb.bson.Element>) method. |
void |
NullElement.accept(Visitor visitor)
Accepts the visitor and calls the
visitNull(java.lang.String) method. |
Modifier and Type | Method and Description |
---|---|
void |
AbstractDocument.accept(Visitor visitor)
Accepts the visitor and calls the
visitDocument(java.lang.String, java.util.List<com.allanbank.mongodb.bson.Element>) method. |
Modifier and Type | Class and Description |
---|---|
class |
SizeOfVisitor
A visitor to determine the size of the documents it visits.
|
Modifier and Type | Class and Description |
---|---|
class |
QueryVersionVisitor
QueryVersionVisitor provides the ability to inspect a query document for the
required server version.
|
Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.