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.bson.io |
Provides the ability to serialize and deserialize BSON
Document s. |
com.allanbank.mongodb.builder |
Provides domain classes and builders for queries and the common MongoDB commands.
|
com.allanbank.mongodb.builder.expression |
Modifier and Type | Method and Description |
---|---|
void |
Visitor.visitDBPointer(String name,
String databaseName,
String collectionName,
ObjectId id)
Visits a deprecated DBPointer element.
|
void |
Visitor.visitObjectId(String name,
ObjectId id)
Visits an ObjectId element.
|
Modifier and Type | Method and Description |
---|---|
ArrayBuilder |
ArrayBuilder.add(ObjectId id)
Adds an ObjectId element.
|
DocumentBuilder |
DocumentBuilder.add(String name,
ObjectId id)
Adds an ObjectId element.
|
ArrayBuilder |
ArrayBuilder.add(String databaseName,
String collectionName,
ObjectId id)
Deprecated.
See BSON specification.
|
DocumentBuilder |
DocumentBuilder.add(String name,
String databaseName,
String collectionName,
ObjectId id)
Deprecated.
See BSON specification.
|
ArrayBuilder |
ArrayBuilder.addDBPointer(String databaseName,
String collectionName,
ObjectId id)
Deprecated.
See BSON specification.
|
DocumentBuilder |
DocumentBuilder.addDBPointer(String name,
String databaseName,
String collectionName,
ObjectId id)
Deprecated.
See BSON specification.
|
ArrayBuilder |
ArrayBuilder.addObjectId(ObjectId id)
Adds an ObjectId element.
|
DocumentBuilder |
DocumentBuilder.addObjectId(String name,
ObjectId id)
Adds an ObjectId element.
|
Modifier and Type | Method and Description |
---|---|
ArrayBuilder |
ArrayBuilderImpl.add(ObjectId id)
Adds an ObjectId element.
|
DocumentBuilder |
DocumentBuilderImpl.add(String name,
ObjectId id)
Adds an ObjectId element.
|
ArrayBuilder |
ArrayBuilderImpl.add(String databaseName,
String collectionName,
ObjectId id)
Deprecated.
|
DocumentBuilder |
DocumentBuilderImpl.add(String name,
String databaseName,
String collectionName,
ObjectId id)
Deprecated.
|
ArrayBuilder |
ArrayBuilderImpl.addDBPointer(String databaseName,
String collectionName,
ObjectId id)
Deprecated.
|
DocumentBuilder |
DocumentBuilderImpl.addDBPointer(String name,
String databaseName,
String collectionName,
ObjectId id)
Deprecated.
|
ArrayBuilder |
ArrayBuilderImpl.addObjectId(ObjectId id)
Adds an ObjectId element.
|
DocumentBuilder |
DocumentBuilderImpl.addObjectId(String name,
ObjectId id)
Adds an ObjectId element.
|
Modifier and Type | Method and Description |
---|---|
ObjectId |
ObjectIdElement.getId()
Returns the id value.
|
ObjectId |
DBPointerElement.getId()
Deprecated.
Returns the id value.
|
ObjectId |
ObjectIdElement.getValueAsObject()
Returns the value for BSON element as a Java
Object type. |
Modifier and Type | Method and Description |
---|---|
void |
JsonSerializationVisitor.visitDBPointer(String name,
String databaseName,
String collectionName,
ObjectId id)
Visits a deprecated DBPointer element.
|
void |
JsonSerializationVisitor.visitObjectId(String name,
ObjectId id)
Visits an ObjectId element.
|
protected void |
JsonSerializationVisitor.writeObjectId(ObjectId id)
Writes the
ObjectId . |
Constructor and Description |
---|
DBPointerElement(String name,
String dbName,
String collectionName,
ObjectId id)
Deprecated.
Constructs a new
DBPointerElement . |
ObjectIdElement(String name,
ObjectId id)
Constructs a new
ObjectIdElement . |
Modifier and Type | Method and Description |
---|---|
void |
SizeOfVisitor.visitDBPointer(String name,
String databaseName,
String collectionName,
ObjectId id)
Visits a deprecated DBPointer element.
|
void |
SizeOfVisitor.visitObjectId(String name,
ObjectId id)
Visits an ObjectId element.
|
Modifier and Type | Method and Description |
---|---|
ConditionBuilder |
ConditionBuilder.equals(ObjectId value)
Checks if the value equals the specified value.
|
ConditionBuilder |
ConditionBuilder.greaterThan(ObjectId value)
Checks if the value is greater than the specified value.
|
ConditionBuilder |
ConditionBuilder.greaterThanOrEqualTo(ObjectId value)
Checks if the value is greater than or equals the specified
value.
|
ConditionBuilder |
ConditionBuilder.lessThan(ObjectId value)
Checks if the value is less than the specified value.
|
ConditionBuilder |
ConditionBuilder.lessThanOrEqualTo(ObjectId value)
Checks if the value is less than or equals the specified value.
|
ConditionBuilder |
ConditionBuilder.notEqualTo(ObjectId value)
Checks if the value is not equal to the specified value.
|
Modifier and Type | Method and Description |
---|---|
static Constant |
Expressions.constant(ObjectId value)
Returns a
Constant expression with the provided value. |
Copyright © 2011-2013 Allanbank Consulting, Inc.. All Rights Reserved.