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 |
Modifier and Type | Method and Description |
---|---|
static ArrayElement |
BuilderFactory.a()
Creates an array element containing no elements.
|
static ArrayElement |
BuilderFactory.a(Boolean... values)
Creates an array element containing boolean elements.
|
static ArrayElement |
BuilderFactory.a(byte[]... datas)
Creates an array element containing binary elements using sub-type zero
(the default).
|
static ArrayElement |
BuilderFactory.a(Date... timestamps)
Creates an array element containing timestamp elements.
|
static ArrayElement |
BuilderFactory.a(DocumentAssignable... documents)
Creates an array element containing pre-constructed document elements.
|
static ArrayElement |
BuilderFactory.a(Double... values)
Creates an array element containing double elements.
|
static ArrayElement |
BuilderFactory.a(ElementAssignable... elements)
Creates an array element containing the re-created slements.
|
static ArrayElement |
BuilderFactory.a(Integer... values)
Creates an array element containing integer (32-bit signed) elements.
|
static ArrayElement |
BuilderFactory.a(Long... values)
Creates an array element containing long (64-bit signed) elements.
|
static ArrayElement |
BuilderFactory.a(Object... values)
Creates an ArrayElement after trying to coerce the values into the best
possible element type.
|
static ArrayElement |
BuilderFactory.a(ObjectId... ids)
Creates an array element containing ObjectId elements.
|
static ArrayElement |
BuilderFactory.a(Pattern... patterns)
Creates an array element containing regular expression elements.
|
static ArrayElement |
BuilderFactory.a(String... values)
Creates an array element containing string elements.
|
static ArrayElement |
BuilderFactory.a(UUID... uuids)
Create an array element containing (sub-type 4)
UUID elements. |
Modifier and Type | Method and Description |
---|---|
ArrayElement |
ArrayBuilderImpl.build(String name)
Constructs the final form of the element being constructed.
|
Modifier and Type | Method and Description |
---|---|
ArrayElement |
ArrayElement.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 ArrayElement |
BsonInputStream.readArrayElement()
Reads a BSON Array element:
|
Modifier and Type | Field and Description |
---|---|
protected ArrayElement |
NaryExpression.myExpressions
The expression expressed as an
ArrayElement . |
Modifier and Type | Method and Description |
---|---|
ArrayElement |
NaryExpression.asElement()
Converts the object into an
Element . |
Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.