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.builder |
Provides domain classes and builders for queries and the common MongoDB commands.
|
Modifier and Type | Method and Description |
---|---|
ElementType |
Element.getType()
Returns the type for the BSON type.
|
static ElementType |
ElementType.valueOf(byte token)
Returns the ElementType with the provided token or
null if
it is not found. |
static ElementType |
ElementType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ElementType[] |
ElementType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
int |
ElementType.compare(ElementType rhs)
Similar to
Enum.compareTo(E) but instead of comparing on the ordinal
value compares the values based on the MongoDB sort order. |
Modifier and Type | Method and Description |
---|---|
ElementType |
AbstractBuilder.BuilderElement.getType()
Returns the type for the BSON type.
|
Modifier and Type | Field and Description |
---|---|
static ElementType |
JavaScriptElement.TYPE
The BSON type for a string.
|
static ElementType |
MinKeyElement.TYPE
The BSON type for a binary.
|
static ElementType |
JavaScriptWithScopeElement.TYPE
The BSON type for a string.
|
static ElementType |
RegularExpressionElement.TYPE
The BSON type for a string.
|
static ElementType |
DoubleElement.TYPE
The BSON type for a double.
|
static ElementType |
BooleanElement.TYPE
The BSON type for a Object Id.
|
static ElementType |
IntegerElement.TYPE
The BSON type for a integer.
|
static ElementType |
SymbolElement.TYPE
The BSON type for a symbol.
|
static ElementType |
ObjectIdElement.TYPE
The BSON type for a Object Id.
|
static ElementType |
TimestampElement.TYPE
The BSON type for a long.
|
static ElementType |
ArrayElement.TYPE
The BSON type for an array.
|
static ElementType |
DBPointerElement.TYPE
Deprecated.
The BSON type for a Object Id.
|
static ElementType |
LongElement.TYPE
The BSON type for a long.
|
static ElementType |
MaxKeyElement.TYPE
The BSON type for a binary.
|
static ElementType |
StringElement.TYPE
The BSON type for a string.
|
static ElementType |
BinaryElement.TYPE
The BSON type for a binary.
|
static ElementType |
MongoTimestampElement.TYPE
The BSON type for a long.
|
static ElementType |
DocumentElement.TYPE
The BSON type for a document.
|
static ElementType |
NullElement.TYPE
The BSON type for a binary.
|
Modifier and Type | Method and Description |
---|---|
ElementType |
JavaScriptElement.getType()
Returns the type for the BSON type.
|
ElementType |
MinKeyElement.getType()
Returns the type for the BSON type.
|
ElementType |
JavaScriptWithScopeElement.getType()
Returns the type for the BSON type.
|
ElementType |
RegularExpressionElement.getType()
Returns the type for the BSON type.
|
ElementType |
DoubleElement.getType()
Returns the type for the BSON type.
|
ElementType |
BooleanElement.getType()
Returns the type for the BSON type.
|
ElementType |
IntegerElement.getType()
Returns the type for the BSON type.
|
ElementType |
SymbolElement.getType()
Returns the type for the BSON type.
|
ElementType |
ObjectIdElement.getType()
Returns the type for the BSON type.
|
ElementType |
TimestampElement.getType()
Returns the type for the BSON type.
|
ElementType |
ArrayElement.getType()
Returns the type for the BSON type.
|
ElementType |
DBPointerElement.getType()
Deprecated.
Returns the type for the BSON type.
|
ElementType |
LongElement.getType()
Returns the type for the BSON type.
|
ElementType |
MaxKeyElement.getType()
Returns the type for the BSON type.
|
ElementType |
StringElement.getType()
Returns the type for the BSON type.
|
ElementType |
BinaryElement.getType()
Returns the type for the BSON type.
|
ElementType |
MongoTimestampElement.getType()
Returns the type for the BSON type.
|
ElementType |
DocumentElement.getType()
Returns the type for the BSON type.
|
ElementType |
NullElement.getType()
Returns the type for the BSON type.
|
Modifier and Type | Method and Description |
---|---|
ConditionBuilder |
ConditionBuilder.instanceOf(ElementType type)
Checks if the value's type matches the specified type.
|
Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.