Package | Description |
---|---|
com.allanbank.mongodb.bson |
Strongly typed, immutable implementation of the
BSON Specification.
|
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.builder.expression |
Modifier and Type | Interface and Description |
---|---|
interface |
Element
A common interface for the basic BSON types used to construct Documents and
arrays.
|
interface |
NumericElement
NumericElement provides a common interface for all numeric
Element s. |
Modifier and Type | Method and Description |
---|---|
static ArrayElement |
BuilderFactory.a(ElementAssignable... elements)
Creates an array element containing the re-created slements.
|
ArrayBuilder |
ArrayBuilder.add(ElementAssignable element)
Adds a pre-built element to the document.
|
DocumentBuilder |
DocumentBuilder.add(ElementAssignable element)
Adds a pre-built element to the document.
|
static Element |
BuilderFactory.e(String name,
ElementAssignable element)
Re-creates the Element with the name provided.
|
Modifier and Type | Class and Description |
---|---|
static class |
AbstractBuilder.BuilderElement
A temporary Element to stand in for a element being constructed with a
builder.
|
Modifier and Type | Method and Description |
---|---|
ArrayBuilder |
ArrayBuilderImpl.add(ElementAssignable element)
Adds a pre-built element to the document.
|
DocumentBuilder |
DocumentBuilderImpl.add(ElementAssignable elementRef)
Adds a pre-built element to the document.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractElement
A base class for the basic BSON types.
|
class |
ArrayElement
A wrapper for a BSON array.
|
class |
BinaryElement
A wrapper for a BSON binary.
|
class |
BooleanElement
A wrapper for a BSON boolean.
|
class |
DBPointerElement
Deprecated.
See BSON Specification.
|
class |
DocumentElement
Wraps a single BSON document that may contain nested documents.
|
class |
DoubleElement
A wrapper for a BSON double.
|
class |
IntegerElement
A wrapper for a BSON (signed 32-bit) integer.
|
class |
JavaScriptElement
A wrapper for a BSON JavaScript.
|
class |
JavaScriptWithScopeElement
A wrapper for a BSON JavaScript with Scope.
|
class |
LongElement
A wrapper for a BSON (signed 64-bit) integer or long.
|
class |
MaxKeyElement
A wrapper for a BSON maximum key element.
|
class |
MinKeyElement
A wrapper for a BSON minimum key element.
|
class |
MongoTimestampElement
A wrapper for a BSON (signed 64-bit) Mongo timestamp as 4 byte increment and
4 byte timestamp.
|
class |
NullElement
A wrapper for a BSON null.
|
class |
ObjectIdElement
A wrapper for a BSON Object Id.
|
class |
RegularExpressionElement
A wrapper for a BSON regular expression.
|
class |
StringElement
A wrapper for a BSON string.
|
class |
SymbolElement
A wrapper for a BSON symbol.
|
class |
TimestampElement
A wrapper for a BSON timestamp as the milliseconds since the epoch.
|
class |
UuidElement
UuidElement provides a helper element for handling UUID
BinaryElement
sub-types. |
Modifier and Type | Class and Description |
---|---|
class |
NaryExpression
NaryExpression provides an implementation of an
Expression with 2-N
operands. |
class |
UnaryExpression
UnaryExpression provides an implementation of an
Expression with 1
operand. |
Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.