A B C D E F G H I J K L M N O P Q R S T U V W Y 

A

AbstractBuilder - Class in com.allanbank.mongodb.bson.builder.impl
Base class with common functionality for the all builders.
AbstractBuilder(AbstractBuilder) - Constructor for class com.allanbank.mongodb.bson.builder.impl.AbstractBuilder
Creates a new builder.
AbstractBuilder.BuilderElement - Class in com.allanbank.mongodb.bson.builder.impl
A temporary Element to stand in for a element being constructed with a builder.
AbstractBuilder.BuilderElement(String, AbstractBuilder) - Constructor for class com.allanbank.mongodb.bson.builder.impl.AbstractBuilder.BuilderElement
AbstractClient - Class in com.allanbank.mongodb.client
AbstractClient provides a base class for Client implementations.
AbstractClient() - Constructor for class com.allanbank.mongodb.client.AbstractClient
Creates a new AbstractClient.
AbstractElement - Class in com.allanbank.mongodb.bson.element
A base class for the basic BSON types.
AbstractElement(String) - Constructor for class com.allanbank.mongodb.bson.element.AbstractElement
Constructs a new AbstractElement.
AbstractMessage - Class in com.allanbank.mongodb.connection.message
Base class for a MongoDB message.
AbstractMessage() - Constructor for class com.allanbank.mongodb.connection.message.AbstractMessage
Create a new AbstractMessage.
AbstractMessage(String, String, ReadPreference) - Constructor for class com.allanbank.mongodb.connection.message.AbstractMessage
Create a new AbstractMessage.
AbstractMongoCollection - Class in com.allanbank.mongodb.client
Helper class for forward all methods to the canonical version (which is abstract in this class).
AbstractMongoCollection(Client, MongoDatabase, String) - Constructor for class com.allanbank.mongodb.client.AbstractMongoCollection
Create a new AbstractMongoCollection.
AbstractProxyConnection - Class in com.allanbank.mongodb.connection.proxy
A helper class for constructing connections that are really just proxies on top of other connections.
AbstractProxyConnection(Connection, MongoClientConfiguration) - Constructor for class com.allanbank.mongodb.connection.proxy.AbstractProxyConnection
Creates a AbstractProxyConnection.
AbstractProxyConnection.ProxiedChangeListener - Class in com.allanbank.mongodb.connection.proxy
ProxiedChangeListener provides a change listener to modify the source of the event to the outer connection from the (inner) proxied connection.
AbstractProxyConnection.ProxiedChangeListener(AbstractProxyConnection, PropertyChangeListener) - Constructor for class com.allanbank.mongodb.connection.proxy.AbstractProxyConnection.ProxiedChangeListener
Creates a new ProxiedChangeListener.
AbstractReconnectStrategy - Class in com.allanbank.mongodb.connection.state
AbstractReconnectStrategy provides a base class for reconnection strategies.
AbstractReconnectStrategy() - Constructor for class com.allanbank.mongodb.connection.state.AbstractReconnectStrategy
Creates a new AbstractReconnectStrategy.
AbstractReplyCallback<F> - Class in com.allanbank.mongodb.client
Helper class for constructing callbacks that convert a Reply message into a different type of result.
AbstractReplyCallback(Callback<F>) - Constructor for class com.allanbank.mongodb.client.AbstractReplyCallback
Create a new AbstractReplyCallback.
AbstractValidatingReplyCallback - Class in com.allanbank.mongodb.client
Helper class for constructing callbacks that convert a Reply message into a different type of result.
AbstractValidatingReplyCallback() - Constructor for class com.allanbank.mongodb.client.AbstractValidatingReplyCallback
Creates a new AbstractValidatingReplyCallback.
accept(Visitor) - Method in class com.allanbank.mongodb.bson.builder.impl.AbstractBuilder.BuilderElement
Accepts the visitor and calls the appropriate method on the visitor based on the element type.
accept(Visitor) - Method in interface com.allanbank.mongodb.bson.Document
Accepts the visitor and calls the appropriate method on the visitor based on the document type.
accept(Visitor) - Method in interface com.allanbank.mongodb.bson.Element
Accepts the visitor and calls the appropriate method on the visitor based on the element type.
accept(Visitor) - Method in class com.allanbank.mongodb.bson.element.ArrayElement
Accepts the visitor and calls the Visitor.visitArray(String, List) method.
accept(Visitor) - Method in class com.allanbank.mongodb.bson.element.BinaryElement
Accepts the visitor and calls the Visitor.visitBinary(java.lang.String, byte, byte[]) method.
accept(Visitor) - Method in class com.allanbank.mongodb.bson.element.BooleanElement
Accepts the visitor and calls the Visitor.visitBoolean(java.lang.String, boolean) method.
accept(Visitor) - Method in class com.allanbank.mongodb.bson.element.DBPointerElement
Deprecated.
accept(Visitor) - Method in class com.allanbank.mongodb.bson.element.DocumentElement
accept(Visitor) - Method in class com.allanbank.mongodb.bson.element.DoubleElement
Accepts the visitor and calls the Visitor.visitDouble(java.lang.String, double) method.
accept(Visitor) - Method in class com.allanbank.mongodb.bson.element.IntegerElement
Accepts the visitor and calls the Visitor.visitInteger(java.lang.String, int) method.
accept(Visitor) - Method in class com.allanbank.mongodb.bson.element.JavaScriptElement
Accepts the visitor and calls the Visitor.visitJavaScript(String,String) method.
accept(Visitor) - Method in class com.allanbank.mongodb.bson.element.JavaScriptWithScopeElement
Accepts the visitor and calls the Visitor.visitJavaScript(String,String,Document) method.
accept(Visitor) - Method in class com.allanbank.mongodb.bson.element.LongElement
Accepts the visitor and calls the Visitor.visitLong(java.lang.String, long) method.
accept(Visitor) - Method in class com.allanbank.mongodb.bson.element.MaxKeyElement
Accepts the visitor and calls the Visitor.visitMaxKey(java.lang.String) method.
accept(Visitor) - Method in class com.allanbank.mongodb.bson.element.MinKeyElement
Accepts the visitor and calls the Visitor.visitMinKey(java.lang.String) method.
accept(Visitor) - Method in class com.allanbank.mongodb.bson.element.MongoTimestampElement
Accepts the visitor and calls the Visitor.visitMongoTimestamp(java.lang.String, long) method.
accept(Visitor) - Method in class com.allanbank.mongodb.bson.element.NullElement
Accepts the visitor and calls the Visitor.visitNull(java.lang.String) method.
accept(Visitor) - Method in class com.allanbank.mongodb.bson.element.ObjectIdElement
accept(Visitor) - Method in class com.allanbank.mongodb.bson.element.RegularExpressionElement
accept(Visitor) - Method in class com.allanbank.mongodb.bson.element.StringElement
Accepts the visitor and calls the Visitor.visitString(java.lang.String, java.lang.String) method.
accept(Visitor) - Method in class com.allanbank.mongodb.bson.element.SymbolElement
Accepts the visitor and calls the Visitor.visitSymbol(java.lang.String, java.lang.String) method.
accept(Visitor) - Method in class com.allanbank.mongodb.bson.element.TimestampElement
Accepts the visitor and calls the Visitor.visitTimestamp(java.lang.String, long) method.
accept(Visitor) - Method in class com.allanbank.mongodb.bson.impl.EmptyDocument
accept(Visitor) - Method in class com.allanbank.mongodb.bson.impl.RootDocument
ACK - Static variable in class com.allanbank.mongodb.Durability
The durability that says no durability is required.
add(boolean) - Method in interface com.allanbank.mongodb.bson.builder.ArrayBuilder
Adds a boolean element.
add(byte, byte[]) - Method in interface com.allanbank.mongodb.bson.builder.ArrayBuilder
Adds a binary element.
add(byte[]) - Method in interface com.allanbank.mongodb.bson.builder.ArrayBuilder
Adds a binary element using sub-type zero (the default).
add(Date) - Method in interface com.allanbank.mongodb.bson.builder.ArrayBuilder
Adds a timestamp element.
add(DocumentAssignable) - Method in interface com.allanbank.mongodb.bson.builder.ArrayBuilder
Adds a pre-constructed document to the array.
add(DocumentElement) - Method in interface com.allanbank.mongodb.bson.builder.ArrayBuilder
Adds a pre-constructed DocumentElement to the array.
add(double) - Method in interface com.allanbank.mongodb.bson.builder.ArrayBuilder
Adds a double element.
add(ElementAssignable) - Method in interface com.allanbank.mongodb.bson.builder.ArrayBuilder
Adds a pre-built element to the document.
add(int) - Method in interface com.allanbank.mongodb.bson.builder.ArrayBuilder
Adds a integer (32-bit signed) element.
add(long) - Method in interface com.allanbank.mongodb.bson.builder.ArrayBuilder
Adds a long (64-bit signed) element.
add(Object) - Method in interface com.allanbank.mongodb.bson.builder.ArrayBuilder
Adds the value to the array after trying to coerce the value into the best possible element type.
add(ObjectId) - Method in interface com.allanbank.mongodb.bson.builder.ArrayBuilder
Adds an ObjectId element.
add(Pattern) - Method in interface com.allanbank.mongodb.bson.builder.ArrayBuilder
Adds an ObjectId element.
add(String) - Method in interface com.allanbank.mongodb.bson.builder.ArrayBuilder
Adds a string element.
add(String, String, ObjectId) - Method in interface com.allanbank.mongodb.bson.builder.ArrayBuilder
Deprecated.
See BSON specification.
add(UUID) - Method in interface com.allanbank.mongodb.bson.builder.ArrayBuilder
Adds a (sub-type 4) UUID binary element.
add(ElementAssignable) - Method in interface com.allanbank.mongodb.bson.builder.DocumentBuilder
Adds a pre-built element to the document.
add(String, boolean) - Method in interface com.allanbank.mongodb.bson.builder.DocumentBuilder
Adds a boolean element.
add(String, byte, byte[]) - Method in interface com.allanbank.mongodb.bson.builder.DocumentBuilder
Adds a binary element.
add(String, byte[]) - Method in interface com.allanbank.mongodb.bson.builder.DocumentBuilder
Adds a binary element using sub-type zero (the default).
add(String, Date) - Method in interface com.allanbank.mongodb.bson.builder.DocumentBuilder
Adds a timestamp element.
add(String, DocumentAssignable) - Method in interface com.allanbank.mongodb.bson.builder.DocumentBuilder
Adds a pre-constructed document to the array.
add(String, double) - Method in interface com.allanbank.mongodb.bson.builder.DocumentBuilder
Adds a double element.
add(String, int) - Method in interface com.allanbank.mongodb.bson.builder.DocumentBuilder
Adds a integer (32-bit signed) element.
add(String, long) - Method in interface com.allanbank.mongodb.bson.builder.DocumentBuilder
Adds a long (64-bit signed) element.
add(String, Object) - Method in interface com.allanbank.mongodb.bson.builder.DocumentBuilder
Adds the value to the document after trying to coerce the value into the best possible element type.
add(String, ObjectId) - Method in interface com.allanbank.mongodb.bson.builder.DocumentBuilder
Adds an ObjectId element.
add(String, Pattern) - Method in interface com.allanbank.mongodb.bson.builder.DocumentBuilder
Adds an ObjectId element.
add(String, String) - Method in interface com.allanbank.mongodb.bson.builder.DocumentBuilder
Adds a string element.
add(String, String, String, ObjectId) - Method in interface com.allanbank.mongodb.bson.builder.DocumentBuilder
Deprecated.
See BSON specification.
add(String, UUID) - Method in interface com.allanbank.mongodb.bson.builder.DocumentBuilder
Adds a (sub-type 4) UUID binary element.
add(boolean) - Method in class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Adds a boolean element.
add(byte, byte[]) - Method in class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Adds a binary element.
add(byte[]) - Method in class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Adds a binary element using sub-type zero (the default).
add(Date) - Method in class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Adds a timestamp element.
add(DocumentAssignable) - Method in class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Adds a pre-constructed document to the array.
add(DocumentElement) - Method in class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Adds a pre-constructed DocumentElement to the array.
add(double) - Method in class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Adds a double element.
add(ElementAssignable) - Method in class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Adds a pre-built element to the document.
add(int) - Method in class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Adds a integer (32-bit signed) element.
add(long) - Method in class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Adds a long (64-bit signed) element.
add(Object) - Method in class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Adds the value to the array after trying to coerce the value into the best possible element type.
add(ObjectId) - Method in class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Adds an ObjectId element.
add(Pattern) - Method in class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Adds an ObjectId element.
add(String) - Method in class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Adds a string element.
add(String, String, ObjectId) - Method in class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Deprecated.
add(UUID) - Method in class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Adds a (sub-type 4) UUID binary element.
add(ElementAssignable) - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Adds a pre-built element to the document.
add(String, boolean) - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Adds a boolean element.
add(String, byte, byte[]) - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Adds a binary element.
add(String, byte[]) - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Adds a binary element using sub-type zero (the default).
add(String, Date) - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Adds a timestamp element.
add(String, DocumentAssignable) - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Adds a pre-constructed document to the array.
add(String, double) - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Adds a double element.
add(String, int) - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Adds a integer (32-bit signed) element.
add(String, long) - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Adds a long (64-bit signed) element.
add(String, Object) - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Adds the value to the document after trying to coerce the value into the best possible element type.
add(String, ObjectId) - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Adds an ObjectId element.
add(String, Pattern) - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Adds an ObjectId element.
add(String, String) - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Adds a string element.
add(String, String, String, ObjectId) - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Deprecated.
add(String, UUID) - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Adds a (sub-type 4) UUID binary element.
ADD - Static variable in class com.allanbank.mongodb.builder.expression.Expressions
The "$add" operator token
add(Expression...) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns an NaryExpression "$add" expression.
add(ArrayBuilder, List<? extends Point2D>) - Static method in class com.allanbank.mongodb.builder.GeoJson
Adds a positions to the coordinates array.
add(ArrayBuilder, Point2D) - Static method in class com.allanbank.mongodb.builder.GeoJson
Adds a position to the coordinates array.
add(String) - Method in class com.allanbank.mongodb.connection.state.ClusterState
Adds a ServerState to the ClusterState for the address provided if one does not already exist.
addBinary(byte, byte[]) - Method in interface com.allanbank.mongodb.bson.builder.ArrayBuilder
Adds a binary element.
addBinary(byte[]) - Method in interface com.allanbank.mongodb.bson.builder.ArrayBuilder
Adds a binary element using sub-type zero (the default).
addBinary(String, byte, byte[]) - Method in interface com.allanbank.mongodb.bson.builder.DocumentBuilder
Adds a binary element using sub-type zero (the default).
addBinary(String, byte[]) - Method in interface com.allanbank.mongodb.bson.builder.DocumentBuilder
Adds a binary element using sub-type zero (the default).
addBinary(byte, byte[]) - Method in class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Adds a binary element.
addBinary(byte[]) - Method in class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Adds a binary element using sub-type zero (the default).
addBinary(String, byte, byte[]) - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Adds a binary element using sub-type zero (the default).
addBinary(String, byte[]) - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Adds a binary element using sub-type zero (the default).
addBoolean(boolean) - Method in interface com.allanbank.mongodb.bson.builder.ArrayBuilder
Adds a boolean element.
addBoolean(String, boolean) - Method in interface com.allanbank.mongodb.bson.builder.DocumentBuilder
Adds a boolean element.
addBoolean(boolean) - Method in class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Adds a boolean element.
addBoolean(String, boolean) - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Adds a boolean element.
addConnection(Connection) - Method in class com.allanbank.mongodb.connection.state.ServerState
Adds a Connection to the state making it available for reuse.
addCredential(Credential) - Method in class com.allanbank.mongodb.MongoClientConfiguration
Adds the specified credentials to the configuration.
addCredential(Credential.Builder) - Method in class com.allanbank.mongodb.MongoClientConfiguration
Adds the specified credentials to the configuration.
addDBPointer(String, String, ObjectId) - Method in interface com.allanbank.mongodb.bson.builder.ArrayBuilder
Deprecated.
See BSON specification.
addDBPointer(String, String, String, ObjectId) - Method in interface com.allanbank.mongodb.bson.builder.DocumentBuilder
Deprecated.
See BSON specification.
addDBPointer(String, String, ObjectId) - Method in class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Deprecated.
addDBPointer(String, String, String, ObjectId) - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Deprecated.
addDocument(DocumentAssignable) - Method in interface com.allanbank.mongodb.bson.builder.ArrayBuilder
Adds a pre-constructed document to the array.
addDocument(String, DocumentAssignable) - Method in interface com.allanbank.mongodb.bson.builder.DocumentBuilder
Adds a pre-built document element.
addDocument(DocumentAssignable) - Method in class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Adds a pre-constructed document to the array.
addDocument(String, DocumentAssignable) - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Adds a pre-built document element.
addDouble(double) - Method in interface com.allanbank.mongodb.bson.builder.ArrayBuilder
Adds a double element.
addDouble(String, double) - Method in interface com.allanbank.mongodb.bson.builder.DocumentBuilder
Adds a double element.
addDouble(double) - Method in class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Adds a double element.
addDouble(String, double) - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Adds a double element.
addField(String) - Method in class com.allanbank.mongodb.builder.AggregationGroupId.Builder
Adds a field reference to the id document.
addField(String, String) - Method in class com.allanbank.mongodb.builder.AggregationGroupId.Builder
Adds a field reference to the id document.
addInteger(int) - Method in interface com.allanbank.mongodb.bson.builder.ArrayBuilder
Adds a integer (32-bit signed) element.
addInteger(String, int) - Method in interface com.allanbank.mongodb.bson.builder.DocumentBuilder
Adds a integer (32-bit signed) element.
addInteger(int) - Method in class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Adds a integer (32-bit signed) element.
addInteger(String, int) - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Adds a integer (32-bit signed) element.
addJavaScript(String) - Method in interface com.allanbank.mongodb.bson.builder.ArrayBuilder
Adds a JavaScript element.
addJavaScript(String, DocumentAssignable) - Method in interface com.allanbank.mongodb.bson.builder.ArrayBuilder
Adds a JavaScript with Scope element.
addJavaScript(String, String) - Method in interface com.allanbank.mongodb.bson.builder.DocumentBuilder
Adds a JavaScript element.
addJavaScript(String, String, DocumentAssignable) - Method in interface com.allanbank.mongodb.bson.builder.DocumentBuilder
Adds a JavaScript with Scope element.
addJavaScript(String) - Method in class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Adds a JavaScript element.
addJavaScript(String, DocumentAssignable) - Method in class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Adds a JavaScript with Scope element.
addJavaScript(String, String) - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Adds a JavaScript element.
addJavaScript(String, String, DocumentAssignable) - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Adds a JavaScript with Scope element.
addLegacyUuid(UUID) - Method in interface com.allanbank.mongodb.bson.builder.ArrayBuilder
Adds a legacy (sub-type 3) UUID binary element.
addLegacyUuid(String, UUID) - Method in interface com.allanbank.mongodb.bson.builder.DocumentBuilder
Adds a legacy (sub-type 3) UUID binary element.
addLegacyUuid(UUID) - Method in class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Adds a legacy (sub-type 3) UUID binary element.
addLegacyUuid(String, UUID) - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Adds a legacy (sub-type 3) UUID binary element.
addListener(PropertyChangeListener) - Method in class com.allanbank.mongodb.connection.state.ClusterState
Adds a listener to the state.
addLong(long) - Method in interface com.allanbank.mongodb.bson.builder.ArrayBuilder
Adds a long (64-bit signed) element.
addLong(String, long) - Method in interface com.allanbank.mongodb.bson.builder.DocumentBuilder
Adds a long (64-bit signed) element.
addLong(long) - Method in class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Adds a long (64-bit signed) element.
addLong(String, long) - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Adds a long (64-bit signed) element.
addMaxKey() - Method in interface com.allanbank.mongodb.bson.builder.ArrayBuilder
Adds a minimum key value element.
addMaxKey(String) - Method in interface com.allanbank.mongodb.bson.builder.DocumentBuilder
Adds a minimum key value element.
addMaxKey() - Method in class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Adds a minimum key value element.
addMaxKey(String) - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Adds a minimum key value element.
addMinKey() - Method in interface com.allanbank.mongodb.bson.builder.ArrayBuilder
Adds a minimum key value element.
addMinKey(String) - Method in interface com.allanbank.mongodb.bson.builder.DocumentBuilder
Adds a minimum key value element.
addMinKey() - Method in class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Adds a minimum key value element.
addMinKey(String) - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Adds a minimum key value element.
addMongoTimestamp(long) - Method in interface com.allanbank.mongodb.bson.builder.ArrayBuilder
Adds a MongoDB Timestamp element.
addMongoTimestamp(String, long) - Method in interface com.allanbank.mongodb.bson.builder.DocumentBuilder
Adds a MongoDB Timestamp element.
addMongoTimestamp(long) - Method in class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Adds a MongoDB Timestamp element.
addMongoTimestamp(String, long) - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Adds a MongoDB Timestamp element.
addNull() - Method in interface com.allanbank.mongodb.bson.builder.ArrayBuilder
Adds a null valued element.
addNull(String) - Method in interface com.allanbank.mongodb.bson.builder.DocumentBuilder
Adds a null valued element.
addNull() - Method in class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Adds a null valued element.
addNull(String) - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Adds a null valued element.
addObjectId(ObjectId) - Method in interface com.allanbank.mongodb.bson.builder.ArrayBuilder
Adds an ObjectId element.
addObjectId(String, ObjectId) - Method in interface com.allanbank.mongodb.bson.builder.DocumentBuilder
Adds an ObjectId element.
addObjectId(ObjectId) - Method in class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Adds an ObjectId element.
addObjectId(String, ObjectId) - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Adds an ObjectId element.
addOptions(String, DocumentAssignable, DocumentBuilder) - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
Adds the options to the document builder.
addPending(List<PendingMessage>) - Method in interface com.allanbank.mongodb.connection.Connection
Adds the pending messages from the specified list.
addPending(List<PendingMessage>) - Method in class com.allanbank.mongodb.connection.proxy.AbstractProxyConnection
Adds the pending messages from the specified list.
addPending(List<PendingMessage>) - Method in class com.allanbank.mongodb.connection.socket.SocketConnection
Adds the pending messages from the specified list.
addPropertyChangeListener(PropertyChangeListener) - Method in interface com.allanbank.mongodb.connection.Connection
Adds a PropertyChangeListener to this connection.
addPropertyChangeListener(PropertyChangeListener) - Method in class com.allanbank.mongodb.connection.proxy.AbstractProxyConnection
Adds a PropertyChangeListener to this connection.
addPropertyChangeListener(PropertyChangeListener) - Method in class com.allanbank.mongodb.connection.socket.SocketConnection
Adds a PropertyChangeListener to this connection.
addRaw(ArrayBuilder, Point2D) - Static method in class com.allanbank.mongodb.builder.GeoJson
Adds the (x,y) coordinates from the point directly to the array provided.
addRegularExpression(Pattern) - Method in interface com.allanbank.mongodb.bson.builder.ArrayBuilder
Adds a regular expression element.
addRegularExpression(String, String) - Method in interface com.allanbank.mongodb.bson.builder.ArrayBuilder
Adds a regular expression element.
addRegularExpression(String, Pattern) - Method in interface com.allanbank.mongodb.bson.builder.DocumentBuilder
Adds a regular expression element.
addRegularExpression(String, String, String) - Method in interface com.allanbank.mongodb.bson.builder.DocumentBuilder
Adds a regular expression element.
addRegularExpression(Pattern) - Method in class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Adds a regular expression element.
addRegularExpression(String, String) - Method in class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Adds a regular expression element.
addRegularExpression(String, Pattern) - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Adds a regular expression element.
addRegularExpression(String, String, String) - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Adds a regular expression element.
addServer(InetSocketAddress) - Method in class com.allanbank.mongodb.MongoClientConfiguration
Adds a server to initially attempt to connect to.
addServer(String) - Method in class com.allanbank.mongodb.MongoClientConfiguration
Adds a server to initially attempt to connect to.
addString(String) - Method in interface com.allanbank.mongodb.bson.builder.ArrayBuilder
Adds a string element.
addString(String, String) - Method in interface com.allanbank.mongodb.bson.builder.DocumentBuilder
Adds a string element.
addString(String) - Method in class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Adds a string element.
addString(String, String) - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Adds a string element.
addSymbol(String) - Method in interface com.allanbank.mongodb.bson.builder.ArrayBuilder
Adds a symbol element.
addSymbol(String, String) - Method in interface com.allanbank.mongodb.bson.builder.DocumentBuilder
Adds a symbol element.
addSymbol(String) - Method in class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Adds a symbol element.
addSymbol(String, String) - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Adds a symbol element.
addTimestamp(long) - Method in interface com.allanbank.mongodb.bson.builder.ArrayBuilder
Adds a timestamp element.
addTimestamp(String, long) - Method in interface com.allanbank.mongodb.bson.builder.DocumentBuilder
Adds a timestamp element.
addTimestamp(long) - Method in class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Adds a timestamp element.
addTimestamp(String, long) - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Adds a timestamp element.
addToSet(String) - Method in class com.allanbank.mongodb.builder.AggregationGroupField.Builder
Constructs a new AggregationGroupField object that uses the $addToSet operator to accumulate the unique values of the fieldRef.
addUuid(UUID) - Method in interface com.allanbank.mongodb.bson.builder.ArrayBuilder
Adds a (sub-type 4) UUID binary element.
addUuid(String, UUID) - Method in interface com.allanbank.mongodb.bson.builder.DocumentBuilder
Adds a (sub-type 4) UUID binary element.
addUuid(UUID) - Method in class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Adds a (sub-type 4) UUID binary element.
addUuid(String, UUID) - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Adds a (sub-type 4) UUID binary element.
ADMIN_DATABASE - Static variable in class com.allanbank.mongodb.connection.message.AdminCommand
The administration database name.
ADMIN_DB - Static variable in class com.allanbank.mongodb.Credential
The name of the administration database used to authenticate a administrator to MongoDB.
ADMIN_DB_NAME - Static variable in class com.allanbank.mongodb.connection.auth.AuthenticatingConnection
The name of the administration database.
ADMIN_DB_NAME - Static variable in class com.allanbank.mongodb.MongoClientConfiguration
The name of the administration database.
ADMIN_NAME - Static variable in interface com.allanbank.mongodb.MongoDatabase
The name of the administration database.
AdminCommand - Class in com.allanbank.mongodb.connection.message
Helper class to make generating administration command queries easier.
AdminCommand(Document) - Constructor for class com.allanbank.mongodb.connection.message.AdminCommand
Create a new Command.
Aggregate - Class in com.allanbank.mongodb.builder
Aggregate provides support for the aggregate command supporting a pipeline of commands to execute.
Aggregate(Aggregate.Builder) - Constructor for class com.allanbank.mongodb.builder.Aggregate
Creates a new Aggregate.
aggregate(Aggregate) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Invokes a aggregate command on the server.
aggregate(Aggregate.Builder) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Invokes a aggregate command on the server.
aggregate(Aggregate) - Method in interface com.allanbank.mongodb.MongoCollection
Invokes a aggregate command on the server.
aggregate(Aggregate.Builder) - Method in interface com.allanbank.mongodb.MongoCollection
Invokes a aggregate command on the server.
Aggregate.Builder - Class in com.allanbank.mongodb.builder
Builder provides the ability to construct aggregate command pipelines.
Aggregate.Builder() - Constructor for class com.allanbank.mongodb.builder.Aggregate.Builder
Creates a new Builder.
aggregateAsync(Aggregate) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Invokes a aggregate command on the server.
aggregateAsync(Aggregate.Builder) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Invokes a aggregate command on the server.
aggregateAsync(Callback<List<Document>>, Aggregate) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Invokes a aggregate command on the server.
aggregateAsync(Callback<List<Document>>, Aggregate.Builder) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Invokes a aggregate command on the server.
aggregateAsync(Callback<List<Document>>, Aggregate) - Method in class com.allanbank.mongodb.client.MongoCollectionImpl
Invokes a aggregate command on the server.
aggregateAsync(Aggregate) - Method in interface com.allanbank.mongodb.MongoCollection
Invokes a aggregate command on the server.
aggregateAsync(Aggregate.Builder) - Method in interface com.allanbank.mongodb.MongoCollection
Invokes a aggregate command on the server.
aggregateAsync(Callback<List<Document>>, Aggregate) - Method in interface com.allanbank.mongodb.MongoCollection
Invokes a aggregate command on the server.
aggregateAsync(Callback<List<Document>>, Aggregate.Builder) - Method in interface com.allanbank.mongodb.MongoCollection
Invokes a aggregate command on the server.
AggregationGeoNear - Class in com.allanbank.mongodb.builder
AggregationGeoNear provides the options for the $geoNear pipeline stage of an aggregation.
AggregationGeoNear(AggregationGeoNear.Builder) - Constructor for class com.allanbank.mongodb.builder.AggregationGeoNear
Creates a new AggregationGeoNear.
AggregationGeoNear.Builder - Class in com.allanbank.mongodb.builder
Helper for creating immutable Find queries.
AggregationGeoNear.Builder() - Constructor for class com.allanbank.mongodb.builder.AggregationGeoNear.Builder
Creates a new Builder.
AggregationGroupField - Class in com.allanbank.mongodb.builder
AggregationGroupField holds the information for an aggregation field in an aggregate command's $group pipeline operator.
AggregationGroupField(String, String, int) - Constructor for class com.allanbank.mongodb.builder.AggregationGroupField
Creates a new AggregationGroupField.
AggregationGroupField(String, String, String) - Constructor for class com.allanbank.mongodb.builder.AggregationGroupField
Creates a new AggregationGroupField.
AggregationGroupField.Builder - Class in com.allanbank.mongodb.builder
Builder provides the ability to construct a AggregationGroupField .
AggregationGroupField.Builder(String) - Constructor for class com.allanbank.mongodb.builder.AggregationGroupField.Builder
Creates a new Builder.
AggregationGroupId - Class in com.allanbank.mongodb.builder
AggregationGroupId holds the information for the _id field in an aggregate command's $group pipeline operator.
AggregationGroupId(DocumentAssignable) - Constructor for class com.allanbank.mongodb.builder.AggregationGroupId
Creates a new AggregationGroupId.
AggregationGroupId(String) - Constructor for class com.allanbank.mongodb.builder.AggregationGroupId
Creates a new AggregationGroupId.
AggregationGroupId.Builder - Class in com.allanbank.mongodb.builder
Builder provides the ability to construct a complex AggregationGroupId.
AggregationGroupId.Builder() - Constructor for class com.allanbank.mongodb.builder.AggregationGroupId.Builder
Creates a new Builder.
AggregationProjectFields - Class in com.allanbank.mongodb.builder
AggregationProjectFields holds the information for the fields to copy from the input documents when using the aggregate command's $project pipeline operator.
AggregationProjectFields(boolean, String...) - Constructor for class com.allanbank.mongodb.builder.AggregationProjectFields
Creates a new AggregationProjectFields.
AggregationProjectFields(String...) - Constructor for class com.allanbank.mongodb.builder.AggregationProjectFields
Creates a new AggregationProjectFields.
all(String) - Method in class com.allanbank.mongodb.builder.AggregationGroupField.Builder
Constructs a new AggregationGroupField object that uses the $push operator to accumulate all of the values seen from the fieldRef.
all(ArrayBuilder) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Specify the values that must all be in the fields array.
all(Constant...) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Specify the values that must all be in the fields array.
all(Element...) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Specify the values that must all be in the fields array.
ALL - Static variable in class com.allanbank.mongodb.builder.Find
An (empty) query document to find all documents.
ALL - Static variable in interface com.allanbank.mongodb.MongoCollection
An (empty) query document to find all documents.
ALL - Static variable in class com.allanbank.mongodb.util.PatternUtils
The regular expression matching all input.
ALL_PATTERN - Static variable in class com.allanbank.mongodb.util.PatternUtils
The pattern for the regular expression matching all input.
and(String) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Starts a logical conjunction with this condition builder.
AND - Static variable in class com.allanbank.mongodb.builder.expression.Expressions
The "$and" operator token
and(Expression...) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns an NaryExpression "$and" expression.
and(DocumentAssignable...) - Static method in class com.allanbank.mongodb.builder.QueryBuilder
Creates a single document that is the conjunction of the criteria provided.
ArrayBuilder - Interface in com.allanbank.mongodb.bson.builder
Interface for a builder used to construct a BSON array.
ArrayBuilderImpl - Class in com.allanbank.mongodb.bson.builder.impl
A builder for BSON arrays.
ArrayBuilderImpl() - Constructor for class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Creates a new ArrayBuilderImpl.
ArrayBuilderImpl(AbstractBuilder) - Constructor for class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Creates a new ArrayBuilderImpl.
ArrayElement - Class in com.allanbank.mongodb.bson.element
A wrapper for a BSON array.
ArrayElement(String, Element...) - Constructor for class com.allanbank.mongodb.bson.element.ArrayElement
Constructs a new ArrayElement.
ArrayElement(String, List<Element>) - Constructor for class com.allanbank.mongodb.bson.element.ArrayElement
Constructs a new ArrayElement.
as(String, int) - Method in class com.allanbank.mongodb.builder.AggregationGroupField.Builder
Constructs a new AggregationGroupField object that uses the custom operator to aggregate all of the values seen from the fieldRef.
as(String, String) - Method in class com.allanbank.mongodb.builder.AggregationGroupField.Builder
Constructs a new AggregationGroupField object that uses the custom operator to aggregate all of the values seen from the fieldRef.
asc(String) - Static method in class com.allanbank.mongodb.builder.Index
Creates an ascending order specification, e.g., { <field> : 1 }.
asc(String) - Static method in class com.allanbank.mongodb.builder.Sort
Creates an ascending order specification, e.g., { <field> : 1 }.
ASCENDING - Static variable in class com.allanbank.mongodb.builder.Sort
The value to indicate an ascending sort order.
ASCII - Static variable in class com.allanbank.mongodb.connection.auth.MongoDbAuthenticator
The UTF-8 character encoding.
asDocument() - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Converts the object into a document.
asDocument() - Method in interface com.allanbank.mongodb.bson.DocumentAssignable
Converts the object into a document.
asDocument() - Method in class com.allanbank.mongodb.bson.DocumentReference
Converts the object into a document.
asDocument() - Method in class com.allanbank.mongodb.bson.element.DocumentElement
Converts the object into a document.
asDocument() - Method in class com.allanbank.mongodb.bson.impl.EmptyDocument
Converts the object into a document.
asDocument() - Method in class com.allanbank.mongodb.bson.impl.RootDocument
Converts the object into a document.
asDocument() - Method in class com.allanbank.mongodb.builder.AggregationGeoNear
Converts the object into a document.
asDocument() - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Converts the object into a document.
asDocument() - Method in class com.allanbank.mongodb.builder.QueryBuilder
Converts the object into a document.
asDocument() - Method in class com.allanbank.mongodb.client.MongoIteratorImpl
Returns a Document that can be used to restart the cursor/iterator.
asDocument() - Method in class com.allanbank.mongodb.Durability
Returns a suitable getlasterror command's document.
asDocument() - Method in interface com.allanbank.mongodb.MongoCursorControl
Returns a Document that can be used to restart the cursor/iterator.
asDocument() - Method in class com.allanbank.mongodb.ReadPreference
Converts the object into a document.
asDocumentReference() - Method in class com.allanbank.mongodb.bson.element.DocumentElement
Returns this sub-document as a DocumentReference if it conforms to the MongoDB DBRef convention.
asElement() - Method in class com.allanbank.mongodb.bson.element.AbstractElement
Converts the object into an Element.
asElement() - Method in interface com.allanbank.mongodb.bson.ElementAssignable
Converts the object into an Element.
asElement() - Method in class com.allanbank.mongodb.builder.expression.NaryExpression
Converts the object into an Element.
asElement() - Method in class com.allanbank.mongodb.builder.expression.UnaryExpression
Converts the object into an Element.
asError(Reply) - Method in class com.allanbank.mongodb.client.AbstractValidatingReplyCallback
Creates an exception from the Reply.
asError(Reply, boolean) - Method in class com.allanbank.mongodb.client.AbstractValidatingReplyCallback
Creates an exception from the Reply.
asError(Reply, int, int, String) - Method in class com.allanbank.mongodb.client.AbstractValidatingReplyCallback
Creates an exception from the parsed reply fields.
asGetLastError(Durability) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Converts the Durability into a GetLastError command.
asSerializedClient() - Method in class com.allanbank.mongodb.client.MongoClientImpl
Returns a MongoClient instance that shares connections with this MongoClient instance but serializes all of its requests on a single connection.
asSerializedClient() - Method in interface com.allanbank.mongodb.MongoClient
Returns a MongoClient instance that shares connections with this MongoClient instance but serializes all of its requests on a single connection.
asSerializedMongo() - Method in class com.allanbank.mongodb.client.MongoImpl
Deprecated.
asSerializedMongo() - Method in interface com.allanbank.mongodb.Mongo
Deprecated.
Assertions - Class in com.allanbank.mongodb.util
Assertions provides common validation methods for the driver.
ASSERTIONS_ENABLED - Static variable in class com.allanbank.mongodb.bson.builder.impl.AbstractBuilder
If true then assertions have been enabled for the class.
ASSERTIONS_ENABLED - Static variable in class com.allanbank.mongodb.client.SerialClientImpl
If true then assertions have been enabled for the class.
assertNotEmpty(String, String) - Static method in class com.allanbank.mongodb.util.Assertions
Throws an IllegalArgumentException if the value is null or an empty string.
assertNotNull(Object, String) - Static method in class com.allanbank.mongodb.util.Assertions
Throws an IllegalArgumentException if the value is null.
assertThat(boolean, String) - Static method in class com.allanbank.mongodb.util.Assertions
Throws an IllegalArgumentException if the value is null.
asString(Element) - Method in class com.allanbank.mongodb.client.AbstractValidatingReplyCallback
Converts the Element to a string.
authenticate(String, String) - Method in class com.allanbank.mongodb.MongoClientConfiguration
Deprecated.
Replaced with the more general Credential capability. Will be removed after the 1.3.0 release.
authenticateAsAdmin(String, String) - Method in class com.allanbank.mongodb.MongoClientConfiguration
Deprecated.
Replaced with the more general Credential capability. Will be removed after the 1.3.0 release.
AuthenticatingConnection - Class in com.allanbank.mongodb.connection.auth
AuthenticatingConnection provides a connection that authenticated with the server for each database before it is used.
AuthenticatingConnection(Connection, MongoClientConfiguration) - Constructor for class com.allanbank.mongodb.connection.auth.AuthenticatingConnection
Creates a new AuthenticatingConnection.
AuthenticationConnectionFactory - Class in com.allanbank.mongodb.connection.auth
AuthenticationConnectionFactory wraps all of the connections with AuthenticatingConnections.
AuthenticationConnectionFactory(ProxiedConnectionFactory, MongoClientConfiguration) - Constructor for class com.allanbank.mongodb.connection.auth.AuthenticationConnectionFactory
Creates a new AuthenticationConnectionFactory.
authenticationType(String) - Method in class com.allanbank.mongodb.Credential.Builder
Sets the value of the authentication type or mode that the credential should be used with.
Authenticator - Interface in com.allanbank.mongodb.connection.auth
Authenticator provides the common interface for all MongoDB authenticators.
authenticator() - Method in class com.allanbank.mongodb.Credential
Returns an authenticator for the credential.
authenticator(Authenticator) - Method in class com.allanbank.mongodb.Credential.Builder
Sets the value of the template authenticator for the credential.
average(String) - Method in class com.allanbank.mongodb.builder.AggregationGroupField.Builder
Constructs a new AggregationGroupField object that uses the $avg operator to compute the average value seen from the fieldRef.
AWAIT_CAPABLE_BIT - Static variable in class com.allanbank.mongodb.connection.message.Reply
Bit for the await capable flag.
AWAIT_DATA_FLAG_BIT - Static variable in class com.allanbank.mongodb.connection.message.Query
Flag bit for the await data.

B

base64ToBytes(String) - Static method in class com.allanbank.mongodb.util.IOUtils
Converts the Base64 (RFC 2045) String into a byte array.
BATCH_SIZE_FIELD - Static variable in interface com.allanbank.mongodb.MongoCursorControl
The batch size field in the cursor document.
batchSize(int) - Method in class com.allanbank.mongodb.builder.Find.Builder
Sets the value of the number of documents to be returned in each batch.
BinaryElement - Class in com.allanbank.mongodb.bson.element
A wrapper for a BSON binary.
BinaryElement(String, byte, byte[]) - Constructor for class com.allanbank.mongodb.bson.element.BinaryElement
Constructs a new BinaryElement.
BinaryElement(String, byte[]) - Constructor for class com.allanbank.mongodb.bson.element.BinaryElement
Constructs a new BinaryElement.
BooleanElement - Class in com.allanbank.mongodb.bson.element
A wrapper for a BSON boolean.
BooleanElement(String, boolean) - Constructor for class com.allanbank.mongodb.bson.element.BooleanElement
Constructs a new BooleanElement.
bootstrap() - Method in class com.allanbank.mongodb.connection.bootstrap.BootstrapConnectionFactory
Re-bootstraps the environment.
bootstrap() - Method in class com.allanbank.mongodb.connection.rs.ReplicaSetConnectionFactory
Finds the primary member of the replica set.
bootstrap() - Method in class com.allanbank.mongodb.connection.sharded.ShardedConnectionFactory
Finds the mongos servers.
BootstrapConnectionFactory - Class in com.allanbank.mongodb.connection.bootstrap
Provides the ability to bootstrap into the appropriate ConnectionFactory based on the configuration of the server(s) connected to.
BootstrapConnectionFactory(MongoClientConfiguration) - Constructor for class com.allanbank.mongodb.connection.bootstrap.BootstrapConnectionFactory
BOX - Static variable in enum com.allanbank.mongodb.builder.GeospatialOperator
The name for the rectangular region with a GeospatialOperator.WITHIN query.
BsonInputStream - Class in com.allanbank.mongodb.bson.io
BsonInputStream provides a class to read BSON documents based on the BSON specification.
BsonInputStream(InputStream) - Constructor for class com.allanbank.mongodb.bson.io.BsonInputStream
Creates a BSON document reader.
BsonOutputStream - Class in com.allanbank.mongodb.bson.io
A wrapper for an OutputStream to handle writing BSON primitives.
BsonOutputStream(OutputStream) - Constructor for class com.allanbank.mongodb.bson.io.BsonOutputStream
Creates a new BsonOutputStream.
BufferingBsonOutputStream - Class in com.allanbank.mongodb.bson.io
BufferingBsonOutputStream provides a class to write BSON documents based on the BSON specification.
BufferingBsonOutputStream(OutputStream) - Constructor for class com.allanbank.mongodb.bson.io.BufferingBsonOutputStream
BufferingBsonOutputStream(RandomAccessOutputStream) - Constructor for class com.allanbank.mongodb.bson.io.BufferingBsonOutputStream
build() - Method in interface com.allanbank.mongodb.bson.builder.ArrayBuilder
Returns the array of Elements being constructed.
build() - Method in interface com.allanbank.mongodb.bson.builder.DocumentBuilder
Returns the Document being constructed.
build(String) - Method in class com.allanbank.mongodb.bson.builder.impl.AbstractBuilder
Constructs the final form of the element being constructed.
build() - Method in class com.allanbank.mongodb.bson.builder.impl.AbstractBuilder.BuilderElement
Constructs the final form of the element being constructed by the encapsulated builder.
build() - Method in class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Returns the array of Elements being constructed.
build(String) - Method in class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Constructs the final form of the element being constructed.
build() - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Returns the Document being constructed.
build(String) - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Constructs the final form of the element being constructed.
build() - Method in class com.allanbank.mongodb.builder.Aggregate.Builder
Constructs a new Aggregate object from the state of the builder.
build() - Method in class com.allanbank.mongodb.builder.AggregationGeoNear.Builder
Constructs a new AggregationGeoNear object from the state of the builder.
build() - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Returns the results of building the parent QueryBuilder.
build() - Method in class com.allanbank.mongodb.builder.Distinct.Builder
Creates a new GroupBy based on the current state of the builder.
build() - Method in class com.allanbank.mongodb.builder.Find.Builder
Constructs a new Find object from the state of the builder.
build() - Method in class com.allanbank.mongodb.builder.FindAndModify.Builder
Constructs a new FindAndModify object from the state of the builder.
build() - Method in class com.allanbank.mongodb.builder.GroupBy.Builder
Creates a new GroupBy based on the current state of the builder.
build() - Method in class com.allanbank.mongodb.builder.MapReduce.Builder
Constructs a new FindAndModify object from the state of the builder.
build() - Method in class com.allanbank.mongodb.builder.QueryBuilder
Construct the final query document.
build() - Method in class com.allanbank.mongodb.builder.Text.Builder
Creates a new Text based on the current state of the builder.
build() - Method in class com.allanbank.mongodb.Credential.Builder
Creates the credential from this builder.
Builder - Interface in com.allanbank.mongodb.bson.builder
Common interface for all builders.
builder() - Static method in class com.allanbank.mongodb.builder.Aggregate
Creates a new builder for a Aggregate.
builder() - Static method in class com.allanbank.mongodb.builder.AggregationGeoNear
Creates a new builder for an AggregationGeoNear.
builder() - Static method in class com.allanbank.mongodb.builder.Distinct
Creates a new builder for a Distinct.
builder() - Static method in class com.allanbank.mongodb.builder.Find
Creates a new builder for a Find.
builder() - Static method in class com.allanbank.mongodb.builder.FindAndModify
Creates a new builder for a FindAndModify.
builder() - Static method in class com.allanbank.mongodb.builder.GroupBy
Creates a new builder for a GroupBy.
builder() - Static method in class com.allanbank.mongodb.builder.MapReduce
Creates a new builder for a MapReduce.
builder() - Static method in class com.allanbank.mongodb.builder.Text
Creates a new builder for a Text command.
builder() - Static method in class com.allanbank.mongodb.Credential
Creates a Credential.Builder for creating a Credential.
BUILDER_ELEMENT_CLASS - Static variable in class com.allanbank.mongodb.bson.builder.impl.AbstractBuilder
The class used for intermediate sub-builders in the elements list.
BuilderFactory - Class in com.allanbank.mongodb.bson.builder
Helper class for getting started with a builder.
buildId() - Method in class com.allanbank.mongodb.builder.AggregationGroupId.Builder
Constructs a new AggregationGroupId object from the state of the builder.
buildIndexName(Element...) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Generates a name for the index based on the keys.

C

Callback<V> - Interface in com.allanbank.mongodb
Interface for a callback with the result of a MongoDB operation.
callback(V) - Method in interface com.allanbank.mongodb.Callback
Called when the MongoDB operation has completed with the result of the operation.
callback(Reply) - Method in class com.allanbank.mongodb.client.AbstractValidatingReplyCallback
Called when the MongoDB operation has completed with the result of the operation.
callback(Long) - Method in class com.allanbank.mongodb.client.LongToIntCallback
Called when the MongoDB operation has completed with the result of the operation.
callback(List<Document>) - Method in class com.allanbank.mongodb.client.TextCallback
Called when the MongoDB operation has completed with the result of the operation.
callback(V) - Method in class com.allanbank.mongodb.connection.FutureCallback
Called when the MongoDB operation has completed with the result of the operation.
callback(Reply) - Method in class com.allanbank.mongodb.connection.socket.SocketConnection.NoopCallback
Called when the MongoDB operation has completed with the result of the operation.
callback(Reply) - Method in class com.allanbank.mongodb.connection.state.SecondsBehindCallback
Called when the MongoDB operation has completed with the result of the operation.
callback(Reply) - Method in class com.allanbank.mongodb.connection.state.ServerLatencyCallback
Called when the MongoDB operation has completed with the result of the operation.
cancel(boolean) - Method in class com.allanbank.mongodb.connection.FutureCallback
CannotConnectException - Exception in com.allanbank.mongodb.error
CannotConnectException is thrown to report a failure when attempting to connect to MongoDB.
CannotConnectException() - Constructor for exception com.allanbank.mongodb.error.CannotConnectException
Creates a new CannotConnectException.
CannotConnectException(String) - Constructor for exception com.allanbank.mongodb.error.CannotConnectException
Creates a new CannotConnectException.
CannotConnectException(String, Throwable) - Constructor for exception com.allanbank.mongodb.error.CannotConnectException
Creates a new CannotConnectException.
CannotConnectException(Throwable) - Constructor for exception com.allanbank.mongodb.error.CannotConnectException
Creates a new CannotConnectException.
capacity() - Method in class com.allanbank.mongodb.connection.message.PendingMessageQueue
Returns the size of the queue.
CASE_INSENSITIVE - Static variable in class com.allanbank.mongodb.bson.element.RegularExpressionElement
Option for case insensitive matching.
cdf(List<ServerState>) - Method in class com.allanbank.mongodb.connection.state.ClusterState
Computes a relative CDF (cumulative distribution function) for the servers based on the latency from the client.
checkForError(Reply) - Method in class com.allanbank.mongodb.client.AbstractValidatingReplyCallback
Checks for a non-flag error in the reply.
checkForReply(Connection, Map<InetSocketAddress, Future<Reply>>, Map<InetSocketAddress, Connection>) - Method in class com.allanbank.mongodb.connection.rs.ReplicaSetReconnectStrategy
Checks for a reply from a server.
checkReply(Future<Reply>, Map<InetSocketAddress, Connection>, InetSocketAddress) - Method in class com.allanbank.mongodb.connection.rs.ReplicaSetReconnectStrategy
Extracts who the server thinks is the primary from the reply.
CHUNKS_SUFFIX - Static variable in class com.allanbank.mongodb.gridfs.GridFs
The suffix for the chunks collection.
CIRCLE - Static variable in enum com.allanbank.mongodb.builder.GeospatialOperator
The name for the circular region with a GeospatialOperator.WITHIN query.
CLASS - Static variable in class com.allanbank.mongodb.connection.FutureCallback
The class for the FutureCallback.
clear() - Method in class com.allanbank.mongodb.connection.message.PendingMessage
Clears the state of the message allowing the referenced objects to be garbage collected.
Client - Interface in com.allanbank.mongodb.client
Unified client interface to MongoDB.
ClientImpl - Class in com.allanbank.mongodb.client
Implementation of the internal Client interface which all requests to the MongoDB servers pass.
ClientImpl(MongoClientConfiguration) - Constructor for class com.allanbank.mongodb.client.ClientImpl
Create a new ClientImpl.
ClientImpl(MongoClientConfiguration, ConnectionFactory) - Constructor for class com.allanbank.mongodb.client.ClientImpl
Create a new ClientImpl.
ClientImpl.ConnectionListener - Class in com.allanbank.mongodb.client
ConnectionListener provides the call back for events occurring on a connection.
ClientImpl.ConnectionListener() - Constructor for class com.allanbank.mongodb.client.ClientImpl.ConnectionListener
Creates a new ConnectionListener.
clone() - Method in interface com.allanbank.mongodb.connection.auth.Authenticator
Privides the ability to clone the authenticator.
clone() - Method in class com.allanbank.mongodb.connection.auth.MongoDbAuthenticator
Privides the ability to clone the authenticator.
clone() - Method in class com.allanbank.mongodb.MongoClientConfiguration
Creates a copy of this MongoClientConfiguration.
clone() - Method in class com.allanbank.mongodb.MongoDbConfiguration
Deprecated.
Creates a copy of this MongoClientConfiguration.
ClosableIterator<T> - Interface in com.allanbank.mongodb
Deprecated.
Use the MongoIterator interface instead. This interface will be removed after the 1.3.0 release.
close() - Method in class com.allanbank.mongodb.bson.io.RandomAccessOutputStream
close() - Method in class com.allanbank.mongodb.client.AbstractClient
Closes the client.
close() - Method in interface com.allanbank.mongodb.client.Client
Closes the client.
close() - Method in class com.allanbank.mongodb.client.ClientImpl
Closes the client.
close() - Method in class com.allanbank.mongodb.client.MongoClientImpl
close() - Method in class com.allanbank.mongodb.client.MongoIteratorImpl
Close the iterator and release any resources it is holding.
close() - Method in class com.allanbank.mongodb.client.SerialClientImpl
Closes the client.
close() - Method in interface com.allanbank.mongodb.ClosableIterator
Deprecated.
Close the iterator and release any resources it is holding.
close() - Method in class com.allanbank.mongodb.connection.auth.AuthenticationConnectionFactory
close() - Method in class com.allanbank.mongodb.connection.bootstrap.BootstrapConnectionFactory
close() - Method in class com.allanbank.mongodb.connection.proxy.AbstractProxyConnection
Closes the underlying connection.
close() - Method in class com.allanbank.mongodb.connection.rs.ReplicaSetConnectionFactory
close() - Method in class com.allanbank.mongodb.connection.sharded.ShardedConnectionFactory
close() - Method in class com.allanbank.mongodb.connection.socket.SocketConnection
close() - Method in class com.allanbank.mongodb.connection.socket.SocketConnectionFactory
close() - Method in class com.allanbank.mongodb.connection.state.ClusterPinger
close() - Method in class com.allanbank.mongodb.connection.state.ClusterState
close() - Method in interface com.allanbank.mongodb.MongoCursorControl
Close the iterator and release any resources it is holding.
close(Closeable) - Static method in class com.allanbank.mongodb.util.IOUtils
Closes the Closeable and logs any error.
close(Closeable, Level, String) - Static method in class com.allanbank.mongodb.util.IOUtils
Closes the Closeable and logs any error.
CLOSEST - Static variable in class com.allanbank.mongodb.ReadPreference
ReadPreference to read from the closest/ReadPreference.Mode.NEAREST primary of secondary server.
closest(DocumentAssignable...) - Static method in class com.allanbank.mongodb.ReadPreference
Creates a ReadPreference to read from the closest/ ReadPreference.Mode.NEAREST primary of secondary server.
ClusterPinger - Class in com.allanbank.mongodb.connection.state
ClusterPinger pings each of the connections in the cluster and updates the latency of the server from this client.
ClusterPinger(ClusterState, ClusterType, ProxiedConnectionFactory, MongoClientConfiguration) - Constructor for class com.allanbank.mongodb.connection.state.ClusterPinger
Creates a new ClusterPinger.
ClusterPinger.Pinger - Class in com.allanbank.mongodb.connection.state
Pinger provides logic to ping servers.
ClusterPinger.Pinger() - Constructor for class com.allanbank.mongodb.connection.state.ClusterPinger.Pinger
 
ClusterState - Class in com.allanbank.mongodb.connection.state
ClusterState tracks the state of the cluster of MongoDB servers.
ClusterState(MongoClientConfiguration) - Constructor for class com.allanbank.mongodb.connection.state.ClusterState
Creates a new CLusterState.
ClusterType - Enum in com.allanbank.mongodb.connection
ClusterType provides an enumeration of the types of cluster configurations supported.
cmp(Expression, Expression) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a NaryExpression "$cmp" expression.
coerse(String, Object) - Method in class com.allanbank.mongodb.bson.builder.impl.AbstractBuilder
Performs type coersion on the value into the best possible element type.
COLLECTION_FIELD_NAME - Static variable in class com.allanbank.mongodb.bson.DocumentReference
The name for the collection name field.
com.allanbank.mongodb - package com.allanbank.mongodb
Provides a Java driver for the MongoDB document store that allows asynchronous invocation of requests.
com.allanbank.mongodb.bson - package com.allanbank.mongodb.bson
Strongly typed, immutable implementation of the BSON Specification.
com.allanbank.mongodb.bson.builder - package com.allanbank.mongodb.bson.builder
Provides the interfaces for builders to aid in constructing BSON Documents.
com.allanbank.mongodb.bson.builder.impl - package com.allanbank.mongodb.bson.builder.impl
Provides the implementations for builders to aid in constructing BSON Documents.
com.allanbank.mongodb.bson.element - package com.allanbank.mongodb.bson.element
Provides the complete set of BSON Elements used to construct Documents.
com.allanbank.mongodb.bson.impl - package com.allanbank.mongodb.bson.impl
Provides the implementation of a top level BSON Document.
com.allanbank.mongodb.bson.io - package com.allanbank.mongodb.bson.io
Provides the ability to serialize and deserialize BSON Documents.
com.allanbank.mongodb.bson.json - package com.allanbank.mongodb.bson.json
Contains a parser of JSON documents based on a JavaCC grammer.
com.allanbank.mongodb.builder - package com.allanbank.mongodb.builder
Provides domain classes and builders for queries and the common MongoDB commands.
com.allanbank.mongodb.builder.expression - package com.allanbank.mongodb.builder.expression
Provides support for construction of expressions for use with aggregate command's $project operator.
com.allanbank.mongodb.client - package 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 - package com.allanbank.mongodb.connection
Provides interfaces for managing connections to different MongoDB server configurations.
com.allanbank.mongodb.connection.auth - package com.allanbank.mongodb.connection.auth
Wraps a connection and ensures that all requests are properly authenticated.
com.allanbank.mongodb.connection.bootstrap - package com.allanbank.mongodb.connection.bootstrap
Bootstraps a the correct type of connections for the type of MongoDB cluster.
com.allanbank.mongodb.connection.message - package com.allanbank.mongodb.connection.message
Low level messages to be sent to the MongoDB server.
com.allanbank.mongodb.connection.proxy - package com.allanbank.mongodb.connection.proxy
Support for connection that delegate to a lower level connection.
com.allanbank.mongodb.connection.rs - package com.allanbank.mongodb.connection.rs
Support for connections to Replica Sets.
com.allanbank.mongodb.connection.sharded - package com.allanbank.mongodb.connection.sharded
Support for connections to Sharded Configurations.
com.allanbank.mongodb.connection.socket - package com.allanbank.mongodb.connection.socket
Low level socket connection to a single MongoDB server.
com.allanbank.mongodb.connection.state - package com.allanbank.mongodb.connection.state
Support for tracking the state of a set of MongoDB servers.
com.allanbank.mongodb.error - package com.allanbank.mongodb.error
Exceptions for common MongoDB error conditions.
com.allanbank.mongodb.gridfs - package com.allanbank.mongodb.gridfs
Provides an implementation of the GridFS Specification.
com.allanbank.mongodb.util - package com.allanbank.mongodb.util
Provides utilities used across the driver.
Command - Class in com.allanbank.mongodb.connection.message
Helper class to make generating command queries easier.
Command(String, Document) - Constructor for class com.allanbank.mongodb.connection.message.Command
Create a new Command.
Command(String, Document, ReadPreference) - Constructor for class com.allanbank.mongodb.connection.message.Command
Create a new Command.
COMMAND_COLLECTION - Static variable in interface com.allanbank.mongodb.connection.Connection
The collection to use when issuing commands to the database.
COMMAND_COLLECTION - Static variable in class com.allanbank.mongodb.connection.message.Command
The collection to use when issuing commands to the database.
COMPARATOR - Static variable in class com.allanbank.mongodb.connection.state.ServerLatencyComparator
A singleton instance of the comparator.
COMPARE - Static variable in class com.allanbank.mongodb.builder.expression.Expressions
The "$cmp" operator token
compare(ServerState, ServerState) - Method in class com.allanbank.mongodb.connection.state.ServerLatencyComparator
compareTo(ProfilingStatus) - Method in class com.allanbank.mongodb.ProfilingStatus
ComparisonOperator - Enum in com.allanbank.mongodb.builder
ComparisonOperator provides an enumeration of all possible comparison operators.
computeCStringSize(String) - Method in class com.allanbank.mongodb.bson.io.SizeOfVisitor
Returns the visitor's output buffer.
computeStringSize(String) - Method in class com.allanbank.mongodb.bson.io.SizeOfVisitor
Returns the visitor's output buffer.
CONCATENATE - Static variable in class com.allanbank.mongodb.builder.expression.Expressions
The "$concat" operator token
concatenate(Expression...) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a NaryExpression "$concat" expression.
cond(Expression, Expression, Expression) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a NaryExpression "$cond" expression.
CONDITION - Static variable in class com.allanbank.mongodb.builder.expression.Expressions
The "$cond" operator token
ConditionBuilder - Class in com.allanbank.mongodb.builder
ConditionBuilder provides tracking for the condition of a single field within a query.
ConditionBuilder(String, QueryBuilder) - Constructor for class com.allanbank.mongodb.builder.ConditionBuilder
Creates a new ConditionBuilder.
CONFIG_NAME - Static variable in interface com.allanbank.mongodb.MongoDatabase
The name of the configuration database for a sharded configuration.
connect() - Method in class com.allanbank.mongodb.connection.auth.AuthenticationConnectionFactory
Creates a connection to the address provided.
connect(ServerState, MongoClientConfiguration) - Method in class com.allanbank.mongodb.connection.auth.AuthenticationConnectionFactory
Creates a connection to the address provided.
connect() - Method in class com.allanbank.mongodb.connection.bootstrap.BootstrapConnectionFactory
Creates a connection to the address provided.
connect() - Method in interface com.allanbank.mongodb.connection.ConnectionFactory
Creates a connection to the address provided.
connect(ServerState, MongoClientConfiguration) - Method in interface com.allanbank.mongodb.connection.proxy.ProxiedConnectionFactory
Creates a connection to the address provided.
connect() - Method in class com.allanbank.mongodb.connection.rs.ReplicaSetConnectionFactory
Creates a new connection to the replica set.
connect() - Method in class com.allanbank.mongodb.connection.sharded.ShardedConnectionFactory
Creates a new connection to the shared mongos servers.
connect() - Method in class com.allanbank.mongodb.connection.socket.SocketConnectionFactory
Creates a connection to the address provided.
connect(ServerState, MongoClientConfiguration) - Method in class com.allanbank.mongodb.connection.socket.SocketConnectionFactory
Creates a connection to the address provided.
Connection - Interface in com.allanbank.mongodb.connection
Provides the lowest level interface for interacting with a MongoDB server.
ConnectionFactory - Interface in com.allanbank.mongodb.connection
Provides an abstraction for constructing a connection.
ConnectionLostException - Exception in com.allanbank.mongodb.error
ConnectionLostException provides a exception thrown when the connection to the MongoDB server is lost.
ConnectionLostException() - Constructor for exception com.allanbank.mongodb.error.ConnectionLostException
Creates a new ConnectionLostException.
ConnectionLostException(String) - Constructor for exception com.allanbank.mongodb.error.ConnectionLostException
Creates a new ConnectionLostException.
ConnectionLostException(String, Throwable) - Constructor for exception com.allanbank.mongodb.error.ConnectionLostException
Creates a new ConnectionLostException.
ConnectionLostException(Throwable) - Constructor for exception com.allanbank.mongodb.error.ConnectionLostException
Creates a new ConnectionLostException.
Constant - Class in com.allanbank.mongodb.builder.expression
Represents constant value in an expression.
Constant(Element) - Constructor for class com.allanbank.mongodb.builder.expression.Constant
Creates a new Constant.
constant(boolean) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a Constant expression with the provided value.
constant(Date) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a Constant expression with the provided value.
constant(double) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a Constant expression with the provided value.
constant(int) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a Constant expression with the provided value.
constant(long) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a Constant expression with the provided value.
constant(ObjectId) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a Constant expression with the provided value.
constant(Pattern) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a Constant expression with the provided value.
constant(String) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a Constant expression with the provided value.
constantId(String) - Static method in class com.allanbank.mongodb.builder.AggregationGroupId
Constructs a AggregationGroupId with a constant value.
constantMongoTimestamp(long) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a Constant expression with the provided value.
constantTimestamp(long) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a Constant expression with the provided value.
contains(String) - Method in interface com.allanbank.mongodb.bson.Document
Returns true if the document contains an element with the specified name.
contains(String) - Method in class com.allanbank.mongodb.bson.element.DocumentElement
Returns true if the document contains an element with the specified name.
contains(String) - Method in class com.allanbank.mongodb.bson.impl.EmptyDocument
Returns false since this document contains no Elements.
contains(String) - Method in class com.allanbank.mongodb.bson.impl.RootDocument
Returns true if the document contains an element with the specified name.
CONTINUE_ON_ERROR_BIT - Static variable in class com.allanbank.mongodb.connection.message.Insert
The flag bit to keep inserting documents on an error.
convert(Reply) - Method in class com.allanbank.mongodb.client.AbstractReplyCallback
Converts the Reply into the final response type.
convert(Reply) - Method in class com.allanbank.mongodb.client.ReplyResultCallback
Converts the Reply into the final response type.
copyPending(Connection, Connection) - Method in class com.allanbank.mongodb.connection.state.AbstractReconnectStrategy
Copies the oldConnection pending messages to the newConnection.
count() - Method in class com.allanbank.mongodb.builder.AggregationGroupField.Builder
Constructs a new AggregationGroupField object that uses the $sum operator to count all of the input documents.
count() - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Counts the set of documents in the collection.
count(DocumentAssignable) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Counts the set of documents matching the query document in the collection.
count(DocumentAssignable, ReadPreference) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Counts the set of documents matching the query document in the collection.
count(ReadPreference) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Counts the set of documents in the collection.
count() - Method in interface com.allanbank.mongodb.MongoCollection
Counts the set of documents in the collection.
count(DocumentAssignable) - Method in interface com.allanbank.mongodb.MongoCollection
Counts the set of documents matching the query document in the collection.
count(DocumentAssignable, ReadPreference) - Method in interface com.allanbank.mongodb.MongoCollection
Counts the set of documents matching the query document in the collection.
count(ReadPreference) - Method in interface com.allanbank.mongodb.MongoCollection
Counts the set of documents in the collection.
countAsync() - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Counts the set of documents in the collection.
countAsync(Callback<Long>) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Counts the set of documents in the collection.
countAsync(Callback<Long>, DocumentAssignable) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Counts the set of documents matching the query document in the collection.
countAsync(Callback<Long>, DocumentAssignable, ReadPreference) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Counts the set of documents matching the query document in the collection.
countAsync(Callback<Long>, ReadPreference) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Counts the set of documents in the collection.
countAsync(DocumentAssignable) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Counts the set of documents matching the query document in the collection.
countAsync(DocumentAssignable, ReadPreference) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Counts the set of documents matching the query document in the collection.
countAsync(ReadPreference) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Counts the set of documents in the collection.
countAsync(Callback<Long>, DocumentAssignable, ReadPreference) - Method in class com.allanbank.mongodb.client.MongoCollectionImpl
Counts the set of documents matching the query document in the collection.
countAsync() - Method in interface com.allanbank.mongodb.MongoCollection
Counts the set of documents in the collection.
countAsync(Callback<Long>) - Method in interface com.allanbank.mongodb.MongoCollection
Counts the set of documents in the collection.
countAsync(Callback<Long>, DocumentAssignable) - Method in interface com.allanbank.mongodb.MongoCollection
Counts the set of documents matching the query document in the collection.
countAsync(Callback<Long>, DocumentAssignable, ReadPreference) - Method in interface com.allanbank.mongodb.MongoCollection
Counts the set of documents matching the query document in the collection.
countAsync(Callback<Long>, ReadPreference) - Method in interface com.allanbank.mongodb.MongoCollection
Counts the set of documents in the collection.
countAsync(DocumentAssignable) - Method in interface com.allanbank.mongodb.MongoCollection
Counts the set of documents matching the query document in the collection.
countAsync(DocumentAssignable, ReadPreference) - Method in interface com.allanbank.mongodb.MongoCollection
Counts the set of documents matching the query document in the collection.
countAsync(ReadPreference) - Method in interface com.allanbank.mongodb.MongoCollection
Counts the set of documents in the collection.
create(MongoDbConfiguration) - Static method in class com.allanbank.mongodb.MongoFactory
Deprecated.
Use the MongoFactory.createClient(MongoClientConfiguration) instead. This method will be removed on or after the 1.3.0 release.
create(MongoDbUri) - Static method in class com.allanbank.mongodb.MongoFactory
Deprecated.
Use the MongoFactory.createClient(MongoDbUri) instead. This method will be removed on or after the 1.3.0 release.
create(String) - Static method in class com.allanbank.mongodb.MongoFactory
Deprecated.
Use the MongoFactory.createClient(String) instead. This method will be removed on or after the 1.3.0 release.
createCappedCollection(String, long) - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
Creates the capped collection with the specified name and size on the server.
createCappedCollection(String, long) - Method in interface com.allanbank.mongodb.MongoDatabase
Creates the capped collection with the specified name and size on the server.
createClient(MongoClientConfiguration) - Static method in class com.allanbank.mongodb.MongoFactory
Creates a new Mongo instance using the MongoClientConfiguration.
createClient(MongoDbUri) - Static method in class com.allanbank.mongodb.MongoFactory
Creates a new Mongo instance using a MongoDB style URL.
createClient(String) - Static method in class com.allanbank.mongodb.MongoFactory
Creates a new Mongo instance using a MongoDB style URL.
createCollection(String, DocumentAssignable) - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
Creates the collection with the specified name on the server.
createCollection(String, DocumentAssignable) - Method in interface com.allanbank.mongodb.MongoDatabase
Creates the collection with the specified name on the server.
createIndex(boolean, Element...) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Creates an index with a generated name, across the keys specified and if unique is true ensuring entries are unique.
createIndex(DocumentAssignable, Element...) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Creates an index with a generated name, across the keys specified allowing duplicate entries.
createIndex(Element...) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Creates an index with a generated name, across the keys specified allowing duplicate entries.
createIndex(String, boolean, Element...) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Creates an index with the specified name, across the keys specified and if unique is true ensuring entries are unique.
createIndex(String, DocumentAssignable, Element...) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Creates an index with a generated name, across the keys specified allowing duplicate entries.
createIndex(String, DocumentAssignable, Element...) - Method in class com.allanbank.mongodb.client.MongoCollectionImpl
Creates an index with a generated name, across the keys specified allowing duplicate entries.
createIndex(boolean, Element...) - Method in interface com.allanbank.mongodb.MongoCollection
Creates an index with a generated name, across the keys specified and if unique is true ensuring entries are unique.
createIndex(DocumentAssignable, Element...) - Method in interface com.allanbank.mongodb.MongoCollection
Creates an index with a generated name, across the keys specified allowing duplicate entries.
createIndex(Element...) - Method in interface com.allanbank.mongodb.MongoCollection
Creates an index with a generated name, across the keys specified allowing duplicate entries.
createIndex(String, boolean, Element...) - Method in interface com.allanbank.mongodb.MongoCollection
Creates an index with the specified name, across the keys specified and if unique is true ensuring entries are unique.
createIndex(String, DocumentAssignable, Element...) - Method in interface com.allanbank.mongodb.MongoCollection
Creates an index with a generated name, across the keys specified allowing duplicate entries.
createQuery(Find, int, int, boolean, boolean, boolean) - Method in class com.allanbank.mongodb.client.MongoCollectionImpl
Creates a properly configured Query message.
Credential - Class in com.allanbank.mongodb
Credential provides an immutable set of credential for accessing MongoDB.
Credential(Credential.Builder) - Constructor for class com.allanbank.mongodb.Credential
Creates a new Credential.
Credential.Builder - Class in com.allanbank.mongodb
Builder provides a helper for creating a Credential.
Credential.Builder() - Constructor for class com.allanbank.mongodb.Credential.Builder
Creates a new Builder.
currentToken - Variable in exception com.allanbank.mongodb.bson.json.ParseException
This is the last token that has been consumed successfully.
CURSOR_ID_FIELD - Static variable in interface com.allanbank.mongodb.MongoCursorControl
The cursor id field in the cursor document.
CURSOR_NOT_FOUND_BIT - Static variable in class com.allanbank.mongodb.connection.message.Reply
Bit for the cursor not found flag.
CursorNotFoundException - Exception in com.allanbank.mongodb.error
Exception raised when a get_more request is issued for an unknown cursor.
CursorNotFoundException(Reply, String) - Constructor for exception com.allanbank.mongodb.error.CursorNotFoundException
Create a new CursorNotFoundException.
CursorNotFoundException(Reply, Throwable) - Constructor for exception com.allanbank.mongodb.error.CursorNotFoundException
Create a new CursorNotFoundException.

D

database(String) - Method in class com.allanbank.mongodb.Credential.Builder
Sets the value of the database the credential are valid for.
DATABASE_FIELD_NAME - Static variable in class com.allanbank.mongodb.bson.DocumentReference
The name for the database name field.
DAY_OF_MONTH - Static variable in class com.allanbank.mongodb.builder.expression.Expressions
The "$dayOfMonth" operator token
DAY_OF_WEEK - Static variable in class com.allanbank.mongodb.builder.expression.Expressions
The "$dayOfWeek" operator token
DAY_OF_YEAR - Static variable in class com.allanbank.mongodb.builder.expression.Expressions
The "$dayOfYear" operator token
dayOfMonth(Expression) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a UnaryExpression "$dayOfMonth" expression.
dayOfWeek(Expression) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a UnaryExpression "$dayOfWeek" expression.
dayOfYear(Expression) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a UnaryExpression "$dayOfYear" expression.
DBPointerElement - Class in com.allanbank.mongodb.bson.element
Deprecated.
See BSON Specification.
DBPointerElement(String, String, String, ObjectId) - Constructor for class com.allanbank.mongodb.bson.element.DBPointerElement
Deprecated.
Constructs a new DBPointerElement.
DECAY_ALPHA - Static variable in class com.allanbank.mongodb.connection.state.ServerState
The decay rate for the exponential average for the latency.
DECAY_SAMPLES - Static variable in class com.allanbank.mongodb.connection.state.ServerState
The decay period (number of samples) for the average latency.
DEFAULT_BATCH_SIZE - Static variable in class com.allanbank.mongodb.connection.message.Query
The default batch size for a MongoDB query.
DEFAULT_CHUNK_SIZE - Static variable in class com.allanbank.mongodb.gridfs.GridFs
The default chunk size.
DEFAULT_DB_NAME - Static variable in class com.allanbank.mongodb.MongoClientConfiguration
The default database.
DEFAULT_NAME - Static variable in class com.allanbank.mongodb.bson.element.ObjectIdElement
The BSON type for a Object Id.
DEFAULT_PING_INTERVAL_SECONDS - Static variable in class com.allanbank.mongodb.connection.state.ClusterPinger
The default interval between ping sweeps in seconds.
DEFAULT_PORT - Static variable in class com.allanbank.mongodb.connection.state.ServerState
The default MongoDB port.
DEFAULT_PORT - Static variable in class com.allanbank.mongodb.util.ServerNameUtils
The default MongoDB port.
DEFAULT_ROOT - Static variable in class com.allanbank.mongodb.gridfs.GridFs
The suffix for the files collection.
DEFAULT_SLOW_MS - Static variable in class com.allanbank.mongodb.ProfilingStatus
The default threshold (100L )for the number of milliseconds beyond considering an operation slow.
DEFAULT_SUB_TYPE - Static variable in class com.allanbank.mongodb.bson.element.BinaryElement
The sub type used when no sub type is specified.
delete(DocumentAssignable) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Deletes a set of documents matching a query from the collection.
delete(DocumentAssignable, boolean) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Deletes a set of documents matching a query from the collection.
delete(DocumentAssignable, boolean, Durability) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Deletes a set of documents matching a query from the collection.
delete(DocumentAssignable, Durability) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Deletes a set of documents matching a query from the collection.
Delete - Class in com.allanbank.mongodb.connection.message
Message to delete documents from a collection.
Delete(BsonInputStream) - Constructor for class com.allanbank.mongodb.connection.message.Delete
Create a new Delete message.
Delete(String, String, Document, boolean) - Constructor for class com.allanbank.mongodb.connection.message.Delete
Create a new Delete message.
delete(DocumentAssignable) - Method in interface com.allanbank.mongodb.MongoCollection
Deletes a set of documents matching a query from the collection.
delete(DocumentAssignable, boolean) - Method in interface com.allanbank.mongodb.MongoCollection
Deletes a set of documents matching a query from the collection.
delete(DocumentAssignable, boolean, Durability) - Method in interface com.allanbank.mongodb.MongoCollection
Deletes a set of documents matching a query from the collection.
delete(DocumentAssignable, Durability) - Method in interface com.allanbank.mongodb.MongoCollection
Deletes a set of documents matching a query from the collection.
DELETE_SINGLE_DELETE_DEFAULT - Static variable in class com.allanbank.mongodb.client.AbstractMongoCollection
The default for if a delete should only delete the first document it matches.
deleteAsync(Callback<Long>, DocumentAssignable) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Deletes a set of documents matching a query from the collection.
deleteAsync(Callback<Long>, DocumentAssignable, boolean) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Deletes a set of documents matching a query from the collection.
deleteAsync(Callback<Long>, DocumentAssignable, boolean, Durability) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Deletes a set of documents matching a query from the collection.
deleteAsync(Callback<Long>, DocumentAssignable, Durability) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Deletes a set of documents matching a query from the collection.
deleteAsync(DocumentAssignable) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Deletes a set of documents matching a query from the collection.
deleteAsync(DocumentAssignable, boolean) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Deletes a set of documents matching a query from the collection.
deleteAsync(DocumentAssignable, boolean, Durability) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Deletes a set of documents matching a query from the collection.
deleteAsync(DocumentAssignable, Durability) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Deletes a set of documents matching a query from the collection.
deleteAsync(Callback<Long>, DocumentAssignable, boolean, Durability) - Method in class com.allanbank.mongodb.client.MongoCollectionImpl
Deletes a set of documents matching a query from the collection.
deleteAsync(Callback<Long>, DocumentAssignable) - Method in interface com.allanbank.mongodb.MongoCollection
Deletes a set of documents matching a query from the collection.
deleteAsync(Callback<Long>, DocumentAssignable, boolean) - Method in interface com.allanbank.mongodb.MongoCollection
Deletes a set of documents matching a query from the collection.
deleteAsync(Callback<Long>, DocumentAssignable, boolean, Durability) - Method in interface com.allanbank.mongodb.MongoCollection
Deletes a set of documents matching a query from the collection.
deleteAsync(Callback<Long>, DocumentAssignable, Durability) - Method in interface com.allanbank.mongodb.MongoCollection
Deletes a set of documents matching a query from the collection.
deleteAsync(DocumentAssignable) - Method in interface com.allanbank.mongodb.MongoCollection
Deletes a set of documents matching a query from the collection.
deleteAsync(DocumentAssignable, boolean) - Method in interface com.allanbank.mongodb.MongoCollection
Deletes a set of documents matching a query from the collection.
deleteAsync(DocumentAssignable, boolean, Durability) - Method in interface com.allanbank.mongodb.MongoCollection
Deletes a set of documents matching a query from the collection.
deleteAsync(DocumentAssignable, Durability) - Method in interface com.allanbank.mongodb.MongoCollection
Deletes a set of documents matching a query from the collection.
desc(String) - Static method in class com.allanbank.mongodb.builder.Index
Creates an descending order specification, e.g., { <field> : -1 }.
desc(String) - Static method in class com.allanbank.mongodb.builder.Sort
Creates an descending order specification, e.g., { <field> : -1 }.
DESCENDING - Static variable in class com.allanbank.mongodb.builder.Sort
The value to indicate an descending sort order.
distanceField(String) - Method in class com.allanbank.mongodb.builder.AggregationGeoNear.Builder
Sets the name of the field to place the distance from the source location.
distanceMultiplier(double) - Method in class com.allanbank.mongodb.builder.AggregationGeoNear.Builder
Sets the distance multiplier to use in the $geoNear.
Distinct - Class in com.allanbank.mongodb.builder
Distinct provides container for all of the options to a distinct command.
Distinct(Distinct.Builder) - Constructor for class com.allanbank.mongodb.builder.Distinct
Creates a new Distinct.
distinct(Distinct) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Invokes a distinct command on the server.
distinct(Distinct.Builder) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Invokes a distinct command on the server.
distinct(Distinct) - Method in interface com.allanbank.mongodb.MongoCollection
Invokes a distinct command on the server.
distinct(Distinct.Builder) - Method in interface com.allanbank.mongodb.MongoCollection
Invokes a distinct command on the server.
Distinct.Builder - Class in com.allanbank.mongodb.builder
Builder provides support for creating a Distinct object.
Distinct.Builder() - Constructor for class com.allanbank.mongodb.builder.Distinct.Builder
Creates a new Builder.
distinctAsync(Callback<ArrayElement>, Distinct) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Invokes a distinct command on the server.
distinctAsync(Callback<ArrayElement>, Distinct.Builder) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Invokes a distinct command on the server.
distinctAsync(Distinct) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Invokes a distinct command on the server.
distinctAsync(Distinct.Builder) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Invokes a distinct command on the server.
distinctAsync(Callback<ArrayElement>, Distinct) - Method in class com.allanbank.mongodb.client.MongoCollectionImpl
Invokes a distinct command on the server.
distinctAsync(Callback<ArrayElement>, Distinct) - Method in interface com.allanbank.mongodb.MongoCollection
Invokes a distinct command on the server.
distinctAsync(Callback<ArrayElement>, Distinct.Builder) - Method in interface com.allanbank.mongodb.MongoCollection
Invokes a distinct command on the server.
distinctAsync(Distinct) - Method in interface com.allanbank.mongodb.MongoCollection
Invokes a distinct command on the server.
distinctAsync(Distinct.Builder) - Method in interface com.allanbank.mongodb.MongoCollection
Invokes a distinct command on the server.
DIVIDE - Static variable in class com.allanbank.mongodb.builder.expression.Expressions
The "$divide" operator token
divide(Expression, Expression) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a NaryExpression "$divide" expression.
Document - Interface in com.allanbank.mongodb.bson
Interface for a document.
DOCUMENT_TYPE - Static variable in class com.allanbank.mongodb.connection.state.SecondsBehindCallback
The document element type.
DocumentAssignable - Interface in com.allanbank.mongodb.bson
DocumentAssignable provides a common interface for objects that can be converted into a document.
DocumentBuilder - Interface in com.allanbank.mongodb.bson.builder
Interface for a builder used to construct a BSON document.
DocumentBuilderImpl - Class in com.allanbank.mongodb.bson.builder.impl
A builder for BSON documents.
DocumentBuilderImpl() - Constructor for class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Creates a new builder.
DocumentBuilderImpl(AbstractBuilder) - Constructor for class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Creates a new builder.
DocumentBuilderImpl(DocumentAssignable) - Constructor for class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Creates a new builder.
DocumentElement - Class in com.allanbank.mongodb.bson.element
Wraps a single BSON document that may contain nested documents.
DocumentElement(String, Collection<Element>) - Constructor for class com.allanbank.mongodb.bson.element.DocumentElement
Constructs a new DocumentElement.
DocumentElement(String, Document) - Constructor for class com.allanbank.mongodb.bson.element.DocumentElement
Constructs a new DocumentElement.
DocumentElement(String, DocumentElement) - Constructor for class com.allanbank.mongodb.bson.element.DocumentElement
Constructs a new DocumentElement with a single sub-document element.
DocumentElement(String, Element...) - Constructor for class com.allanbank.mongodb.bson.element.DocumentElement
Constructs a new DocumentElement.
DocumentElement(String, List<Element>) - Constructor for class com.allanbank.mongodb.bson.element.DocumentElement
Constructs a new DocumentElement.
DocumentElement(String, List<Element>, boolean) - Constructor for class com.allanbank.mongodb.bson.element.DocumentElement
Constructs a new DocumentElement.
DocumentReference - Class in com.allanbank.mongodb.bson
DocumentReference provides a standard MongoDB reference to a document within a collection.
DocumentReference(String, Element) - Constructor for class com.allanbank.mongodb.bson.DocumentReference
Creates a new DocumentReference.
DocumentReference(String, String, Element) - Constructor for class com.allanbank.mongodb.bson.DocumentReference
Creates a new DocumentReference.
DocumentToLargeException - Exception in com.allanbank.mongodb.error
DocumentToLargeException is thrown to report that an attempt was made to serialize a Document that is over the maximum size limit.
DocumentToLargeException(int, int, Document) - Constructor for exception com.allanbank.mongodb.error.DocumentToLargeException
Creates a new DocumentToLargeException.
doFlush() - Method in class com.allanbank.mongodb.connection.socket.SocketConnection.SendRunnable
Flushes the messages in the buffer and clears the need-to-flush flag.
done() - Method in interface com.allanbank.mongodb.StreamCallback
Called when the stream of MongoDB documents has been exhausted.
doPush(String) - Method in class com.allanbank.mongodb.bson.builder.impl.AbstractBuilder
Pushes a context for constructing a sub-document.
doPushArray(String) - Method in class com.allanbank.mongodb.bson.builder.impl.AbstractBuilder
Pushes a context for constructing a sub-array.
doReceive() - Method in class com.allanbank.mongodb.connection.socket.SocketConnection
Receives a single message from the connection.
doSend(Connection, Message, Message, Callback<Reply>) - Method in class com.allanbank.mongodb.connection.rs.ReplicaSetConnection
Sends the message on the connection.
doSend(int, Message) - Method in class com.allanbank.mongodb.connection.socket.SocketConnection
Sends a single message to the connection.
DOT_ALL - Static variable in class com.allanbank.mongodb.bson.element.RegularExpressionElement
Option for dotall mode ('.' matches everything).
DoubleElement - Class in com.allanbank.mongodb.bson.element
A wrapper for a BSON double.
DoubleElement(String, double) - Constructor for class com.allanbank.mongodb.bson.element.DoubleElement
Constructs a new DoubleElement.
drainPending(List<PendingMessage>) - Method in interface com.allanbank.mongodb.connection.Connection
Removes any to be sent pending messages into the specified list.
drainPending(List<PendingMessage>) - Method in class com.allanbank.mongodb.connection.proxy.AbstractProxyConnection
Removes any to be sent pending messages into the specified list.
drainPending(List<PendingMessage>) - Method in class com.allanbank.mongodb.connection.socket.SocketConnection
Removes any to be sent pending messages into the specified list.
drainTo(List<PendingMessage>) - Method in class com.allanbank.mongodb.connection.message.PendingMessageQueue
Drains the list of pending messages into the provided list.
drop() - Method in class com.allanbank.mongodb.client.MongoCollectionImpl
Drops the collection from the database.
drop() - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
Drops the database.
drop() - Method in interface com.allanbank.mongodb.MongoCollection
Drops the collection from the database.
drop() - Method in interface com.allanbank.mongodb.MongoDatabase
Drops the database.
dropIndex(IntegerElement...) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Deletes the indexes matching the keys specified.
dropIndex(String) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Deletes the indexes with the provided name.
dropIndex(String) - Method in class com.allanbank.mongodb.client.MongoCollectionImpl
Deletes the indexes with the provided name.
dropIndex(IntegerElement...) - Method in interface com.allanbank.mongodb.MongoCollection
Deletes the indexes matching the keys specified.
dropIndex(String) - Method in interface com.allanbank.mongodb.MongoCollection
Deletes the indexes with the provided name.
DuplicateKeyException - Exception in com.allanbank.mongodb.error
Exception raised when an insert encounters a duplicate key error.
DuplicateKeyException(int, int, String, Reply) - Constructor for exception com.allanbank.mongodb.error.DuplicateKeyException
Create a new DuplicateKeyException.
Durability - Class in com.allanbank.mongodb
Represents the required durability of writes (inserts, updates, and deletes) on the server.
Durability(boolean, boolean, int, int) - Constructor for class com.allanbank.mongodb.Durability
Create a new Durability.
Durability(boolean, boolean, String, int) - Constructor for class com.allanbank.mongodb.Durability
Create a new Durability.

E

Element - Interface in com.allanbank.mongodb.bson
A common interface for the basic BSON types used to construct Documents and arrays.
ELEMENT_TYPE - Static variable in class com.allanbank.mongodb.bson.element.AbstractElement
The base type (interface) for all elements.
ELEMENT_TYPE - Static variable in class com.allanbank.mongodb.bson.impl.RootDocument
The base type (interface) for all elements.
ElementAssignable - Interface in com.allanbank.mongodb.bson
ElementAssignable provides a common interface for objects that can be converted into an Element.
elementMatches(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Query to match a single element in the array field.
ElementType - Enum in com.allanbank.mongodb.bson
Enumeration of the possible BSON types.
EMPTY_ELEMENTS - Static variable in class com.allanbank.mongodb.bson.element.DocumentElement
The empty list of elements.
EMPTY_ELEMENTS - Static variable in class com.allanbank.mongodb.bson.impl.EmptyDocument
The empty list of elements.
EMPTY_ELEMENTS - Static variable in class com.allanbank.mongodb.bson.impl.RootDocument
The empty list of elements.
EMPTY_INDEX_OPTIONS - Static variable in class com.allanbank.mongodb.client.AbstractMongoCollection
The default empty index options.
EMPTY_QUERY - Static variable in class com.allanbank.mongodb.client.MongoDatabaseImpl
An empty query document.
EmptyDocument - Class in com.allanbank.mongodb.bson.impl
An immutable empty document.
EmptyDocument() - Constructor for class com.allanbank.mongodb.bson.impl.EmptyDocument
Constructs a new EmptyDocument.
EndianUtils - Class in com.allanbank.mongodb.bson.io
Utilities to deal with integer endian differences.
EndianUtils() - Constructor for class com.allanbank.mongodb.bson.io.EndianUtils
 
eol - Variable in exception com.allanbank.mongodb.bson.json.ParseException
The end of line string for this machine.
eq(Expression, Expression) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a NaryExpression "$eq" expression.
EQUAL - Static variable in class com.allanbank.mongodb.builder.expression.Expressions
The "$eq" operator token
equals(Object) - Method in class com.allanbank.mongodb.bson.DocumentReference
equals(Object) - Method in class com.allanbank.mongodb.bson.element.AbstractElement
Determines if the passed object is of this same type as this object and if so that its fields are equal.
equals(Object) - Method in class com.allanbank.mongodb.bson.element.ArrayElement
Determines if the passed object is of this same type as this object and if so that its fields are equal.
equals(Object) - Method in class com.allanbank.mongodb.bson.element.BinaryElement
Determines if the passed object is of this same type as this object and if so that its fields are equal.
equals(Object) - Method in class com.allanbank.mongodb.bson.element.BooleanElement
Determines if the passed object is of this same type as this object and if so that its fields are equal.
equals(Object) - Method in class com.allanbank.mongodb.bson.element.DBPointerElement
Deprecated.
Determines if the passed object is of this same type as this object and if so that its fields are equal.
equals(Object) - Method in class com.allanbank.mongodb.bson.element.DocumentElement
Determines if the passed object is of this same type as this object and if so that its fields are equal.
equals(Object) - Method in class com.allanbank.mongodb.bson.element.DoubleElement
Determines if the passed object is of this same type as this object and if so that its fields are equal.
equals(Object) - Method in class com.allanbank.mongodb.bson.element.IntegerElement
Determines if the passed object is of this same type as this object and if so that its fields are equal.
equals(Object) - Method in class com.allanbank.mongodb.bson.element.JavaScriptElement
Determines if the passed object is of this same type as this object and if so that its fields are equal.
equals(Object) - Method in class com.allanbank.mongodb.bson.element.JavaScriptWithScopeElement
Determines if the passed object is of this same type as this object and if so that its fields are equal.
equals(Object) - Method in class com.allanbank.mongodb.bson.element.LongElement
Determines if the passed object is of this same type as this object and if so that its fields are equal.
equals(Object) - Method in class com.allanbank.mongodb.bson.element.MongoTimestampElement
Determines if the passed object is of this same type as this object and if so that its fields are equal.
equals(Object) - Method in class com.allanbank.mongodb.bson.element.ObjectId
Determines if the passed object is of this same type as this object and if so that its fields are equal.
equals(Object) - Method in class com.allanbank.mongodb.bson.element.ObjectIdElement
Determines if the passed object is of this same type as this object and if so that its fields are equal.
equals(Object) - Method in class com.allanbank.mongodb.bson.element.RegularExpressionElement
Determines if the passed object is of this same type as this object and if so that its fields are equal.
equals(Object) - Method in class com.allanbank.mongodb.bson.element.StringElement
Determines if the passed object is of this same type as this object and if so that its fields are equal.
equals(Object) - Method in class com.allanbank.mongodb.bson.element.SymbolElement
Determines if the passed object is of this same type as this object and if so that its fields are equal.
equals(Object) - Method in class com.allanbank.mongodb.bson.element.TimestampElement
Determines if the passed object is of this same type as this object and if so that its fields are equal.
equals(Object) - Method in class com.allanbank.mongodb.bson.element.UuidElement
Determines if the passed object is of this same type as this object and if so that its fields are equal.
equals(Object) - Method in class com.allanbank.mongodb.bson.impl.EmptyDocument
Determines if the passed object is of this same type as this object and if so that its fields are equal.
equals(Object) - Method in class com.allanbank.mongodb.bson.impl.RootDocument
Determines if the passed object is of this same type as this object and if so that its fields are equal.
equals(boolean) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value equals the specified value.
equals(byte, byte[]) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value equals the specified value.
equals(byte[]) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value equals the specified value.
equals(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value equals the specified value.
equals(double) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value equals the specified value.
equals(int) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value equals the specified value.
equals(long) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value equals the specified value.
equals(ObjectId) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value equals the specified value.
equals(Pattern) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value equals the specified value.
equals(String) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value equals the specified value.
equals(UUID) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value equals the specified uuid using the standard byte ordering.
equals(Object) - Method in class com.allanbank.mongodb.builder.TextResult
equals(Object) - Method in class com.allanbank.mongodb.connection.message.AbstractMessage
Determines if the passed object is of this same type as this object and if so that its fields are equal.
equals(Object) - Method in class com.allanbank.mongodb.connection.message.Delete
Determines if the passed object is of this same type as this object and if so that its fields are equal.
equals(Object) - Method in class com.allanbank.mongodb.connection.message.GetMore
Determines if the passed object is of this same type as this object and if so that its fields are equal.
equals(Object) - Method in class com.allanbank.mongodb.connection.message.Header
Determines if the passed object is of this same type as this object and if so that its fields are equal.
equals(Object) - Method in class com.allanbank.mongodb.connection.message.Insert
Determines if the passed object is of this same type as this object and if so that its fields are equal.
equals(Object) - Method in class com.allanbank.mongodb.connection.message.KillCursors
Determines if the passed object is of this same type as this object and if so that its fields are equal.
equals(Object) - Method in class com.allanbank.mongodb.connection.message.Query
Determines if the passed object is of this same type as this object and if so that its fields are equal.
equals(Object) - Method in class com.allanbank.mongodb.connection.message.Reply
Determines if the passed object is of this same type as this object and if so that its fields are equal.
equals(Object) - Method in class com.allanbank.mongodb.connection.message.Update
Determines if the passed object is of this same type as this object and if so that its fields are equal.
equals(Object) - Method in class com.allanbank.mongodb.connection.proxy.AbstractProxyConnection.ProxiedChangeListener
equals(Object) - Method in class com.allanbank.mongodb.Credential
equals(Object) - Method in class com.allanbank.mongodb.Durability
Determines if the passed object is of this same type as this object and if so that its fields are equal.
equals(Object) - Method in class com.allanbank.mongodb.ProfilingStatus
equals(Object) - Method in class com.allanbank.mongodb.ReadPreference
Determines if the passed object is of this same type as this object and if so that its fields are equal.
equalsJavaScript(String) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value equals the specified value.
equalsJavaScript(String, DocumentAssignable) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value equals the specified value.
equalsLegacy(UUID) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value equals the specified value using the legacy Java byte ordering.
equalsMaxKey() - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is a max key element.
equalsMinKey() - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is a min key element.
equalsMongoTimestamp(long) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value equals the specified value.
equalsNull() - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is a null value.
equalsSymbol(String) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value equals the specified value.
equalsTimestamp(long) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value equals the specified value.
ERROR_CODE_FIELD - Static variable in class com.allanbank.mongodb.client.AbstractValidatingReplyCallback
The fields that may contain the error code.
ERROR_MESSAGE_FIELDS - Static variable in class com.allanbank.mongodb.client.AbstractValidatingReplyCallback
The fields that may contain the error message.
exception(Throwable) - Method in interface com.allanbank.mongodb.Callback
Called when the operation fails due to an exception.
exception(Throwable) - Method in class com.allanbank.mongodb.client.AbstractReplyCallback
Called when the operation fails due to an exception.
exception(Throwable) - Method in class com.allanbank.mongodb.client.AbstractValidatingReplyCallback
Called when the operation fails due to an exception.
exception(Throwable) - Method in class com.allanbank.mongodb.client.LongToIntCallback
Called when the operation fails due to an exception.
exception(Throwable) - Method in class com.allanbank.mongodb.client.TextCallback
Called when the operation fails due to an exception.
exception(Throwable) - Method in class com.allanbank.mongodb.connection.FutureCallback
Called when the operation fails due to an exception.
exception(Throwable) - Method in class com.allanbank.mongodb.connection.socket.SocketConnection.NoopCallback
Called when the operation fails due to an exception.
exception(Throwable) - Method in class com.allanbank.mongodb.connection.state.SecondsBehindCallback
Called when the operation fails due to an exception.
EXHAUST_FLAG_BIT - Static variable in class com.allanbank.mongodb.connection.message.Query
Flag bit for the exhaust results.
exists() - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the field exists (or not) in the document.
exists(boolean) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the field exists (or not) in the document.
expectedTokenSequences - Variable in exception com.allanbank.mongodb.bson.json.ParseException
Each entry in this array is an array of integers.
explain(DocumentAssignable) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Explains the way that the document will be performed.
explain(Find) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Explains the way that the document will be performed.
explain(Find.Builder) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Explains the way that the document will be performed.
explain(DocumentAssignable) - Method in interface com.allanbank.mongodb.MongoCollection
Explains the way that the document will be performed.
explain(Find) - Method in interface com.allanbank.mongodb.MongoCollection
Explains the way that the document will be performed.
explain(Find.Builder) - Method in interface com.allanbank.mongodb.MongoCollection
Explains the way that the document will be performed.
explainAsync(Callback<Document>, Find) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Explains the way that the document will be performed.
explainAsync(Callback<Document>, Find.Builder) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Explains the way that the document will be performed.
explainAsync(Find) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Explains the way that the document will be performed.
explainAsync(Find.Builder) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Explains the way that the document will be performed.
explainAsync(Callback<Document>, Find) - Method in class com.allanbank.mongodb.client.MongoCollectionImpl
Explains the way that the document will be performed.
explainAsync(Callback<Document>, Find) - Method in interface com.allanbank.mongodb.MongoCollection
Explains the way that the document will be performed.
explainAsync(Callback<Document>, Find.Builder) - Method in interface com.allanbank.mongodb.MongoCollection
Explains the way that the document will be performed.
explainAsync(Find) - Method in interface com.allanbank.mongodb.MongoCollection
Explains the way that the document will be performed.
explainAsync(Find.Builder) - Method in interface com.allanbank.mongodb.MongoCollection
Explains the way that the document will be performed.
Expression - Interface in com.allanbank.mongodb.builder.expression
Expression provides a common interface for all expressions.
Expressions - Class in com.allanbank.mongodb.builder.expression
Expressions provides a collection of static helper method for constructing complex expression.

F

field(String) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a Constant expression with the provided value.
FIELD_NAME - Static variable in class com.allanbank.mongodb.ReadPreference
The name of the field in the query document for the read preferences.
fields(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.FindAndModify.Builder
Sets the subset of fields to retrieve from the matched document.
file(File) - Method in class com.allanbank.mongodb.Credential.Builder
Sets the value of the file containing the full credentials.
FILES_SUFFIX - Static variable in class com.allanbank.mongodb.gridfs.GridFs
The suffix for the files collection.
finalize(String) - Method in class com.allanbank.mongodb.builder.GroupBy.Builder
Sets the value of the finalizer function to run for each group.
finalize(String) - Method in class com.allanbank.mongodb.builder.MapReduce.Builder
Sets the finalize function to apply to the final results of the reduce function.
find(Class<E>, String...) - Method in interface com.allanbank.mongodb.bson.Document
Returns the elements matching the path of regular expressions.
find(String...) - Method in interface com.allanbank.mongodb.bson.Document
Returns the elements matching the path of regular expressions.
find(Class<E>, String...) - Method in class com.allanbank.mongodb.bson.element.AbstractElement
Returns the elements matching the path of regular expressions.
find(String...) - Method in class com.allanbank.mongodb.bson.element.AbstractElement
Returns the elements matching the path of regular expressions.
find(Class<E>, String...) - Method in class com.allanbank.mongodb.bson.element.ArrayElement
Returns the elements matching the path of regular expressions.
find(Class<E>, String...) - Method in class com.allanbank.mongodb.bson.element.DocumentElement
Returns the elements matching the path of regular expressions.
find(Class<E>, String...) - Method in interface com.allanbank.mongodb.bson.Element
Returns the elements matching the path of regular expressions.
find(String...) - Method in interface com.allanbank.mongodb.bson.Element
Returns the elements matching the path of regular expressions.
find(Class<E>, String...) - Method in class com.allanbank.mongodb.bson.impl.EmptyDocument
Returns the elements matching the path of regular expressions.
find(String...) - Method in class com.allanbank.mongodb.bson.impl.EmptyDocument
Returns the elements matching the path of regular expressions.
find(Class<E>, String...) - Method in class com.allanbank.mongodb.bson.impl.RootDocument
Returns the elements matching the path of regular expressions.
find(String...) - Method in class com.allanbank.mongodb.bson.impl.RootDocument
Returns the elements matching the path of regular expressions.
Find - Class in com.allanbank.mongodb.builder
Find provides an immutable container for all of the options for a query.
Find(Find.Builder) - Constructor for class com.allanbank.mongodb.builder.Find
Creates a new Find.
find(DocumentAssignable) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Finds the set of documents matching the query document in the collection.
find(Find) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Finds the set of documents matching the query in the collection.
find(Find.Builder) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Finds the set of documents matching the query in the collection.
find(DocumentAssignable) - Method in interface com.allanbank.mongodb.MongoCollection
Finds the set of documents matching the query document in the collection.
find(Find) - Method in interface com.allanbank.mongodb.MongoCollection
Finds the set of documents matching the query in the collection.
find(Find.Builder) - Method in interface com.allanbank.mongodb.MongoCollection
Finds the set of documents matching the query in the collection.
Find.Builder - Class in com.allanbank.mongodb.builder
Helper for creating immutable Find queries.
Find.Builder() - Constructor for class com.allanbank.mongodb.builder.Find.Builder
Creates a new Builder.
Find.Builder(DocumentAssignable) - Constructor for class com.allanbank.mongodb.builder.Find.Builder
Creates a new Builder.
FindAndModify - Class in com.allanbank.mongodb.builder
FindAndModify(FindAndModify.Builder) - Constructor for class com.allanbank.mongodb.builder.FindAndModify
Create a new FindAndModify.
findAndModify(FindAndModify) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Invokes a findAndModify command on the server.
findAndModify(FindAndModify.Builder) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Invokes a findAndModify command on the server.
findAndModify(FindAndModify) - Method in interface com.allanbank.mongodb.MongoCollection
Invokes a findAndModify command on the server.
findAndModify(FindAndModify.Builder) - Method in interface com.allanbank.mongodb.MongoCollection
Invokes a findAndModify command on the server.
FindAndModify.Builder - Class in com.allanbank.mongodb.builder
Helper for creating immutable FindAndModify commands.
FindAndModify.Builder() - Constructor for class com.allanbank.mongodb.builder.FindAndModify.Builder
Creates a new Builder.
findAndModifyAsync(Callback<Document>, FindAndModify) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Invokes a findAndModify command on the server.
findAndModifyAsync(Callback<Document>, FindAndModify.Builder) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Invokes a findAndModify command on the server.
findAndModifyAsync(FindAndModify) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Invokes a findAndModify command on the server.
findAndModifyAsync(FindAndModify.Builder) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Invokes a findAndModify command on the server.
findAndModifyAsync(Callback<Document>, FindAndModify) - Method in class com.allanbank.mongodb.client.MongoCollectionImpl
Invokes a findAndModify command on the server.
findAndModifyAsync(Callback<Document>, FindAndModify) - Method in interface com.allanbank.mongodb.MongoCollection
Invokes a findAndModify command on the server.
findAndModifyAsync(Callback<Document>, FindAndModify.Builder) - Method in interface com.allanbank.mongodb.MongoCollection
Invokes a findAndModify command on the server.
findAndModifyAsync(FindAndModify) - Method in interface com.allanbank.mongodb.MongoCollection
Invokes a findAndModify command on the server.
findAndModifyAsync(FindAndModify.Builder) - Method in interface com.allanbank.mongodb.MongoCollection
Invokes a findAndModify command on the server.
findAsync(Callback<MongoIterator<Document>>, DocumentAssignable) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Finds the set of documents matching the query document in the collection.
findAsync(Callback<MongoIterator<Document>>, Find) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Finds the set of documents matching the query in the collection.
findAsync(Callback<MongoIterator<Document>>, Find.Builder) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Finds the set of documents matching the query in the collection.
findAsync(DocumentAssignable) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Finds the set of documents matching the query document in the collection.
findAsync(Find) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Finds the set of documents matching the query in the collection.
findAsync(Find.Builder) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Finds the set of documents matching the query in the collection.
findAsync(Callback<MongoIterator<Document>>, Find) - Method in class com.allanbank.mongodb.client.MongoCollectionImpl
Finds the set of documents matching the query in the collection.
findAsync(Callback<MongoIterator<Document>>, DocumentAssignable) - Method in interface com.allanbank.mongodb.MongoCollection
Finds the set of documents matching the query document in the collection.
findAsync(Callback<MongoIterator<Document>>, Find) - Method in interface com.allanbank.mongodb.MongoCollection
Finds the set of documents matching the query in the collection.
findAsync(Callback<MongoIterator<Document>>, Find.Builder) - Method in interface com.allanbank.mongodb.MongoCollection
Finds the set of documents matching the query in the collection.
findAsync(DocumentAssignable) - Method in interface com.allanbank.mongodb.MongoCollection
Finds the set of documents matching the query document in the collection.
findAsync(Find) - Method in interface com.allanbank.mongodb.MongoCollection
Finds the set of documents matching the query in the collection.
findAsync(Find.Builder) - Method in interface com.allanbank.mongodb.MongoCollection
Finds the set of documents matching the query in the collection.
findCandidateServer(ReadPreference) - Method in class com.allanbank.mongodb.connection.state.ClusterState
Finds the candidate server, if known.
findCandidateServers(ReadPreference) - Method in class com.allanbank.mongodb.connection.state.ClusterState
Returns the set of servers that can be used based on the provided ReadPreference.
findConnection(Message, Message) - Method in class com.allanbank.mongodb.client.AbstractClient
Locates a Connection to send a message on.
findConnection(Message, Message) - Method in class com.allanbank.mongodb.client.ClientImpl
Locates a Connection to send a message on.
findConnection(Message, Message) - Method in class com.allanbank.mongodb.client.SerialClientImpl
Tries to reuse the last connection used.
findFirst(Class<E>, String...) - Method in interface com.allanbank.mongodb.bson.Document
Returns the first element matching the path of regular expressions.
findFirst(String...) - Method in interface com.allanbank.mongodb.bson.Document
Returns the first element matching the path of regular expressions.
findFirst(Class<E>, String...) - Method in class com.allanbank.mongodb.bson.element.AbstractElement
Returns the first element matching the path of regular expressions.
findFirst(String...) - Method in class com.allanbank.mongodb.bson.element.AbstractElement
Returns the first element matching the path of regular expressions.
findFirst(Class<E>, String...) - Method in class com.allanbank.mongodb.bson.element.ArrayElement
Returns the first element matching the path of regular expressions.
findFirst(Class<E>, String...) - Method in class com.allanbank.mongodb.bson.element.DocumentElement
Returns the first element matching the path of regular expressions.
findFirst(Class<E>, String...) - Method in interface com.allanbank.mongodb.bson.Element
Returns the first element matching the path of regular expressions.
findFirst(String...) - Method in interface com.allanbank.mongodb.bson.Element
Returns the first element matching the path of regular expressions.
findFirst(Class<E>, String...) - Method in class com.allanbank.mongodb.bson.impl.EmptyDocument
Returns the first element matching the path of regular expressions.
findFirst(String...) - Method in class com.allanbank.mongodb.bson.impl.EmptyDocument
Returns the first element matching the path of regular expressions.
findFirst(Class<E>, String...) - Method in class com.allanbank.mongodb.bson.impl.RootDocument
Returns the first element matching the path of regular expressions.
findFirst(String...) - Method in class com.allanbank.mongodb.bson.impl.RootDocument
Returns the first element matching the path of regular expressions.
findNearestCandidates(ReadPreference) - Method in class com.allanbank.mongodb.connection.state.ClusterState
Returns the list of servers that match the read preference's tags.
findNonWritableCandidates(ReadPreference) - Method in class com.allanbank.mongodb.connection.state.ClusterState
Returns the list of non-writable servers that match the read preference's tags.
findOne(DocumentAssignable) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Finds a single matching document in the collection.
findOne(Find) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
findOne(Find.Builder) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Finds a single matching document in the collection.
findOne(DocumentAssignable) - Method in interface com.allanbank.mongodb.MongoCollection
Finds a single matching document in the collection.
findOne(Find) - Method in interface com.allanbank.mongodb.MongoCollection
Finds a single matching document in the collection.
findOne(Find.Builder) - Method in interface com.allanbank.mongodb.MongoCollection
Finds a single matching document in the collection.
findOneAsync(Callback<Document>, DocumentAssignable) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Finds a single matching document in the collection.
findOneAsync(Callback<Document>, Find) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Finds a single matching document in the collection.
findOneAsync(Callback<Document>, Find.Builder) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Finds a single matching document in the collection.
findOneAsync(DocumentAssignable) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Finds a single matching document in the collection.
findOneAsync(Find) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Finds a single matching document in the collection.
findOneAsync(Find.Builder) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Finds a single matching document in the collection.
findOneAsync(Callback<Document>, Find) - Method in class com.allanbank.mongodb.client.MongoCollectionImpl
Finds a single matching document in the collection.
findOneAsync(Callback<Document>, DocumentAssignable) - Method in interface com.allanbank.mongodb.MongoCollection
Finds a single matching document in the collection.
findOneAsync(Callback<Document>, Find) - Method in interface com.allanbank.mongodb.MongoCollection
Finds a single matching document in the collection.
findOneAsync(Callback<Document>, Find.Builder) - Method in interface com.allanbank.mongodb.MongoCollection
Finds a single matching document in the collection.
findOneAsync(DocumentAssignable) - Method in interface com.allanbank.mongodb.MongoCollection
Finds a single matching document in the collection.
findOneAsync(Find) - Method in interface com.allanbank.mongodb.MongoCollection
Finds a single matching document in the collection.
findOneAsync(Find.Builder) - Method in interface com.allanbank.mongodb.MongoCollection
Finds a single matching document in the collection.
findPotentialServers(Message, Message) - Method in class com.allanbank.mongodb.connection.rs.ReplicaSetConnection
Locates the set of servers that can be used to send the specified messages.
findWritableCandidates(ReadPreference) - Method in class com.allanbank.mongodb.connection.state.ClusterState
Returns the list of writable servers that match the read preference's tags.
first(String) - Method in class com.allanbank.mongodb.builder.AggregationGroupField.Builder
Constructs a new AggregationGroupField object that uses the $first operator to use the first value seen from the fieldRef.
flush() - Method in class com.allanbank.mongodb.bson.io.RandomAccessOutputStream
flush() - Method in class com.allanbank.mongodb.connection.proxy.AbstractProxyConnection
flush() - Method in class com.allanbank.mongodb.connection.socket.SocketConnection
/**
fromCode(int) - Static method in enum com.allanbank.mongodb.connection.Operation
Returns the Operation for the provided opCode.
fromValue(int) - Static method in enum com.allanbank.mongodb.ProfilingStatus.Level
Returns the ProfilingStatus.Level for the specified value.
fsyncDurable(int) - Static method in class com.allanbank.mongodb.Durability
Creates an fsync() durability.
FutureCallback<V> - Class in com.allanbank.mongodb.connection
Implementation of a Callback and Future interfaces.
FutureCallback() - Constructor for class com.allanbank.mongodb.connection.FutureCallback
Create a new FutureCallback.
FutureUtils - Class in com.allanbank.mongodb.util
FutureUtils provides helper methods for dealing with Futures.

G

geo2d(String) - Static method in class com.allanbank.mongodb.builder.Index
Creates an 2D index specification, e.g., { <field> : "2d" }.
geo2d(String) - Static method in class com.allanbank.mongodb.builder.Sort
Deprecated.
Moved to the Index class as Index.geo2d(java.lang.String) to live with the other other index types. This method will be removed after the 1.3.0 release.
geo2dSphere(String) - Static method in class com.allanbank.mongodb.builder.Index
Creates an 2D Sphere index specification, e.g., { <field> : "2dsphere" }.
geoHaystack(String) - Static method in class com.allanbank.mongodb.builder.Index
Creates a haystack index specification, e.g., { <field> : "geoHaystack" }.
GeoJson - Class in com.allanbank.mongodb.builder
GeoJson provides static methods to help create GeoJSON BSON Documents.
GEOMETRY - Static variable in enum com.allanbank.mongodb.builder.GeospatialOperator
The name for the GeoJSON region with a GeospatialOperator.INTERSECT query.
geoNear(AggregationGeoNear) - Method in class com.allanbank.mongodb.builder.Aggregate.Builder
Adds a $geoNear operation to the pipeline to select documents for the aggregation pipeline based on their relative location to a set point.
geoNear(AggregationGeoNear.Builder) - Method in class com.allanbank.mongodb.builder.Aggregate.Builder
Adds a $geoNear operation to the pipeline to select documents for the aggregation pipeline based on their relative location to a set point.
GeospatialOperator - Enum in com.allanbank.mongodb.builder
GeospatialOperator provides the enumeration of geospatial operators.
geoWithin(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Geospatial query for documents whose field intersects the specified GeoJSON specified geometry.
get(Class<E>, String) - Method in interface com.allanbank.mongodb.bson.Document
Returns the element with the specified name or null if no element with that name exists.
get(String) - Method in interface com.allanbank.mongodb.bson.Document
Returns the element with the specified name or null if no element with that name exists.
get(Class<E>, String) - Method in class com.allanbank.mongodb.bson.element.DocumentElement
Returns the element with the specified name and type or null if no element with that name and type exists.
get(String) - Method in class com.allanbank.mongodb.bson.element.DocumentElement
Returns the element with the specified name or null if no element with that name exists.
get(Class<E>, String) - Method in class com.allanbank.mongodb.bson.impl.EmptyDocument
Returns an empty list of elements.
get(String) - Method in class com.allanbank.mongodb.bson.impl.EmptyDocument
Returns an empty list of elements.
get(Class<E>, String) - Method in class com.allanbank.mongodb.bson.impl.RootDocument
Returns the element with the specified name and type or null if no element with that name and type exists.
get(String) - Method in class com.allanbank.mongodb.bson.impl.RootDocument
Returns the element with the specified name or null if no element with that name exists.
get() - Method in class com.allanbank.mongodb.connection.FutureCallback
get(long, TimeUnit) - Method in class com.allanbank.mongodb.connection.FutureCallback
get(String) - Method in class com.allanbank.mongodb.connection.state.ClusterState
Returns the server state for the address provided.
getAuthenticationType() - Method in class com.allanbank.mongodb.Credential
Returns the authentication type or mode that the credential should be used with.
getAuthenticator() - Method in class com.allanbank.mongodb.Credential
Returns the authenticator value.
getAverageLatency() - Method in class com.allanbank.mongodb.connection.state.ServerState
Returns the current average latency (in milliseconds) seen in issuing requests to the server.
getBatchSize() - Method in class com.allanbank.mongodb.builder.Find
Returns the number of documents to be returned in each batch of results.
getBatchSize() - Method in class com.allanbank.mongodb.client.MongoIteratorImpl
Returns the size for batches of documents that are requested.
getBatchSize() - Method in interface com.allanbank.mongodb.ClosableIterator
Deprecated.
Returns the size for batches of documents that are requested.
getBatchSize() - Method in class com.allanbank.mongodb.connection.message.Query
Returns the number of documents to be returned in each batch of results.
getBatchSize() - Method in interface com.allanbank.mongodb.MongoCursorControl
Returns the size for batches of documents that are requested.
getBytesRead() - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
Returns the number of bytes that have been read by the stream.
getChunkSize() - Method in class com.allanbank.mongodb.gridfs.GridFs
Returns the size for a chunk written.
getClient() - Method in class com.allanbank.mongodb.client.MongoClientImpl
Returns the client value.
getClient() - Method in class com.allanbank.mongodb.client.MongoIteratorImpl
Returns the client value.
getClusterState() - Method in class com.allanbank.mongodb.connection.rs.ReplicaSetConnectionFactory
Returns the clusterState value.
getClusterState() - Method in class com.allanbank.mongodb.connection.sharded.ShardedConnectionFactory
Returns the clusterState value.
getClusterType() - Method in interface com.allanbank.mongodb.client.Client
Returns the type of cluster the client is connected to.
getClusterType() - Method in class com.allanbank.mongodb.client.ClientImpl
Returns the type of cluster the client is connected to.
getClusterType() - Method in class com.allanbank.mongodb.client.SerialClientImpl
Returns the type of cluster the client is connected to.
getClusterType() - Method in class com.allanbank.mongodb.connection.auth.AuthenticationConnectionFactory
Returns the type of cluster the connection factory connects to.
getClusterType() - Method in class com.allanbank.mongodb.connection.bootstrap.BootstrapConnectionFactory
Returns the type of cluster the connection factory connects to.
getClusterType() - Method in interface com.allanbank.mongodb.connection.ConnectionFactory
Returns the type of cluster the connection factory connects to.
getClusterType() - Method in class com.allanbank.mongodb.connection.rs.ReplicaSetConnectionFactory
Returns the type of cluster the connection factory connects to.
getClusterType() - Method in class com.allanbank.mongodb.connection.sharded.ShardedConnectionFactory
Returns the type of cluster the connection factory connects to.
getClusterType() - Method in class com.allanbank.mongodb.connection.socket.SocketConnectionFactory
Returns the type of cluster the connection factory connects to.
getCode() - Method in enum com.allanbank.mongodb.connection.Operation
Returns the Operation's code.
getCollection(String) - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
Returns the MongoCollection with the specified name.
getCollection(String) - Method in interface com.allanbank.mongodb.MongoDatabase
Returns the MongoCollection with the specified name.
getCollectionName() - Method in class com.allanbank.mongodb.bson.DocumentReference
Returns the name of the collection being referenced.
getCollectionName() - Method in class com.allanbank.mongodb.bson.element.DBPointerElement
Deprecated.
Returns the collectionName value.
getCollectionName() - Method in class com.allanbank.mongodb.client.MongoIteratorImpl
Returns the collection name.
getCollectionName() - Method in class com.allanbank.mongodb.connection.message.AbstractMessage
Returns the name of the collection.
getColumn() - Method in exception com.allanbank.mongodb.error.JsonParseException
Returns the approximate column where the parse failed.
getConfig() - Method in interface com.allanbank.mongodb.client.Client
Returns the configuration being used by the logical MongoDB connection.
getConfig() - Method in class com.allanbank.mongodb.client.ClientImpl
Returns the configuration being used by the logical MongoDB connection.
getConfig() - Method in class com.allanbank.mongodb.client.MongoClientImpl
Returns the configuration being used by the logical MongoDB connection.
getConfig() - Method in class com.allanbank.mongodb.client.MongoImpl
Deprecated.
Returns the configuration being used by the logical MongoDB connection.
getConfig() - Method in class com.allanbank.mongodb.client.SerialClientImpl
Returns the configuration being used by the logical MongoDB connection.
getConfig() - Method in class com.allanbank.mongodb.connection.state.AbstractReconnectStrategy
Returns the configuration for connections to the servers.
getConfig() - Method in interface com.allanbank.mongodb.Mongo
Deprecated.
Returns the configuration being used by the logical MongoDB connection.
getConfig() - Method in interface com.allanbank.mongodb.MongoClient
Returns the configuration being used by the logical MongoDB connection.
getConnectionCount() - Method in class com.allanbank.mongodb.client.ClientImpl
Returns the current number of open connections.
getConnectionFactory() - Method in class com.allanbank.mongodb.connection.state.AbstractReconnectStrategy
Returns the connection factory for new connections.
getConnectionGeneration() - Method in class com.allanbank.mongodb.connection.state.ServerState
Returns a generation value for the connection currently being held.
getConnectTimeout() - Method in class com.allanbank.mongodb.MongoClientConfiguration
Returns how long to wait (in milliseconds) for a socket connection to complete.
getCounterField() - Method in class com.allanbank.mongodb.bson.element.ObjectId
The low 3 byte value of the machine id.
getCredentials() - Method in class com.allanbank.mongodb.MongoClientConfiguration
Returns the map of database names to credentials to use to access that database on the server.
getCursorId() - Method in class com.allanbank.mongodb.client.MongoIteratorImpl
Returns the cursor Id value.
getCursorId() - Method in class com.allanbank.mongodb.connection.message.GetMore
Returns the id of the cursor to get more documents from.
getCursorId() - Method in class com.allanbank.mongodb.connection.message.Reply
Returns the id of the cursor if the user needs to do a get_more to get the complete results.
getCursorIds() - Method in class com.allanbank.mongodb.connection.message.KillCursors
Returns the ids of the cursors to be killed.
getCursorOffset() - Method in class com.allanbank.mongodb.connection.message.Reply
Returns the offset (index) of the first document returned from the cursor.
getDatabase(String) - Method in class com.allanbank.mongodb.client.MongoClientImpl
Returns the MongoDatabase with the specified name.
getDatabase() - Method in class com.allanbank.mongodb.Credential
Returns the database the credential are valid for.
getDatabase(String) - Method in interface com.allanbank.mongodb.MongoClient
Returns the MongoDatabase with the specified name.
getDatabase() - Method in class com.allanbank.mongodb.MongoDbUri
Returns the database contained in the URI.
getDatabaseName() - Method in class com.allanbank.mongodb.bson.DocumentReference
Returns the name of the database being referenced.
getDatabaseName() - Method in class com.allanbank.mongodb.bson.element.DBPointerElement
Deprecated.
Returns the databaseName value.
getDatabaseName() - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Returns the name of the database.
getDatabaseName() - Method in class com.allanbank.mongodb.client.MongoIteratorImpl
Returns the database name value.
getDatabaseName() - Method in class com.allanbank.mongodb.connection.message.AbstractMessage
Returns the name of the database.
getDatabaseName() - Method in interface com.allanbank.mongodb.connection.Message
Returns the name of the database.
getDatabaseName() - Method in interface com.allanbank.mongodb.MongoCollection
Returns the name of the database.
getDefaultDatabase() - Method in class com.allanbank.mongodb.MongoClientConfiguration
Deprecated.
Replaced with the more general Credential capability. Will be removed after the 1.3.0 release.
getDefaultDurability() - Method in interface com.allanbank.mongodb.client.Client
Returns the Durability from the MongoClientConfiguration.
getDefaultDurability() - Method in class com.allanbank.mongodb.client.ClientImpl
Returns the Durability from the MongoClientConfiguration.
getDefaultDurability() - Method in class com.allanbank.mongodb.client.SerialClientImpl
Returns the Durability from the MongoClientConfiguration.
getDefaultDurability() - Method in class com.allanbank.mongodb.MongoClientConfiguration
Returns the default durability for write operations on the server.
getDefaultReadPreference() - Method in interface com.allanbank.mongodb.client.Client
getDefaultReadPreference() - Method in class com.allanbank.mongodb.client.ClientImpl
getDefaultReadPreference() - Method in class com.allanbank.mongodb.client.SerialClientImpl
getDefaultReadPreference() - Method in class com.allanbank.mongodb.MongoClientConfiguration
Returns the default read preference for a query.
getDelegate() - Method in class com.allanbank.mongodb.connection.bootstrap.BootstrapConnectionFactory
Returns the underlying delegate factory.
getDistanceField() - Method in class com.allanbank.mongodb.builder.AggregationGeoNear
Returns the name of the field to place the distance from the source location.
getDistanceMultiplier() - Method in class com.allanbank.mongodb.builder.AggregationGeoNear
If set returns the distance multiplier to use in the $geoNear.
getDocument() - Method in class com.allanbank.mongodb.bson.element.DocumentElement
Returns the element's document.
getDocument() - Method in class com.allanbank.mongodb.builder.TextResult
Returns the document.
getDocument() - Method in exception com.allanbank.mongodb.error.DocumentToLargeException
Returns the document that was too big.
getDocuments() - Method in class com.allanbank.mongodb.connection.message.Insert
Returns the documents to insert.
getDoubleValue() - Method in class com.allanbank.mongodb.bson.element.DoubleElement
Returns the value cast to a double.
getDoubleValue() - Method in class com.allanbank.mongodb.bson.element.IntegerElement
Returns the value cast to a double.
getDoubleValue() - Method in class com.allanbank.mongodb.bson.element.LongElement
Returns the value cast to a double.
getDoubleValue() - Method in interface com.allanbank.mongodb.bson.NumericElement
Returns the value cast to a double.
getDurability() - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Returns the durability for write operations sent to the server from this MongoCollection instance.
getDurability() - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
Returns the durability for write operations sent to the server from this MongoDatabase instance.
getDurability() - Method in interface com.allanbank.mongodb.MongoCollection
Returns the durability for write operations sent to the server from this MongoCollection instance.
getDurability() - Method in interface com.allanbank.mongodb.MongoDatabase
Returns the durability for write operations sent to the server from this MongoDatabase instance.
getElements() - Method in interface com.allanbank.mongodb.bson.Document
Returns the array of elements that create this document.
getElements() - Method in class com.allanbank.mongodb.bson.element.DocumentElement
Returns the elements in the document.
getElements() - Method in class com.allanbank.mongodb.bson.impl.EmptyDocument
Returns an empty list of elements.
getElements() - Method in class com.allanbank.mongodb.bson.impl.RootDocument
Returns the elements in the document.
getElements() - Method in class com.allanbank.mongodb.bson.io.SizeOfVisitor.CachedSizeNode
Returns the elements value.
getEntries() - Method in class com.allanbank.mongodb.bson.element.ArrayElement
Returns the entries in the array.
getError() - Method in class com.allanbank.mongodb.bson.io.BsonOutputStream
Returns the I/O exception encountered by the visitor.
getErrorNumber() - Method in exception com.allanbank.mongodb.error.ReplyException
Returns the value of the "errNo" field in the reply document or -1.
getExecutor() - Method in class com.allanbank.mongodb.MongoClientConfiguration
Returns the executor to use when processing responses from the server.
getFieldName() - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Returns the fieldName value.
getFields() - Method in class com.allanbank.mongodb.builder.FindAndModify
Returns the subset of fields to retrieve from the matched document.
getFile() - Method in class com.allanbank.mongodb.Credential
Returns the file containing the full credentials.
getFinalizeFunction() - Method in class com.allanbank.mongodb.builder.GroupBy
Returns the finalizer function to run for each group.
getFinalizeFunction() - Method in class com.allanbank.mongodb.builder.MapReduce
Returns the finalize function to apply to the final results of the reduce function.
getForwardCallback() - Method in class com.allanbank.mongodb.client.AbstractReplyCallback
Returns the forwardCallback value.
getHint() - Method in class com.allanbank.mongodb.builder.Find
Returns the hint for which index to use.
getHintName() - Method in class com.allanbank.mongodb.builder.Find
Returns the hint for which index to use by name.
getHosts() - Method in class com.allanbank.mongodb.MongoDbUri
Returns the hosts contained in the URI.
getId() - Method in class com.allanbank.mongodb.bson.DocumentReference
Returns the id of the document being referenced.
getId() - Method in class com.allanbank.mongodb.bson.element.DBPointerElement
Deprecated.
Returns the id value.
getId() - Method in class com.allanbank.mongodb.bson.element.ObjectIdElement
Returns the id value.
getInitialValue() - Method in class com.allanbank.mongodb.builder.GroupBy
Returns the initial value for each group.
getIntervalUnits() - Method in class com.allanbank.mongodb.connection.state.ClusterPinger
Returns the units for the ping sweep intervals.
getIntValue() - Method in class com.allanbank.mongodb.bson.element.DoubleElement
Returns the value cast to an integer.
getIntValue() - Method in class com.allanbank.mongodb.bson.element.IntegerElement
Returns the value cast to an integer.
getIntValue() - Method in class com.allanbank.mongodb.bson.element.LongElement
Returns the value cast to an integer.
getIntValue() - Method in interface com.allanbank.mongodb.bson.NumericElement
Returns the value cast to an integer.
getJavaScript() - Method in class com.allanbank.mongodb.bson.element.JavaScriptElement
Returns the BSON JavaScript value.
getKey() - Method in class com.allanbank.mongodb.builder.Distinct
Returns the name of the key to collect distinct values for.
getKeyFunction() - Method in class com.allanbank.mongodb.builder.GroupBy
Returns the function to return the key for a document.
getKeys() - Method in class com.allanbank.mongodb.builder.GroupBy
Returns the fields to group by.
getLanguage() - Method in class com.allanbank.mongodb.builder.Text
Returns the language to use when stemming the search terms.
GetLastError - Class in com.allanbank.mongodb.connection.message
Provides a convenient mechanism for creating a getlasterror command.
GetLastError(String, boolean, boolean, int, int) - Constructor for class com.allanbank.mongodb.connection.message.GetLastError
Create a new GetLastError.
GetLastError(String, Durability) - Constructor for class com.allanbank.mongodb.connection.message.GetLastError
Create a new GetLastError.
getLength() - Method in class com.allanbank.mongodb.connection.message.Header
Returns the length of the message in bytes.
getLevel() - Method in class com.allanbank.mongodb.ProfilingStatus
Returns the profiling level to use.
getLimit() - Method in class com.allanbank.mongodb.builder.AggregationGeoNear
If set returns the maximum number of documents to return.
getLimit() - Method in class com.allanbank.mongodb.builder.Find
Returns the total number of documents to be returned.
getLimit() - Method in class com.allanbank.mongodb.builder.MapReduce
Returns the limit for the number of objects to be used as input to the map/reduce.
getLimit() - Method in class com.allanbank.mongodb.builder.Text
Returns the maximum number of document to return.
getLimit() - Method in class com.allanbank.mongodb.client.MongoIteratorImpl
Returns the limit value.
getLimit() - Method in class com.allanbank.mongodb.connection.message.Query
Returns the total number of documents to be returned.
getLine() - Method in exception com.allanbank.mongodb.error.JsonParseException
Returns the approximate line where the parse failed.
getLocation() - Method in class com.allanbank.mongodb.builder.AggregationGeoNear
Returns the location to find documents near.
getLocationField() - Method in class com.allanbank.mongodb.builder.AggregationGeoNear
If set returns the name of the field to place the location information from the document.
getLockType() - Method in class com.allanbank.mongodb.MongoClientConfiguration
Returns the type of hand off lock to use between threads in the core of the driver.
getLongValue() - Method in class com.allanbank.mongodb.bson.element.DoubleElement
Returns the value cast to a long.
getLongValue() - Method in class com.allanbank.mongodb.bson.element.IntegerElement
Returns the value cast to a long.
getLongValue() - Method in class com.allanbank.mongodb.bson.element.LongElement
Returns the value cast to a long.
getLongValue() - Method in interface com.allanbank.mongodb.bson.NumericElement
Returns the value cast to a long.
getMachineId() - Method in class com.allanbank.mongodb.bson.element.ObjectId
The lower 8 bytes of the object id.
getMachineIdentifier() - Method in class com.allanbank.mongodb.bson.element.ObjectId
The upper 3 bytes in the machine id.
getMapFunction() - Method in class com.allanbank.mongodb.builder.MapReduce
Returns the map functions to apply to each selected document.
getMaxConnectionCount() - Method in class com.allanbank.mongodb.MongoClientConfiguration
Returns the maximum number of connections to use.
getMaxDistance() - Method in class com.allanbank.mongodb.builder.AggregationGeoNear
If set returns the maximum distance to return documents from the specified location
getMaximumDocumentsToScan() - Method in class com.allanbank.mongodb.builder.Find
Returns a value greater than zero to controls the maximum number of documents that will be scanned for results.
getMaximumRange() - Method in class com.allanbank.mongodb.builder.Find
Returns a non-null value to controls the maximum value for the range within the used index.
getMaximumSize() - Method in exception com.allanbank.mongodb.error.DocumentToLargeException
Returns the maximum size for a document.
getMaxPendingOperationsPerConnection() - Method in class com.allanbank.mongodb.MongoClientConfiguration
Returns the maximum number of pending operations to allow per connection.
getMaxSecondaryLag() - Method in class com.allanbank.mongodb.MongoClientConfiguration
Returns the maximum number of milliseconds that a secondary can be behind the primary before they will be excluded from being used for queries on secondaries.
getMessage() - Method in class com.allanbank.mongodb.connection.message.PendingMessage
Returns the sent message.
getMessageId() - Method in class com.allanbank.mongodb.connection.message.PendingMessage
Returns the message id assigned to the sent message.
getMinimumRange() - Method in class com.allanbank.mongodb.builder.Find
Returns a non-null value to controls the minimum value for the range within the used index.
getMode() - Method in class com.allanbank.mongodb.ReadPreference
Returns the read preference mode controlling if primary or secondary servers can be used and which to prefer.
GetMore - Class in com.allanbank.mongodb.connection.message
Message to getmore documents from a cursor.
GetMore(BsonInputStream) - Constructor for class com.allanbank.mongodb.connection.message.GetMore
Creates a new GetMore.
GetMore(String, String, long, int, ReadPreference) - Constructor for class com.allanbank.mongodb.connection.message.GetMore
Creates a new GetMore.
getName() - Method in class com.allanbank.mongodb.bson.element.AbstractElement
Returns the name for the BSON type.
getName() - Method in interface com.allanbank.mongodb.bson.Element
Returns the name for the BSON type.
getName() - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Returns the name of the collection.
getName() - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
Returns the name of the database.
getName() - Method in class com.allanbank.mongodb.connection.state.ServerState
Returns the normalized name of the server being tracked.
getName() - Method in interface com.allanbank.mongodb.MongoCollection
Returns the name of the collection.
getName() - Method in interface com.allanbank.mongodb.MongoDatabase
Returns the name of the database.
getNext() - Method in class com.allanbank.mongodb.bson.io.SizeOfVisitor.CachedSizeNode
Returns the next value.
getNonWritableServers() - Method in class com.allanbank.mongodb.connection.state.ClusterState
Returns a copy of the list of non-writable servers.
getNumberToReturn() - Method in class com.allanbank.mongodb.connection.message.GetMore
Return the number of documents to return from the cursor.
getNumberToReturn() - Method in class com.allanbank.mongodb.connection.message.Query
Returns the number of documents to be returned.
getNumberToSkip() - Method in class com.allanbank.mongodb.builder.Find
Returns the number of documents to skip before returning the first document.
getNumberToSkip() - Method in class com.allanbank.mongodb.connection.message.Query
Returns the number of documents to skip before starting to return documents.
getOkValue() - Method in exception com.allanbank.mongodb.error.ReplyException
Returns the value of the "ok" field in the reply document or -1.
getOperation() - Method in class com.allanbank.mongodb.connection.message.Header
Returns the operation for the message.
getOptions() - Method in class com.allanbank.mongodb.bson.element.RegularExpressionElement
Returns the regular expression options.
getOptions() - Method in class com.allanbank.mongodb.MongoDbUri
Returns the options contained in the URI.
getOutputDatabase() - Method in class com.allanbank.mongodb.builder.MapReduce
Returns the name of the output database if the output type is One of MapReduce.OutputType.REPLACE, MapReduce.OutputType.MERGE, or MapReduce.OutputType.REDUCE.
getOutputName() - Method in class com.allanbank.mongodb.builder.MapReduce
Returns the name of the output collection if the output type is One of MapReduce.OutputType.REPLACE, MapReduce.OutputType.MERGE, or MapReduce.OutputType.REDUCE.
getOutputType() - Method in class com.allanbank.mongodb.builder.MapReduce
Returns the handling for the output of the map/reduce.
getPassword() - Method in class com.allanbank.mongodb.Credential
Returns the password for the credential set.
getPassword() - Method in class com.allanbank.mongodb.MongoDbUri
Returns the password contained in the URI.
getPasswordHash() - Method in class com.allanbank.mongodb.MongoClientConfiguration
Deprecated.
Replaced with the more general Credential capability. Will be removed after the 1.3.0 release.
getPattern() - Method in class com.allanbank.mongodb.bson.element.RegularExpressionElement
Returns the regular expression pattern.
getPendingCount() - Method in interface com.allanbank.mongodb.connection.Connection
Returns the number of messages that are pending responses from the server.
getPendingCount() - Method in class com.allanbank.mongodb.connection.proxy.AbstractProxyConnection
Returns the number of messages that are pending responses from the server.
getPendingCount() - Method in class com.allanbank.mongodb.connection.socket.SocketConnection
Returns the number of messages that are pending responses from the server.
getPidField() - Method in class com.allanbank.mongodb.bson.element.ObjectId
Middle 2 byte process id field from the machine id.
getPingSweepInterval() - Method in class com.allanbank.mongodb.connection.state.ClusterPinger
Returns the interval for a ping sweep across all of the servers..
getPipeline() - Method in class com.allanbank.mongodb.builder.Aggregate
Returns the pipeline of operations to apply.
getPosition() - Method in class com.allanbank.mongodb.bson.io.RandomAccessOutputStream
Returns the current position in the stream.
getProfilingStatus() - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
Retrieves the profiling level for the database.
getProfilingStatus() - Method in interface com.allanbank.mongodb.MongoDatabase
Retrieves the profiling level for the database.
getProxiedConnection() - Method in class com.allanbank.mongodb.connection.auth.AuthenticatingConnection
Returns the proxiedConnection value.
getProxiedConnection() - Method in class com.allanbank.mongodb.connection.proxy.AbstractProxyConnection
Returns the proxiedConnection value.
getQuery() - Method in class com.allanbank.mongodb.builder.AggregationGeoNear
If set returns the optional query for further refining the documents to add to the pipeline.
getQuery() - Method in class com.allanbank.mongodb.builder.Distinct
Returns the query to select the documents to run the distinct against.
getQuery() - Method in class com.allanbank.mongodb.builder.Find
Returns the query document.
getQuery() - Method in class com.allanbank.mongodb.builder.FindAndModify
Returns the query to locate the document to update.
getQuery() - Method in class com.allanbank.mongodb.builder.GroupBy
Returns the query to select the documents to run the group against.
getQuery() - Method in class com.allanbank.mongodb.builder.MapReduce
Returns the query to select the documents to run the map/reduce against.
getQuery() - Method in class com.allanbank.mongodb.builder.Text
Returns the query document to limit the final results.
getQuery() - Method in class com.allanbank.mongodb.connection.message.Delete
Returns the query Document.
getQuery() - Method in class com.allanbank.mongodb.connection.message.Query
Returns the query document containing the expression to select documents from the collection.
getQuery() - Method in class com.allanbank.mongodb.connection.message.Update
Returns the query to select the document to update.
getRawDocument() - Method in class com.allanbank.mongodb.builder.TextResult
Returns the un-processed result document.
getReadPerference() - Method in class com.allanbank.mongodb.client.MongoIteratorImpl
Returns the iterator's read preference which points to the original server performing the query.
getReadPreference() - Method in class com.allanbank.mongodb.builder.Aggregate
Returns the ReadPreference specifying which servers may be used to execute the aggregation.
getReadPreference() - Method in class com.allanbank.mongodb.builder.Distinct
Returns the ReadPreference specifying which servers may be used to execute the Distinct command.
getReadPreference() - Method in class com.allanbank.mongodb.builder.Find
Returns the preference for the servers to retrieve the results from.
getReadPreference() - Method in class com.allanbank.mongodb.builder.GroupBy
Returns the ReadPreference specifying which servers may be used to execute the GroupBy command.
getReadPreference() - Method in class com.allanbank.mongodb.builder.MapReduce
Returns the ReadPreference specifying which servers may be used to execute the MapReduce command.
getReadPreference() - Method in class com.allanbank.mongodb.builder.Text
Returns the ReadPreference specifying which servers may be used to execute the Text command.
getReadPreference() - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Returns the read preference for queries from this MongoCollection instance.
getReadPreference() - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
Returns the read preference for queries from this MongoDatabase instance.
getReadPreference() - Method in class com.allanbank.mongodb.connection.message.AbstractMessage
Provides the details on which servers are eligible to receive the message.
getReadPreference() - Method in interface com.allanbank.mongodb.connection.Message
Provides the details on which servers are eligible to receive the message.
getReadPreference() - Method in interface com.allanbank.mongodb.MongoCollection
Returns the read preference for queries from this MongoCollection instance.
getReadPreference() - Method in interface com.allanbank.mongodb.MongoDatabase
Returns the read preference for queries from this MongoDatabase instance.
getReadTimeout() - Method in class com.allanbank.mongodb.MongoClientConfiguration
Returns how long to wait (in milliseconds) for a socket read to complete.
getReconnectStrategy() - Method in class com.allanbank.mongodb.connection.auth.AuthenticationConnectionFactory
Returns the reconnection strategy for the type of connections.
getReconnectStrategy() - Method in class com.allanbank.mongodb.connection.bootstrap.BootstrapConnectionFactory
Returns the reconnection strategy for the type of connections.
getReconnectStrategy() - Method in interface com.allanbank.mongodb.connection.ConnectionFactory
Returns the reconnection strategy for the type of connections.
getReconnectStrategy() - Method in class com.allanbank.mongodb.connection.rs.ReplicaSetConnectionFactory
Returns the reconnection strategy for the type of connections.
getReconnectStrategy() - Method in class com.allanbank.mongodb.connection.sharded.ShardedConnectionFactory
Returns the reconnection strategy for the type of connections.
getReconnectStrategy() - Method in class com.allanbank.mongodb.connection.socket.SocketConnectionFactory
Returns the reconnection strategy for the type of connections.
getReconnectTimeout() - Method in class com.allanbank.mongodb.MongoClientConfiguration
Returns how long to wait (in milliseconds) for a broken connection to be reconnected.
getReduceFunction() - Method in class com.allanbank.mongodb.builder.GroupBy
Returns the reduce function taking the previous value and the current value and returning the new reduced value.
getReduceFunction() - Method in class com.allanbank.mongodb.builder.MapReduce
Returns the reduce function to apply to the emitted output of the map function.
getReply() - Method in exception com.allanbank.mongodb.error.ReplyException
Returns the reply.
getReplyCallback() - Method in class com.allanbank.mongodb.connection.message.PendingMessage
Returns the callback for the reply to the message.
getRequest() - Method in exception com.allanbank.mongodb.error.ReplyException
Returns the original request message, if known.
getRequestId() - Method in class com.allanbank.mongodb.connection.message.Header
Returns the request id for the message.
getResponseId() - Method in class com.allanbank.mongodb.connection.message.Header
Returns the response id for the message.
getResponseToId() - Method in class com.allanbank.mongodb.connection.message.Reply
Returns the id of the request this response is for.
getResults() - Method in class com.allanbank.mongodb.connection.message.Reply
Returns the query results.
getReturnFields() - Method in class com.allanbank.mongodb.builder.Find
Returns the fields to be returned from the matching documents.
getReturnFields() - Method in class com.allanbank.mongodb.builder.Text
Returns the fields to return from the query.
getReturnFields() - Method in class com.allanbank.mongodb.connection.message.Query
Returns the optional document containing the fields to be returned.
getScope() - Method in class com.allanbank.mongodb.bson.element.JavaScriptWithScopeElement
Returns the BSON JavaScript scope.
getScope() - Method in class com.allanbank.mongodb.builder.MapReduce
Returns the scoped values to expose to the map/reduce/finalize functions.
getScore() - Method in class com.allanbank.mongodb.builder.TextResult
Returns the score for the document.
getSearchTerm() - Method in class com.allanbank.mongodb.builder.Text
Returns the search terms.
getSecondsBehind() - Method in class com.allanbank.mongodb.connection.state.ServerState
Sets the last reported seconds behind the primary.
getSelector() - Method in class com.allanbank.mongodb.connection.state.AbstractReconnectStrategy
Returns the selector for which server to connect to.
getSentMessage() - Method in exception com.allanbank.mongodb.error.MongoClientClosedException
Returns the message that was being sent.
getServer() - Method in class com.allanbank.mongodb.connection.state.ServerState
Returns the address of the server being tracked.
getServer() - Method in class com.allanbank.mongodb.ReadPreference
Returns the server to read from.
getServerAddresses() - Method in class com.allanbank.mongodb.MongoClientConfiguration
Returns the list of servers to initially attempt to connect to.
getServerName() - Method in interface com.allanbank.mongodb.connection.Connection
Returns the name of a server the connection is currently connected to.
getServerName() - Method in class com.allanbank.mongodb.connection.proxy.AbstractProxyConnection
Returns the name of a server the connection is currently connected to.
getServerName() - Method in class com.allanbank.mongodb.connection.socket.SocketConnection
Returns the name of a server the connection is currently connected to.
getServers() - Method in class com.allanbank.mongodb.connection.state.ClusterState
Returns a copy of the list of servers.
getServers() - Method in class com.allanbank.mongodb.MongoClientConfiguration
Returns the list of servers to initially attempt to connect to.
getSize() - Method in class com.allanbank.mongodb.bson.io.RandomAccessOutputStream
Returns the number of bytes written to the stream.
getSize() - Method in class com.allanbank.mongodb.bson.io.SizeOfVisitor.CachedSizeNode
Returns the size value.
getSize() - Method in class com.allanbank.mongodb.bson.io.SizeOfVisitor
Return the current Size of the written document.
getSize() - Method in exception com.allanbank.mongodb.error.DocumentToLargeException
Returns the size of the document that violated the maximum size.
getSlowMillisThreshold() - Method in class com.allanbank.mongodb.ProfilingStatus
Returns the number of milliseconds beyond which to consider an operation to be slow.
getSocketFactory() - Method in class com.allanbank.mongodb.MongoClientConfiguration
Returns the socket factory to use in making connections to the MongoDB server.
getSort() - Method in class com.allanbank.mongodb.builder.Find
Returns the fields to order document by.
getSort() - Method in class com.allanbank.mongodb.builder.FindAndModify
Returns the sort to apply if multiple docs match, choose the first one as the object to manipulate.
getSort() - Method in class com.allanbank.mongodb.builder.MapReduce
Returns the sort to apply to the input objects.
getState() - Method in class com.allanbank.mongodb.connection.state.AbstractReconnectStrategy
Returns the state of the cluster.
getSubType() - Method in class com.allanbank.mongodb.bson.element.BinaryElement
Return the binary sub-type.
getSymbol() - Method in class com.allanbank.mongodb.bson.element.SymbolElement
Returns the BSON symbol value.
getTagMatchingDocuments() - Method in class com.allanbank.mongodb.ReadPreference
Returns the list of tag matching documents to control the secondaries used.
getTags() - Method in class com.allanbank.mongodb.connection.state.ServerState
Returns the tags for the server.
getThreadFactory() - Method in class com.allanbank.mongodb.MongoClientConfiguration
Returns the thread factory for managing connections.
getTime() - Method in class com.allanbank.mongodb.bson.element.MongoTimestampElement
Returns the BSON Mongo timestamp value as 4 byte increment and 4 byte timestamp.
getTime() - Method in class com.allanbank.mongodb.bson.element.TimestampElement
Returns the BSON timestamp value as the milliseconds since the epoch.
getTimestamp() - Method in class com.allanbank.mongodb.bson.element.ObjectId
The upper 4 bytes of the object id.
getToken() - Method in enum com.allanbank.mongodb.bson.ElementType
Returns the token for the BSON type.
getToken() - Method in enum com.allanbank.mongodb.builder.ComparisonOperator
The token for the operator that can be sent to the server.
getToken() - Method in enum com.allanbank.mongodb.builder.GeospatialOperator
The token for the operator that can be sent to the server.
getToken() - Method in enum com.allanbank.mongodb.builder.LogicalOperator
The token for the operator that can be sent to the server.
getToken() - Method in enum com.allanbank.mongodb.builder.MiscellaneousOperator
The token for the operator that can be sent to the server.
getToken() - Method in interface com.allanbank.mongodb.builder.Operator
The token for the operator that can be sent to the server.
getToken() - Method in enum com.allanbank.mongodb.ReadPreference.Mode
Returns the token passed to the mongos server when in a shared environment.
getType() - Method in class com.allanbank.mongodb.bson.builder.impl.AbstractBuilder.BuilderElement
Returns the type for the BSON type.
getType() - Method in class com.allanbank.mongodb.bson.element.ArrayElement
Returns the type for the BSON type.
getType() - Method in class com.allanbank.mongodb.bson.element.BinaryElement
Returns the type for the BSON type.
getType() - Method in class com.allanbank.mongodb.bson.element.BooleanElement
Returns the type for the BSON type.
getType() - Method in class com.allanbank.mongodb.bson.element.DBPointerElement
Deprecated.
Returns the type for the BSON type.
getType() - Method in class com.allanbank.mongodb.bson.element.DocumentElement
Returns the type for the BSON type.
getType() - Method in class com.allanbank.mongodb.bson.element.DoubleElement
Returns the type for the BSON type.
getType() - Method in interface com.allanbank.mongodb.bson.Element
Returns the type for the BSON type.
getType() - Method in class com.allanbank.mongodb.bson.element.IntegerElement
Returns the type for the BSON type.
getType() - Method in class com.allanbank.mongodb.bson.element.JavaScriptElement
Returns the type for the BSON type.
getType() - Method in class com.allanbank.mongodb.bson.element.JavaScriptWithScopeElement
Returns the type for the BSON type.
getType() - Method in class com.allanbank.mongodb.bson.element.LongElement
Returns the type for the BSON type.
getType() - Method in class com.allanbank.mongodb.bson.element.MaxKeyElement
Returns the type for the BSON type.
getType() - Method in class com.allanbank.mongodb.bson.element.MinKeyElement
Returns the type for the BSON type.
getType() - Method in class com.allanbank.mongodb.bson.element.MongoTimestampElement
Returns the type for the BSON type.
getType() - Method in class com.allanbank.mongodb.bson.element.NullElement
Returns the type for the BSON type.
getType() - Method in class com.allanbank.mongodb.bson.element.ObjectIdElement
Returns the type for the BSON type.
getType() - Method in class com.allanbank.mongodb.bson.element.RegularExpressionElement
Returns the type for the BSON type.
getType() - Method in class com.allanbank.mongodb.bson.element.StringElement
Returns the type for the BSON type.
getType() - Method in class com.allanbank.mongodb.bson.element.SymbolElement
Returns the type for the BSON type.
getType() - Method in class com.allanbank.mongodb.bson.element.TimestampElement
Returns the type for the BSON type.
getUpdate() - Method in class com.allanbank.mongodb.builder.FindAndModify
Returns the updates to be applied to the document.
getUpdate() - Method in class com.allanbank.mongodb.connection.message.Update
Returns the updates to apply to the selected document(s).
getUserName() - Method in class com.allanbank.mongodb.Credential
Returns the user name for the credential set.
getUserName() - Method in class com.allanbank.mongodb.MongoClientConfiguration
Deprecated.
Replaced with the more general Credential capability. Will be removed after the 1.3.0 release.
getUserName() - Method in class com.allanbank.mongodb.MongoDbUri
Returns the user name contained in the URI.
getUuid() - Method in class com.allanbank.mongodb.bson.element.UuidElement
Returns the UUID value.
getValue() - Method in class com.allanbank.mongodb.bson.element.BinaryElement
Returns the BSON binary value.
getValue() - Method in class com.allanbank.mongodb.bson.element.BooleanElement
Returns the BSON boolean value.
getValue() - Method in class com.allanbank.mongodb.bson.element.DoubleElement
Returns the BSON double value.
getValue() - Method in class com.allanbank.mongodb.bson.element.IntegerElement
Returns the BSON integer value.
getValue() - Method in class com.allanbank.mongodb.bson.element.LongElement
Returns the BSON long value.
getValue() - Method in class com.allanbank.mongodb.bson.element.StringElement
Returns the BSON string value.
getValue() - Method in enum com.allanbank.mongodb.ProfilingStatus.Level
Returns the profile level value to send to MongoDB.
getValueAsObject() - Method in class com.allanbank.mongodb.bson.builder.impl.AbstractBuilder.BuilderElement
Returns the value for BSON element as a Java Object type.
getValueAsObject() - Method in class com.allanbank.mongodb.bson.element.ArrayElement
Returns the value for BSON element as a Java Object type.
getValueAsObject() - Method in class com.allanbank.mongodb.bson.element.BinaryElement
Returns the value for BSON element as a Java Object type.
getValueAsObject() - Method in class com.allanbank.mongodb.bson.element.BooleanElement
Returns the value for BSON element as a Java Object type.
getValueAsObject() - Method in class com.allanbank.mongodb.bson.element.DBPointerElement
Deprecated.
Returns the value for BSON element as a Java Object type.
getValueAsObject() - Method in class com.allanbank.mongodb.bson.element.DocumentElement
Returns the value for BSON element as a Java Object type.
getValueAsObject() - Method in class com.allanbank.mongodb.bson.element.DoubleElement
Returns the value for BSON element as a Java Object type.
getValueAsObject() - Method in interface com.allanbank.mongodb.bson.Element
Returns the value for BSON element as a Java Object type.
getValueAsObject() - Method in class com.allanbank.mongodb.bson.element.IntegerElement
Returns the value for BSON element as a Java Object type.
getValueAsObject() - Method in class com.allanbank.mongodb.bson.element.JavaScriptElement
Returns the value for BSON element as a Java Object type.
getValueAsObject() - Method in class com.allanbank.mongodb.bson.element.JavaScriptWithScopeElement
Returns the value for BSON element as a Java Object type.
getValueAsObject() - Method in class com.allanbank.mongodb.bson.element.LongElement
Returns the value for BSON element as a Java Object type.
getValueAsObject() - Method in class com.allanbank.mongodb.bson.element.MaxKeyElement
Returns the value for BSON element as a Java Object type.
getValueAsObject() - Method in class com.allanbank.mongodb.bson.element.MinKeyElement
Returns the value for BSON element as a Java Object type.
getValueAsObject() - Method in class com.allanbank.mongodb.bson.element.MongoTimestampElement
Returns the value for BSON element as a Java Object type.
getValueAsObject() - Method in class com.allanbank.mongodb.bson.element.NullElement
Returns the value for BSON element as a Java Object type.
getValueAsObject() - Method in class com.allanbank.mongodb.bson.element.ObjectIdElement
Returns the value for BSON element as a Java Object type.
getValueAsObject() - Method in class com.allanbank.mongodb.bson.element.RegularExpressionElement
Returns the value for BSON element as a Java Object type.
getValueAsObject() - Method in class com.allanbank.mongodb.bson.element.StringElement
Returns the value for BSON element as a Java Object type.
getValueAsObject() - Method in class com.allanbank.mongodb.bson.element.SymbolElement
Returns the value for BSON element as a Java Object type.
getValueAsObject() - Method in class com.allanbank.mongodb.bson.element.TimestampElement
Returns the value for BSON element as a Java Object type.
getValueAsObject() - Method in class com.allanbank.mongodb.bson.element.UuidElement
Returns the value for BSON element as a Java Object type.
getValueAsString() - Method in class com.allanbank.mongodb.bson.element.AbstractElement
Returns the value for BSON element as a Java String.
getValueAsString() - Method in class com.allanbank.mongodb.bson.element.BooleanElement
Returns the value for BSON element as a Java String.
getValueAsString() - Method in class com.allanbank.mongodb.bson.element.DoubleElement
Returns the value for BSON element as a Java String.
getValueAsString() - Method in interface com.allanbank.mongodb.bson.Element
Returns the value for BSON element as a Java String.
getValueAsString() - Method in class com.allanbank.mongodb.bson.element.IntegerElement
Returns the value for BSON element as a Java String.
getValueAsString() - Method in class com.allanbank.mongodb.bson.element.LongElement
Returns the value for BSON element as a Java String.
getValueAsString() - Method in class com.allanbank.mongodb.bson.element.NullElement
Returns the value for BSON element as a Java String.
getValueAsString() - Method in class com.allanbank.mongodb.bson.element.StringElement
Returns the value for BSON element as a Java String.
getValueAsString() - Method in class com.allanbank.mongodb.bson.element.SymbolElement
Returns the value for BSON element as a Java String.
getValueAsString() - Method in class com.allanbank.mongodb.bson.element.UuidElement
Returns the value for BSON element as a Java String.
getWaitForReplicas() - Method in class com.allanbank.mongodb.Durability
Returns if (value greater than zero) the durability requires that the response wait for the data to be received by a replica and the number of replicas of the data to wait for.
getWaitForReplicasByMode() - Method in class com.allanbank.mongodb.Durability
If the value is non-null then wait for the specified replication mode configured on the server.
getWaitTimeoutMillis() - Method in class com.allanbank.mongodb.Durability
Returns the number of milliseconds to wait for the durability requirements to be satisfied.
getWritableServers() - Method in class com.allanbank.mongodb.connection.state.ClusterState
Returns a copy of the list of writable servers.
GREATER_THAN - Static variable in class com.allanbank.mongodb.builder.expression.Expressions
The "$gt" operator token
GREATER_THAN_OR_EQUAL - Static variable in class com.allanbank.mongodb.builder.expression.Expressions
The "$gte" operator token
greaterThan(byte, byte[]) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is greater than the specified value.
greaterThan(byte[]) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is greater than the specified value.
greaterThan(double) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is greater than the specified value.
greaterThan(int) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is greater than the specified value.
greaterThan(long) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is greater than the specified value.
greaterThan(ObjectId) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is greater than the specified value.
greaterThan(String) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is greater than the specified value.
greaterThanMongoTimestamp(long) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is greater than the specified value.
greaterThanOrEqualTo(byte, byte[]) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is greater than or equals the specified value.
greaterThanOrEqualTo(byte[]) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is greater than or equals the specified value.
greaterThanOrEqualTo(double) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is greater than or equals the specified value.
greaterThanOrEqualTo(int) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is greater than or equals the specified value.
greaterThanOrEqualTo(long) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is greater than or equals the specified value.
greaterThanOrEqualTo(ObjectId) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is greater than or equals the specified value.
greaterThanOrEqualTo(String) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is greater than or equals the specified value.
greaterThanOrEqualToMongoTimestamp(long) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is greater than or equals the specified value.
greaterThanOrEqualToSymbol(String) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is greater than or equals the specified value.
greaterThanOrEqualToTimestamp(long) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is greater than or equals the specified value.
greaterThanSymbol(String) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is greater than the specified value.
greaterThanTimestamp(long) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is greater than the specified value.
GridFs - Class in com.allanbank.mongodb.gridfs
GridFs provides an interface for working with a GridFS collection.
GridFs(MongoDatabase) - Constructor for class com.allanbank.mongodb.gridfs.GridFs
Creates a new GridFs.
GridFs(MongoDatabase, String) - Constructor for class com.allanbank.mongodb.gridfs.GridFs
Creates a new GridFs.
GridFs(String) - Constructor for class com.allanbank.mongodb.gridfs.GridFs
Creates a new GridFs.
GridFs(String, String) - Constructor for class com.allanbank.mongodb.gridfs.GridFs
Creates a new GridFs.
group(AggregationGroupId, AggregationGroupField...) - Method in class com.allanbank.mongodb.builder.Aggregate.Builder
Adds a $group operation to the pipeline to aggregate documents passing this point in the pipeline into a group of documents.
group(AggregationGroupId.Builder, AggregationGroupField...) - Method in class com.allanbank.mongodb.builder.Aggregate.Builder
Adds a $group operation to the pipeline to aggregate documents passing this point in the pipeline into a group of documents.
group(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.Aggregate.Builder
Adds a $group operation to the pipeline to aggregate documents passing this point in the pipeline into a group of documents.
group(DocumentAssignable, AggregationGroupField...) - Method in class com.allanbank.mongodb.builder.Aggregate.Builder
Adds a $group operation to the pipeline to aggregate documents passing this point in the pipeline into a group of documents.
GroupBy - Class in com.allanbank.mongodb.builder
Group provides a container for all of the options to a group command.
GroupBy(GroupBy.Builder) - Constructor for class com.allanbank.mongodb.builder.GroupBy
Creates a new GroupBy.
groupBy(GroupBy) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Invokes a group command on the server.
groupBy(GroupBy.Builder) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Invokes a group command on the server.
groupBy(GroupBy) - Method in interface com.allanbank.mongodb.MongoCollection
Invokes a group command on the server.
groupBy(GroupBy.Builder) - Method in interface com.allanbank.mongodb.MongoCollection
Invokes a group command on the server.
GroupBy.Builder - Class in com.allanbank.mongodb.builder
Builder provides a builder for Group commands.
GroupBy.Builder() - Constructor for class com.allanbank.mongodb.builder.GroupBy.Builder
Creates a new Builder.
groupByAsync(Callback<ArrayElement>, GroupBy) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Invokes a group command on the server.
groupByAsync(Callback<ArrayElement>, GroupBy.Builder) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Invokes a group command on the server.
groupByAsync(GroupBy) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Invokes a group command on the server.
groupByAsync(GroupBy.Builder) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Invokes a group command on the server.
groupByAsync(Callback<ArrayElement>, GroupBy) - Method in class com.allanbank.mongodb.client.MongoCollectionImpl
Invokes a group command on the server.
groupByAsync(Callback<ArrayElement>, GroupBy) - Method in interface com.allanbank.mongodb.MongoCollection
Invokes a group command on the server.
groupByAsync(Callback<ArrayElement>, GroupBy.Builder) - Method in interface com.allanbank.mongodb.MongoCollection
Invokes a group command on the server.
groupByAsync(GroupBy) - Method in interface com.allanbank.mongodb.MongoCollection
Invokes a group command on the server.
groupByAsync(GroupBy.Builder) - Method in interface com.allanbank.mongodb.MongoCollection
Invokes a group command on the server.
gt(Expression, Expression) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a NaryExpression "$gt" expression.
gte(Expression, Expression) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a NaryExpression "$gte" expression.

H

handle(Reply) - Method in class com.allanbank.mongodb.client.AbstractReplyCallback
Called once the Reply has been validated.
handle(Reply) - Method in class com.allanbank.mongodb.client.AbstractValidatingReplyCallback
Called once the Reply has been validated.
handleConnectionClosed(Connection) - Method in class com.allanbank.mongodb.client.ClientImpl
Tries to reconnect previously open Connections.
hasError() - Method in class com.allanbank.mongodb.bson.io.BsonOutputStream
Returns true if the visitor had an I/O error.
hashCode() - Method in class com.allanbank.mongodb.bson.DocumentReference
hashCode() - Method in class com.allanbank.mongodb.bson.element.AbstractElement
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.bson.element.ArrayElement
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.bson.element.BinaryElement
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.bson.element.BooleanElement
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.bson.element.DBPointerElement
Deprecated.
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.bson.element.DocumentElement
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.bson.element.DoubleElement
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.bson.element.IntegerElement
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.bson.element.JavaScriptElement
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.bson.element.JavaScriptWithScopeElement
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.bson.element.LongElement
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.bson.element.MongoTimestampElement
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.bson.element.ObjectId
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.bson.element.ObjectIdElement
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.bson.element.RegularExpressionElement
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.bson.element.StringElement
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.bson.element.SymbolElement
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.bson.element.TimestampElement
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.bson.element.UuidElement
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.bson.impl.EmptyDocument
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.bson.impl.RootDocument
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.builder.TextResult
hashCode() - Method in class com.allanbank.mongodb.connection.message.AbstractMessage
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.connection.message.Delete
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.connection.message.GetMore
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.connection.message.Header
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.connection.message.Insert
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.connection.message.KillCursors
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.connection.message.Query
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.connection.message.Reply
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.connection.message.Update
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.connection.proxy.AbstractProxyConnection.ProxiedChangeListener
hashCode() - Method in class com.allanbank.mongodb.Credential
hashCode() - Method in class com.allanbank.mongodb.Durability
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.ProfilingStatus
hashCode() - Method in class com.allanbank.mongodb.ReadPreference
Computes a reasonable hash code.
hashed(String) - Static method in class com.allanbank.mongodb.builder.Index
Creates an 'hashed' index specification, e.g., { <field> : "hashed" }.
hasNext() - Method in class com.allanbank.mongodb.client.MongoIteratorImpl
hasPassword() - Method in class com.allanbank.mongodb.Credential
Returns true if the password has atleast a single character.
Header - Class in com.allanbank.mongodb.connection.message
The header of a message.
Header(BsonInputStream) - Constructor for class com.allanbank.mongodb.connection.message.Header
Creates a new header.
Header(int, int, int, Operation) - Constructor for class com.allanbank.mongodb.connection.message.Header
Creates a new header.
HEADER_LENGTH - Static variable in class com.allanbank.mongodb.connection.socket.SocketConnection
The length of the message header in bytes.
HEADER_SIZE - Static variable in class com.allanbank.mongodb.connection.message.AbstractMessage
The size of a message header.
hexToBytes(String) - Static method in class com.allanbank.mongodb.util.IOUtils
Converts the hex string to bytes.
hint(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.Find.Builder
Sets the value of hint as to which index should be used to execute the query.
hint(Element...) - Method in class com.allanbank.mongodb.builder.Find.Builder
Sets the value of hint as to which index should be used to execute the query.
hint(String) - Method in class com.allanbank.mongodb.builder.Find.Builder
Sets the value of hint as to which index should be used to execute the query.
HOUR - Static variable in class com.allanbank.mongodb.builder.expression.Expressions
The "$hour" operator token
hour(Expression) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a UnaryExpression "$hour" expression.

I

id() - Static method in class com.allanbank.mongodb.builder.AggregationGroupId
Creates a builder to construct a complex _id value for the group.
id(String) - Static method in class com.allanbank.mongodb.builder.AggregationGroupId
Constructs a AggregationGroupId with a value from a single field in the source documents.
ID_FIELD_NAME - Static variable in class com.allanbank.mongodb.bson.DocumentReference
The name for the id field.
ID_FIELD_NAME - Static variable in class com.allanbank.mongodb.client.MongoCollectionImpl
The name of the canonical id field for MongoDB.
IF_NULL - Static variable in class com.allanbank.mongodb.builder.expression.Expressions
The "$ifNull" operator token
ifNull(Expression, Expression) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a NaryExpression "$ifNull" expression.
immortalCursor() - Method in class com.allanbank.mongodb.builder.Find.Builder
Sets the cursor returned from the query to never timeout or die automatically, e.g., immortal.
immortalCursor(boolean) - Method in class com.allanbank.mongodb.builder.Find.Builder
If set to true the cursor returned from the query will not timeout or die automatically, e.g., immortal.
in(ArrayBuilder) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Specify the values that one must match the fields value.
in(Constant...) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Specify the values that one must match the fields value.
in(Element...) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Specify the values that one must match the fields value.
include(String...) - Static method in class com.allanbank.mongodb.builder.AggregationProjectFields
Helper method to create a AggregationProjectFields that implicitly includes the _id field.
includeWithoutId(String...) - Static method in class com.allanbank.mongodb.builder.AggregationProjectFields
Helper method to create a AggregationProjectFields that does not include the _id field.
increment(int) - Method in class com.allanbank.mongodb.connection.message.PendingMessageQueue
Increments the index handling roll-over.
Index - Class in com.allanbank.mongodb.builder
Provides the ability to easily specify the index type of a field within an index specification.
init(String) - Method in class com.allanbank.mongodb.connection.message.AbstractMessage
Initializes the database and collection name from the full database name.
INITIAL_RECONNECT_PAUSE_TIME_MS - Static variable in class com.allanbank.mongodb.connection.rs.ReplicaSetReconnectStrategy
The initial amount of time to pause waiting for a server to take over as the primary.
initialSweep() - Method in class com.allanbank.mongodb.connection.state.ClusterPinger
Performs a single sweep through the servers sending a ping with a callback to set the latency and tags for each server.
initialValue(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.GroupBy.Builder
Sets the value of the initial value for the group.
injectId() - Method in class com.allanbank.mongodb.bson.impl.RootDocument
Adds an ObjectIdElement to the head of the document.
insert(boolean, DocumentAssignable...) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Inserts a set of documents into the collection.
insert(boolean, Durability, DocumentAssignable...) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Inserts a set of documents into the collection.
insert(DocumentAssignable...) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Inserts a set of documents into the collection.
insert(Durability, DocumentAssignable...) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Inserts a set of documents into the collection.
Insert - Class in com.allanbank.mongodb.connection.message
Message to insert a set of documents into a collection.
Insert(Header, BsonInputStream) - Constructor for class com.allanbank.mongodb.connection.message.Insert
Creates a new Insert.
Insert(String, String, List<Document>, boolean) - Constructor for class com.allanbank.mongodb.connection.message.Insert
Creates a new Insert.
insert(boolean, DocumentAssignable...) - Method in interface com.allanbank.mongodb.MongoCollection
Inserts a set of documents into the collection.
insert(boolean, Durability, DocumentAssignable...) - Method in interface com.allanbank.mongodb.MongoCollection
Inserts a set of documents into the collection.
insert(DocumentAssignable...) - Method in interface com.allanbank.mongodb.MongoCollection
Inserts a set of documents into the collection.
insert(Durability, DocumentAssignable...) - Method in interface com.allanbank.mongodb.MongoCollection
Inserts a set of documents into the collection.
INSERT_CONTINUE_ON_ERROR_DEFAULT - Static variable in class com.allanbank.mongodb.client.AbstractMongoCollection
The default for if an insert should continue on an error.
insertAsync(boolean, DocumentAssignable...) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Inserts a set of documents into the collection.
insertAsync(boolean, Durability, DocumentAssignable...) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Inserts a set of documents into the collection.
insertAsync(Callback<Integer>, boolean, DocumentAssignable...) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Inserts a set of documents into the collection.
insertAsync(Callback<Integer>, boolean, Durability, DocumentAssignable...) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Inserts a set of documents into the collection.
insertAsync(Callback<Integer>, DocumentAssignable...) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Inserts a set of documents into the collection.
insertAsync(Callback<Integer>, Durability, DocumentAssignable...) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Inserts a set of documents into the collection.
insertAsync(DocumentAssignable...) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Inserts a set of documents into the collection.
insertAsync(Durability, DocumentAssignable...) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Inserts a set of documents into the collection.
insertAsync(Callback<Integer>, boolean, Durability, DocumentAssignable...) - Method in class com.allanbank.mongodb.client.MongoCollectionImpl
Inserts a set of documents into the collection.
insertAsync(boolean, DocumentAssignable...) - Method in interface com.allanbank.mongodb.MongoCollection
Inserts a set of documents into the collection.
insertAsync(boolean, Durability, DocumentAssignable...) - Method in interface com.allanbank.mongodb.MongoCollection
Inserts a set of documents into the collection.
insertAsync(Callback<Integer>, boolean, DocumentAssignable...) - Method in interface com.allanbank.mongodb.MongoCollection
Inserts a set of documents into the collection.
insertAsync(Callback<Integer>, boolean, Durability, DocumentAssignable...) - Method in interface com.allanbank.mongodb.MongoCollection
Inserts a set of documents into the collection.
insertAsync(Callback<Integer>, DocumentAssignable...) - Method in interface com.allanbank.mongodb.MongoCollection
Inserts a set of documents into the collection.
insertAsync(Callback<Integer>, Durability, DocumentAssignable...) - Method in interface com.allanbank.mongodb.MongoCollection
Inserts a set of documents into the collection.
insertAsync(DocumentAssignable...) - Method in interface com.allanbank.mongodb.MongoCollection
Inserts a set of documents into the collection.
insertAsync(Durability, DocumentAssignable...) - Method in interface com.allanbank.mongodb.MongoCollection
Inserts a set of documents into the collection.
INSTANCE - Static variable in class com.allanbank.mongodb.bson.impl.EmptyDocument
An instance of the Empty Document.
instanceOf(ElementType) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value's type matches the specified type.
IntegerElement - Class in com.allanbank.mongodb.bson.element
A wrapper for a BSON (signed 32-bit) integer.
IntegerElement(String, int) - Constructor for class com.allanbank.mongodb.bson.element.IntegerElement
Constructs a new IntegerElement.
intersects(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Geospatial query for documents whose field intersects the specified GeoJSON specified geometry.
IOUtils - Class in com.allanbank.mongodb.util
IOUtils provides helper methods for dealing with I/O operations.
IPV6_LENGTH - Static variable in class com.allanbank.mongodb.util.ServerNameUtils
The length of an IPv6 address in bytes.
IS_MASTER - Static variable in class com.allanbank.mongodb.connection.message.IsMaster
The ismaster "query" document.
isAdminUser() - Method in class com.allanbank.mongodb.MongoClientConfiguration
Deprecated.
Replaced with the more general Credential capability. Will be removed after the 1.3.0 release.
isAuthenticating() - Method in class com.allanbank.mongodb.MongoClientConfiguration
Returns true if the connection is authenticating.
isAutoDiscoverServers() - Method in class com.allanbank.mongodb.MongoClientConfiguration
Returns if additional servers are auto discovered or if connections are limited to the ones manually configured.
isAwaitCapable() - Method in class com.allanbank.mongodb.connection.message.Reply
Returns true if the server is await capable for tailable cursors.
isAwaitData() - Method in class com.allanbank.mongodb.builder.Find
Returns true if the cursor returned from the query will block or wait for data.
isAwaitData() - Method in class com.allanbank.mongodb.connection.message.Query
Returns true and if using a tailable cursor then the connection will block waiting for more data.
isBatchSizeSet() - Method in class com.allanbank.mongodb.connection.message.Query
Returns true if the batch size is greater than zero.
isCancelled() - Method in class com.allanbank.mongodb.connection.FutureCallback
isCapped() - Method in class com.allanbank.mongodb.client.MongoCollectionImpl
Returns true if the collection statistics indicate that the collection is a capped collection.
isCapped() - Method in interface com.allanbank.mongodb.MongoCollection
Returns true if the collection statistics indicate that the collection is a capped collection.
isConnected(ServerState, Connection) - Method in class com.allanbank.mongodb.connection.state.AbstractReconnectStrategy
Pings the server to verify that the connection is active.
isContinueOnError() - Method in class com.allanbank.mongodb.connection.message.Insert
Returns true if the insert should continue with other documents if one of the document inserts encounters an error.
isCursorDocument(Document) - Method in class com.allanbank.mongodb.client.ClientImpl
Returns true if the document looks like a cursor restart document.
isCursorNotFound() - Method in class com.allanbank.mongodb.connection.message.Reply
Returns true if the cursor in the get_more message was not found.
isDocumentReference() - Method in class com.allanbank.mongodb.bson.element.DocumentElement
Returns true if this sub-document conforms to the MongoDB DBRef convention, false otherwise.
isDone() - Method in class com.allanbank.mongodb.connection.FutureCallback
isEmpty() - Method in class com.allanbank.mongodb.connection.message.PendingMessageQueue
Returns true if the queue is empty.
isExhaust() - Method in class com.allanbank.mongodb.connection.message.Query
Returns true if all results should be returned in multiple results.
isIdle() - Method in interface com.allanbank.mongodb.connection.Connection
Determines if the connection is idle.
isIdle() - Method in class com.allanbank.mongodb.connection.proxy.AbstractProxyConnection
Determines if the connection is idle.
isIdle() - Method in class com.allanbank.mongodb.connection.socket.SocketConnection
Determines if the connection is idle.
isImmortalCursor() - Method in class com.allanbank.mongodb.builder.Find
Returns true if the cursor returned from the query will not timeout or die automatically, e.g., immortal, false otherwise.
isJsMode() - Method in class com.allanbank.mongodb.builder.MapReduce
Returns true to limit the translation of the documents to an from BSON/JavaScript.
isKeepTemp() - Method in class com.allanbank.mongodb.builder.MapReduce
Returns true to drop the temporary collections created during the map/reduce.
isLegacy() - Method in class com.allanbank.mongodb.ReadPreference
Returns true if the read preference is compatible with the legacy "slaveOk", e.g., is one of ReadPreference.Mode.PRIMARY_ONLY, ReadPreference.Mode.SECONDARY_ONLY, or ReadPreference.Mode.SERVER and has no tag matching documents.
isLimitSet() - Method in class com.allanbank.mongodb.connection.message.Query
Returns true if the limit is greater than zero.
IsMaster - Class in com.allanbank.mongodb.connection.message
Provides a convenient mechanism for creating a ismaster command.
IsMaster() - Constructor for class com.allanbank.mongodb.connection.message.IsMaster
Create a new IsMaster command.
isMultiUpdate() - Method in class com.allanbank.mongodb.connection.message.Update
Returns true if all documents matching the query should be updated, otherwise only the first document should be updated.
isNoCursorTimeout() - Method in class com.allanbank.mongodb.connection.message.Query
Returns true if marking the cursor as not having a timeout.
isOpen() - Method in interface com.allanbank.mongodb.connection.Connection
Determines if the connection is open.
isOpen() - Method in class com.allanbank.mongodb.connection.proxy.AbstractProxyConnection
Determines if the connection is open.
isOpen() - Method in class com.allanbank.mongodb.connection.socket.SocketConnection
Determines if the connection is open.
isPartial() - Method in class com.allanbank.mongodb.connection.message.Query
Returns true if return the results found and suppress shard down errors.
isPartialOk() - Method in class com.allanbank.mongodb.builder.Find
Returns the partial okay value.
isQueryFailed() - Method in class com.allanbank.mongodb.connection.message.Reply
Returns true if the query failed.
isRemove() - Method in class com.allanbank.mongodb.builder.FindAndModify
Returns true if the document should be removed.
isReturnIndexKeysOnly() - Method in class com.allanbank.mongodb.builder.Find
Returns true if only the index keys will be returned.
isReturnNew() - Method in class com.allanbank.mongodb.builder.FindAndModify
Returns true if the updated document should be returned instead of the document before the update.
isSecondaryOk() - Method in class com.allanbank.mongodb.ReadPreference
Returns true if the mode allows reading from secondaries, false otherwise.
isSecondaryOk() - Method in enum com.allanbank.mongodb.ReadPreference.Mode
Returns true if the mode allows reading from secondaries, false otherwise.
isShardConfigStale() - Method in class com.allanbank.mongodb.connection.message.Reply
Returns true if the shard configuration is stale.
isShowDiskLocation() - Method in class com.allanbank.mongodb.builder.Find
Returns true if a "$diskLoc" entry will be added to every returned document with the disk location information.
isSingleDelete() - Method in class com.allanbank.mongodb.connection.message.Delete
Returns if only a single or all matching documents should be deleted.
isSnapshot() - Method in class com.allanbank.mongodb.builder.Find
If returns true then use snapshot mode to ensure document are only returned once.
isSpherical() - Method in class com.allanbank.mongodb.builder.AggregationGeoNear
Returns true if the $geoNear should compute distances using spherical coordinates instead of planar coordinates.
isSuppressNames() - Method in class com.allanbank.mongodb.bson.element.JsonSerializationVisitor
Returns if the visitor is currently suppressing the names of elements.
isTailable() - Method in class com.allanbank.mongodb.builder.Find
Returns true if the cursor returned from the query will be tailable, false otherwise.
isTailable() - Method in class com.allanbank.mongodb.connection.message.Query
Returns true if the cursor created should follow additional documents being inserted.
isUniqueDocs() - Method in class com.allanbank.mongodb.builder.AggregationGeoNear
Returns true if the $geoNear should only return documents once.
isUpsert() - Method in class com.allanbank.mongodb.builder.FindAndModify
Returns true to create the document if it doesn't exist.
isUpsert() - Method in class com.allanbank.mongodb.connection.message.Update
Returns true if the document should be inserted if none match the query criteria.
isUsingSoKeepalive() - Method in class com.allanbank.mongodb.MongoClientConfiguration
Returns if the SO_KEEPALIVE socket option is set.
isVerbose() - Method in class com.allanbank.mongodb.builder.MapReduce
Returns true to emit progress messages in the server logs.
isWaitForFsync() - Method in class com.allanbank.mongodb.Durability
Returns if the durability requires that the response wait for an fsync() of the data on the server to complete.
isWaitForJournal() - Method in class com.allanbank.mongodb.Durability
Returns if the durability requires that the response wait for the data to be written to the server's journal.
isWaitForReply() - Method in class com.allanbank.mongodb.Durability
Returns if the durability requires that the response wait for a reply from the server but potentially no special server processing.
isWritable() - Method in class com.allanbank.mongodb.connection.state.ServerState
Returns true if the server can be written to, false otherwise.
iterator() - Method in class com.allanbank.mongodb.bson.element.DocumentElement
Returns an iterator over the documents elements.
iterator() - Method in class com.allanbank.mongodb.bson.impl.EmptyDocument
Returns an iterator over an empty list of elements.
iterator() - Method in class com.allanbank.mongodb.bson.impl.RootDocument
Returns an iterator over the documents elements.
iterator() - Method in class com.allanbank.mongodb.client.MongoIteratorImpl

J

JavaScriptElement - Class in com.allanbank.mongodb.bson.element
A wrapper for a BSON JavaScript.
JavaScriptElement(String, String) - Constructor for class com.allanbank.mongodb.bson.element.JavaScriptElement
Constructs a new JavaScriptElement.
JavaScriptWithScopeElement - Class in com.allanbank.mongodb.bson.element
A wrapper for a BSON JavaScript with Scope.
JavaScriptWithScopeElement(String, String, Document) - Constructor for class com.allanbank.mongodb.bson.element.JavaScriptWithScopeElement
Constructs a new JavaScriptWithScopeElement.
journalDurable(int) - Static method in class com.allanbank.mongodb.Durability
Creates an journal durability.
jsMode() - Method in class com.allanbank.mongodb.builder.MapReduce.Builder
Sets to true to limit the translation of the documents to an from BSON/JavaScript.
jsMode(boolean) - Method in class com.allanbank.mongodb.builder.MapReduce.Builder
Sets to true to limit the translation of the documents to an from BSON/JavaScript.
Json - Class in com.allanbank.mongodb.bson.json
Json provides a simplified interface for parsing JSON documents into BSON Documents and also serializing BSON Documents into JSON text.
JsonException - Exception in com.allanbank.mongodb.error
JsonException provides an exception to throw when processing JSON documents fail.
JsonException() - Constructor for exception com.allanbank.mongodb.error.JsonException
Creates a new JsonParseException.
JsonException(String) - Constructor for exception com.allanbank.mongodb.error.JsonException
Creates a new JsonParseException.
JsonException(String, Throwable) - Constructor for exception com.allanbank.mongodb.error.JsonException
Creates a new JsonParseException.
JsonException(Throwable) - Constructor for exception com.allanbank.mongodb.error.JsonException
Creates a new JsonParseException.
JsonParseException - Exception in com.allanbank.mongodb.error
JsonParseException provides an exception to throw when parsing a JSON document fails.
JsonParseException() - Constructor for exception com.allanbank.mongodb.error.JsonParseException
Creates a new JsonParseException.
JsonParseException(String) - Constructor for exception com.allanbank.mongodb.error.JsonParseException
Creates a new JsonParseException.
JsonParseException(String, int, int) - Constructor for exception com.allanbank.mongodb.error.JsonParseException
Creates a new JsonParseException.
JsonParseException(String, Throwable) - Constructor for exception com.allanbank.mongodb.error.JsonParseException
Creates a new JsonParseException.
JsonParseException(String, Throwable, int, int) - Constructor for exception com.allanbank.mongodb.error.JsonParseException
Creates a new JsonParseException.
JsonParseException(Throwable) - Constructor for exception com.allanbank.mongodb.error.JsonParseException
Creates a new JsonParseException.
JsonSerializationVisitor - Class in com.allanbank.mongodb.bson.element
JsonSerializationVisitor provides a BSON Visitor that generates a JSON document.
JsonSerializationVisitor(Writer, boolean) - Constructor for class com.allanbank.mongodb.bson.element.JsonSerializationVisitor
Creates a new JsonSerializationVisitor.

K

keepTemp() - Method in class com.allanbank.mongodb.builder.MapReduce.Builder
Sets to true to drop the temporary collections created during the map/reduce.
keepTemp(boolean) - Method in class com.allanbank.mongodb.builder.MapReduce.Builder
Sets to true to drop the temporary collections created during the map/reduce.
kerberos() - Method in class com.allanbank.mongodb.Credential.Builder
Sets the value of the authentication type or mode that the credential should be used with to Kerberos.
KERBEROS - Static variable in class com.allanbank.mongodb.Credential
Constant for Kerberos authentication.
key(String) - Method in class com.allanbank.mongodb.builder.Distinct.Builder
Sets the name of the key to collect distinct values for.
key(String) - Method in class com.allanbank.mongodb.builder.GroupBy.Builder
Sets the value of the function to return the key for a document.
keys(Set<String>) - Method in class com.allanbank.mongodb.builder.GroupBy.Builder
Sets the fields to group by
KillCursors - Class in com.allanbank.mongodb.connection.message
Message to killcursors that a client no longer needs.
KillCursors(BsonInputStream) - Constructor for class com.allanbank.mongodb.connection.message.KillCursors
Creates a new KillCursors.
KillCursors(long[], ReadPreference) - Constructor for class com.allanbank.mongodb.connection.message.KillCursors
Creates a new KillCursors.

L

language(String) - Method in class com.allanbank.mongodb.builder.Text.Builder
Sets the language to use when stemming the search terms to the new value.
last(String) - Method in class com.allanbank.mongodb.builder.AggregationGroupField.Builder
Constructs a new AggregationGroupField object that uses the $last operator to use the last value seen from the fieldRef.
LatencyServerSelector - Class in com.allanbank.mongodb.connection.state
LatencyServerSelector provides an implementation of the server selector that uses the server latencies to determine the server to select.
LatencyServerSelector(ClusterState, boolean) - Constructor for class com.allanbank.mongodb.connection.state.LatencyServerSelector
Creates a new LatencyServerSelector.
LEGACY_UUID_SUBTTYPE - Static variable in class com.allanbank.mongodb.bson.element.UuidElement
The legacy (reverse byte order for high and low long values) subtype for the UUID.
LESS_THAN - Static variable in class com.allanbank.mongodb.builder.expression.Expressions
The "$lt" operator token
LESS_THAN_OR_EQUAL - Static variable in class com.allanbank.mongodb.builder.expression.Expressions
The "$lte" operator token
lessThan(byte, byte[]) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is less than the specified value.
lessThan(byte[]) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is less than the specified value.
lessThan(double) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is less than the specified value.
lessThan(int) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is less than the specified value.
lessThan(long) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is less than the specified value.
lessThan(ObjectId) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is less than the specified value.
lessThan(String) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is less than the specified value.
lessThanMongoTimestamp(long) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is less than the specified value.
lessThanOrEqualTo(byte, byte[]) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is less than or equals the specified value.
lessThanOrEqualTo(byte[]) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is less than or equals the specified value.
lessThanOrEqualTo(double) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is less than or equals the specified value.
lessThanOrEqualTo(int) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is less than or equals the specified value.
lessThanOrEqualTo(long) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is less than or equals the specified value.
lessThanOrEqualTo(ObjectId) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is less than or equals the specified value.
lessThanOrEqualTo(String) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is less than or equals the specified value.
lessThanOrEqualToMongoTimestamp(long) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is less than or equals the specified value.
lessThanOrEqualToSymbol(String) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is less than or equals the specified value.
lessThanOrEqualToTimestamp(long) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is less than or equals the specified value.
lessThanSymbol(String) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is less than the specified value.
lessThanTimestamp(long) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is less than the specified value.
limit(int) - Method in class com.allanbank.mongodb.builder.Aggregate.Builder
Adds a $limit operation to the pipeline to stop producing documents passing this point in the pipeline once the limit of documents is reached.
limit(long) - Method in class com.allanbank.mongodb.builder.Aggregate.Builder
Adds a $limit operation to the pipeline to stop producing documents passing this point in the pipeline once the limit of documents is reached.
limit(long) - Method in class com.allanbank.mongodb.builder.AggregationGeoNear.Builder
Sets the maximum number of documents to return.
limit(int) - Method in class com.allanbank.mongodb.builder.Find.Builder
Sets the value of the total number of documents to be returned.
limit(int) - Method in class com.allanbank.mongodb.builder.MapReduce.Builder
Sets the limit for the number of objects to be used as input to the map/reduce.
limit(int) - Method in class com.allanbank.mongodb.builder.Text.Builder
Sets the maximum number of document to return to the new value.
LIMIT_FIELD - Static variable in interface com.allanbank.mongodb.MongoCursorControl
The remaining limit field in the cursor document.
lineRing(ArrayBuilder, List<? extends Point2D>) - Static method in class com.allanbank.mongodb.builder.GeoJson
Fills in the LineRing coordinates.
lineString(List<? extends Point2D>) - Static method in class com.allanbank.mongodb.builder.GeoJson
Constructs a GeoJSON 'LineString' document from the coordinates provided.
lineString(Point2D, Point2D, Point2D...) - Static method in class com.allanbank.mongodb.builder.GeoJson
Constructs a GeoJSON 'LineString' document from the coordinates provided.
listCollectionNames() - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
Returns the list of the collections contained within the database.
listCollectionNames() - Method in interface com.allanbank.mongodb.MongoDatabase
Returns the list of the collections contained within the database.
listCollections() - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
Returns the list of the collections contained within the database.
listCollections() - Method in interface com.allanbank.mongodb.MongoDatabase
Deprecated.
Use the MongoDatabase.listCollectionNames() method instead.
listDatabaseNames() - Method in class com.allanbank.mongodb.client.MongoClientImpl
Returns a list of database names.
listDatabaseNames() - Method in interface com.allanbank.mongodb.MongoClient
Returns a list of database names.
listDatabases() - Method in class com.allanbank.mongodb.client.MongoClientImpl
Returns a list of database names.
listDatabases() - Method in interface com.allanbank.mongodb.MongoClient
Deprecated.
Use the MongoClient.listDatabaseNames() method instead.
loadDocuments() - Method in class com.allanbank.mongodb.client.MongoIteratorImpl
Loads more documents into the iterator.
loadDocuments(boolean) - Method in class com.allanbank.mongodb.client.MongoIteratorImpl
Loads more documents into the iterator.
LOCAL_NAME - Static variable in interface com.allanbank.mongodb.MongoDatabase
The name of the local database.
LOCALE_DEPENDENT - Static variable in class com.allanbank.mongodb.bson.element.RegularExpressionElement
Option to make \w, \W, etc.
location(Point2D) - Method in class com.allanbank.mongodb.builder.AggregationGeoNear.Builder
Sets the location to find documents near.
locationField(String) - Method in class com.allanbank.mongodb.builder.AggregationGeoNear.Builder
Sets the name of the field to place the location information from the document.
LockType - Enum in com.allanbank.mongodb
LockType provides an enumeration for the types of locks used at the core of the driver to hand off messages between threads.
LOG - Static variable in class com.allanbank.mongodb.client.ClientImpl
The logger for the ClientImpl.
LOG - Static variable in class com.allanbank.mongodb.client.SerialClientImpl
The logger for the SerialClientImpl.
LOG - Static variable in class com.allanbank.mongodb.connection.auth.AuthenticatingConnection
The logger for the authenticator.
LOG - Static variable in class com.allanbank.mongodb.connection.bootstrap.BootstrapConnectionFactory
The logger for the BootstrapConnectionFactory.
LOG - Static variable in class com.allanbank.mongodb.connection.rs.ReplicaSetConnection
The logger for the ReplicaSetConnectionFactory.
LOG - Static variable in class com.allanbank.mongodb.connection.rs.ReplicaSetConnectionFactory
The logger for the ReplicaSetConnectionFactory.
LOG - Static variable in class com.allanbank.mongodb.connection.rs.ReplicaSetReconnectStrategy
The logger for the ReplicaSetReconnectStrategy.
LOG - Static variable in class com.allanbank.mongodb.connection.sharded.ShardedConnectionFactory
The logger for the ShardedConnectionFactory.
LOG - Static variable in class com.allanbank.mongodb.connection.socket.SocketConnection
The logger for the SocketConnection.
LOG - Static variable in class com.allanbank.mongodb.connection.state.ClusterPinger
The logger for the ClusterPinger.
LOG - Static variable in class com.allanbank.mongodb.connection.state.SimpleReconnectStrategy
The logger for the SimpleReconnectStrategy.
LogicalOperator - Enum in com.allanbank.mongodb.builder
LogicalOperator provides the set of logical operators.
LongElement - Class in com.allanbank.mongodb.bson.element
A wrapper for a BSON (signed 64-bit) integer or long.
LongElement(String, long) - Constructor for class com.allanbank.mongodb.bson.element.LongElement
Constructs a new LongElement.
LongToIntCallback - Class in com.allanbank.mongodb.client
LongToIntCallback provides a simple callback wrapper to convert the long value to an integer.
LongToIntCallback(Callback<Integer>) - Constructor for class com.allanbank.mongodb.client.LongToIntCallback
Creates a new LongToIntCallback.
lt(Expression, Expression) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a NaryExpression "$lt" expression.
lte(Expression, Expression) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a NaryExpression "$lte" expression.

M

MACHINE_ID - Static variable in class com.allanbank.mongodb.bson.element.ObjectId
The current process's machine id.
MAJORITY_MODE - Static variable in class com.allanbank.mongodb.Durability
Built in replication mode indicating that more than 50% of the MongoDB replica set servers have received a write.
map(String) - Method in class com.allanbank.mongodb.builder.MapReduce.Builder
Sets the map functions to apply to each selected document.
MapReduce - Class in com.allanbank.mongodb.builder
MapReduce(MapReduce.Builder) - Constructor for class com.allanbank.mongodb.builder.MapReduce
Create a new MapReduce.
mapReduce(MapReduce) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Invokes a mapReduce command on the server.
mapReduce(MapReduce.Builder) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Invokes a mapReduce command on the server.
mapReduce(MapReduce) - Method in interface com.allanbank.mongodb.MongoCollection
Invokes a mapReduce command on the server.
mapReduce(MapReduce.Builder) - Method in interface com.allanbank.mongodb.MongoCollection
Invokes a mapReduce command on the server.
MapReduce.Builder - Class in com.allanbank.mongodb.builder
Helper for creating immutable MapReduce commands.
MapReduce.Builder() - Constructor for class com.allanbank.mongodb.builder.MapReduce.Builder
Creates a new Builder.
MapReduce.OutputType - Enum in com.allanbank.mongodb.builder
Enumeration of the possible output types.
mapReduceAsync(Callback<List<Document>>, MapReduce) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Invokes a mapReduce command on the server.
mapReduceAsync(Callback<List<Document>>, MapReduce.Builder) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Invokes a mapReduce command on the server.
mapReduceAsync(MapReduce) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Invokes a mapReduce command on the server.
mapReduceAsync(MapReduce.Builder) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Invokes a mapReduce command on the server.
mapReduceAsync(Callback<List<Document>>, MapReduce) - Method in class com.allanbank.mongodb.client.MongoCollectionImpl
Invokes a mapReduce command on the server.
mapReduceAsync(Callback<List<Document>>, MapReduce) - Method in interface com.allanbank.mongodb.MongoCollection
Invokes a mapReduce command on the server.
mapReduceAsync(Callback<List<Document>>, MapReduce.Builder) - Method in interface com.allanbank.mongodb.MongoCollection
Invokes a mapReduce command on the server.
mapReduceAsync(MapReduce) - Method in interface com.allanbank.mongodb.MongoCollection
Invokes a mapReduce command on the server.
mapReduceAsync(MapReduce.Builder) - Method in interface com.allanbank.mongodb.MongoCollection
Invokes a mapReduce command on the server.
markNotWritable(ServerState) - Method in class com.allanbank.mongodb.connection.state.ClusterState
Marks the server as non-writable.
markReady(int) - Method in class com.allanbank.mongodb.connection.message.PendingMessageQueue
Marks the position as ready by incrementing the ready position to the provided position.
markReady2(int) - Method in class com.allanbank.mongodb.connection.message.PendingMessageQueue
Marks the position and the next position as ready by incrementing the ready position to the provided position + 1.
markWritable(ServerState) - Method in class com.allanbank.mongodb.connection.state.ClusterState
Marks the server as writable.
match(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.Aggregate.Builder
Adds a $match operation to the pipeline to filter documents passing this point in the pipeline.
matches(Pattern) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value matches the specified pattern.
matches(Document) - Method in class com.allanbank.mongodb.ReadPreference
Returns true if this ReadPreference matches the tags document.
max(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.Find.Builder
Sets the value of maximum range for the index used to the new value.
MAX_CONNECTION_SCAN - Static variable in class com.allanbank.mongodb.client.ClientImpl
The maximum number of connections to scan looking for idle/lightly used connections.
MAX_DOCUMENT_SIZE - Static variable in interface com.allanbank.mongodb.client.Client
The absolute maximum size for a BSON document supported by all versions of MongoDB servers: 16MiB (16777216 ).
MAX_MESSAGE_ID_MASK - Static variable in class com.allanbank.mongodb.connection.message.PendingMessageQueue
The mask for constraining the size the message id.
MAX_RECONNECT_PAUSE_TIME_MS - Static variable in class com.allanbank.mongodb.connection.rs.ReplicaSetReconnectStrategy
The Maximum amount of time to pause waiting for a server to take over as the primary.
MAX_SIZE - Static variable in class com.allanbank.mongodb.connection.message.PendingMessageQueue
The maximum size of the queue.
maxDistance(double) - Method in class com.allanbank.mongodb.builder.AggregationGeoNear.Builder
Sets the maximum distance to return documents from the specified location.
maximum(String) - Method in class com.allanbank.mongodb.builder.AggregationGroupField.Builder
Constructs a new AggregationGroupField object that uses the $max operator to use the maximum value seen from the fieldRef.
MaxKeyElement - Class in com.allanbank.mongodb.bson.element
A wrapper for a BSON maximum key element.
MaxKeyElement(String) - Constructor for class com.allanbank.mongodb.bson.element.MaxKeyElement
Constructs a new MaxKeyElement.
maxScan(long) - Method in class com.allanbank.mongodb.builder.Find.Builder
Sets the value of maximum number of documents that will be scanned for results to the new value.
Message - Interface in com.allanbank.mongodb.connection
Common interface for all MongoDB messages read from and sent to a MongoDB server.
MILLISECOND - Static variable in class com.allanbank.mongodb.builder.expression.Expressions
The "$millisecond" operator token
millisecond(Expression) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a UnaryExpression "$millisecond" expression.
min(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.Find.Builder
Sets the value of minimum range for the index used to the new value.
minimum(String) - Method in class com.allanbank.mongodb.builder.AggregationGroupField.Builder
Constructs a new AggregationGroupField object that uses the $min operator to use the minimum value seen from the fieldRef.
MinKeyElement - Class in com.allanbank.mongodb.bson.element
A wrapper for a BSON minimum key element.
MinKeyElement(String) - Constructor for class com.allanbank.mongodb.bson.element.MinKeyElement
Constructs a new MinKeyElement.
MINUTE - Static variable in class com.allanbank.mongodb.builder.expression.Expressions
The "$minute" operator token
minute(Expression) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a UnaryExpression "$minute" expression.
MiscellaneousOperator - Enum in com.allanbank.mongodb.builder
MiscellaneousOperator provides the set of miscellaneous operators.
mod(int, int) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the modulo of the documents value and divisor equals the remainder.
mod(long, long) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the modulo of the documents value and divisor equals the remainder.
mod(Expression, Expression) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a NaryExpression "$mod" expression.
MODULO - Static variable in class com.allanbank.mongodb.builder.expression.Expressions
The "$mod" operator token
Mongo - Interface in com.allanbank.mongodb
Deprecated.
Use the MongoClient interface instead. This interface will be removed on or after the 1.3.0 release.
MongoClient - Interface in com.allanbank.mongodb
Interface to bootstrap into interactions with MongoDB.
MongoClientClosedException - Exception in com.allanbank.mongodb.error
MongoClientClosedException is thrown when there is an attempt to send a message on a closed MongoClient.
MongoClientClosedException() - Constructor for exception com.allanbank.mongodb.error.MongoClientClosedException
Creates a new CannotConnectException.
MongoClientClosedException(Message) - Constructor for exception com.allanbank.mongodb.error.MongoClientClosedException
Creates a new CannotConnectException.
MongoClientClosedException(String) - Constructor for exception com.allanbank.mongodb.error.MongoClientClosedException
Creates a new CannotConnectException.
MongoClientClosedException(String, Throwable) - Constructor for exception com.allanbank.mongodb.error.MongoClientClosedException
Creates a new CannotConnectException.
MongoClientClosedException(Throwable) - Constructor for exception com.allanbank.mongodb.error.MongoClientClosedException
Creates a new CannotConnectException.
MongoClientConfiguration - Class in com.allanbank.mongodb
Contains the configuration for the connection(s) to the MongoDB servers.
MongoClientConfiguration() - Constructor for class com.allanbank.mongodb.MongoClientConfiguration
Creates a new MongoClientConfiguration.
MongoClientConfiguration(InetSocketAddress...) - Constructor for class com.allanbank.mongodb.MongoClientConfiguration
Creates a new MongoClientConfiguration.
MongoClientConfiguration(MongoClientConfiguration) - Constructor for class com.allanbank.mongodb.MongoClientConfiguration
Creates a new MongoClientConfiguration.
MongoClientConfiguration(MongoDbUri) - Constructor for class com.allanbank.mongodb.MongoClientConfiguration
Creates a new MongoClientConfiguration instance using a MongoDB style URL to initialize its state.
MongoClientConfiguration(String) - Constructor for class com.allanbank.mongodb.MongoClientConfiguration
Creates a new MongoClientConfiguration instance using a MongoDB style URL to initialize its state.
MongoClientConfiguration(MongoDbUri, Durability) - Constructor for class com.allanbank.mongodb.MongoClientConfiguration
Creates a new MongoClientConfiguration instance using a MongoDB style URL to initialize its state.
MongoClientImpl - Class in com.allanbank.mongodb.client
Implements the bootstrap point for interactions with MongoDB.
MongoClientImpl(Client) - Constructor for class com.allanbank.mongodb.client.MongoClientImpl
Create a new MongoClient.
MongoClientImpl(MongoClientConfiguration) - Constructor for class com.allanbank.mongodb.client.MongoClientImpl
Create a new MongoClient.
MongoCollection - Interface in com.allanbank.mongodb
Interface for interacting with a MongoDB collection.
MongoCollection.ValidateMode - Enum in com.allanbank.mongodb
ValidateMode provides an enumeration of the validation modes.
MongoCollectionImpl - Class in com.allanbank.mongodb.client
Implementation of the MongoCollection interface.
MongoCollectionImpl(Client, MongoDatabase, String) - Constructor for class com.allanbank.mongodb.client.MongoCollectionImpl
Create a new MongoDatabaseClient.
MongoCursorControl - Interface in com.allanbank.mongodb
MongoCursorControl provides the controls for a MongoDB cursor interaction.
MongoDatabase - Interface in com.allanbank.mongodb
Interface for interacting with a MongoDB database.
MongoDatabaseImpl - Class in com.allanbank.mongodb.client
Implementation of the MongoDatabase interface.
MongoDatabaseImpl(Client, String) - Constructor for class com.allanbank.mongodb.client.MongoDatabaseImpl
Create a new MongoDatabaseClient.
MONGODB_CR - Static variable in class com.allanbank.mongodb.Credential
Constant for traditional MongoDB Chllenge/Response.
MONGODB_URI_PREFIX - Static variable in class com.allanbank.mongodb.MongoDbUri
The prefix for a MongoDB URI.
MongoDbAuthenticationException - Exception in com.allanbank.mongodb.error
MongoDbAuthenticationException is thrown to report a failure to authenticate with a MongoDB database.
MongoDbAuthenticationException() - Constructor for exception com.allanbank.mongodb.error.MongoDbAuthenticationException
Creates a new MongoDbAuthenticationException.
MongoDbAuthenticationException(String) - Constructor for exception com.allanbank.mongodb.error.MongoDbAuthenticationException
Creates a new MongoDbAuthenticationException.
MongoDbAuthenticationException(String, Throwable) - Constructor for exception com.allanbank.mongodb.error.MongoDbAuthenticationException
Creates a new MongoDbAuthenticationException.
MongoDbAuthenticationException(Throwable) - Constructor for exception com.allanbank.mongodb.error.MongoDbAuthenticationException
Creates a new MongoDbAuthenticationException.
MongoDbAuthenticator - Class in com.allanbank.mongodb.connection.auth
MongoDbAuthenticator provides an authenticator for the legacy, pre-2.4 version, of MongoDB authentication.
MongoDbAuthenticator() - Constructor for class com.allanbank.mongodb.connection.auth.MongoDbAuthenticator
Creates a new MongoDbAuthenticator.
MongoDbConfiguration - Class in com.allanbank.mongodb
Deprecated.
Please us the MongoClientConfiguration instead. This class will be removed on or after the 1.3.0 release.
MongoDbConfiguration() - Constructor for class com.allanbank.mongodb.MongoDbConfiguration
Deprecated.
Creates a new MongoDbConfiguration.
MongoDbConfiguration(InetSocketAddress...) - Constructor for class com.allanbank.mongodb.MongoDbConfiguration
Deprecated.
Creates a new MongoDbConfiguration.
MongoDbConfiguration(MongoDbConfiguration) - Constructor for class com.allanbank.mongodb.MongoDbConfiguration
Deprecated.
Creates a new MongoDbConfiguration.
MongoDbConfiguration(MongoDbUri) - Constructor for class com.allanbank.mongodb.MongoDbConfiguration
Deprecated.
Creates a new MongoDbConfiguration instance using a MongoDB style URL to initialize its state.
MongoDbConfiguration(String) - Constructor for class com.allanbank.mongodb.MongoDbConfiguration
Deprecated.
Creates a new MongoDbConfiguration instance using a MongoDB style URL to initialize its state.
mongodbCR() - Method in class com.allanbank.mongodb.Credential.Builder
Sets the value of the authentication type or mode that the credential should be used with to MongoDB Challenge/Response.
MongoDbException - Exception in com.allanbank.mongodb
Exception base class for all MongoDB exceptions.
MongoDbException() - Constructor for exception com.allanbank.mongodb.MongoDbException
Creates a new MongoDbException.
MongoDbException(String) - Constructor for exception com.allanbank.mongodb.MongoDbException
Creates a new MongoDbException.
MongoDbException(String, Throwable) - Constructor for exception com.allanbank.mongodb.MongoDbException
Creates a new MongoDbException.
MongoDbException(Throwable) - Constructor for exception com.allanbank.mongodb.MongoDbException
Creates a new MongoDbException.
MongoDbUri - Class in com.allanbank.mongodb
MongoDbUri provides the ability to parse a MongoDB URI into fields.
MongoDbUri(String) - Constructor for class com.allanbank.mongodb.MongoDbUri
Creates a new MongoDbUri.
MongoFactory - Class in com.allanbank.mongodb
MongoFactory provides the bootstrap point for creating a connection represented via a Mongo instance) to a MongoDB cluster.
MongoImpl - Class in com.allanbank.mongodb.client
Deprecated.
Use the MongoClient interface instead. This interface will be removed on or after the 1.3.0 release.
MongoImpl(Client) - Constructor for class com.allanbank.mongodb.client.MongoImpl
Deprecated.
Create a new MongoClient.
MongoImpl(MongoDbConfiguration) - Constructor for class com.allanbank.mongodb.client.MongoImpl
Deprecated.
Create a new MongoClient.
MongoIterator<T> - Interface in com.allanbank.mongodb
MongoIterator provides an interface for an iterator that can be closed.
MongoIteratorImpl - Class in com.allanbank.mongodb.client
Iterator over the results of the MongoDB cursor.
MongoIteratorImpl(Document, Client) - Constructor for class com.allanbank.mongodb.client.MongoIteratorImpl
Create a new MongoIteratorImpl from a cursor document.
MongoIteratorImpl(Query, Client, String, Reply) - Constructor for class com.allanbank.mongodb.client.MongoIteratorImpl
Create a new MongoDBInterator.
MongoTimestampElement - Class in com.allanbank.mongodb.bson.element
A wrapper for a BSON (signed 64-bit) Mongo timestamp as 4 byte increment and 4 byte timestamp.
MongoTimestampElement(String, long) - Constructor for class com.allanbank.mongodb.bson.element.MongoTimestampElement
Constructs a new MongoTimestampElement.
MONTH - Static variable in class com.allanbank.mongodb.builder.expression.Expressions
The "$month" operator token
month(Expression) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a UnaryExpression "$month" expression.
MULTILINE - Static variable in class com.allanbank.mongodb.bson.element.RegularExpressionElement
Option for multiline matching.
multiLineString(List<? extends Point2D>, List<? extends Point2D>...) - Static method in class com.allanbank.mongodb.builder.GeoJson
Constructs a GeoJSON 'MultiLineString' document from the coordinates provided.
MULTIPLY - Static variable in class com.allanbank.mongodb.builder.expression.Expressions
The "$multiply" operator token
multiply(Expression, Expression) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a NaryExpression "$multiply" expression.
multiPoint(List<? extends Point2D>) - Static method in class com.allanbank.mongodb.builder.GeoJson
Constructs a GeoJSON 'MultiPoint' document from the positions provided.
multiPoint(Point2D, Point2D...) - Static method in class com.allanbank.mongodb.builder.GeoJson
Constructs a GeoJSON 'MultiPoint' document from the positions provided.
MULTIUPDATE_FLAG_BIT - Static variable in class com.allanbank.mongodb.connection.message.Update
Flag bit for a multi-update.
myAuthenticationType - Variable in class com.allanbank.mongodb.Credential.Builder
The authentication type or mode that the credential should be used with.
myAuthenticator - Variable in class com.allanbank.mongodb.Credential.Builder
The template authenticator for the credential.
myAwaitData - Variable in class com.allanbank.mongodb.builder.Find.Builder
If set to true requests for data will block, waiting for data.
myBatchSize - Variable in class com.allanbank.mongodb.builder.Find.Builder
The number of documents to be returned in each batch of results.
myClient - Variable in class com.allanbank.mongodb.client.AbstractMongoCollection
The client for interacting with MongoDB.
myClient - Variable in class com.allanbank.mongodb.client.MongoDatabaseImpl
The client for interacting with MongoDB.
myCollectionName - Variable in class com.allanbank.mongodb.connection.message.AbstractMessage
The name of the collection to operate on.
myConfig - Variable in class com.allanbank.mongodb.connection.proxy.AbstractProxyConnection
The MongoDB client configuration.
myConfig - Variable in class com.allanbank.mongodb.connection.state.AbstractReconnectStrategy
The configuration for connections to the servers.
myConnectionFactory - Variable in class com.allanbank.mongodb.connection.rs.ReplicaSetConnectionFactory
The factory to create proxied connections.
myConnectionFactory - Variable in class com.allanbank.mongodb.connection.sharded.ShardedConnectionFactory
The factory to create proxied connections.
myConnectionFactory - Variable in class com.allanbank.mongodb.connection.state.AbstractReconnectStrategy
The connection factory for new connections.
myDatabase - Variable in class com.allanbank.mongodb.client.AbstractMongoCollection
The name of the database we interact with.
myDatabase - Variable in class com.allanbank.mongodb.Credential.Builder
The database the credential are valid for.
myDatabaseName - Variable in class com.allanbank.mongodb.connection.message.AbstractMessage
The name of the database to operate on.
myDistanceField - Variable in class com.allanbank.mongodb.builder.AggregationGeoNear.Builder
The name of the field to place the distance from the source location.
myDistanceMultiplier - Variable in class com.allanbank.mongodb.builder.AggregationGeoNear.Builder
The distance multiplier to use in the $geoNear, if set.
myElements - Variable in class com.allanbank.mongodb.bson.builder.impl.AbstractBuilder
The list of elements in the builder.
myError - Variable in class com.allanbank.mongodb.bson.io.BsonOutputStream
Any thrown exceptions.
myExecutor - Variable in class com.allanbank.mongodb.connection.socket.SocketConnection
The executor for the responses.
myExpression - Variable in class com.allanbank.mongodb.builder.expression.UnaryExpression
The sub expression.
myExpressions - Variable in class com.allanbank.mongodb.builder.expression.NaryExpression
The expression expressed as an ArrayElement.
myFields - Variable in class com.allanbank.mongodb.builder.FindAndModify.Builder
Retrieve a subset of fields from the matched document.
myFile - Variable in class com.allanbank.mongodb.Credential.Builder
The file containing the full credentials.
myFinalizeFunction - Variable in class com.allanbank.mongodb.builder.GroupBy.Builder
The finalizer function to run for each group.
myFinalizeFunction - Variable in class com.allanbank.mongodb.builder.MapReduce.Builder
The finalize function to apply to the final results of the reduce function.
myHint - Variable in class com.allanbank.mongodb.builder.Find.Builder
The hint for which index to use.
myHintName - Variable in class com.allanbank.mongodb.builder.Find.Builder
The hint for which index to use.
myImmortalCursor - Variable in class com.allanbank.mongodb.builder.Find.Builder
If set to true the cursor returned from the query will not timeout or die automatically, e.g., immortal.
myInitialValue - Variable in class com.allanbank.mongodb.builder.GroupBy.Builder
The initial value for the group.
myJsMode - Variable in class com.allanbank.mongodb.builder.MapReduce.Builder
If true limits the translation of the documents to an from BSON/JavaScript.
myKeepTemp - Variable in class com.allanbank.mongodb.builder.MapReduce.Builder
If true then the temporary collections created during the map/reduce should not be dropped.
myKey - Variable in class com.allanbank.mongodb.builder.Distinct.Builder
The name of the key to collect distinct values for.
myKeyFunction - Variable in class com.allanbank.mongodb.builder.GroupBy.Builder
Function to return the key for a document.
myKeys - Variable in class com.allanbank.mongodb.builder.GroupBy.Builder
The fields to group by.
myLanguage - Variable in class com.allanbank.mongodb.builder.Text.Builder
The language to use when stemming the search terms.
myLimit - Variable in class com.allanbank.mongodb.builder.AggregationGeoNear.Builder
The maximum number of documents to return, if set.
myLimit - Variable in class com.allanbank.mongodb.builder.Find.Builder
The total number of documents to be returned.
myLimit - Variable in class com.allanbank.mongodb.builder.MapReduce.Builder
Limits the number of objects to be used as input to the map/reduce.
myLimit - Variable in class com.allanbank.mongodb.builder.Text.Builder
Maximum number of document to return.
myLocation - Variable in class com.allanbank.mongodb.builder.AggregationGeoNear.Builder
The location to find documents near.
myLocationField - Variable in class com.allanbank.mongodb.builder.AggregationGeoNear.Builder
The name of the field to place the location information from the document, if set.
myMapFunction - Variable in class com.allanbank.mongodb.builder.MapReduce.Builder
The map functions to apply to each selected document.
myMaxDistance - Variable in class com.allanbank.mongodb.builder.AggregationGeoNear.Builder
The maximum distance to return documents from the specified location, if set.
myMaximumDocumentsToScan - Variable in class com.allanbank.mongodb.builder.Find.Builder
If set then controls the maximum number of documents that will be scanned for results.
myMaximumRange - Variable in class com.allanbank.mongodb.builder.Find.Builder
If set then controls the maximum value for the range within the used index.
myMinimumRange - Variable in class com.allanbank.mongodb.builder.Find.Builder
If set then controls the minimum value for the range within the used index.
myName - Variable in class com.allanbank.mongodb.client.AbstractMongoCollection
The name of the collection we interact with.
myNumberToSkip - Variable in class com.allanbank.mongodb.builder.Find.Builder
The number of documents to skip before returning the first document.
myOpen - Variable in class com.allanbank.mongodb.connection.socket.SocketConnection
Holds if the connection is open.
myOperator - Variable in class com.allanbank.mongodb.builder.expression.UnaryExpression
The operator.
myOutput - Variable in class com.allanbank.mongodb.bson.io.BsonOutputStream
Output buffer for spooling the written document.
myOutputDatabase - Variable in class com.allanbank.mongodb.builder.MapReduce.Builder
The name of the output database if the output type is One of MapReduce.OutputType.REPLACE, MapReduce.OutputType.MERGE, or MapReduce.OutputType.REDUCE.
myOutputName - Variable in class com.allanbank.mongodb.builder.MapReduce.Builder
The name of the output collection if the output type is One of MapReduce.OutputType.REPLACE, MapReduce.OutputType.MERGE, or MapReduce.OutputType.REDUCE.
myOutputType - Variable in class com.allanbank.mongodb.builder.MapReduce.Builder
The handling for the output of the map/reduce.
myPartialOk - Variable in class com.allanbank.mongodb.builder.Find.Builder
If true then an error in the query should return any partial results.
myPassword - Variable in class com.allanbank.mongodb.Credential.Builder
The password for the credential set.
myPendingQueue - Variable in class com.allanbank.mongodb.connection.socket.SocketConnection
The queue of messages sent but waiting for a reply.
myPipeline - Variable in class com.allanbank.mongodb.builder.Aggregate.Builder
The pipeline of operations to be applied.
myQuery - Variable in class com.allanbank.mongodb.builder.AggregationGeoNear.Builder
The optional query for further refining the documents to add to the pipeline.
myQuery - Variable in class com.allanbank.mongodb.builder.Distinct.Builder
The query to select document to perform a distinct query across.
myQuery - Variable in class com.allanbank.mongodb.builder.Find.Builder
The query document.
myQuery - Variable in class com.allanbank.mongodb.builder.FindAndModify.Builder
A query to locate the document to update.
myQuery - Variable in class com.allanbank.mongodb.builder.GroupBy.Builder
The query to select the documents to run the group against.
myQuery - Variable in class com.allanbank.mongodb.builder.MapReduce.Builder
The query to select the document to run the map/reduce against.
myQuery - Variable in class com.allanbank.mongodb.builder.Text.Builder
A standard MongoDB query document to limit the final results.
myReadPreference - Variable in class com.allanbank.mongodb.builder.Aggregate.Builder
The read preference to use.
myReadPreference - Variable in class com.allanbank.mongodb.builder.Distinct.Builder
The read preference to use.
myReadPreference - Variable in class com.allanbank.mongodb.builder.Find.Builder
The preference for which servers to use to retrieve the results.
myReadPreference - Variable in class com.allanbank.mongodb.builder.GroupBy.Builder
The read preference to use.
myReadPreference - Variable in class com.allanbank.mongodb.builder.MapReduce.Builder
The read preference to use.
myReadPreference - Variable in class com.allanbank.mongodb.builder.Text.Builder
The read preference to use.
myReduceFunction - Variable in class com.allanbank.mongodb.builder.GroupBy.Builder
The reduce function taking the previous value and the current value and returning the new reduced value.
myReduceFunction - Variable in class com.allanbank.mongodb.builder.MapReduce.Builder
The reduce function to apply to the emitted output of the map function.
myRemove - Variable in class com.allanbank.mongodb.builder.FindAndModify.Builder
Set to a true to remove the object before returning
myResults - Variable in class com.allanbank.mongodb.connection.auth.MongoDbAuthenticator
The result of the Authentication attempt.
myReturnFields - Variable in class com.allanbank.mongodb.builder.Find.Builder
The fields to be returned from the matching documents.
myReturnFields - Variable in class com.allanbank.mongodb.builder.Text.Builder
The fields to return from the query.
myReturnIndexKeysOnly - Variable in class com.allanbank.mongodb.builder.Find.Builder
If set to true then only the index keys will be returned.
myReturnNew - Variable in class com.allanbank.mongodb.builder.FindAndModify.Builder
Set to true if you want to return the modified object rather than the original.
myScope - Variable in class com.allanbank.mongodb.builder.MapReduce.Builder
The scoped values to expose to the map/reduce/finalize functions.
mySearchTerm - Variable in class com.allanbank.mongodb.builder.Text.Builder
The search terms.
mySelector - Variable in class com.allanbank.mongodb.connection.state.AbstractReconnectStrategy
The selector for which server to connect to.
myServers - Variable in class com.allanbank.mongodb.connection.state.ClusterState
The complete list of servers.
myShowDiskLocation - Variable in class com.allanbank.mongodb.builder.Find.Builder
If set to true then a "$diskLoc" entry will be added to every returned document with the disk location information.
myShutdown - Variable in class com.allanbank.mongodb.connection.socket.SocketConnection
Set to true when the connection should be gracefully closed.
mySnapshot - Variable in class com.allanbank.mongodb.builder.Find.Builder
If set to true then use snapshot mode to ensure document are only returned once.
mySort - Variable in class com.allanbank.mongodb.builder.Find.Builder
The fields to order the document on.
mySort - Variable in class com.allanbank.mongodb.builder.FindAndModify.Builder
If multiple docs match, choose the first one in the specified sort order as the object to manipulate.
mySort - Variable in class com.allanbank.mongodb.builder.MapReduce.Builder
The sort to apply to the input objects.
mySpherical - Variable in class com.allanbank.mongodb.builder.AggregationGeoNear.Builder
If true the $geoNear should compute distances using spherical coordinates instead of planar coordinates.
myState - Variable in class com.allanbank.mongodb.connection.state.AbstractReconnectStrategy
The state of the cluster.
myTailable - Variable in class com.allanbank.mongodb.builder.Find.Builder
If set to true the cursor returned from the query will be tailable.
myToSendQueue - Variable in class com.allanbank.mongodb.connection.socket.SocketConnection
The queue of messages to be sent.
myUniqueDocs - Variable in class com.allanbank.mongodb.builder.AggregationGeoNear.Builder
If true the $geoNear should only return documents once.
myUpdate - Variable in class com.allanbank.mongodb.builder.FindAndModify.Builder
Updates to be applied to the document.
myUpsert - Variable in class com.allanbank.mongodb.builder.FindAndModify.Builder
Create object if it doesn't exist.
myUserName - Variable in class com.allanbank.mongodb.Credential.Builder
The user name for the credential set.
myVerbose - Variable in class com.allanbank.mongodb.builder.MapReduce.Builder
If true emits progress messages in the server logs.
myWriteVisitor - Variable in class com.allanbank.mongodb.bson.io.BsonOutputStream
The visitor for writing BSON documents.

N

NAME_SPACE_FIELD - Static variable in interface com.allanbank.mongodb.MongoCursorControl
The name space field in the cursor document.
nameFor(int) - Static method in class com.allanbank.mongodb.bson.element.ArrayElement
Similar to the caching of Integer object values for a range we cache the index names for an array's first 256 positions.
NaryExpression - Class in com.allanbank.mongodb.builder.expression
NaryExpression provides an implementation of an Expression with 2-N operands.
NaryExpression(String, Expression...) - Constructor for class com.allanbank.mongodb.builder.expression.NaryExpression
Creates a new NaryExpression.
natural() - Static method in class com.allanbank.mongodb.builder.Sort
Creates an natural ascending order sort specification, e.g., { "$natural" : 1 }.
natural(int) - Static method in class com.allanbank.mongodb.builder.Sort
Creates an natural order sort specification with the specified Sort.ASCENDING or Sort.DESCENDING order, e.g., { "$natural" : <direction> }.
ne(Expression, Expression) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a NaryExpression "$ne" expression.
near(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Geospatial query for documents whose field is near the specified GeoJSON specified geometry.
near(DocumentAssignable, double) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Geospatial query for documents whose field is near the specified GeoJSON specified geometry.
near(double, double) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Geospatial query for documents whose field is near the specified [ x, y] coordinates.
near(double, double, double) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Geospatial query for documents whose field is near the specified [ x, y] coordinates.
near(int, int) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Geospatial query for documents whose field is near the specified [ x, y] coordinates.
near(int, int, int) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Geospatial query for documents whose field is near the specified [ x, y] coordinates.
near(long, long) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Geospatial query for documents whose field is near the specified [ x, y] coordinates.
near(long, long, long) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Geospatial query for documents whose field is near the specified [ x, y] coordinates.
nearSphere(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Geospatial query for documents whose field is near the specified GeoJSON specified geometry on a sphere.
nearSphere(DocumentAssignable, double) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Geospatial query for documents whose field is near the specified GeoJSON specified geometry on a sphere.
nearSphere(double, double) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Geospatial query for documents whose field is near the specified [ x, y] coordinates on a sphere.
nearSphere(double, double, double) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Geospatial query for documents whose field is near the specified [ x, y] coordinates on a sphere.
nearSphere(int, int) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Geospatial query for documents whose field is near the specified [ x, y] coordinates on a sphere.
nearSphere(int, int, int) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Geospatial query for documents whose field is near the specified [ x, y] coordinates on a sphere.
nearSphere(long, long) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Geospatial query for documents whose field is near the specified [ x, y] coordinates on a sphere.
nearSphere(long, long, long) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Geospatial query for documents whose field is near the specified [ x, y] coordinates on a sphere.
next() - Method in class com.allanbank.mongodb.client.MongoIteratorImpl
nextBatchSize() - Method in class com.allanbank.mongodb.client.MongoIteratorImpl
Computes the size for the next batch of documents to get.
nextBuffer() - Method in class com.allanbank.mongodb.bson.io.RandomAccessOutputStream
Allocates a new buffer to use.
NL - Static variable in class com.allanbank.mongodb.bson.element.JsonSerializationVisitor
The platforms new line string.
nl() - Method in class com.allanbank.mongodb.bson.element.JsonSerializationVisitor
Writes a new line if JsonSerializationVisitor.myOneLine is false and indents to the JsonSerializationVisitor.myIndentLevel.
NO_CURSOR_TIMEOUT_FLAG_BIT - Static variable in class com.allanbank.mongodb.connection.message.Query
Flag bit for the no cursor timeout.
NO_PASSWORD - Static variable in class com.allanbank.mongodb.Credential
An empty password array.
NO_REPLY - Static variable in class com.allanbank.mongodb.connection.socket.SocketConnection
Exception that there was no reply for a message from MongoDB.
NONE - Static variable in class com.allanbank.mongodb.Durability
The durability that says no durability is required.
nor(DocumentAssignable...) - Static method in class com.allanbank.mongodb.builder.QueryBuilder
Creates a single document that is the disjunction of the criteria provided.
normalize(InetSocketAddress) - Static method in class com.allanbank.mongodb.util.ServerNameUtils
Creates a normalized form of the InetSocketAddress in the form '[server]:[port]'.
normalize(String) - Static method in class com.allanbank.mongodb.util.ServerNameUtils
Normalizes the name into a '[server]:[port]' string.
NOT - Static variable in class com.allanbank.mongodb.builder.expression.Expressions
The "$not" operator token
not(Expression) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a UnaryExpression "$not" expression.
not(DocumentAssignable...) - Static method in class com.allanbank.mongodb.builder.QueryBuilder
Negate a set of criteria.
NOT_EQUAL - Static variable in class com.allanbank.mongodb.builder.expression.Expressions
The "$ne" operator token
notEqualTo(boolean) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is not equal to the specified value.
notEqualTo(byte, byte[]) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is not equal to the specified value.
notEqualTo(byte[]) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is not equal to the specified value.
notEqualTo(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is not equal to the specified value.
notEqualTo(double) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is not equal to the specified value.
notEqualTo(int) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is not equal to the specified value.
notEqualTo(long) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is not equal to the specified value.
notEqualTo(ObjectId) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is not equal to the specified value.
notEqualTo(Pattern) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is not equal to the specified value.
notEqualTo(String) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is not equal to the specified value.
notEqualTo(UUID) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is not equal to the specified uuid using the standard UUID byte ordering.
notEqualToJavaScript(String) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is not equal to the specified value.
notEqualToJavaScript(String, DocumentAssignable) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is not equal to the specified value.
notEqualToLegacy(UUID) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is not equal to the specified uuid using the legacy Java UUID byte ordering.
notEqualToMaxKey() - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is not equal to the specified value.
notEqualToMinKey() - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is not equal to the specified value.
notEqualToMongoTimestamp(long) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is not equal to the specified value.
notEqualToNull() - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is not equal to the specified value.
notEqualToSymbol(String) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is not equal to the specified value.
notEqualToTimestamp(long) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is not equal to the specified value.
notifyWaiters(boolean) - Method in class com.allanbank.mongodb.connection.message.PendingMessageQueue
Notifies the waiting threads that the state of the queue has changed.
notIn(ArrayBuilder) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Specify the values that must not must not match the fields value.
notIn(Constant...) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Specify the values that must not must not match the fields value.
notIn(Element...) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Specify the values that must not must not match the fields value.
nullConstant() - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a null Constant expression.
NullElement - Class in com.allanbank.mongodb.bson.element
A wrapper for a BSON null.
NullElement(String) - Constructor for class com.allanbank.mongodb.bson.element.NullElement
Constructs a new NullElement.
nullSafeEquals(Object, Object) - Method in class com.allanbank.mongodb.bson.DocumentReference
Does a null safe equals comparison.
nullSafeEquals(Object, Object) - Method in class com.allanbank.mongodb.bson.element.AbstractElement
Does a null safe equals comparison.
nullSafeEquals(Object, Object) - Method in class com.allanbank.mongodb.Durability
Does a null safe equals comparison.
nullSafeEquals(Object, Object) - Method in class com.allanbank.mongodb.ReadPreference
Does a null safe equals comparison.
NUMERIC_TYPE - Static variable in class com.allanbank.mongodb.connection.state.SecondsBehindCallback
The numeric element type.
NumericElement - Interface in com.allanbank.mongodb.bson
NumericElement provides a common interface for all numeric Elements.

O

ObjectId - Class in com.allanbank.mongodb.bson.element
An Object Id.
ObjectId() - Constructor for class com.allanbank.mongodb.bson.element.ObjectId
Constructs a new ObjectId.
ObjectId(int, long) - Constructor for class com.allanbank.mongodb.bson.element.ObjectId
Constructs a new ObjectId.
ObjectId(String) - Constructor for class com.allanbank.mongodb.bson.element.ObjectId
Constructs a new ObjectId.
ObjectIdElement - Class in com.allanbank.mongodb.bson.element
A wrapper for a BSON Object Id.
ObjectIdElement(String, ObjectId) - Constructor for class com.allanbank.mongodb.bson.element.ObjectIdElement
Constructs a new ObjectIdElement.
OFF - Static variable in class com.allanbank.mongodb.ProfilingStatus
The off profiling state.
offer(PendingMessage) - Method in class com.allanbank.mongodb.connection.message.PendingMessageQueue
Puts a message onto the queue.
offer() - Method in class com.allanbank.mongodb.connection.message.PendingMessageQueue
Checks if there is remove for another message.
offer2() - Method in class com.allanbank.mongodb.connection.message.PendingMessageQueue
Checks if there is remove for another two message.
ON - Static variable in class com.allanbank.mongodb.ProfilingStatus
The all profiling state.
onExceptin(MongoDbException) - Method in class com.allanbank.mongodb.connection.proxy.AbstractProxyConnection
Provides the ability for derived classes to intercept any exceptions from the underlying proxied connection.
OPEN_PROP_NAME - Static variable in interface com.allanbank.mongodb.connection.Connection
The property for if the connection is open or not.
Operation - Enum in com.allanbank.mongodb.connection
Enumeration of the possible operations allowed in MongoDB messages.
Operator - Interface in com.allanbank.mongodb.builder
Operator provides an enumeration of all possible operators.
OPLOG_REPLAY_FLAG_BIT - Static variable in class com.allanbank.mongodb.connection.message.Query
Flag bit for the OPLOG_REPLAY.
OPTION_I - Static variable in class com.allanbank.mongodb.bson.element.RegularExpressionElement
Option for case insensitive matching.
OPTION_L - Static variable in class com.allanbank.mongodb.bson.element.RegularExpressionElement
Option to make \w, \W, etc.
OPTION_M - Static variable in class com.allanbank.mongodb.bson.element.RegularExpressionElement
Option for multiline matching.
OPTION_MASK - Static variable in class com.allanbank.mongodb.bson.element.RegularExpressionElement
Option for verbose mode.
OPTION_S - Static variable in class com.allanbank.mongodb.bson.element.RegularExpressionElement
Option for dotall mode ('.' matches everything).
OPTION_U - Static variable in class com.allanbank.mongodb.bson.element.RegularExpressionElement
Option to make \w, \W, etc.
OPTION_X - Static variable in class com.allanbank.mongodb.bson.element.RegularExpressionElement
Option for verbose mode.
optionsAsInt(Pattern) - Static method in class com.allanbank.mongodb.bson.element.RegularExpressionElement
Converts the pattern flags into a options value.
optionsAsInt(String) - Static method in class com.allanbank.mongodb.bson.element.RegularExpressionElement
Converts the options string into a options value.
OR - Static variable in class com.allanbank.mongodb.builder.expression.Expressions
The "$or" operator token
or(Expression...) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns an NaryExpression "$or" expression.
or(DocumentAssignable...) - Static method in class com.allanbank.mongodb.builder.QueryBuilder
Creates a single document that is the disjunction of the criteria provided.
outputDatabase(String) - Method in class com.allanbank.mongodb.builder.MapReduce.Builder
Sets the name of the output database if the output type is One of MapReduce.OutputType.REPLACE, MapReduce.OutputType.MERGE, or MapReduce.OutputType.REDUCE.
outputName(String) - Method in class com.allanbank.mongodb.builder.MapReduce.Builder
Sets the name of the output collection if the output type is One of MapReduce.OutputType.REPLACE, MapReduce.OutputType.MERGE, or MapReduce.OutputType.REDUCE.
outputType(MapReduce.OutputType) - Method in class com.allanbank.mongodb.builder.MapReduce.Builder
Sets the handling for the output of the map/reduce.

P

p(double, double) - Static method in class com.allanbank.mongodb.builder.GeoJson
Helper method to construct a Point2D from the (x, y) coordinates.
p(int, int) - Static method in class com.allanbank.mongodb.builder.GeoJson
Helper method to construct a Point from the (x, y) coordinates.
parse(Reader) - Static method in class com.allanbank.mongodb.bson.json.Json
Parses the document from the reader into a BSON Document.
parse(String) - Static method in class com.allanbank.mongodb.bson.json.Json
Parses the document from the reader into a BSON Document.
parse(String) - Static method in class com.allanbank.mongodb.util.ServerNameUtils
Parse the name into a InetSocketAddress.
ParseException - Exception in com.allanbank.mongodb.bson.json
This exception is thrown when parse errors are encountered.
ParseException(Token, int[][], String[]) - Constructor for exception com.allanbank.mongodb.bson.json.ParseException
This constructor is used by the method "generateParseException" in the generated parser.
ParseException() - Constructor for exception com.allanbank.mongodb.bson.json.ParseException
The following constructors are for use by you for whatever purpose you can think of.
ParseException(String) - Constructor for exception com.allanbank.mongodb.bson.json.ParseException
Constructor with message.
PARTIAL_FLAG_BIT - Static variable in class com.allanbank.mongodb.connection.message.Query
Flag bit for the partial results.
partialOk() - Method in class com.allanbank.mongodb.builder.Find.Builder
Sets that if there is an error then the query should return any partial results.
partialOk(boolean) - Method in class com.allanbank.mongodb.builder.Find.Builder
Sets the value of partial okay to the new value.
password(char[]) - Method in class com.allanbank.mongodb.Credential.Builder
Sets the value of the password for the credential set.
passwordHash(Credential) - Method in class com.allanbank.mongodb.connection.auth.MongoDbAuthenticator
Creates the MongoDB authentication hash of the password.
passwordHash(MessageDigest, Credential) - Method in class com.allanbank.mongodb.connection.auth.MongoDbAuthenticator
Creates the MongoDB authentication hash of the password.
PATTERN_UNICODE - Static variable in class com.allanbank.mongodb.bson.element.RegularExpressionElement
Option to make \w, \W, etc.
PatternUtils - Class in com.allanbank.mongodb.util
PatternUtils provides utilities for handling patterns.
PendingMessage - Class in com.allanbank.mongodb.connection.message
Container for a pending message.
PendingMessage() - Constructor for class com.allanbank.mongodb.connection.message.PendingMessage
Create a new PendingMessage.
PendingMessage(int, Message) - Constructor for class com.allanbank.mongodb.connection.message.PendingMessage
Create a new PendingMessage.
PendingMessage(int, Message, Callback<Reply>) - Constructor for class com.allanbank.mongodb.connection.message.PendingMessage
Create a new PendingMessage.
PendingMessageQueue - Class in com.allanbank.mongodb.connection.message
PendingMessageQueue provides an optimized queue for pending messages inspired by the Disruptor project.
PendingMessageQueue(int, LockType) - Constructor for class com.allanbank.mongodb.connection.message.PendingMessageQueue
Creates a new PendingMessageQueue.
pickServers() - Method in class com.allanbank.mongodb.connection.state.LatencyServerSelector
Picks a server to try and connect to.
pickServers() - Method in interface com.allanbank.mongodb.connection.state.ServerSelector
Picks a server to try and connect to.
ping(InetSocketAddress, Connection) - Static method in class com.allanbank.mongodb.connection.state.ClusterPinger
Pings the server and suppresses all exceptions.
ping(InetSocketAddress, Connection, ServerState) - Method in class com.allanbank.mongodb.connection.state.ClusterPinger.Pinger
Pings the server and suppresses all exceptions.
pingAsync(ClusterType, InetSocketAddress, Connection, ServerState) - Method in class com.allanbank.mongodb.connection.state.ClusterPinger.Pinger
Pings the server and suppresses all exceptions.
point(Point2D) - Static method in class com.allanbank.mongodb.builder.GeoJson
Constructs a GeoJSON 'Point' document from the coordinates provided.
poll(PendingMessage) - Method in class com.allanbank.mongodb.connection.message.PendingMessageQueue
Returns the next message from the queue without blocking.
polygon(List<? extends Point2D>) - Static method in class com.allanbank.mongodb.builder.GeoJson
Constructs a GeoJSON 'Polygon' document from the coordinates provided.
polygon(List<? extends Point2D>, List<? extends Point2D>...) - Static method in class com.allanbank.mongodb.builder.GeoJson
Constructs a GeoJSON 'Polygon' document from the coordinates provided.
POLYGON - Static variable in enum com.allanbank.mongodb.builder.GeospatialOperator
The name for the polygon region with a GeospatialOperator.WITHIN query.
pop() - Method in interface com.allanbank.mongodb.bson.builder.Builder
Pops the sub-context.
pop() - Method in class com.allanbank.mongodb.bson.builder.impl.AbstractBuilder
Pops the sub-context.
PREFER_PRIMARY - Static variable in class com.allanbank.mongodb.ReadPreference
ReadPreference to prefer reading from the primary but to fallback to a secondary if the primary is not available.
PREFER_SECONDARY - Static variable in class com.allanbank.mongodb.ReadPreference
ReadPreference to prefer reading from a secondary but to 'fallback' to a primary if a secondary is not available.
preferPrimary(DocumentAssignable...) - Static method in class com.allanbank.mongodb.ReadPreference
Creates a ReadPreference to prefer reading from the primary but to fallback to a secondary if the primary is not available.
preferSecondary(DocumentAssignable...) - Static method in class com.allanbank.mongodb.ReadPreference
Creates a ReadPreference to prefer reading from a secondary but to 'fallback' to a primary if a secondary is not available.
PRIMARY - Static variable in class com.allanbank.mongodb.ReadPreference
The default ReadPreference to read from the primary only.
primary() - Static method in class com.allanbank.mongodb.ReadPreference
Returns the default ReadPreference to read from the primary only: ReadPreference.PRIMARY.
PRIMARY_STATE - Static variable in class com.allanbank.mongodb.connection.state.SecondsBehindCallback
The value for a primary server's state.
ProfilingStatus - Class in com.allanbank.mongodb
ProfilingStatus provides a container for the ProfilingStatus.Level and number of milliseconds beyond which to consider an operation to be slow.
ProfilingStatus.Level - Enum in com.allanbank.mongodb
Level provides the set of available profiling levels provided by the MongoDB server.
project(AggregationProjectFields, Element...) - Method in class com.allanbank.mongodb.builder.Aggregate.Builder
Adds a $project operation to the pipeline to create a projection of the documents passing this point in the pipeline.
project(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.Aggregate.Builder
Adds a $project operation to the pipeline to create a projection of the documents passing this point in the pipeline.
propertyChange(PropertyChangeEvent) - Method in class com.allanbank.mongodb.client.ClientImpl.ConnectionListener
propertyChange(PropertyChangeEvent) - Method in class com.allanbank.mongodb.connection.proxy.AbstractProxyConnection.ProxiedChangeListener
ProxiedConnectionFactory - Interface in com.allanbank.mongodb.connection.proxy
Provides an interface for creating proxied connections.
push() - Method in interface com.allanbank.mongodb.bson.builder.ArrayBuilder
Pushes a context for constructing a sub-document.
push(String) - Method in interface com.allanbank.mongodb.bson.builder.DocumentBuilder
Pushes a context for constructing a sub-document.
push() - Method in class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Pushes a context for constructing a sub-document.
push(String) - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Pushes a context for constructing a sub-document.
push(String) - Method in class com.allanbank.mongodb.builder.AggregationGroupField.Builder
Constructs a new AggregationGroupField object that uses the $push operator to accumulate all of the values seen from the fieldRef.
pushArray() - Method in interface com.allanbank.mongodb.bson.builder.ArrayBuilder
Pushes a context for constructing a sub-array.
pushArray(String) - Method in interface com.allanbank.mongodb.bson.builder.DocumentBuilder
Pushes a context for constructing a sub-array.
pushArray() - Method in class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Pushes a context for constructing a sub-array.
pushArray(String) - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Pushes a context for constructing a sub-array.
put(Message, Callback<Reply>) - Method in class com.allanbank.mongodb.connection.message.PendingMessageQueue
Puts a message onto the queue.
put(Message, Callback<Reply>, Message, Callback<Reply>) - Method in class com.allanbank.mongodb.connection.message.PendingMessageQueue
Puts two messages onto the queue.
put(PendingMessage) - Method in class com.allanbank.mongodb.connection.message.PendingMessageQueue
Puts a message onto the queue.

Q

query(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.AggregationGeoNear.Builder
Sets the optional query for further refining the documents to add to the pipeline.
query(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.Distinct.Builder
Sets the value of the query to select the documents to run the distinct against.
query(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.Find.Builder
Sets the value of the query document to the new value.
query(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.FindAndModify.Builder
Sets the query to locate the document to update.
query(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.GroupBy.Builder
Sets the value of the query to select the documents to run the group against.
query(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.MapReduce.Builder
Sets the query to select the documents to run the map/reduce against.
query(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.Text.Builder
Sets the standard MongoDB query document to limit the final results to the new value.
Query - Class in com.allanbank.mongodb.connection.message
Message to query documents from the database matching a criteria.
Query(Header, BsonInputStream) - Constructor for class com.allanbank.mongodb.connection.message.Query
Creates a new Query.
Query(String, String, Document, Document, int, int, int, boolean, ReadPreference, boolean, boolean, boolean, boolean) - Constructor for class com.allanbank.mongodb.connection.message.Query
Creates a new Query.
QUERY_FAILURE_BIT - Static variable in class com.allanbank.mongodb.connection.message.Reply
Bit for the query failure flag.
QueryBuilder - Class in com.allanbank.mongodb.builder
QueryBuilder provides support for constructing queries.
QueryBuilder() - Constructor for class com.allanbank.mongodb.builder.QueryBuilder
Creates a new QueryBuilder.
QueryFailedException - Exception in com.allanbank.mongodb.error
Exception raised when a query fails.
QueryFailedException(Reply, Throwable) - Constructor for exception com.allanbank.mongodb.error.QueryFailedException
Create a new QueryFailedException.
queryPath(Class<E>, String...) - Method in interface com.allanbank.mongodb.bson.Document
Deprecated.
Use the Document.find(Class,String...) method instead. Will be removed after the 1.1.0 release.
queryPath(String...) - Method in interface com.allanbank.mongodb.bson.Document
Deprecated.
Use the Document.find(String...) method instead. Will be removed after the 1.1.0 release.
queryPath(Class<E>, String...) - Method in class com.allanbank.mongodb.bson.element.AbstractElement
Deprecated.
Use the replacement method, AbstractElement.find(Class, String...). Will be removed after the 1.1.0 release.
queryPath(String...) - Method in class com.allanbank.mongodb.bson.element.AbstractElement
Deprecated.
Use the replacement method, AbstractElement.find(String...). Will be removed after the 1.1.0 release.
queryPath(Class<E>, String...) - Method in interface com.allanbank.mongodb.bson.Element
Deprecated.
Use the Element.find(Class,String...) method instead. Will be removed after the 1.1.0 release.
queryPath(String...) - Method in interface com.allanbank.mongodb.bson.Element
Deprecated.
Use the Element.find(String...) method instead. Will be removed after the 1.1.0 release.
queryPath(Class<E>, String...) - Method in class com.allanbank.mongodb.bson.impl.EmptyDocument
Deprecated.
Use the EmptyDocument.find(Class,String...) method instead. Will be removed after the 1.1.0 release.
queryPath(String...) - Method in class com.allanbank.mongodb.bson.impl.EmptyDocument
Deprecated.
Use the EmptyDocument.find(Class,String...) method instead. Will be removed after the 1.1.0 release.
queryPath(Class<E>, String...) - Method in class com.allanbank.mongodb.bson.impl.RootDocument
Deprecated.
Use the RootDocument.find(Class,String...) method instead. Will be removed after the 1.1.0 release.
queryPath(String...) - Method in class com.allanbank.mongodb.bson.impl.RootDocument
Deprecated.
Use the RootDocument.find(Class,String...) method instead. Will be removed after the 1.1.0 release.

R

raiseError(Throwable, Callback<Reply>, Executor) - Static method in class com.allanbank.mongodb.connection.message.ReplyHandler
Raise an error on the callback, if any.
raiseError(Throwable, Callback<Reply>) - Method in class com.allanbank.mongodb.connection.socket.SocketConnection
Updates to raise an error on the callback, if any.
raiseErrors(MongoDbException, boolean) - Method in interface com.allanbank.mongodb.connection.Connection
Notifies the call backs for the pending and optionally the to be sent messages that there has been an external, unrecoverable error.
raiseErrors(MongoDbException, boolean) - Method in class com.allanbank.mongodb.connection.proxy.AbstractProxyConnection
Notifies the call backs for the pending and optionally the to be sent messages that there has been an external, unrecoverable error.
raiseErrors(MongoDbException, boolean) - Method in class com.allanbank.mongodb.connection.socket.SocketConnection
Notifies the call backs for the pending and optionally the to be sent messages that there has been an external, unrecoverable error.
RandomAccessOutputStream - Class in com.allanbank.mongodb.bson.io
Provides a capability similar to the ByteArrayOutputStream but also provides the ability to re-write portions of the stream already written and to determine the current size (or position) of the written data.
RandomAccessOutputStream() - Constructor for class com.allanbank.mongodb.bson.io.RandomAccessOutputStream
read() - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
read(byte[]) - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
read(byte[], int, int) - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
read(String, OutputStream) - Method in class com.allanbank.mongodb.gridfs.GridFs
Reads a file from the GridFS collections and writes the contents to the sink
readArrayElement() - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
Reads a BSON Array element:
readBinaryElement() - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
Reads a BinaryElement's contents:
readCString() - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
Reads a "cstring" value from the stream:
readDocument() - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
Reads a BSON document element:
readDocumentElement() - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
Reads a BSON Subdocument element:
readElement(byte) - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
Reads the element:
readElements() - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
Reads a BSON element list (e_list):
readFully(byte[]) - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
Reads the complete set of bytes from the stream or throws an EOFException.
readInt() - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
Reads a little-endian 4 byte signed integer from the stream.
readIntSuppressTimeoutOnNonFirstByte() - Method in class com.allanbank.mongodb.connection.socket.SocketConnection
Reads a little-endian 4 byte signed integer from the stream.
readLong() - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
Reads a little-endian 8 byte signed integer from the stream.
readPreference(ReadPreference) - Method in class com.allanbank.mongodb.builder.Distinct.Builder
Sets the ReadPreference specifying which servers may be used to execute the Distinct command.
readPreference(ReadPreference) - Method in class com.allanbank.mongodb.builder.Find.Builder
Sets the preference for the set of servers to retrieve the results from.
readPreference(ReadPreference) - Method in class com.allanbank.mongodb.builder.GroupBy.Builder
Sets the ReadPreference specifying which servers may be used to execute the GroupBy command.
readPreference(ReadPreference) - Method in class com.allanbank.mongodb.builder.MapReduce.Builder
Sets the ReadPreference specifying which servers may be used to execute the MapReduce command.
readPreference(ReadPreference) - Method in class com.allanbank.mongodb.builder.Text.Builder
Sets the ReadPreference specifying which servers may be used to execute the Text command.
ReadPreference - Class in com.allanbank.mongodb
ReadPreference encapsulates a ReadPreference.Mode and a set of tag matching documents.
ReadPreference(ReadPreference.Mode, DocumentAssignable...) - Constructor for class com.allanbank.mongodb.ReadPreference
Creates a new ReadPreference.
ReadPreference(ReadPreference.Mode, String) - Constructor for class com.allanbank.mongodb.ReadPreference
Creates a new ReadPreference.
ReadPreference.Mode - Enum in com.allanbank.mongodb
Enumeration of the basic ReadPreference modes of service.
readString() - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
Reads a "string" value from the stream:
receiveOne() - Method in class com.allanbank.mongodb.connection.socket.SocketConnection.ReceiveRunnable
Receives and process a single message.
reconnect(Connection) - Method in class com.allanbank.mongodb.client.ClientImpl
Runs the reconnect logic for the connection.
reconnect(Connection) - Method in interface com.allanbank.mongodb.connection.ReconnectStrategy
Encapsulates the strategy for re-establishing the connection to the server.
reconnect(Connection) - Method in class com.allanbank.mongodb.connection.rs.ReplicaSetConnection
Reconnects the connection.
reconnect(Connection) - Method in class com.allanbank.mongodb.connection.rs.ReplicaSetReconnectStrategy
Encapsulates the strategy for re-establishing the connection to the server.
reconnect(Connection) - Method in class com.allanbank.mongodb.connection.state.SimpleReconnectStrategy
Encapsulates the strategy for re-establishing the connection to the server.
ReconnectStrategy - Interface in com.allanbank.mongodb.connection
ReconnectStrategy provides a common interface for a strategy for reconnecting to a MongoDB server.
reduce(String) - Method in class com.allanbank.mongodb.builder.GroupBy.Builder
Sets the value of the reduce function taking the previous value and the current value and returning the new reduced value.
reduce(String) - Method in class com.allanbank.mongodb.builder.MapReduce.Builder
Sets the reduce function to apply to the emitted output of the map function.
RegularExpressionElement - Class in com.allanbank.mongodb.bson.element
A wrapper for a BSON regular expression.
RegularExpressionElement(String, Pattern) - Constructor for class com.allanbank.mongodb.bson.element.RegularExpressionElement
Constructs a new RegularExpressionElement.
RegularExpressionElement(String, String, int) - Constructor for class com.allanbank.mongodb.bson.element.RegularExpressionElement
Constructs a new RegularExpressionElement.
RegularExpressionElement(String, String, String) - Constructor for class com.allanbank.mongodb.bson.element.RegularExpressionElement
Constructs a new RegularExpressionElement.
remove(String) - Method in interface com.allanbank.mongodb.bson.builder.DocumentBuilder
Removes all Elements that have the provided name from the document being built.
remove(String) - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Removes all Elements that have the provided name from the document being built.
remove() - Method in class com.allanbank.mongodb.builder.FindAndModify.Builder
Sets to true if the document should be removed.
remove(boolean) - Method in class com.allanbank.mongodb.builder.FindAndModify.Builder
Sets to true if the document should be removed.
remove() - Method in class com.allanbank.mongodb.client.MongoIteratorImpl
removeListener(PropertyChangeListener) - Method in class com.allanbank.mongodb.connection.state.ClusterState
Removes a listener to the state.
removePropertyChangeListener(PropertyChangeListener) - Method in interface com.allanbank.mongodb.connection.Connection
Removes a PropertyChangeListener from this connection.
removePropertyChangeListener(PropertyChangeListener) - Method in class com.allanbank.mongodb.connection.proxy.AbstractProxyConnection
Removes a PropertyChangeListener from this connection.
removePropertyChangeListener(PropertyChangeListener) - Method in class com.allanbank.mongodb.connection.socket.SocketConnection
Removes a PropertyChangeListener from this connection.
REPLICA_OK_FLAG_BIT - Static variable in class com.allanbank.mongodb.connection.message.Query
Flag bit for the replica OK.
REPLICA_SET_STATUS - Static variable in class com.allanbank.mongodb.connection.message.ReplicaSetStatus
The serverStatus "query" document.
replicaDurable(boolean, int, int) - Static method in class com.allanbank.mongodb.Durability
Creates a multiple replica durability.
replicaDurable(boolean, String, int) - Static method in class com.allanbank.mongodb.Durability
Creates a multiple replica durability.
replicaDurable(int) - Static method in class com.allanbank.mongodb.Durability
Creates a single replica durability.
replicaDurable(int, int) - Static method in class com.allanbank.mongodb.Durability
Creates a multiple replica durability.
replicaDurable(String, int) - Static method in class com.allanbank.mongodb.Durability
Creates a multiple replica durability.
ReplicaSetConnection - Class in com.allanbank.mongodb.connection.rs
Provides a Connection implementation for connecting to a replica-set environment.
ReplicaSetConnection(Connection, ServerState, ClusterState, ProxiedConnectionFactory, MongoClientConfiguration) - Constructor for class com.allanbank.mongodb.connection.rs.ReplicaSetConnection
Creates a new ReplicaSetConnection.
ReplicaSetConnectionFactory - Class in com.allanbank.mongodb.connection.rs
Provides the ability to create connections to a replica-set environment.
ReplicaSetConnectionFactory(ProxiedConnectionFactory, MongoClientConfiguration) - Constructor for class com.allanbank.mongodb.connection.rs.ReplicaSetConnectionFactory
ReplicaSetReconnectStrategy - Class in com.allanbank.mongodb.connection.rs
ReplicaSetReconnectStrategy provides a ReconnectStrategy designed for replica sets.
ReplicaSetReconnectStrategy() - Constructor for class com.allanbank.mongodb.connection.rs.ReplicaSetReconnectStrategy
Creates a new ReplicaSetReconnectStrategy.
ReplicaSetStatus - Class in com.allanbank.mongodb.connection.message
Provides a convenient mechanism for creating a replSetGetStatus command.
ReplicaSetStatus() - Constructor for class com.allanbank.mongodb.connection.message.ReplicaSetStatus
Create a new ReplicaSetStatus command.
Reply - Class in com.allanbank.mongodb.connection.message
Message received from the database in reply to a query.
Reply(Header, BsonInputStream) - Constructor for class com.allanbank.mongodb.connection.message.Reply
Creates a new Reply.
Reply(int, long, int, List<Document>, boolean, boolean, boolean, boolean) - Constructor for class com.allanbank.mongodb.connection.message.Reply
Creates a new Reply.
reply(Reply, Callback<Reply>, Executor) - Static method in class com.allanbank.mongodb.connection.message.ReplyHandler
Updates to set the reply for the callback, if any.
reply(Reply, Callback<Reply>) - Method in class com.allanbank.mongodb.connection.socket.SocketConnection
Updates to set the reply for the callback, if any.
ReplyException - Exception in com.allanbank.mongodb.error
Base class exception for all reply errors.
ReplyException(int, int, String, Message, Reply) - Constructor for exception com.allanbank.mongodb.error.ReplyException
Create a new ReplyException.
ReplyException(int, int, String, Reply) - Constructor for exception com.allanbank.mongodb.error.ReplyException
Create a new ReplyException.
ReplyException(Reply) - Constructor for exception com.allanbank.mongodb.error.ReplyException
Create a new ReplyException.
ReplyException(Reply, String) - Constructor for exception com.allanbank.mongodb.error.ReplyException
Create a new ReplyException.
ReplyException(Reply, Throwable) - Constructor for exception com.allanbank.mongodb.error.ReplyException
Create a new ReplyException.
ReplyHandler - Class in com.allanbank.mongodb.connection.message
ReplyHandler provides the capability to properly handle the replies to a callback.
ReplyHandler(Callback<Reply>, Reply) - Constructor for class com.allanbank.mongodb.connection.message.ReplyHandler
Creates a new ReplyHandler.
ReplyHandler(Callback<Reply>, Throwable) - Constructor for class com.allanbank.mongodb.connection.message.ReplyHandler
Creates a new ReplyHandler.
ReplyResultCallback - Class in com.allanbank.mongodb.client
Callback to extract the map/reduce and aggregation results from the reply.
ReplyResultCallback(Callback<List<Document>>) - Constructor for class com.allanbank.mongodb.client.ReplyResultCallback
Create a new ReplyResultCallback.
ReplyResultCallback(String, Callback<List<Document>>) - Constructor for class com.allanbank.mongodb.client.ReplyResultCallback
Create a new ReplyResultCallback.
reset() - Method in interface com.allanbank.mongodb.bson.builder.ArrayBuilder
Resets the builder back to an empty state.
reset() - Method in interface com.allanbank.mongodb.bson.builder.Builder
Resets the builder back to an empty state.
reset() - Method in interface com.allanbank.mongodb.bson.builder.DocumentBuilder
Resets the builder back to an empty state.
reset() - Method in class com.allanbank.mongodb.bson.builder.impl.AbstractBuilder
Resets the builder back to an empty state.
reset() - Method in class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
Resets the builder back to an empty state.
reset() - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
Resets the builder back to an empty state.
reset() - Method in class com.allanbank.mongodb.bson.io.BsonOutputStream
Clears any errors.
reset() - Method in class com.allanbank.mongodb.bson.io.RandomAccessOutputStream
Resets the size of the buffer to zero.
reset() - Method in class com.allanbank.mongodb.bson.io.SizeOfVisitor
Resets the size to zero and clears the cached documents.
reset() - Method in class com.allanbank.mongodb.builder.Aggregate.Builder
Resets the builder back to an empty pipeline.
reset() - Method in class com.allanbank.mongodb.builder.AggregationGeoNear.Builder
Resets the builder back to its initial state for reuse.
reset() - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Resets the builder back to an empty, no condition, state.
reset() - Method in class com.allanbank.mongodb.builder.Distinct.Builder
Resets the builder back to its initial state.
reset() - Method in class com.allanbank.mongodb.builder.Find.Builder
Resets the builder back to its initial state for reuse.
reset() - Method in class com.allanbank.mongodb.builder.FindAndModify.Builder
Resets the builder back to its initial state.
reset() - Method in class com.allanbank.mongodb.builder.GroupBy.Builder
Resets the builder back to its initial state.
reset() - Method in class com.allanbank.mongodb.builder.MapReduce.Builder
Resets the builder back to its initial state.
reset() - Method in class com.allanbank.mongodb.builder.QueryBuilder
Clears the builder's conditions.
reset() - Method in class com.allanbank.mongodb.builder.Text.Builder
Resets the builder back to its initial state.
reset() - Method in class com.allanbank.mongodb.Credential.Builder
Resets the builder to a known state.
restart(DocumentAssignable) - Method in interface com.allanbank.mongodb.client.Client
Restarts an iterator that was previously saved.
restart(StreamCallback<Document>, DocumentAssignable) - Method in interface com.allanbank.mongodb.client.Client
Restarts a document stream from a cursor that was previously saved.
restart(DocumentAssignable) - Method in class com.allanbank.mongodb.client.ClientImpl
Restarts an iterator that was previously saved.
restart(StreamCallback<Document>, DocumentAssignable) - Method in class com.allanbank.mongodb.client.ClientImpl
Restarts a document stream from a cursor that was previously saved.
restart(DocumentAssignable) - Method in class com.allanbank.mongodb.client.MongoClientImpl
Restarts an iterator that was previously saved.
restart(StreamCallback<Document>, DocumentAssignable) - Method in class com.allanbank.mongodb.client.MongoClientImpl
Restarts a document stream from a cursor that was previously saved.
restart() - Method in class com.allanbank.mongodb.client.MongoIteratorImpl
Restarts the iterator by sending a request for more documents.
restart(DocumentAssignable) - Method in class com.allanbank.mongodb.client.SerialClientImpl
Restarts an iterator that was previously saved.
restart(StreamCallback<Document>, DocumentAssignable) - Method in class com.allanbank.mongodb.client.SerialClientImpl
Restarts a document stream from a cursor that was previously saved.
restart(DocumentAssignable) - Method in interface com.allanbank.mongodb.MongoClient
Restarts an iterator that was previously saved.
restart(StreamCallback<Document>, DocumentAssignable) - Method in interface com.allanbank.mongodb.MongoClient
Restarts a document stream from a cursor that was previously saved.
result() - Method in interface com.allanbank.mongodb.connection.auth.Authenticator
Returns the results of the authentication attempt.
result() - Method in class com.allanbank.mongodb.connection.auth.MongoDbAuthenticator
Returns the results of the authentication attempt.
retreiveCursorIdFromPendingRequest(long, Future<Reply>) - Method in class com.allanbank.mongodb.client.MongoIteratorImpl
If the current cursor id is zero then waits for the response from the pending request to determine the real cursor id.
returnFields(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.Find.Builder
Sets the value of the fields to be returned from the matching documents to the new value.
returnFields(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.Text.Builder
Sets the fields to return from the query to the new value.
returnKey() - Method in class com.allanbank.mongodb.builder.Find.Builder
Sets that only index keys should be returned.
returnKey(boolean) - Method in class com.allanbank.mongodb.builder.Find.Builder
Sets the value for if only index keys should be returned to the new value.
returnNew() - Method in class com.allanbank.mongodb.builder.FindAndModify.Builder
Sets to true if the updated document should be returned instead of the document before the update.
returnNew(boolean) - Method in class com.allanbank.mongodb.builder.FindAndModify.Builder
Sets to true if the updated document should be returned instead of the document before the update.
rewind() - Method in class com.allanbank.mongodb.bson.io.SizeOfVisitor
Resets the size to zero but does not clear the cached documents.
RootDocument - Class in com.allanbank.mongodb.bson.impl
A root level document.
RootDocument(Element...) - Constructor for class com.allanbank.mongodb.bson.impl.RootDocument
Constructs a new RootDocument.
RootDocument(List<Element>) - Constructor for class com.allanbank.mongodb.bson.impl.RootDocument
Constructs a new RootDocument.
RootDocument(List<Element>, boolean) - Constructor for class com.allanbank.mongodb.bson.impl.RootDocument
Constructs a new RootDocument.
run() - Method in class com.allanbank.mongodb.connection.message.ReplyHandler
run() - Method in class com.allanbank.mongodb.connection.socket.SocketConnection.ReceiveRunnable
Processing thread for receiving responses from the server.
run() - Method in class com.allanbank.mongodb.connection.socket.SocketConnection.SendRunnable
run() - Method in class com.allanbank.mongodb.connection.state.ClusterPinger
runAdminCommand(String) - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
Runs an administrative command against the 'admin' database.
runAdminCommand(String, DocumentAssignable) - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
Runs an administrative command against the 'admin' database.
runAdminCommand(String, String, DocumentAssignable) - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
Runs an administrative command against the 'admin' database.
runAdminCommand(String) - Method in interface com.allanbank.mongodb.MongoDatabase
Runs an administrative command against the 'admin' database.
runAdminCommand(String, DocumentAssignable) - Method in interface com.allanbank.mongodb.MongoDatabase
Runs an administrative command against the 'admin' database.
runAdminCommand(String, String, DocumentAssignable) - Method in interface com.allanbank.mongodb.MongoDatabase
Runs an administrative command against the 'admin' database.
runCommand(String) - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
Runs a command against the database.
runCommand(String, DocumentAssignable) - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
Runs a command against the database.
runCommand(String, int, DocumentAssignable) - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
Runs a command against the database.
runCommand(String, String, DocumentAssignable) - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
Runs a command against the database.
runCommand(String) - Method in interface com.allanbank.mongodb.MongoDatabase
Runs a command against the database.
runCommand(String, DocumentAssignable) - Method in interface com.allanbank.mongodb.MongoDatabase
Runs a command against the database.
runCommand(String, int, DocumentAssignable) - Method in interface com.allanbank.mongodb.MongoDatabase
Runs a command against the database.
runCommand(String, String, DocumentAssignable) - Method in interface com.allanbank.mongodb.MongoDatabase
Runs a command against the database.
runCommandAsync(Callback<Document>, String) - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
Runs a command against the database.
runCommandAsync(Callback<Document>, String, DocumentAssignable) - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
Runs a command against the database.
runCommandAsync(Callback<Document>, String, int, DocumentAssignable) - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
Runs a command against the database.
runCommandAsync(Callback<Document>, String, String, DocumentAssignable) - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
Runs a command against the database.
runCommandAsync(String) - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
Runs a command against the database.
runCommandAsync(String, DocumentAssignable) - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
Runs a command against the database.
runCommandAsync(String, int, DocumentAssignable) - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
Runs a command against the database.
runCommandAsync(String, String, DocumentAssignable) - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
Runs a command against the database.
runCommandAsync(Callback<Document>, String) - Method in interface com.allanbank.mongodb.MongoDatabase
Runs a command against the database.
runCommandAsync(Callback<Document>, String, DocumentAssignable) - Method in interface com.allanbank.mongodb.MongoDatabase
Runs a command against the database.
runCommandAsync(Callback<Document>, String, int, DocumentAssignable) - Method in interface com.allanbank.mongodb.MongoDatabase
Runs a command against the database.
runCommandAsync(Callback<Document>, String, String, DocumentAssignable) - Method in interface com.allanbank.mongodb.MongoDatabase
Runs a command against the database.
runCommandAsync(String) - Method in interface com.allanbank.mongodb.MongoDatabase
Runs a command against the database.
runCommandAsync(String, DocumentAssignable) - Method in interface com.allanbank.mongodb.MongoDatabase
Runs a command against the database.
runCommandAsync(String, int, DocumentAssignable) - Method in interface com.allanbank.mongodb.MongoDatabase
Runs a command against the database.
runCommandAsync(String, String, DocumentAssignable) - Method in interface com.allanbank.mongodb.MongoDatabase
Runs a command against the database.

S

save(DocumentAssignable) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Saves the document to the collection.
save(DocumentAssignable, Durability) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Saves the document to the collection.
save(DocumentAssignable) - Method in interface com.allanbank.mongodb.MongoCollection
Saves the document to the collection.
save(DocumentAssignable, Durability) - Method in interface com.allanbank.mongodb.MongoCollection
Saves the document to the collection.
saveAsync(Callback<Integer>, DocumentAssignable) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Saves the document to the collection.
saveAsync(Callback<Integer>, DocumentAssignable, Durability) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Saves the document to the collection.
saveAsync(DocumentAssignable) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Saves the document to the collection.
saveAsync(DocumentAssignable, Durability) - Method in class com.allanbank.mongodb.client.AbstractMongoCollection
Saves the document to the collection.
saveAsync(Callback<Integer>, DocumentAssignable, Durability) - Method in class com.allanbank.mongodb.client.MongoCollectionImpl
Saves the document to the collection.
saveAsync(Callback<Integer>, DocumentAssignable) - Method in interface com.allanbank.mongodb.MongoCollection
Saves the document to the collection.
saveAsync(Callback<Integer>, DocumentAssignable, Durability) - Method in interface com.allanbank.mongodb.MongoCollection
Saves the document to the collection.
saveAsync(DocumentAssignable) - Method in interface com.allanbank.mongodb.MongoCollection
Saves the document to the collection.
saveAsync(DocumentAssignable, Durability) - Method in interface com.allanbank.mongodb.MongoCollection
Saves the document to the collection.
scope(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.MapReduce.Builder
Sets the scoped values to expose to the map/reduce/finalize functions.
searchConnection(Message, Message, boolean) - Method in class com.allanbank.mongodb.client.ClientImpl
Searches for a connection to use.
searchTerm(String) - Method in class com.allanbank.mongodb.builder.Text.Builder
Sets the search term to the new value.
SECOND - Static variable in class com.allanbank.mongodb.builder.expression.Expressions
The "$second" operator token
second(Expression) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a UnaryExpression "$second" expression.
SECONDARY - Static variable in class com.allanbank.mongodb.ReadPreference
ReadPreference to read only from a secondary but using any secondary.
secondary(DocumentAssignable...) - Static method in class com.allanbank.mongodb.ReadPreference
Creates a ReadPreference to read only from a secondary.
SECONDARY_STATE - Static variable in class com.allanbank.mongodb.connection.state.SecondsBehindCallback
The value for a secondary (actively replicating) server's state.
SecondsBehindCallback - Class in com.allanbank.mongodb.connection.state
SecondsBehindCallback provides a special callback to measure the number of seconds a replica is behind the primary.
SecondsBehindCallback(ServerState) - Constructor for class com.allanbank.mongodb.connection.state.SecondsBehindCallback
Creates a new SecondsBehindCallback.
send(Message, Callback<Reply>) - Method in class com.allanbank.mongodb.client.AbstractClient
Sends a message on the connection.
send(Message, Message, Callback<Reply>) - Method in class com.allanbank.mongodb.client.AbstractClient
Sends a message on the connection.
send(Message, Callback<Reply>) - Method in interface com.allanbank.mongodb.client.Client
Sends a message on the connection.
send(Message, Message, Callback<Reply>) - Method in interface com.allanbank.mongodb.client.Client
Sends a message on the connection.
send(Message, Callback<Reply>) - Method in class com.allanbank.mongodb.connection.auth.AuthenticatingConnection
Sends a message on the connection.
send(Message, Message, Callback<Reply>) - Method in class com.allanbank.mongodb.connection.auth.AuthenticatingConnection
Sends a message on the connection.
send(Message, Callback<Reply>) - Method in interface com.allanbank.mongodb.connection.Connection
Sends a message on the connection.
send(Message, Message, Callback<Reply>) - Method in interface com.allanbank.mongodb.connection.Connection
Sends a message on the connection.
send(Message, Callback<Reply>) - Method in class com.allanbank.mongodb.connection.proxy.AbstractProxyConnection
Sends a message on the connection.
send(Message, Message, Callback<Reply>) - Method in class com.allanbank.mongodb.connection.proxy.AbstractProxyConnection
Sends a message on the connection.
send(Message, Callback<Reply>) - Method in class com.allanbank.mongodb.connection.rs.ReplicaSetConnection
Sends a message on the connection.
send(Message, Message, Callback<Reply>) - Method in class com.allanbank.mongodb.connection.rs.ReplicaSetConnection
Sends a message on the connection.
send(Message, Callback<Reply>) - Method in class com.allanbank.mongodb.connection.socket.SocketConnection
Sends a message on the connection.
send(Message, Message, Callback<Reply>) - Method in class com.allanbank.mongodb.connection.socket.SocketConnection
Sends a message on the connection.
sendIsPrimary(Map<InetSocketAddress, Future<Reply>>, Map<InetSocketAddress, Connection>, ServerState, boolean) - Method in class com.allanbank.mongodb.connection.rs.ReplicaSetReconnectStrategy
Sends a command to the server to return what it thinks the state of the cluster is.
sendOne() - Method in class com.allanbank.mongodb.connection.socket.SocketConnection.SendRunnable
Sends a single message.
sendRequest() - Method in class com.allanbank.mongodb.client.MongoIteratorImpl
Sends a request for more documents.
SerialClientImpl - Class in com.allanbank.mongodb.client
A specialization of the ClientImpl to always try to use the same connection.
SerialClientImpl(ClientImpl) - Constructor for class com.allanbank.mongodb.client.SerialClientImpl
Create a new SerialClientImpl.
serialize(DocumentAssignable) - Static method in class com.allanbank.mongodb.bson.json.Json
Serializes the Document to an equivalent JSON document.
serialize(DocumentAssignable, Writer) - Static method in class com.allanbank.mongodb.bson.json.Json
Serializes the Document to an equivalent JSON document.
server(String) - Static method in class com.allanbank.mongodb.ReadPreference
Creates a ReadPreference to read only from a specific server.