Package | Description |
---|---|
com.allanbank.mongodb |
Provides a Java driver for the MongoDB document store that allows asynchronous invocation of requests.
|
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.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.builder |
Provides domain classes and builders for queries and the common MongoDB commands.
|
com.allanbank.mongodb.builder.expression | |
com.allanbank.mongodb.client |
Provides implementations of the main client interfaces and classes to translate the
Reply (s) from the server. |
com.allanbank.mongodb.client.callback |
Provides implementation for various transformations, implemented in the form of
Callback s, that are used by the driver. |
com.allanbank.mongodb.client.message |
Low level messages to be sent to the MongoDB server.
|
com.allanbank.mongodb.gridfs |
Provides an implementation of the GridFS Specification.
|
Modifier and Type | Method and Description |
---|---|
MongoIterator<Element> |
MongoCollection.distinct(Distinct.Builder command)
Invokes a distinct command on the server.
|
MongoIterator<Element> |
MongoCollection.distinct(Distinct command)
Invokes a distinct command on the server.
|
ListenableFuture<MongoIterator<Element>> |
AsyncMongoCollection.distinctAsync(Distinct.Builder command)
Invokes a distinct command on the server.
|
ListenableFuture<MongoIterator<Element>> |
AsyncMongoCollection.distinctAsync(Distinct command)
Invokes a distinct command on the server.
|
MongoIterator<Element> |
MongoCollection.groupBy(GroupBy.Builder command)
Invokes a group command on the server.
|
MongoIterator<Element> |
MongoCollection.groupBy(GroupBy command)
Invokes a group command on the server.
|
ListenableFuture<MongoIterator<Element>> |
AsyncMongoCollection.groupByAsync(GroupBy.Builder command)
Invokes a group command on the server.
|
ListenableFuture<MongoIterator<Element>> |
AsyncMongoCollection.groupByAsync(GroupBy command)
Invokes a group command on the server.
|
Modifier and Type | Method and Description |
---|---|
void |
MongoCollection.createIndex(boolean unique,
Element... keys)
Creates an index with a generated name, across the keys specified and if
unique is true ensuring entries are unique.
|
void |
MongoCollection.createIndex(DocumentAssignable options,
Element... keys)
Creates an index with a generated name, across the keys specified
allowing duplicate entries.
|
void |
MongoCollection.createIndex(Element... keys)
Creates an index with a generated name, across the keys specified
allowing duplicate entries.
|
void |
MongoCollection.createIndex(String name,
boolean unique,
Element... keys)
Creates an index with the specified name, across the keys specified and
if unique is true ensuring entries are unique.
|
void |
MongoCollection.createIndex(String name,
DocumentAssignable options,
Element... keys)
Creates an index with a generated name, across the keys specified
allowing duplicate entries.
|
Modifier and Type | Method and Description |
---|---|
void |
AsyncMongoCollection.distinctAsync(Callback<MongoIterator<Element>> results,
Distinct.Builder command)
Invokes a distinct command on the server.
|
void |
AsyncMongoCollection.distinctAsync(Callback<MongoIterator<Element>> results,
Distinct command)
Invokes a distinct command on the server.
|
void |
AsyncMongoCollection.distinctAsync(LambdaCallback<MongoIterator<Element>> results,
Distinct.Builder command)
Invokes a distinct command on the server.
|
void |
AsyncMongoCollection.distinctAsync(LambdaCallback<MongoIterator<Element>> results,
Distinct command)
Invokes a distinct command on the server.
|
void |
AsyncMongoCollection.groupByAsync(Callback<MongoIterator<Element>> results,
GroupBy.Builder command)
Invokes a group command on the server.
|
void |
AsyncMongoCollection.groupByAsync(Callback<MongoIterator<Element>> results,
GroupBy command)
Invokes a group command on the server.
|
void |
AsyncMongoCollection.groupByAsync(LambdaCallback<MongoIterator<Element>> results,
GroupBy.Builder command)
Invokes a group command on the server.
|
void |
AsyncMongoCollection.groupByAsync(LambdaCallback<MongoIterator<Element>> results,
GroupBy command)
Invokes a group command on the server.
|
Modifier and Type | Interface and Description |
---|---|
interface |
NumericElement
NumericElement provides a common interface for all numeric
Element s. |
Modifier and Type | Method and Description |
---|---|
<E extends Element> |
Document.find(Class<E> clazz,
String... nameRegexs)
Returns the elements matching the path of regular expressions.
|
<E extends Element> |
Element.find(Class<E> clazz,
String... nameRegexs)
Returns the elements matching the path of regular expressions.
|
<E extends Element> |
Document.findFirst(Class<E> clazz,
String... nameRegexs)
Returns the first element matching the path of regular expressions.
|
<E extends Element> |
Element.findFirst(Class<E> clazz,
String... nameRegexs)
Returns the first element matching the path of regular expressions.
|
<E extends Element> |
Document.get(Class<E> clazz,
String name)
Returns the element with the specified name or null if no element with
that name exists.
|
Modifier and Type | Method and Description |
---|---|
Element |
ElementAssignable.asElement()
Converts the object into an
Element . |
Element |
Document.findFirst(String... nameRegexs)
Returns the first element matching the path of regular expressions.
|
Element |
Element.findFirst(String... nameRegexs)
Returns the first element matching the path of regular expressions.
|
Element |
Document.get(String name)
Returns the element with the specified name or null if no element with
that name exists.
|
Element |
DocumentReference.getId()
Returns the id of the document being referenced.
|
Element |
Element.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 |
---|---|
List<Element> |
Document.find(String... nameRegexs)
Returns the elements matching the path of regular expressions.
|
List<Element> |
Element.find(String... nameRegexs)
Returns the elements matching the path of regular expressions.
|
List<Element> |
Document.getElements()
Returns the array of elements that create this document.
|
Modifier and Type | Method and Description |
---|---|
int |
Element.compareTo(Element otherElement) |
Modifier and Type | Method and Description |
---|---|
void |
VisitorAdapter.visit(List<Element> elements)
Visit the root document.
|
void |
Visitor.visit(List<Element> elements)
Visit the root document.
|
void |
VisitorAdapter.visitArray(String name,
List<Element> elements)
Visits an array of elements.
|
void |
Visitor.visitArray(String name,
List<Element> elements)
Visits an array of elements.
|
void |
VisitorAdapter.visitDocument(String name,
List<Element> elements)
Visits a sub-document element.
|
void |
Visitor.visitDocument(String name,
List<Element> elements)
Visits a sub-document element.
|
Constructor and Description |
---|
DocumentReference(String collectionName,
Element id)
Creates a new DocumentReference.
|
DocumentReference(String databaseName,
String collectionName,
Element id)
Creates a new DocumentReference.
|
Modifier and Type | Method and Description |
---|---|
Element[] |
ArrayBuilder.build()
Returns the array of
Element s being constructed. |
static Element |
BuilderFactory.e(String name,
byte[] data)
Creates a binary element using sub-type zero (the default).
|
static Element |
BuilderFactory.e(String name,
Date timestamp)
Creates a timestamp element.
|
static Element |
BuilderFactory.e(String name,
DocumentAssignable document)
Creates a pre-constructed document element.
|
static Element |
BuilderFactory.e(String name,
ElementAssignable element)
Re-creates the Element with the name provided.
|
static Element |
BuilderFactory.e(String name,
Object value)
Creates an element after trying to coerce the value into the best
possible element type.
|
static Element |
BuilderFactory.e(String name,
ObjectId id)
Creates an ObjectId element.
|
static Element |
BuilderFactory.e(String name,
Pattern pattern)
Creates a regular expression element.
|
static Element |
BuilderFactory.e(String name,
String value)
Creates a string element.
|
static Element |
BuilderFactory.e(String name,
UUID uuid)
Create a (sub-type 4)
UUID element. |
Modifier and Type | Method and Description |
---|---|
static DocumentBuilder |
BuilderFactory.d(Element... elements)
Helper method for creating static document structures.
|
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 | Field and Description |
---|---|
protected List<Element> |
AbstractBuilder.myElements
The list of elements in the builder.
|
Modifier and Type | Method and Description |
---|---|
Element |
AbstractBuilder.BuilderElement.build()
Constructs the final form of the element being constructed by the
encapsulated builder.
|
Element[] |
ArrayBuilderImpl.build()
Returns the array of
Element s being constructed. |
protected abstract Element |
AbstractBuilder.build(String name)
Constructs the final form of the element being constructed.
|
protected Element |
DocumentBuilderImpl.build(String name)
Constructs the final form of the element being constructed.
|
Modifier and Type | Method and Description |
---|---|
protected List<Element> |
AbstractBuilder.subElements()
Renders the final form of the sub elements in the builder replacing all
AbstractBuilder.BuilderElement s with the final element form. |
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 | Field and Description |
---|---|
protected static Class<Element> |
AbstractElement.ELEMENT_TYPE
The base type (interface) for all elements.
|
static List<Element> |
DocumentElement.EMPTY_ELEMENTS
The empty list of elements.
|
Modifier and Type | Method and Description |
---|---|
<E extends Element> |
AbstractElement.find(Class<E> clazz,
String... nameRegexs)
Returns the elements matching the path of regular expressions.
|
<E extends Element> |
ArrayElement.find(Class<E> clazz,
String... nameRegexs)
Returns the elements matching the path of regular expressions.
|
<E extends Element> |
DocumentElement.find(Class<E> clazz,
String... nameRegexs)
Returns the elements matching the path of regular expressions.
|
<E extends Element> |
AbstractElement.findFirst(Class<E> clazz,
String... nameRegexs)
Returns the first element matching the path of regular expressions.
|
<E extends Element> |
ArrayElement.findFirst(Class<E> clazz,
String... nameRegexs)
Returns the first element matching the path of regular expressions.
|
<E extends Element> |
DocumentElement.findFirst(Class<E> clazz,
String... nameRegexs)
Returns the first element matching the path of regular expressions.
|
<E extends Element> |
DocumentElement.get(Class<E> clazz,
String name)
Returns the element with the specified name and type or null if no
element with that name and type exists.
|
Modifier and Type | Method and Description |
---|---|
Element |
AbstractElement.asElement()
Converts the object into an
Element . |
Element |
AbstractElement.findFirst(String... nameRegexs)
Returns the first element matching the path of regular expressions.
|
Element |
DocumentElement.get(String name)
Returns the element with the specified name or null if no element with
that name exists.
|
Element[] |
ArrayElement.getValueAsObject()
Returns the value for BSON element as a Java
Object type. |
Modifier and Type | Method and Description |
---|---|
List<Element> |
AbstractElement.find(String... nameRegexs)
Returns the elements matching the path of regular expressions.
|
List<Element> |
DocumentElement.getElements()
Returns the elements in the document.
|
List<Element> |
ArrayElement.getEntries()
Returns the entries in the array.
|
Iterator<Element> |
DocumentElement.iterator()
Returns an iterator over the documents elements.
|
Modifier and Type | Method and Description |
---|---|
int |
JavaScriptElement.compareTo(Element otherElement) |
int |
AbstractElement.compareTo(Element otherElement) |
int |
JavaScriptWithScopeElement.compareTo(Element otherElement) |
int |
RegularExpressionElement.compareTo(Element otherElement) |
int |
DoubleElement.compareTo(Element otherElement) |
int |
BooleanElement.compareTo(Element otherElement) |
int |
IntegerElement.compareTo(Element otherElement) |
int |
SymbolElement.compareTo(Element otherElement) |
int |
ObjectIdElement.compareTo(Element otherElement) |
int |
TimestampElement.compareTo(Element otherElement) |
int |
ArrayElement.compareTo(Element otherElement) |
int |
DBPointerElement.compareTo(Element otherElement)
Deprecated.
|
int |
LongElement.compareTo(Element otherElement) |
int |
StringElement.compareTo(Element otherElement) |
int |
BinaryElement.compareTo(Element otherElement) |
int |
MongoTimestampElement.compareTo(Element otherElement) |
int |
DocumentElement.compareTo(Element otherElement) |
Modifier and Type | Method and Description |
---|---|
void |
JsonSerializationVisitor.visit(List<Element> elements)
Visit the root document.
|
void |
JsonSerializationVisitor.visitArray(String name,
List<Element> elements)
Visits an array of elements.
|
void |
JsonSerializationVisitor.visitDocument(String name,
List<Element> elements)
Visits a sub-document element.
|
Constructor and Description |
---|
ArrayElement(String name,
Element... entries)
Constructs a new
ArrayElement . |
DocumentElement(String name,
Element... elements)
Constructs a new
DocumentElement . |
Constructor and Description |
---|
ArrayElement(String name,
List<Element> entries)
Constructs a new
ArrayElement . |
ArrayElement(String name,
List<Element> entries,
long size)
Constructs a new
ArrayElement . |
DocumentElement(String name,
Collection<Element> elements)
Constructs a new
DocumentElement . |
DocumentElement(String name,
List<Element> elements)
Constructs a new
DocumentElement . |
DocumentElement(String name,
List<Element> elements,
boolean takeOwnership)
Constructs a new
DocumentElement . |
DocumentElement(String name,
List<Element> elements,
boolean takeOwnership,
long size)
Constructs a new
DocumentElement . |
Modifier and Type | Field and Description |
---|---|
protected static Class<Element> |
AbstractDocument.ELEMENT_TYPE
The base type (interface) for all elements.
|
static List<Element> |
AbstractDocument.EMPTY_ELEMENTS
The empty list of elements.
|
Modifier and Type | Method and Description |
---|---|
<E extends Element> |
AbstractDocument.find(Class<E> clazz,
String... nameRegexs)
Returns the elements matching the path of regular expressions.
|
<E extends Element> |
AbstractDocument.findFirst(Class<E> clazz,
String... nameRegexs)
Returns the first element matching the path of regular expressions.
|
<E extends Element> |
AbstractDocument.get(Class<E> clazz,
String name)
Returns the element with the specified name and type or null if no
element with that name and type exists.
|
Modifier and Type | Method and Description |
---|---|
Element |
AbstractDocument.findFirst(String... nameRegexs)
Returns the first element matching the path of regular expressions.
|
Element |
AbstractDocument.get(String name)
Returns the element with the specified name or null if no element with
that name exists.
|
Modifier and Type | Method and Description |
---|---|
List<Element> |
AbstractDocument.find(String... nameRegexs)
Returns the elements matching the path of regular expressions.
|
protected Map<String,Element> |
EmptyDocument.getElementMap()
Returns the mapping from the names of elements to the element.
|
protected abstract Map<String,Element> |
AbstractDocument.getElementMap()
Returns the mapping from the names of elements to the element.
|
protected Map<String,Element> |
RootDocument.getElementMap()
Returns a map from the element names to the elements in the document.
|
protected Map<String,Element> |
ImmutableDocument.getElementMap()
Returns a map from the element names to the elements in the document.
|
List<Element> |
EmptyDocument.getElements()
Returns the array of elements that create this document.
|
abstract List<Element> |
AbstractDocument.getElements()
Returns the array of elements that create this document.
|
List<Element> |
RootDocument.getElements()
Returns the elements in the document.
|
List<Element> |
ImmutableDocument.getElements()
Returns the elements in the document.
|
Iterator<Element> |
AbstractDocument.iterator()
Returns an iterator over the documents elements.
|
Constructor and Description |
---|
RootDocument(Element... elements)
Constructs a new
RootDocument . |
Constructor and Description |
---|
RootDocument(List<Element> elements)
Constructs a new
RootDocument . |
RootDocument(List<Element> elements,
boolean idPresent)
Constructs a new
RootDocument . |
RootDocument(List<Element> elements,
boolean idPresent,
long size)
Constructs a new
RootDocument . |
Modifier and Type | Method and Description |
---|---|
protected Element |
BsonInputStream.readDBPointerElement()
Deprecated.
Per the BSON specification.
|
protected Element |
BsonInputStream.readElement(byte token)
Reads the element:
|
Modifier and Type | Method and Description |
---|---|
List<Element> |
SizeOfVisitor.CachedSizeNode.getElements()
Returns the elements value.
|
protected List<Element> |
BsonInputStream.readElements()
Reads a BSON element list (e_list):
|
Modifier and Type | Method and Description |
---|---|
void |
SizeOfVisitor.visit(List<Element> elements)
Visit the root document.
|
void |
SizeOfVisitor.visitArray(String name,
List<Element> elements)
Visits an array of elements.
|
void |
SizeOfVisitor.visitDocument(String name,
List<Element> elements)
Visits a sub-document element.
|
Constructor and Description |
---|
SizeOfVisitor.CachedSizeNode(List<Element> elements)
Creates a new CachedSizeNode.
|
Modifier and Type | Method and Description |
---|---|
Element |
AggregationGroupField.toElement()
Returns the element for the group operator's field.
|
Element |
AggregationGroupId.toElement()
Returns the element for the group operator's id.
|
Modifier and Type | Method and Description |
---|---|
List<Element> |
Aggregate.getPipeline()
Returns the pipeline of operations to apply.
|
Modifier and Type | Method and Description |
---|---|
ConditionBuilder |
ConditionBuilder.all(Element... elements)
Specify the values that must all be in the fields array.
|
Find.Builder |
Find.Builder.hint(Element... indexFields)
Sets the value of hint as to which index should be used to execute
the query.
|
ConditionBuilder |
ConditionBuilder.in(Element... elements)
Specify the possible values to match against the field's value.
|
ConditionBuilder |
ConditionBuilder.notIn(Element... elements)
Specify the values that must not match the field's value.
|
Aggregate.Builder |
Aggregate.Builder.project(AggregationProjectFields fields,
Element... elements)
Adds a $project operation to the pipeline to create a
projection of the documents passing this point in the pipeline.
|
Find.Builder |
Find.Builder.setHint(Element... indexFields)
Sets the value of hint as to which index should be used to execute
the query.
|
Aggregate.Builder |
Aggregate.Builder.step(String operator,
Element... elements)
Adds a generic step to the builder's pipeline.
|
Modifier and Type | Method and Description |
---|---|
Aggregate.Builder |
Aggregate.Builder.step(String operator,
List<Element> elements)
Adds a generic step to the builder's pipeline.
|
Modifier and Type | Method and Description |
---|---|
Element |
UnaryExpression.asElement()
Converts the object into an
Element . |
static Element |
Expressions.set(String name,
DocumentAssignable document)
Returns an element to set the value to.
|
static Element |
Expressions.set(String name,
Expression expression)
Returns an element to set the value to.
|
Element |
Expression.toElement(String name)
Returns the expression in the form of a BSON element.
|
Element |
Constant.toElement(String name)
Returns the expression in the form of a BSON element.
|
Modifier and Type | Method and Description |
---|---|
static Expression |
Expressions.constant(Element element)
Returns a
Constant expression wrapping the provided
element. |
static UnaryExpression |
Expressions.let(Expression inExpression,
Element... variables)
Creates a
$let expression with the provided variables and
in expression. |
Modifier and Type | Method and Description |
---|---|
static UnaryExpression |
Expressions.let(List<Element> variables,
Expression inExpression)
Creates a
$let expression with the provided variables and
in expression. |
Constructor and Description |
---|
Constant(Element constant)
Creates a new Constant.
|
Modifier and Type | Method and Description |
---|---|
MongoIterator<Element> |
SynchronousMongoCollectionImpl.distinct(Distinct.Builder command)
Invokes a distinct command on the server.
|
MongoIterator<Element> |
SynchronousMongoCollectionImpl.distinct(Distinct command)
Invokes a distinct command on the server.
|
ListenableFuture<MongoIterator<Element>> |
AbstractAsyncMongoCollection.distinctAsync(Distinct.Builder command)
Invokes a distinct command on the server.
|
ListenableFuture<MongoIterator<Element>> |
AbstractAsyncMongoCollection.distinctAsync(Distinct command)
Invokes a distinct command on the server.
|
MongoIterator<Element> |
SynchronousMongoCollectionImpl.groupBy(GroupBy.Builder command)
Invokes a group command on the server.
|
MongoIterator<Element> |
SynchronousMongoCollectionImpl.groupBy(GroupBy command)
Invokes a group command on the server.
|
ListenableFuture<MongoIterator<Element>> |
AbstractAsyncMongoCollection.groupByAsync(GroupBy.Builder command)
Invokes a group command on the server.
|
ListenableFuture<MongoIterator<Element>> |
AbstractAsyncMongoCollection.groupByAsync(GroupBy command)
Invokes a group command on the server.
|
Modifier and Type | Method and Description |
---|---|
void |
SynchronousMongoCollectionImpl.createIndex(boolean unique,
Element... keys)
Creates an index with a generated name, across the keys specified and if
unique is true ensuring entries are unique.
|
void |
SynchronousMongoCollectionImpl.createIndex(DocumentAssignable options,
Element... keys)
Creates an index with a generated name, across the keys specified
allowing duplicate entries.
|
void |
SynchronousMongoCollectionImpl.createIndex(Element... keys)
Creates an index with a generated name, across the keys specified
allowing duplicate entries.
|
void |
SynchronousMongoCollectionImpl.createIndex(String name,
boolean unique,
Element... keys)
Creates an index with the specified name, across the keys specified and
if unique is true ensuring entries are unique.
|
void |
SynchronousMongoCollectionImpl.createIndex(String name,
DocumentAssignable options,
Element... keys)
Creates an index with a generated name, across the keys specified
allowing duplicate entries.
|
protected Version |
SynchronousMongoCollectionImpl.determineIndexServerVersion(Element[] keys)
Determines the minimum server version required to support the provided
index keys and options.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractAsyncMongoCollection.distinctAsync(Callback<MongoIterator<Element>> results,
Distinct.Builder command)
Invokes a distinct command on the server.
|
void |
AbstractMongoOperations.distinctAsync(Callback<MongoIterator<Element>> results,
Distinct command)
Constructs a
distinct command and sends it to the server via the
Client . |
void |
AbstractAsyncMongoCollection.distinctAsync(LambdaCallback<MongoIterator<Element>> results,
Distinct.Builder command)
Invokes a distinct command on the server.
|
void |
AbstractAsyncMongoCollection.distinctAsync(LambdaCallback<MongoIterator<Element>> results,
Distinct command)
Invokes a distinct command on the server.
|
void |
AbstractAsyncMongoCollection.groupByAsync(Callback<MongoIterator<Element>> results,
GroupBy.Builder command)
Invokes a group command on the server.
|
void |
AbstractMongoOperations.groupByAsync(Callback<MongoIterator<Element>> results,
GroupBy command)
Constructs a
group command and sends it to the server via the
Client . |
void |
AbstractAsyncMongoCollection.groupByAsync(LambdaCallback<MongoIterator<Element>> results,
GroupBy.Builder command)
Invokes a group command on the server.
|
void |
AbstractAsyncMongoCollection.groupByAsync(LambdaCallback<MongoIterator<Element>> results,
GroupBy command)
Invokes a group command on the server.
|
Modifier and Type | Method and Description |
---|---|
protected MongoIterator<Element> |
ReplyArrayCallback.convert(Reply reply)
Converts the
Reply into the final response type. |
Modifier and Type | Method and Description |
---|---|
protected String |
AbstractValidatingReplyCallback.asString(Element errorMessageElem)
Converts the
Element to a string. |
protected int |
AbstractValidatingReplyCallback.toInt(Element element)
Converts a
NumericElement into an int value. |
protected long |
ReplyLongCallback.toLong(Element element)
Converts a
NumericElement into a long value. |
Constructor and Description |
---|
ReplyArrayCallback(Callback<MongoIterator<Element>> results)
Create a new ReplyDocumentCallback.
|
ReplyArrayCallback(String name,
Callback<MongoIterator<Element>> results)
Create a new ReplyDocumentCallback.
|
Modifier and Type | Method and Description |
---|---|
static String |
CreateIndexCommand.buildIndexName(Element... keys)
Generates a name for the index based on the keys.
|
Constructor and Description |
---|
CreateIndexCommand(String databaseName,
String collectionName,
Element[] keys,
String indexName,
DocumentAssignable options)
Create a new CreateIndexCommand.
|
Modifier and Type | Method and Description |
---|---|
protected void |
GridFs.doAddFault(Map<Object,List<String>> faults,
Element idObj,
String message)
Adds a fault message to the faults map.
|
Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.