| 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 
  Documents. | 
| com.allanbank.mongodb.bson.builder.impl | Provides the implementations for builders to aid in constructing BSON 
  Documents. | 
| 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  Documents. | 
| 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.connection.auth | Wraps a connection and ensures that all requests are properly authenticated. | 
| 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 | Interface and Description | 
|---|---|
| interface  | NumericElementNumericElement provides a common interface for all numeric  Elements. | 
| 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. | 
| <E extends Element>  | Document. queryPath(Class<E> clazz,
         String... nameRegexs)Deprecated. 
 Use the  Document.find(Class,String...)method instead. Will
             be removed after the 1.1.0 release. | 
| <E extends Element>  | Element. queryPath(Class<E> clazz,
         String... nameRegexs)Deprecated. 
 Use the  find(Class,String...)method instead. Will
             be removed after the 1.1.0 release. | 
| 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. | 
| List<Element> | Document. queryPath(String... nameRegexs)Deprecated. 
 Use the  Document.find(String...)method instead. Will be
             removed after the 1.1.0 release. | 
| List<Element> | Element. queryPath(String... nameRegexs)Deprecated. 
 Use the  find(String...)method instead. Will be
             removed after the 1.1.0 release. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | Visitor. visit(List<Element> elements)Visit the root document. | 
| void | Visitor. visitArray(String name,
          List<Element> elements)Visits an array of elements. | 
| 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  Elements being constructed. | 
| Modifier and Type | Class and Description | 
|---|---|
| static class  | AbstractBuilder.BuilderElementA temporary Element to stand in for a element being constructed with a
 builder. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected List<Element> | AbstractBuilder. myElementsThe 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  Elements 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. | 
| protected Element | AbstractBuilder. coerse(String name,
      Object value)Performs type coersion on the value into the best possible element type. | 
| 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.BuilderElements with the final element form. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractElementA base class for the basic BSON types. | 
| class  | ArrayElementA wrapper for a BSON array. | 
| class  | BinaryElementA wrapper for a BSON binary. | 
| class  | BooleanElementA wrapper for a BSON boolean. | 
| class  | DBPointerElementDeprecated. 
 See BSON Specification. | 
| class  | DocumentElementWraps a single BSON document that may contain nested documents. | 
| class  | DoubleElementA wrapper for a BSON double. | 
| class  | IntegerElementA wrapper for a BSON (signed 32-bit) integer. | 
| class  | JavaScriptElementA wrapper for a BSON JavaScript. | 
| class  | JavaScriptWithScopeElementA wrapper for a BSON JavaScript with Scope. | 
| class  | LongElementA wrapper for a BSON (signed 64-bit) integer or long. | 
| class  | MaxKeyElementA wrapper for a BSON maximum key element. | 
| class  | MinKeyElementA wrapper for a BSON minimum key element. | 
| class  | MongoTimestampElementA wrapper for a BSON (signed 64-bit) Mongo timestamp as 4 byte increment and
 4 byte timestamp. | 
| class  | NullElementA wrapper for a BSON null. | 
| class  | ObjectIdElementA wrapper for a BSON Object Id. | 
| class  | RegularExpressionElementA wrapper for a BSON regular expression. | 
| class  | StringElementA wrapper for a BSON string. | 
| class  | SymbolElementA wrapper for a BSON symbol. | 
| class  | TimestampElementA wrapper for a BSON timestamp as the milliseconds since the epoch. | 
| class  | UuidElementUuidElement provides a helper element for handling UUID  BinaryElementsub-types. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected static Class<Element> | AbstractElement. ELEMENT_TYPEThe base type (interface) for all elements. | 
| static List<Element> | DocumentElement. EMPTY_ELEMENTSThe 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. | 
| <E extends Element>  | AbstractElement. queryPath(Class<E> clazz,
         String... nameRegexs)Deprecated. 
 Use the replacement method,  AbstractElement.find(Class, String...).
             Will be removed after the 1.1.0 release. | 
| 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. | 
| 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. | 
| List<Element> | AbstractElement. queryPath(String... nameRegexs)Deprecated. 
 Use the replacement method,  AbstractElement.find(String...). Will be
             removed after the 1.1.0 release. | 
| 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. | 
| 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. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected static Class<Element> | RootDocument. ELEMENT_TYPEThe base type (interface) for all elements. | 
| static List<Element> | RootDocument. EMPTY_ELEMENTSThe empty list of elements. | 
| Modifier and Type | Method and Description | 
|---|---|
| <E extends Element>  | RootDocument. find(Class<E> clazz,
    String... nameRegexs)Returns the elements matching the path of regular expressions. | 
| <E extends Element>  | RootDocument. findFirst(Class<E> clazz,
         String... nameRegexs)Returns the first element matching the path of regular expressions. | 
| <E extends Element>  | RootDocument. 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. | 
| <E extends Element>  | RootDocument. queryPath(Class<E> clazz,
         String... nameRegexs)Deprecated. 
 Use the  RootDocument.find(Class,String...)method instead. Will
             be removed after the 1.1.0 release. | 
| Modifier and Type | Method and Description | 
|---|---|
| Element | RootDocument. findFirst(String... nameRegexs)Returns the first element matching the path of regular expressions. | 
| Element | RootDocument. 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> | RootDocument. find(String... nameRegexs)Returns the elements matching the path of regular expressions. | 
| List<Element> | RootDocument. getElements()Returns the elements in the document. | 
| Iterator<Element> | RootDocument. iterator()Returns an iterator over the documents elements. | 
| List<Element> | RootDocument. queryPath(String... nameRegexs)Deprecated. 
 Use the  RootDocument.find(Class,String...)method instead. Will
             be removed after the 1.1.0 release. | 
| 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
| ConditionBuilder | ConditionBuilder. in(Element... elements)Specify the values that one must match the fields value. | 
| ConditionBuilder | ConditionBuilder. notIn(Element... elements)Specify the values that must not must not match the fields
 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. | 
| 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. | 
| Constructor and Description | 
|---|
| Constant(Element constant)Creates a new Constant. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected String | AbstractValidatingReplyCallback. asString(Element errorMessageElem)Converts the  Elementto a string. | 
| protected String | AbstractMongoCollection. buildIndexName(Element... keys)Generates a name for the index based on the keys. | 
| void | AbstractMongoCollection. 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 | AbstractMongoCollection. createIndex(DocumentAssignable options,
           Element... keys)Creates an index with a generated name, across the keys specified
 allowing duplicate entries. | 
| void | AbstractMongoCollection. createIndex(Element... keys)Creates an index with a generated name, across the keys specified
 allowing duplicate entries. | 
| void | AbstractMongoCollection. 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. | 
| abstract void | AbstractMongoCollection. createIndex(String name,
           DocumentAssignable options,
           Element... keys)Creates an index with a generated name, across the keys specified
 allowing duplicate entries. | 
| void | MongoCollectionImpl. createIndex(String name,
           DocumentAssignable options,
           Element... keys)Creates an index with a generated name, across the keys specified
 allowing duplicate entries. | 
| protected int | AbstractValidatingReplyCallback. toInt(Element element)Converts a  NumericElementinto an int value. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected int | AuthenticatingConnection. toInt(Element element)Converts a  NumericElementinto an int value. | 
Copyright © 2011-2013 Allanbank Consulting, Inc.. All Rights Reserved.