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

A

a() - Static method in class com.allanbank.mongodb.bson.builder.BuilderFactory
Creates an array element containing no elements.
a(Boolean...) - Static method in class com.allanbank.mongodb.bson.builder.BuilderFactory
Creates an array element containing boolean elements.
a(byte[]...) - Static method in class com.allanbank.mongodb.bson.builder.BuilderFactory
Creates an array element containing binary elements using sub-type zero (the default).
a(Date...) - Static method in class com.allanbank.mongodb.bson.builder.BuilderFactory
Creates an array element containing timestamp elements.
a(DocumentAssignable...) - Static method in class com.allanbank.mongodb.bson.builder.BuilderFactory
Creates an array element containing pre-constructed document elements.
a(Double...) - Static method in class com.allanbank.mongodb.bson.builder.BuilderFactory
Creates an array element containing double elements.
a(ElementAssignable...) - Static method in class com.allanbank.mongodb.bson.builder.BuilderFactory
Creates an array element containing the re-created slements.
a(Integer...) - Static method in class com.allanbank.mongodb.bson.builder.BuilderFactory
Creates an array element containing integer (32-bit signed) elements.
a(Long...) - Static method in class com.allanbank.mongodb.bson.builder.BuilderFactory
Creates an array element containing long (64-bit signed) elements.
a(Object...) - Static method in class com.allanbank.mongodb.bson.builder.BuilderFactory
Creates an ArrayElement after trying to coerce the values into the best possible element type.
a(ObjectId...) - Static method in class com.allanbank.mongodb.bson.builder.BuilderFactory
Creates an array element containing ObjectId elements.
a(Pattern...) - Static method in class com.allanbank.mongodb.bson.builder.BuilderFactory
Creates an array element containing regular expression elements.
a(String...) - Static method in class com.allanbank.mongodb.bson.builder.BuilderFactory
Creates an array element containing string elements.
a(UUID...) - Static method in class com.allanbank.mongodb.bson.builder.BuilderFactory
Create an array element containing (sub-type 4) UUID elements.
AbstractAsyncMongoCollection - Class in com.allanbank.mongodb.client
Helper class for forward all methods to the canonical version (which is abstract in this class).
AbstractAsyncMongoCollection(Client, MongoDatabase, String) - Constructor for class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Create a new AbstractAsyncMongoCollection.
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.
AbstractDocument - Class in com.allanbank.mongodb.bson.impl
AbstractDocument provides a base class for all document implementations with the common functionality.
AbstractDocument() - Constructor for class com.allanbank.mongodb.bson.impl.AbstractDocument
Creates a new AbstractDocument.
AbstractElement - Class in com.allanbank.mongodb.bson.element
A base class for the basic BSON types.
AbstractElement(String, long) - Constructor for class com.allanbank.mongodb.bson.element.AbstractElement
Constructs a new AbstractElement.
AbstractLog - Class in com.allanbank.mongodb.util.log
AbstractLog implements all of the public log method to delegate to a single AbstractLog.doLog(Level, Throwable, String, Object...) method.
AbstractMessage - Class in com.allanbank.mongodb.client.message
Base class for a MongoDB message.
AbstractMessage() - Constructor for class com.allanbank.mongodb.client.message.AbstractMessage
Create a new AbstractMessage.
AbstractMessage(String, String, ReadPreference) - Constructor for class com.allanbank.mongodb.client.message.AbstractMessage
Create a new AbstractMessage.
AbstractMessage(String, String, ReadPreference, VersionRange) - Constructor for class com.allanbank.mongodb.client.message.AbstractMessage
Creates a new AbstractMessage.
AbstractMongoOperations - Class in com.allanbank.mongodb.client
AbstractMongoOperations provides the core functionality for the operations on a MongoDB collection.
AbstractMongoOperations(Client, MongoDatabase, String) - Constructor for class com.allanbank.mongodb.client.AbstractMongoOperations
Create a new AbstractAsyncMongoCollection.
AbstractProxyConnection - Class in com.allanbank.mongodb.client.connection.proxy
A helper class for constructing connections that are really just proxies on top of other connections.
AbstractProxyConnection(Connection) - Constructor for class com.allanbank.mongodb.client.connection.proxy.AbstractProxyConnection
Creates a AbstractProxyConnection.
AbstractProxyConnection.ProxiedChangeListener - Class in com.allanbank.mongodb.client.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.client.connection.proxy.AbstractProxyConnection.ProxiedChangeListener
Creates a new ProxiedChangeListener.
AbstractProxyMultipleConnection<K> - Class in com.allanbank.mongodb.client.connection.proxy
AbstractProxyMultipleConnection provides the core functionality for a connection that multiplexes requests across multiple connections.
AbstractProxyMultipleConnection(Connection, K, Cluster, ProxiedConnectionFactory, MongoClientConfiguration) - Constructor for class com.allanbank.mongodb.client.connection.proxy.AbstractProxyMultipleConnection
AbstractProxyMultipleConnection.ClusterAndConnectionListener - Class in com.allanbank.mongodb.client.connection.proxy
ClusterListener provides a listener for changes in the cluster.
AbstractProxyMultipleConnection.ClusterAndConnectionListener() - Constructor for class com.allanbank.mongodb.client.connection.proxy.AbstractProxyMultipleConnection.ClusterAndConnectionListener
 
AbstractReconnectStrategy - Class in com.allanbank.mongodb.client.state
AbstractReconnectStrategy provides a base class for reconnection strategies.
AbstractReconnectStrategy() - Constructor for class com.allanbank.mongodb.client.state.AbstractReconnectStrategy
Creates a new AbstractReconnectStrategy.
AbstractReplyCallback<F> - Class in com.allanbank.mongodb.client.callback
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.callback.AbstractReplyCallback
Create a new AbstractReplyCallback.
AbstractSocketConnection - Class in com.allanbank.mongodb.client.connection.socket
AbstractSocketConnection provides the basic functionality for a socket connection that passes messages between the sender and receiver.
AbstractSocketConnection(Server, MongoClientConfiguration, StringEncoderCache, StringDecoderCache) - Constructor for class com.allanbank.mongodb.client.connection.socket.AbstractSocketConnection
Creates a new AbstractSocketConnection.
AbstractStringCache - Class in com.allanbank.mongodb.bson.io
AbstractStringCache provides the basic functionality for tracking string usage and triggering rebuilds of the cache over time.
AbstractStringCache() - Constructor for class com.allanbank.mongodb.bson.io.AbstractStringCache
Creates a new AbstractStringCache.
AbstractStringCache.ReverseIntegerComparator - Class in com.allanbank.mongodb.bson.io
ReverseIntegerComparator provides a Comparator that considers higher value integers to be less then lower value integers.
AbstractValidatingReplyCallback - Class in com.allanbank.mongodb.client.callback
Helper class for constructing callbacks that convert a Reply message into a different type of result.
AbstractValidatingReplyCallback() - Constructor for class com.allanbank.mongodb.client.callback.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.AbstractDocument
accept(Throwable, V) - Method in interface com.allanbank.mongodb.LambdaCallback
Called when the MongoDB operation has completed with the error or result of the operation.
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(InetSocketAddress) - Method in class com.allanbank.mongodb.client.state.Cluster
Adds a Server to the Cluster for the address provided if one does not already exist.
add(String) - Method in class com.allanbank.mongodb.client.state.Cluster
Adds a Server to the Cluster 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.
addChild(StringDecoderCache.TrieCache.TrieNode) - Method in class com.allanbank.mongodb.bson.io.StringDecoderCache.TrieCache.TrieNode
Adds a child node to this node.
addCluster(Cluster) - Method in class com.allanbank.mongodb.client.state.ClusterPinger
Adds a new cluster to the set of tracked clusters.
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.
addEntry(byte[], String) - Method in class com.allanbank.mongodb.bson.io.StringDecoderCache.TrieCache
Adds an entry to the trie cache.
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(Runnable, Executor) - Method in class com.allanbank.mongodb.client.FutureCallback
Add a Runnable to be executed once the future is completed via the provided executable.
addListener(PropertyChangeListener) - Method in class com.allanbank.mongodb.client.state.Cluster
Adds a listener to the state.
addListener(PropertyChangeListener) - Method in class com.allanbank.mongodb.client.state.Server
Add a PropertyChangeListener to receive all future property changes for the Server.
addListener(Runnable, Executor) - Method in interface com.allanbank.mongodb.ListenableFuture
Add a Runnable to be executed once the future is completed via the provided executable.
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.
addOption(String, boolean) - Method in class com.allanbank.mongodb.Credential.Builder
Adds an option to the built credentials.
addOption(String, int) - Method in class com.allanbank.mongodb.Credential.Builder
Adds an option to the built credentials.
addOption(String, String) - Method in class com.allanbank.mongodb.Credential.Builder
Adds an option to the built credentials.
addOptions(String, DocumentAssignable, DocumentBuilder) - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
Adds the options to the document builder.
addOptions(String, DocumentAssignable, DocumentBuilder) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
Adds the options to the document builder.
addPropertyChangeListener(PropertyChangeListener) - Method in interface com.allanbank.mongodb.client.connection.Connection
Adds a PropertyChangeListener to this connection.
addPropertyChangeListener(PropertyChangeListener) - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyConnection
Adds a PropertyChangeListener to this connection.
addPropertyChangeListener(PropertyChangeListener) - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyMultipleConnection
Adds a PropertyChangeListener to this connection.
addPropertyChangeListener(PropertyChangeListener) - Method in class com.allanbank.mongodb.client.connection.socket.AbstractSocketConnection
Adds a PropertyChangeListener to this connection.
addPropertyChangeListener(PropertyChangeListener) - Method in class com.allanbank.mongodb.MongoClientConfiguration
Add a PropertyChangeListener from the configuration.
addPropertyChangeListener(String, PropertyChangeListener) - Method in class com.allanbank.mongodb.MongoClientConfiguration
Add a PropertyChangeListener from the configuration.
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.
AddressAware - Interface in com.allanbank.mongodb.client.callback
AddressAware provides an interface for callbacks that need to know the server that was sent the request.
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.client.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.client.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.client.message
Helper class to make generating administration command queries easier.
AdminCommand(Document) - Constructor for class com.allanbank.mongodb.client.message.AdminCommand
Create a new Command.
after(Date) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is greater than the specified dateTime.
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 Aggregation.
aggregate(Aggregate) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
Invokes a aggregate command on the server.
aggregate(Aggregate.Builder) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
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 interface com.allanbank.mongodb.AsyncMongoCollection
Invokes a aggregate command on the server.
aggregateAsync(Aggregate.Builder) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Invokes a aggregate command on the server.
aggregateAsync(Callback<MongoIterator<Document>>, Aggregate) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Invokes a aggregate command on the server.
aggregateAsync(Callback<MongoIterator<Document>>, Aggregate.Builder) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Invokes a aggregate command on the server.
aggregateAsync(LambdaCallback<MongoIterator<Document>>, Aggregate) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Invokes a aggregate command on the server.
aggregateAsync(LambdaCallback<MongoIterator<Document>>, Aggregate.Builder) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Invokes a aggregate command on the server.
aggregateAsync(Aggregate) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Invokes a aggregate command on the server.
aggregateAsync(Aggregate.Builder) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Invokes a aggregate command on the server.
aggregateAsync(Callback<MongoIterator<Document>>, Aggregate.Builder) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Invokes a aggregate command on the server.
aggregateAsync(LambdaCallback<MongoIterator<Document>>, Aggregate) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Invokes a aggregate command on the server.
aggregateAsync(LambdaCallback<MongoIterator<Document>>, Aggregate.Builder) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Invokes a aggregate command on the server.
aggregateAsync(Callback<MongoIterator<Document>>, Aggregate) - Method in class com.allanbank.mongodb.client.AbstractMongoOperations
Constructs a aggregate command and sends it to the server via the Client.
AggregateCommand - Class in com.allanbank.mongodb.client.message
Helper class for the aggregation commands.
AggregateCommand(Aggregate, String, String, Document, ReadPreference, VersionRange) - Constructor for class com.allanbank.mongodb.client.message.AggregateCommand
Create a new AggregateCommand.
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 - Static variable in interface com.allanbank.mongodb.AsyncMongoCollection
An (empty) query document to find all documents.
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(boolean...) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Specify the values that must all be in the fields array.
all(byte[]...) - 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(Date...) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Specify the values that must all be in the fields array.
all(DocumentAssignable...) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Specify the values that must all be in the fields array.
all(Double...) - 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(Integer...) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Specify the values that must all be in the fields array.
all(Long...) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Specify the values that must all be in the fields array.
all(ObjectId...) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Specify the values that must all be in the fields array.
all(Pattern...) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Specify the values that must all be in the fields array.
all(String...) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Specify the values that must all be in the fields array.
all(UUID...) - 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.Count
An (empty) query document to find all documents.
ALL - Static variable in class com.allanbank.mongodb.builder.Find
An (empty) query document to find all documents.
ALL - Static variable in class com.allanbank.mongodb.builder.FindAndModify
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_ELEMENTS_TRUE - Static variable in class com.allanbank.mongodb.builder.expression.Expressions
The "$allElementsTrue" operator token
ALL_PATTERN - Static variable in class com.allanbank.mongodb.util.PatternUtils
The pattern for the regular expression matching all input.
allElementsTrue(Expression) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a UnaryExpression "$allElementsTrue" expression.
ALLOW_DISK_USAGE_REQUIRED_VERSION - Static variable in class com.allanbank.mongodb.builder.Aggregate
The first version of MongoDB to support the $geoNear pipeline operator.
allowDiskUsage() - Method in class com.allanbank.mongodb.builder.Aggregate.Builder
Allows the aggregation command can spill to disk.
allowDiskUsage(boolean) - Method in class com.allanbank.mongodb.builder.Aggregate.Builder
Sets to true if the aggregation command can spill to disk.
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.
ANY_ELEMENT_TRUE - Static variable in class com.allanbank.mongodb.builder.expression.Expressions
The "$anyElementTrue" operator token
anyElementTrue(Expression) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a UnaryExpression "$anyElementTrue" expression.
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.
ArrayElement(String, List<Element>, long) - 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.
as(String) - Method in class com.allanbank.mongodb.builder.expression.MapStage1
Sets the variable name to be used in the mapping.
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.Index
The value to indicate an ascending index order.
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.client.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.AbstractDocument
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.callback.CursorStreamingCallback
Returns a Document that can be used to restart the cursor/iterator.
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.client.SimpleMongoIteratorImpl
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.callback.AbstractValidatingReplyCallback
Creates an exception from the Reply.
asError(Reply, boolean) - Method in class com.allanbank.mongodb.client.callback.AbstractValidatingReplyCallback
Creates an exception from the Reply.
asError(Reply, int, int, boolean, String, Message) - Method in class com.allanbank.mongodb.client.callback.AbstractValidatingReplyCallback
Creates an exception from the parsed reply fields.
asError(Reply, int, int, String) - Method in class com.allanbank.mongodb.client.callback.AbstractValidatingReplyCallback
Creates an exception from the parsed reply fields.
asError(Reply, int, int, String) - Method in class com.allanbank.mongodb.client.callback.CursorCallback
Creates an exception from the parsed reply fields.
asError(Reply, int, int, String) - Method in class com.allanbank.mongodb.client.callback.CursorStreamingCallback
Creates an exception from the parsed reply fields.
asError(Reply, int, int, String) - Method in class com.allanbank.mongodb.client.callback.MultipleCursorCallback
Creates an exception from the parsed reply fields.
asError(Reply) - Method in class com.allanbank.mongodb.client.callback.ReplyArrayCallback
Creates an exception from the Reply.
asError(Reply) - Method in class com.allanbank.mongodb.client.callback.ReplyCommandCallback
Creates an exception from the Reply.
asError(Reply, boolean) - Method in class com.allanbank.mongodb.client.callback.ReplyCommandCallback
Creates an exception from the Reply.
asError(Reply) - Method in class com.allanbank.mongodb.client.callback.ReplyDocumentCallback
Creates an exception from the Reply.
asError(Reply) - Method in class com.allanbank.mongodb.client.callback.ReplyIntegerCallback
Creates an exception from the Reply.
asError(Reply) - Method in class com.allanbank.mongodb.client.callback.ReplyLongCallback
Creates an exception from the Reply.
asError(Reply) - Method in class com.allanbank.mongodb.client.callback.SingleDocumentReplyCallback
Creates an exception from the Reply.
asGetLastError(Durability) - Method in class com.allanbank.mongodb.client.AbstractMongoOperations
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.callback.AbstractValidatingReplyCallback
Converts the Element to a string.
AsyncMongoCollection - Interface in com.allanbank.mongodb
Interface for asynchronously interacting with a MongoDB collection.
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.client.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.client.connection.auth.AuthenticatingConnection
Creates a new AuthenticatingConnection.
AuthenticationConnectionFactory - Class in com.allanbank.mongodb.client.connection.auth
AuthenticationConnectionFactory wraps all of the connections with AuthenticatingConnections.
AuthenticationConnectionFactory(ProxiedConnectionFactory, MongoClientConfiguration) - Constructor for class com.allanbank.mongodb.client.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.client.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.
available() - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
availableInBuffer() - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
Returns the number of bytes available in the buffer.
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.client.message.Reply
Bit for the await capable flag.
AWAIT_DATA_FLAG_BIT - Static variable in class com.allanbank.mongodb.client.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.
BatchedAsyncMongoCollection - Interface in com.allanbank.mongodb
BatchedAsyncMongoCollection provides the interface for submitting batched requests to the MongoDB server.
BatchedAsyncMongoCollectionImpl - Class in com.allanbank.mongodb.client
BatchedAsyncMongoCollectionImpl provides the implementation for the BatchedAsyncMongoCollection.
BatchedAsyncMongoCollectionImpl(Client, MongoDatabase, String) - Constructor for class com.allanbank.mongodb.client.BatchedAsyncMongoCollectionImpl
Creates a new BatchedAsyncMongoCollectionImpl.
BatchedInsertCountingCallback - Class in com.allanbank.mongodb.client.callback
BatchedInsertCountingCallback is designed to work with the BatchedWriteCallback.
BatchedInsertCountingCallback(Callback<Reply>, int) - Constructor for class com.allanbank.mongodb.client.callback.BatchedInsertCountingCallback
Creates a new CountingCallback.
BatchedNativeWriteCallback - Class in com.allanbank.mongodb.client.callback
BatchedWriteCallback provides the global callback for the batched writes when the server does not support the write commands.
BatchedNativeWriteCallback(Callback<Long>, BatchedWrite, AbstractMongoOperations, List<WriteOperation>) - Constructor for class com.allanbank.mongodb.client.callback.BatchedNativeWriteCallback
Creates a new BatchedWriteCallback.
BatchedWrite - Class in com.allanbank.mongodb.builder
BatchedWrite provides a container for a group of write operations to be sent to the server as one group.
BatchedWrite(BatchedWrite.Builder) - Constructor for class com.allanbank.mongodb.builder.BatchedWrite
Creates a new BatchedWrite.
BatchedWrite.Builder - Class in com.allanbank.mongodb.builder
Builder for creating BatchedWrites.
BatchedWrite.Builder() - Constructor for class com.allanbank.mongodb.builder.BatchedWrite.Builder
Creates a new Builder.
BatchedWrite.Bundle - Class in com.allanbank.mongodb.builder
Bundle is a container for the write command and the WriteOperation it contains.
BatchedWrite.Bundle(Document, List<WriteOperation>) - Constructor for class com.allanbank.mongodb.builder.BatchedWrite.Bundle
Creates a new Bundle.
BatchedWriteCallback - Class in com.allanbank.mongodb.client.callback
BatchedWriteCallback provides the global callback for the batched writes.
BatchedWriteCallback(String, String, Callback<Long>, BatchedWrite, Client, List<BatchedWrite.Bundle>) - Constructor for class com.allanbank.mongodb.client.callback.BatchedWriteCallback
Creates a new BatchedWriteCallback.
BatchedWriteCallback(String, String, List<Callback<Reply>>, BatchedWrite, List<BatchedWrite.Bundle>) - Constructor for class com.allanbank.mongodb.client.callback.BatchedWriteCallback
Creates a new BatchedWriteCallback.
BatchedWriteCommand - Class in com.allanbank.mongodb.client.message
BatchedWriteCommand provides a container to hold the batched write command and the operations that it was created from.
BatchedWriteCommand(String, String, BatchedWrite.Bundle) - Constructor for class com.allanbank.mongodb.client.message.BatchedWriteCommand
Create a new BatchedWriteCommand.
BatchedWriteCommand(String, String, Document) - Constructor for class com.allanbank.mongodb.client.message.BatchedWriteCommand
Creates a new BatchedWriteCommand.
BatchedWriteException - Exception in com.allanbank.mongodb.error
BatchedWriteException provides a single exception containing the aggregated errors across the batched writes.
BatchedWriteException(BatchedWrite, long, List<WriteOperation>, Map<WriteOperation, Throwable>) - Constructor for exception com.allanbank.mongodb.error.BatchedWriteException
Creates a new BatchedWriteException.
BatchedWriteMode - Enum in com.allanbank.mongodb.builder
BatchedWriteMode provides enumeration of the available modes for submitting the batched writes.
batchSize(int) - Method in class com.allanbank.mongodb.builder.Aggregate.Builder
Sets the value of the number of documents to be returned in each batch.
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.
batchSize(int) - Method in class com.allanbank.mongodb.builder.ParallelScan.Builder
Sets the value of the number of documents to be returned in each batch.
before(Date) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is less than the specified dateTime.
BinaryElement - Class in com.allanbank.mongodb.bson.element
A wrapper for a BSON binary.
BinaryElement(String, byte, BsonInputStream, int) - Constructor for class com.allanbank.mongodb.bson.element.BinaryElement
Constructs a new BinaryElement.
BinaryElement(String, byte, BsonInputStream, int, long) - Constructor for class com.allanbank.mongodb.bson.element.BinaryElement
Constructs a new BinaryElement.
BinaryElement(String, byte, byte[]) - Constructor for class com.allanbank.mongodb.bson.element.BinaryElement
Constructs a new BinaryElement.
BinaryElement(String, byte, byte[], long) - 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.
BooleanElement(String, boolean, long) - Constructor for class com.allanbank.mongodb.bson.element.BooleanElement
Constructs a new BooleanElement.
bootstrap() - Method in class com.allanbank.mongodb.client.connection.bootstrap.BootstrapConnectionFactory
Re-bootstraps the environment.
bootstrap() - Method in class com.allanbank.mongodb.client.connection.rs.ReplicaSetConnectionFactory
Finds the primary member of the replica set.
bootstrap() - Method in class com.allanbank.mongodb.client.connection.sharded.ShardedConnectionFactory
Finds the mongos servers.
BootstrapConnectionFactory - Class in com.allanbank.mongodb.client.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.client.connection.bootstrap.BootstrapConnectionFactory
bootstrapReplicaSet(ProxiedConnectionFactory) - Method in class com.allanbank.mongodb.client.connection.bootstrap.BootstrapConnectionFactory
Initializes the factory for connecting to the replica set.
bootstrapSharded(ProxiedConnectionFactory) - Method in class com.allanbank.mongodb.client.connection.bootstrap.BootstrapConnectionFactory
Initializes the factory for connecting to the sharded cluster.
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.
BsonInputStream(InputStream, int) - Constructor for class com.allanbank.mongodb.bson.io.BsonInputStream
Creates a BSON document reader.
BsonInputStream(InputStream, int, StringDecoderCache) - Constructor for class com.allanbank.mongodb.bson.io.BsonInputStream
Creates a BSON document reader.
BsonInputStream(InputStream, StringDecoderCache) - 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.
BsonOutputStream(OutputStream, StringEncoderCache) - 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(OutputStream, StringEncoderCache) - 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.BatchedWrite.Builder
Constructs a new BatchedWrite 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.Count.Builder
Constructs a new Count object from the state of the builder.
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.ParallelScan.Builder
Constructs a new ParallelScan 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
Deprecated.
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.
BUILD_INFO - Static variable in class com.allanbank.mongodb.client.message.BuildInfo
The ismaster "query" document.
buildCacheGroups() - Method in class com.allanbank.mongodb.bson.io.AbstractStringCache
Builds a map of the seen strings at each count.
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.BatchedWrite
Creates a new builder for a BatchedWrite.
builder() - Static method in class com.allanbank.mongodb.builder.Count
Creates a new builder for a Count.
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.ParallelScan
Creates a new builder for a ParallelScan.
builder() - Static method in class com.allanbank.mongodb.builder.Text
Deprecated.
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...) - Static method in class com.allanbank.mongodb.client.message.CreateIndexCommand
Generates a name for the index based on the keys.
BuildInfo - Class in com.allanbank.mongodb.client.message
Provides a convenient mechanism for creating a buildinfo command.
BuildInfo() - Constructor for class com.allanbank.mongodb.client.message.BuildInfo
Create a new IsMaster command.

C

cacheConnection(K, Connection) - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyMultipleConnection
Caches the connection to the server if there is not already a connection in the cache.
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.callback.AbstractValidatingReplyCallback
Called when the MongoDB operation has completed with the result of the operation.
callback(Reply) - Method in class com.allanbank.mongodb.client.callback.BatchedInsertCountingCallback
Called when the MongoDB operation has completed with the result of the operation.
callback(WriteOperation, long) - Method in class com.allanbank.mongodb.client.callback.BatchedNativeWriteCallback
Callback for a single write operation sent via the native messages.
callback(BatchedWrite.Bundle, Reply) - Method in class com.allanbank.mongodb.client.callback.BatchedWriteCallback
Callback for a bundle of write operations sent via the write commands.
callback(MongoIterator<Document>) - Method in class com.allanbank.mongodb.client.callback.IteratorToListCallbackAdapter
Called when the MongoDB operation has completed with the result of the operation.
callback(Document) - Method in class com.allanbank.mongodb.client.callback.LegacyStreamCallbackAdapter
Deprecated.
Called when the MongoDB operation has completed with the result of the operation.
callback(Long) - Method in class com.allanbank.mongodb.client.callback.LongToIntCallback
Called when the MongoDB operation has completed with the result of the operation.
callback(Reply) - Method in class com.allanbank.mongodb.client.callback.NoOpCallback
Called when the MongoDB operation has completed with the result of the operation.
callback(MongoIterator<Document>) - Method in class com.allanbank.mongodb.client.callback.TextCallback
Deprecated.
Support for the text command was deprecated in the 2.6 version of MongoDB. Use the $text query operator instead. This class will not be removed until two releases after the MongoDB 2.6 release (e.g. 2.10 if the releases are 2.8 and 2.10).
callback(V) - Method in class com.allanbank.mongodb.client.FutureCallback
Called when the MongoDB operation has completed with the result of the operation.
callback(V) - Method in class com.allanbank.mongodb.client.LambdaCallbackAdapter
Called when the MongoDB operation has completed with the result of the operation.
callback(Reply) - Method in class com.allanbank.mongodb.client.state.ServerUpdateCallback
Called when the MongoDB operation has completed with the result of the operation.
cancel() - Method in interface com.allanbank.mongodb.BatchedAsyncMongoCollection
Cancels the pending batch of operations without sending them to the server.
cancel() - Method in class com.allanbank.mongodb.client.BatchedAsyncMongoCollectionImpl
Cancels the pending batch of operations without sending them to the server.
cancel(boolean) - Method in class com.allanbank.mongodb.client.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.
CANONICAL_NAME_PROP - Static variable in class com.allanbank.mongodb.client.state.Server
The name for the Server's canonical name property: '"canonicalName" '.
capacity() - Method in class com.allanbank.mongodb.client.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<Server>) - Method in class com.allanbank.mongodb.client.state.Cluster
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.callback.AbstractValidatingReplyCallback
Checks for a non-flag error in the reply.
checkForReply(Cluster, Map<Server, Future<Reply>>, Map<Server, Connection>, long) - Method in class com.allanbank.mongodb.client.connection.rs.ReplicaSetReconnectStrategy
Checks for a reply from a server.
checkReply(Future<Reply>, Map<Server, Connection>, Server, long) - Method in class com.allanbank.mongodb.client.connection.rs.ReplicaSetReconnectStrategy
Extracts who the server thinks is the primary from the reply.
child(byte) - Method in class com.allanbank.mongodb.bson.io.StringDecoderCache.TrieCache.TrieNode
Returns the child node with the specified value.
CHUNK_NUMBER_FIELD - Static variable in class com.allanbank.mongodb.gridfs.GridFs
The field in the chunks collection containing the chunk's number.
CHUNK_OVERHEAD - Static variable in class com.allanbank.mongodb.gridfs.GridFs
The amount of overhead in a chunk document in bytes: 62
CHUNK_SIZE_FIELD - Static variable in class com.allanbank.mongodb.gridfs.GridFs
The field in the files collection containing the file's chunk size.
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_NAME - Static variable in class com.allanbank.mongodb.util.log.AbstractLog
The name of this class.
clear() - Method in class com.allanbank.mongodb.bson.io.AbstractStringCache
Clears the cache.
clear() - Method in class com.allanbank.mongodb.bson.io.StringDecoderCache
Clears the cache.
clear() - Method in class com.allanbank.mongodb.bson.io.StringEncoderCache
Clears the cache.
clear() - Method in class com.allanbank.mongodb.client.message.PendingMessage
Clears the state of the message allowing the referenced objects to be garbage collected.
clear() - Method in class com.allanbank.mongodb.client.state.Cluster
Removes all of the servers from the cluster.
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.client.connection.auth.Authenticator
Provides the ability to clone the authenticator.
clone() - Method in class com.allanbank.mongodb.client.connection.auth.MongoDbAuthenticator
Provides 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 interface com.allanbank.mongodb.BatchedAsyncMongoCollection
Flushes the pending batch and submits all of the pending requests to the server.
close() - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
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 class com.allanbank.mongodb.client.BatchedAsyncMongoCollectionImpl
Flushes the pending batch and submits all of the pending requests to the server.
close() - Method in class com.allanbank.mongodb.client.callback.CursorStreamingCallback
Overridden to close the iterator and send a KillCursors for the open cursor, if any.
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.connection.auth.AuthenticationConnectionFactory
close() - Method in class com.allanbank.mongodb.client.connection.bootstrap.BootstrapConnectionFactory
close() - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyConnection
Closes the underlying connection.
close() - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyMultipleConnection
Closes the underlying connection.
close() - Method in class com.allanbank.mongodb.client.connection.rs.ReplicaSetConnectionFactory
close() - Method in class com.allanbank.mongodb.client.connection.sharded.ShardedConnectionFactory
close() - Method in class com.allanbank.mongodb.client.connection.socket.SocketConnection
close() - Method in class com.allanbank.mongodb.client.connection.socket.SocketConnectionFactory
close() - Method in class com.allanbank.mongodb.client.connection.socket.TwoThreadSocketConnection
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 class com.allanbank.mongodb.client.SimpleMongoIteratorImpl
Close the iterator and release any resources it is holding.
close() - Method in class com.allanbank.mongodb.client.state.ClusterPinger
close() - Method in interface com.allanbank.mongodb.ClosableIterator
Deprecated.
Close the iterator and release any resources it is holding.
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.
Cluster - Class in com.allanbank.mongodb.client.state
Cluster tracks the state of the cluster of MongoDB servers.
Cluster(MongoClientConfiguration, ClusterType) - Constructor for class com.allanbank.mongodb.client.state.Cluster
Creates a new CLusterState.
Cluster.ServerListener - Class in com.allanbank.mongodb.client.state
ServerListener provides a listener for the state updates of the Server.
Cluster.ServerListener() - Constructor for class com.allanbank.mongodb.client.state.Cluster.ServerListener
 
ClusterPinger - Class in com.allanbank.mongodb.client.state
ClusterPinger pings each of the connections in the cluster and updates the latency of the server from this client.
ClusterPinger(Cluster, ProxiedConnectionFactory, MongoClientConfiguration) - Constructor for class com.allanbank.mongodb.client.state.ClusterPinger
Creates a new ClusterPinger.
ClusterPinger.Pinger - Class in com.allanbank.mongodb.client.state
Pinger provides logic to ping servers.
ClusterPinger.Pinger() - Constructor for class com.allanbank.mongodb.client.state.ClusterPinger.Pinger
 
ClusterStats - Interface in com.allanbank.mongodb.client
ClusterInformation provides information on the cluster.
ClusterType - Enum in com.allanbank.mongodb.client
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.
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.builder.write - package com.allanbank.mongodb.builder.write
Provides containers for the basic write operations.
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.client.callback - package com.allanbank.mongodb.client.callback
Provides implementation for various transformations, implemented in the form of Callbacks, that are used by the driver.
com.allanbank.mongodb.client.connection - package com.allanbank.mongodb.client.connection
Provides interfaces for managing connections to different MongoDB server configurations.
com.allanbank.mongodb.client.connection.auth - package com.allanbank.mongodb.client.connection.auth
Wraps a connection and ensures that all requests are properly authenticated.
com.allanbank.mongodb.client.connection.bootstrap - package com.allanbank.mongodb.client.connection.bootstrap
Bootstraps a the correct type of connections for the type of MongoDB cluster.
com.allanbank.mongodb.client.connection.proxy - package com.allanbank.mongodb.client.connection.proxy
Support for connection that delegate to a lower level connection.
com.allanbank.mongodb.client.connection.rs - package com.allanbank.mongodb.client.connection.rs
Support for connections to Replica Sets.
com.allanbank.mongodb.client.connection.sharded - package com.allanbank.mongodb.client.connection.sharded
Support for connections to Sharded Configurations.
com.allanbank.mongodb.client.connection.socket - package com.allanbank.mongodb.client.connection.socket
Low level socket connection to a single MongoDB server.
com.allanbank.mongodb.client.message - package com.allanbank.mongodb.client.message
Low level messages to be sent to the MongoDB server.
com.allanbank.mongodb.client.state - package com.allanbank.mongodb.client.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.
com.allanbank.mongodb.util.log - package com.allanbank.mongodb.util.log
Provides a micro logging framework for the driver that will use the SLF4J logging facade if it is present and Java Util Logging if it is not.
Command - Class in com.allanbank.mongodb.client.message
Helper class to make generating command queries easier.
Command(String, String, Document) - Constructor for class com.allanbank.mongodb.client.message.Command
Create a new Command.
Command(String, String, Document, Document, ReadPreference, VersionRange) - Constructor for class com.allanbank.mongodb.client.message.Command
Create a new Command.
Command(String, String, Document, ReadPreference) - Constructor for class com.allanbank.mongodb.client.message.Command
Create a new Command.
Command(String, String, Document, ReadPreference, VersionRange) - Constructor for class com.allanbank.mongodb.client.message.Command
Create a new Command.
COMMAND_COLLECTION - Static variable in interface com.allanbank.mongodb.client.connection.Connection
The collection to use when issuing commands to the database.
COMMAND_COLLECTION - Static variable in class com.allanbank.mongodb.client.message.Command
The collection to use when issuing commands to the database.
CommandCursorTranslator - Class in com.allanbank.mongodb.client.callback
CommandCursorTranslator provides static utility methods to translate cursor documents.
comment(String) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Adds a $comment to the query.
comment(String) - Method in class com.allanbank.mongodb.builder.QueryBuilder
Adds a comment to the query builder.
COMPARATOR - Static variable in class com.allanbank.mongodb.client.state.ServerLatencyComparator
A singleton instance of the comparator.
compare(ElementType) - Method in enum com.allanbank.mongodb.bson.ElementType
Similar to Enum.compareTo(E) but instead of comparing on the ordinal value compares the values based on the MongoDB sort order.
compare(Integer, Integer) - Method in class com.allanbank.mongodb.bson.io.AbstractStringCache.ReverseIntegerComparator
COMPARE - Static variable in class com.allanbank.mongodb.builder.expression.Expressions
The "$cmp" operator token
compare(Server, Server) - Method in class com.allanbank.mongodb.client.state.ServerLatencyComparator
compare(int, int) - Method in class com.allanbank.mongodb.Version
Compares two int values numerically.
compareTo(Element) - Method in class com.allanbank.mongodb.bson.element.AbstractElement
compareTo(Element) - Method in class com.allanbank.mongodb.bson.element.ArrayElement
compareTo(Element) - Method in class com.allanbank.mongodb.bson.element.BinaryElement
compareTo(Element) - Method in class com.allanbank.mongodb.bson.element.BooleanElement
compareTo(Element) - Method in interface com.allanbank.mongodb.bson.Element
compareTo(Element) - Method in class com.allanbank.mongodb.bson.element.DBPointerElement
Deprecated.
compareTo(Element) - Method in class com.allanbank.mongodb.bson.element.DocumentElement
compareTo(Element) - Method in class com.allanbank.mongodb.bson.element.DoubleElement
compareTo(Element) - Method in class com.allanbank.mongodb.bson.element.IntegerElement
compareTo(Element) - Method in class com.allanbank.mongodb.bson.element.JavaScriptElement
compareTo(Element) - Method in class com.allanbank.mongodb.bson.element.JavaScriptWithScopeElement
compareTo(Element) - Method in class com.allanbank.mongodb.bson.element.LongElement
compareTo(Element) - Method in class com.allanbank.mongodb.bson.element.MongoTimestampElement
compareTo(ObjectId) - Method in class com.allanbank.mongodb.bson.element.ObjectId
compareTo(Element) - Method in class com.allanbank.mongodb.bson.element.ObjectIdElement
compareTo(Element) - Method in class com.allanbank.mongodb.bson.element.RegularExpressionElement
compareTo(Element) - Method in class com.allanbank.mongodb.bson.element.StringElement
compareTo(Element) - Method in class com.allanbank.mongodb.bson.element.SymbolElement
compareTo(Element) - Method in class com.allanbank.mongodb.bson.element.TimestampElement
compareTo(ProfilingStatus) - Method in class com.allanbank.mongodb.ProfilingStatus
compareTo(Version) - Method in class com.allanbank.mongodb.Version
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.
computeCStringSize(String) - Static method in class com.allanbank.mongodb.bson.io.StringEncoder
Returns the visitor's output buffer.
computeStringSize(String) - Method in class com.allanbank.mongodb.bson.io.SizeOfVisitor
Returns the visitor's output buffer.
computeStringSize(String) - Static method in class com.allanbank.mongodb.bson.io.StringEncoder
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.
configurationChanged(PropertyChangeEvent) - Method in class com.allanbank.mongodb.client.connection.socket.SocketConnectionFactory
Notification of a change to the configuration of the client.
connect() - Method in class com.allanbank.mongodb.client.connection.auth.AuthenticationConnectionFactory
Creates a connection to the address provided.
connect(Server, MongoClientConfiguration) - Method in class com.allanbank.mongodb.client.connection.auth.AuthenticationConnectionFactory
Creates a connection to the address provided.
connect() - Method in class com.allanbank.mongodb.client.connection.bootstrap.BootstrapConnectionFactory
Creates a connection to the address provided.
connect() - Method in interface com.allanbank.mongodb.client.connection.ConnectionFactory
Creates a connection to the address provided.
connect(K) - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyMultipleConnection
Attempts to create a connection to the server, catching any exceptions thrown.
connect(Server, MongoClientConfiguration) - Method in interface com.allanbank.mongodb.client.connection.proxy.ProxiedConnectionFactory
Creates a connection to the address provided.
connect(Server) - Method in class com.allanbank.mongodb.client.connection.rs.ReplicaSetConnection
Attempts to create a connection to the server, catching any exceptions thrown.
connect() - Method in class com.allanbank.mongodb.client.connection.rs.ReplicaSetConnectionFactory
Creates a new connection to the replica set.
connect(Server) - Method in class com.allanbank.mongodb.client.connection.sharded.ShardedConnection
Attempts to create a connection to the server, catching any exceptions thrown.
connect() - Method in class com.allanbank.mongodb.client.connection.sharded.ShardedConnectionFactory
Creates a new connection to the shared mongos servers.
connect() - Method in class com.allanbank.mongodb.client.connection.socket.SocketConnectionFactory
Creates a connection to the address provided.
connect(Server, MongoClientConfiguration) - Method in class com.allanbank.mongodb.client.connection.socket.SocketConnectionFactory
Creates a connection to the address provided.
connected(InetSocketAddress, Socket) - Method in interface com.allanbank.mongodb.client.connection.SocketConnectionListener
Notification that the socket is now connected to the specified InetSocketAddress.
connectFailed() - Method in class com.allanbank.mongodb.client.state.Server
Notification that an attempt to connect to the server via the all of the addresses provided failed.
Connection - Interface in com.allanbank.mongodb.client.connection
Provides the lowest level interface for interacting with a MongoDB server.
connection(K) - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyMultipleConnection
Returns the cached connection for the specified key.
connection(Server) - Method in class com.allanbank.mongodb.client.connection.sharded.ShardedConnection
Returns the cached connection for the specified key.
connectionClosed() - Method in class com.allanbank.mongodb.client.state.Server
Notification that a connection has closed normally.
ConnectionFactory - Interface in com.allanbank.mongodb.client.connection
Provides an abstraction for constructing a connection.
ConnectionInfo<K> - Class in com.allanbank.mongodb.client.connection.proxy
ConnectionInfo provides a container for the information on a discovered server.
ConnectionInfo(Connection, K) - Constructor for class com.allanbank.mongodb.client.connection.proxy.ConnectionInfo
Creates a new ConnectionInfo.
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.
ConnectionModel - Enum in com.allanbank.mongodb
ConnectionModel provides an enumeration of the connection models that the driver supports.
connectionOpened(InetSocketAddress) - Method in class com.allanbank.mongodb.client.state.Server
Notification that a connection was successfully opened to the server.
connectionTerminated() - Method in class com.allanbank.mongodb.client.state.Server
Notification that a connection has closed abruptly.
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(Element) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a Constant expression wrapping the provided element.
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.AbstractDocument
Returns true if the document contains an element with the specified name.
contains(String) - Method in class com.allanbank.mongodb.bson.impl.RootDocument
Returns true if the document contains an element with the specified name.
contains(Version) - Method in class com.allanbank.mongodb.client.VersionRange
Returns true if the version is within the bounds of this VersionRange.
CONTINUE_ON_ERROR_BIT - Static variable in class com.allanbank.mongodb.client.message.Insert
The flag bit to keep inserting documents on an error.
convert(Reply) - Method in class com.allanbank.mongodb.client.callback.AbstractReplyCallback
Converts the Reply into the final response type.
convert(Reply) - Method in class com.allanbank.mongodb.client.callback.CursorCallback
Converts the Reply into the final response type.
convert(Reply) - Method in class com.allanbank.mongodb.client.callback.MultipleCursorCallback
Converts the Reply into the final response type.
convert(Reply) - Method in class com.allanbank.mongodb.client.callback.ReplyArrayCallback
Converts the Reply into the final response type.
convert(Reply) - Method in class com.allanbank.mongodb.client.callback.ReplyCommandCallback
Converts the Reply into the final response type.
convert(Reply) - Method in class com.allanbank.mongodb.client.callback.ReplyDocumentCallback
Converts the Reply into the final response type.
convert(Reply) - Method in class com.allanbank.mongodb.client.callback.ReplyIntegerCallback
Converts the Reply into the final response type.
convert(Reply) - Method in class com.allanbank.mongodb.client.callback.ReplyLongCallback
Converts the Reply into the final response type.
convert(Reply) - Method in class com.allanbank.mongodb.client.callback.ReplyResultCallback
Converts the Reply into the final response type.
convert(Reply) - Method in class com.allanbank.mongodb.client.callback.SingleDocumentCallback
Converts the Reply into the final response type.
convert(Reply) - Method in class com.allanbank.mongodb.client.callback.SingleDocumentReplyCallback
Converts the Reply into the final response type.
convert(Reply) - Method in class com.allanbank.mongodb.client.callback.ValidatingReplyCallback
Converts the Reply into the final response type.
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 - Class in com.allanbank.mongodb.builder
Count provides an immutable container for all of the options for a query to count documents.
Count(Count.Builder) - Constructor for class com.allanbank.mongodb.builder.Count
Creates a new Count.
count() - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
Counts the set of documents in the collection.
count(Count) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
Counts the set of documents matching the query document in the collection.
count(Count.Builder) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
Counts the set of documents matching the query document in the collection.
count(DocumentAssignable) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
Counts the set of documents matching the query document in the collection.
count(DocumentAssignable, ReadPreference) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
Counts the set of documents matching the query document in the collection.
count(ReadPreference) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
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(Count) - Method in interface com.allanbank.mongodb.MongoCollection
Counts the set of documents matching the query document in the collection.
count(Count.Builder) - Method in interface com.allanbank.mongodb.MongoCollection
Counts the set of documents matching the query document 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.
Count.Builder - Class in com.allanbank.mongodb.builder
Helper for creating immutable Count queries.
Count.Builder() - Constructor for class com.allanbank.mongodb.builder.Count.Builder
Creates a new Builder.
Count.Builder(DocumentAssignable) - Constructor for class com.allanbank.mongodb.builder.Count.Builder
Creates a new Builder.
countAsync() - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Counts the set of documents in the collection.
countAsync(Callback<Long>) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Counts the set of documents in the collection.
countAsync(Callback<Long>, Count) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Counts the set of documents matching the query document in the collection.
countAsync(Callback<Long>, Count.Builder) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Counts the set of documents matching the query document in the collection.
countAsync(Callback<Long>, DocumentAssignable) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Counts the set of documents matching the query document in the collection.
countAsync(Callback<Long>, DocumentAssignable, ReadPreference) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Counts the set of documents matching the query document in the collection.
countAsync(Callback<Long>, ReadPreference) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Counts the set of documents in the collection.
countAsync(Count) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Counts the set of documents matching the query document in the collection.
countAsync(Count.Builder) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Counts the set of documents matching the query document in the collection.
countAsync(DocumentAssignable) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Counts the set of documents matching the query document in the collection.
countAsync(DocumentAssignable, ReadPreference) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Counts the set of documents matching the query document in the collection.
countAsync(LambdaCallback<Long>) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Counts the set of documents in the collection.
countAsync(LambdaCallback<Long>, Count) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Counts the set of documents matching the query document in the collection.
countAsync(LambdaCallback<Long>, Count.Builder) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Counts the set of documents matching the query document in the collection.
countAsync(LambdaCallback<Long>, DocumentAssignable) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Counts the set of documents matching the query document in the collection.
countAsync(LambdaCallback<Long>, DocumentAssignable, ReadPreference) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Counts the set of documents matching the query document in the collection.
countAsync(LambdaCallback<Long>, ReadPreference) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Counts the set of documents in the collection.
countAsync(ReadPreference) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Counts the set of documents in the collection.
countAsync() - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Counts the set of documents in the collection.
countAsync(Callback<Long>) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Counts the set of documents in the collection.
countAsync(Callback<Long>, Count.Builder) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Counts the set of documents matching the query document in the collection.
countAsync(Callback<Long>, DocumentAssignable) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Counts the set of documents matching the query document in the collection.
countAsync(Callback<Long>, DocumentAssignable, ReadPreference) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Counts the set of documents matching the query document in the collection.
countAsync(Callback<Long>, ReadPreference) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Counts the set of documents in the collection.
countAsync(Count) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Counts the set of documents matching the query document in the collection.
countAsync(Count.Builder) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Counts the set of documents matching the query document in the collection.
countAsync(DocumentAssignable) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Counts the set of documents matching the query document in the collection.
countAsync(DocumentAssignable, ReadPreference) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Counts the set of documents matching the query document in the collection.
countAsync(LambdaCallback<Long>) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Counts the set of documents in the collection.
countAsync(LambdaCallback<Long>, Count) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Counts the set of documents matching the query document in the collection.
countAsync(LambdaCallback<Long>, Count.Builder) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Counts the set of documents matching the query document in the collection.
countAsync(LambdaCallback<Long>, DocumentAssignable) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Counts the set of documents matching the query document in the collection.
countAsync(LambdaCallback<Long>, DocumentAssignable, ReadPreference) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Counts the set of documents matching the query document in the collection.
countAsync(LambdaCallback<Long>, ReadPreference) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Counts the set of documents in the collection.
countAsync(ReadPreference) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Counts the set of documents in the collection.
countAsync(Callback<Long>, Count) - Method in class com.allanbank.mongodb.client.AbstractMongoOperations
Constructs a count command and sends it to the server via the Client.
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.
createBootstrapState() - Method in class com.allanbank.mongodb.client.connection.sharded.ShardedConnectionFactory
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.
createCluster(MongoClientConfiguration) - Method in class com.allanbank.mongodb.client.connection.sharded.ShardedConnectionFactory
Creates a Cluster object to track the state of the servers across the cluster.
createClusterPinger(ProxiedConnectionFactory, MongoClientConfiguration) - Method in class com.allanbank.mongodb.client.connection.sharded.ShardedConnectionFactory
Creates a ClusterPinger object to periodically update the status of the servers.
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.SynchronousMongoCollectionImpl
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.SynchronousMongoCollectionImpl
Creates an index with a generated name, across the keys specified allowing duplicate entries.
createIndex(Element...) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
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.SynchronousMongoCollectionImpl
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.SynchronousMongoCollectionImpl
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.
CreateIndexCommand - Class in com.allanbank.mongodb.client.message
Helper class to make generating a createIndexes command easier.
CreateIndexCommand(String, String, Element[], String, DocumentAssignable) - Constructor for class com.allanbank.mongodb.client.message.CreateIndexCommand
Create a new CreateIndexCommand.
createIndexes() - Method in class com.allanbank.mongodb.gridfs.GridFs
Creates the following indexes: Files Collection: { 'filename' : 1, 'uploadDate' : 1 } Chunks Collection: { 'files_id' : 1, 'n' : 1 } If in a non-sharded environment the indexes will be unique.
createQuery(Find, int, int, boolean, boolean, boolean) - Method in class com.allanbank.mongodb.client.AbstractMongoOperations
Creates a properly configured Query message.
createReconnectFailure(Message, Message) - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyMultipleConnection
Creates a exception for a reconnect failure.
createSelector() - Method in class com.allanbank.mongodb.client.connection.sharded.ShardedConnectionFactory
Creates a ServerSelector object to select the (presumed) optimal server to handle a request.
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.
CredentialEditor - Class in com.allanbank.mongodb
CredentialEditor provides the ability to parse the credentials from a MongoDB URI.
CredentialEditor() - Constructor for class com.allanbank.mongodb.CredentialEditor
Creates a new CredentialEditor.
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.client.message.Reply
Bit for the cursor not found flag.
CURSOR_VERSION - Static variable in class com.allanbank.mongodb.builder.Aggregate
The first version of MongoDB to support the aggregate command using a cursor.
CursorableMessage - Interface in com.allanbank.mongodb.client.message
CursorableMessage provides a common interface for messages that can start a cursor.
CursorCallback - Class in com.allanbank.mongodb.client.callback
Callback to convert a CursorableMessage Reply into a MongoIteratorImpl.
CursorCallback(Client, CursorableMessage, boolean, Callback<MongoIterator<Document>>) - Constructor for class com.allanbank.mongodb.client.callback.CursorCallback
Create a new CursorCallback.
cursorLimit(int) - Method in class com.allanbank.mongodb.builder.Aggregate.Builder
Sets the value of the total number of documents to be returned.
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.
CursorStreamingCallback - Class in com.allanbank.mongodb.client.callback
Callback to convert a CursorableMessage Reply into a series of callback for each document received.
CursorStreamingCallback(Client, CursorableMessage, boolean, StreamCallback<Document>) - Constructor for class com.allanbank.mongodb.client.callback.CursorStreamingCallback
Create a new CursorCallback.
CursorStreamingCallback(Client, Document, StreamCallback<Document>) - Constructor for class com.allanbank.mongodb.client.callback.CursorStreamingCallback
Create a new CursorCallback from a cursor document.

D

d(Element...) - Static method in class com.allanbank.mongodb.bson.builder.BuilderFactory
Helper method for creating static document structures.
DATA_FIELD - Static variable in class com.allanbank.mongodb.gridfs.GridFs
The field in the chunks collection containing the chunk's data.
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.
DBPointerElement(String, String, String, ObjectId, long) - Constructor for class com.allanbank.mongodb.bson.element.DBPointerElement
Deprecated.
Constructs a new DBPointerElement.
debug(String) - Method in class com.allanbank.mongodb.util.log.AbstractLog
Logs a message at the DEBUG level.
debug(String, Object...) - Method in class com.allanbank.mongodb.util.log.AbstractLog
Logs a message at the DEBUG level.
debug(Throwable, String, Object...) - Method in class com.allanbank.mongodb.util.log.AbstractLog
Logs a message at the DEBUG level.
debug(String) - Method in interface com.allanbank.mongodb.util.log.Log
Logs a message at the DEBUG level.
debug(String, Object...) - Method in interface com.allanbank.mongodb.util.log.Log
Logs a message at the DEBUG level.
debug(Throwable, String, Object...) - Method in interface com.allanbank.mongodb.util.log.Log
Logs a message at the DEBUG level.
DECAY_ALPHA - Static variable in class com.allanbank.mongodb.client.state.Server
The decay rate for the exponential average for the latency.
DECAY_SAMPLES - Static variable in class com.allanbank.mongodb.client.state.Server
The decay period (number of samples) for the average latency.
decode(byte[], int, int) - Method in class com.allanbank.mongodb.bson.io.StringDecoder
Decode a string of a known length.
DEFAULT_BATCH_SIZE - Static variable in class com.allanbank.mongodb.client.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_MAX_CACHE_ENTRIES - Static variable in class com.allanbank.mongodb.bson.io.AbstractStringCache
The default maximum number of entries to keep in the cache.
DEFAULT_MAX_CACHE_LENGTH - Static variable in class com.allanbank.mongodb.bson.io.AbstractStringCache
The default maximum length byte array to cache.
DEFAULT_MAX_STRING_CACHE_ENTRIES - Static variable in class com.allanbank.mongodb.MongoClientConfiguration
The default maximum number of strings to keep in the string encoder and decoder cache.
DEFAULT_MAX_STRING_CACHE_LENGTH - Static variable in class com.allanbank.mongodb.MongoClientConfiguration
The default maximum length byte array / string to cache.
DEFAULT_NAME - Static variable in class com.allanbank.mongodb.bson.element.ObjectIdElement
The BSON type for a Object Id.
DEFAULT_NAME - Static variable in class com.allanbank.mongodb.client.callback.ReplyArrayCallback
The default name for the values array.
DEFAULT_NAME - Static variable in class com.allanbank.mongodb.client.callback.ReplyDocumentCallback
The default name for the reply's document to return.
DEFAULT_NAME - Static variable in class com.allanbank.mongodb.client.callback.ReplyIntegerCallback
The default name for the long value to return.
DEFAULT_NAME - Static variable in class com.allanbank.mongodb.client.callback.ReplyLongCallback
The default name for the long value to return.
DEFAULT_PING_INTERVAL_SECONDS - Static variable in class com.allanbank.mongodb.client.state.ClusterPinger
The default interval between ping sweeps in seconds.
DEFAULT_PORT - Static variable in class com.allanbank.mongodb.client.state.Server
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.
DEFAULT_WAIT_TIME_MS - Static variable in class com.allanbank.mongodb.DurabilityEditor
The default wait time for tokenized durabilities: 30000 ms.
delete(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.BatchedWrite.Builder
Update a document based on a query.
delete(DocumentAssignable, boolean) - Method in class com.allanbank.mongodb.builder.BatchedWrite.Builder
Update a document based on a query.
delete(DocumentAssignable, boolean, Durability) - Static method in class com.allanbank.mongodb.builder.BatchedWrite
Create a batched write with a single delete operation.
Delete - Class in com.allanbank.mongodb.client.message
Message to delete documents from a collection.
Delete(BsonInputStream) - Constructor for class com.allanbank.mongodb.client.message.Delete
Create a new Delete message.
Delete(String, String, Document, boolean) - Constructor for class com.allanbank.mongodb.client.message.Delete
Create a new Delete message.
delete(DocumentAssignable) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
Deletes a set of documents matching a query from the collection.
delete(DocumentAssignable, boolean) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
Deletes a set of documents matching a query from the collection.
delete(DocumentAssignable, boolean, Durability) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
Deletes a set of documents matching a query from the collection.
delete(DocumentAssignable, Durability) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
Deletes a set of documents matching a query from the collection.
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.AbstractMongoOperations
The default for if a delete should only delete the first document it matches.
deleteAsync(Callback<Long>, DocumentAssignable) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Deletes a set of documents matching a query from the collection.
deleteAsync(Callback<Long>, DocumentAssignable, boolean) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Deletes a set of documents matching a query from the collection.
deleteAsync(Callback<Long>, DocumentAssignable, boolean, Durability) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Deletes a set of documents matching a query from the collection.
deleteAsync(Callback<Long>, DocumentAssignable, Durability) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Deletes a set of documents matching a query from the collection.
deleteAsync(DocumentAssignable) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Deletes a set of documents matching a query from the collection.
deleteAsync(DocumentAssignable, boolean) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Deletes a set of documents matching a query from the collection.
deleteAsync(DocumentAssignable, boolean, Durability) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Deletes a set of documents matching a query from the collection.
deleteAsync(DocumentAssignable, Durability) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Deletes a set of documents matching a query from the collection.
deleteAsync(LambdaCallback<Long>, DocumentAssignable) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Deletes a set of documents matching a query from the collection.
deleteAsync(LambdaCallback<Long>, DocumentAssignable, boolean) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Deletes a set of documents matching a query from the collection.
deleteAsync(LambdaCallback<Long>, DocumentAssignable, boolean, Durability) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Deletes a set of documents matching a query from the collection.
deleteAsync(LambdaCallback<Long>, DocumentAssignable, Durability) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Deletes a set of documents matching a query from the collection.
deleteAsync(Callback<Long>, DocumentAssignable) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Deletes a set of documents matching a query from the collection.
deleteAsync(Callback<Long>, DocumentAssignable, boolean) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Deletes a set of documents matching a query from the collection.
deleteAsync(Callback<Long>, DocumentAssignable, Durability) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Deletes a set of documents matching a query from the collection.
deleteAsync(DocumentAssignable) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Deletes a set of documents matching a query from the collection.
deleteAsync(DocumentAssignable, boolean) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Deletes a set of documents matching a query from the collection.
deleteAsync(DocumentAssignable, boolean, Durability) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Deletes a set of documents matching a query from the collection.
deleteAsync(DocumentAssignable, Durability) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Deletes a set of documents matching a query from the collection.
deleteAsync(LambdaCallback<Long>, DocumentAssignable) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Deletes a set of documents matching a query from the collection.
deleteAsync(LambdaCallback<Long>, DocumentAssignable, boolean) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Deletes a set of documents matching a query from the collection.
deleteAsync(LambdaCallback<Long>, DocumentAssignable, boolean, Durability) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Deletes a set of documents matching a query from the collection.
deleteAsync(LambdaCallback<Long>, DocumentAssignable, Durability) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Deletes a set of documents matching a query from the collection.
deleteAsync(Callback<Long>, DocumentAssignable, boolean, Durability) - Method in class com.allanbank.mongodb.client.AbstractMongoOperations
Constructs a Delete message and sends it to the server via the Client.
DeleteOperation - Class in com.allanbank.mongodb.builder.write
DeleteOperation provides a container for the fields in a delete request.
DeleteOperation(DocumentAssignable, boolean) - Constructor for class com.allanbank.mongodb.builder.write.DeleteOperation
Creates a new DeleteOperation.
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.Index
The value to indicate an descending index order.
DESCENDING - Static variable in class com.allanbank.mongodb.builder.Sort
The value to indicate an descending sort order.
determineIndexServerVersion(Element[]) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
Determines the minimum server version required to support the provided index keys and options.
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.SynchronousMongoCollectionImpl
Invokes a distinct command on the server.
distinct(Distinct.Builder) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
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<MongoIterator<Element>>, Distinct) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Invokes a distinct command on the server.
distinctAsync(Callback<MongoIterator<Element>>, Distinct.Builder) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Invokes a distinct command on the server.
distinctAsync(Distinct) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Invokes a distinct command on the server.
distinctAsync(Distinct.Builder) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Invokes a distinct command on the server.
distinctAsync(LambdaCallback<MongoIterator<Element>>, Distinct) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Invokes a distinct command on the server.
distinctAsync(LambdaCallback<MongoIterator<Element>>, Distinct.Builder) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Invokes a distinct command on the server.
distinctAsync(Callback<MongoIterator<Element>>, Distinct.Builder) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Invokes a distinct command on the server.
distinctAsync(Distinct) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Invokes a distinct command on the server.
distinctAsync(Distinct.Builder) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Invokes a distinct command on the server.
distinctAsync(LambdaCallback<MongoIterator<Element>>, Distinct) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Invokes a distinct command on the server.
distinctAsync(LambdaCallback<MongoIterator<Element>>, Distinct.Builder) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Invokes a distinct command on the server.
distinctAsync(Callback<MongoIterator<Element>>, Distinct) - Method in class com.allanbank.mongodb.client.AbstractMongoOperations
Constructs a distinct command and sends it to the server via the Client.
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.
doAddFault(Map<Object, List<String>>, Element, String) - Method in class com.allanbank.mongodb.gridfs.GridFs
Adds a fault message to the faults map.
Document - Interface in com.allanbank.mongodb.bson
Interface for a document.
DOCUMENT_TYPE - Static variable in class com.allanbank.mongodb.client.state.Server
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.
DocumentEditor - Class in com.allanbank.mongodb.bson
PropertyEditor for the Document class.
DocumentEditor() - Constructor for class com.allanbank.mongodb.bson.DocumentEditor
Creates a new DocumentEditor.
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.
DocumentElement(String, List<Element>, boolean, long) - 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.client.connection.socket.TwoThreadSocketConnection.SendRunnable
Flushes the messages in the buffer and clears the need-to-flush flag.
doGetLog(Class<?>) - Method in class com.allanbank.mongodb.util.log.JulLogFactory
Delegate method for the instantiated LogFactory.
doGetLog(Class<?>) - Method in class com.allanbank.mongodb.util.log.LogFactory
Delegate method for the instantiated LogFactory.
doGetLog(Class<?>) - Method in class com.allanbank.mongodb.util.log.Slf4jLogFactory
Delegate method for the instantiated LogFactory.
doInsertAsync(Callback<Integer>, boolean, Durability, Version, DocumentAssignable...) - Method in class com.allanbank.mongodb.client.AbstractMongoOperations
Sends an Insert message to the server.
doLog(Level, Throwable, String, Object...) - Method in class com.allanbank.mongodb.util.log.AbstractLog
Delegate method for the Log implementation.
doLog(Level, Throwable, String, Object...) - Method in class com.allanbank.mongodb.util.log.JulLog
Delegate method for the Log implementation.
doLog(Level, Throwable, String, Object...) - Method in class com.allanbank.mongodb.util.log.Slf4jLog
Delegate method for the Log implementation.
done() - Method in class com.allanbank.mongodb.client.callback.LegacyStreamCallbackAdapter
Deprecated.
Called when the stream of MongoDB documents has been exhausted.
done() - Method in class com.allanbank.mongodb.client.connection.sharded.ShardedConnectionFactory.BootstrapState
Indicates when the bootstrap is complete.
done() - Method in class com.allanbank.mongodb.client.LambdaCallbackAdapter
Called when the stream of MongoDB documents has been exhausted.
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.
doRead(Document, OutputStream) - Method in class com.allanbank.mongodb.gridfs.GridFs
Reads a file from the GridFS collections and writes the contents to the sink
doReceive() - Method in class com.allanbank.mongodb.client.connection.socket.AbstractSocketConnection
Receives a single message from the connection.
doReceiveOne() - Method in class com.allanbank.mongodb.client.connection.socket.AbstractSocketConnection
Receives and process a single message.
doSend(Connection, Message, Message, ReplyCallback) - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyMultipleConnection
Sends the message on the connection.
doSend(int, RandomAccessOutputStream) - Method in class com.allanbank.mongodb.client.connection.socket.AbstractSocketConnection
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).
doTryAndRepair(Document, Map<Object, List<String>>) - Method in class com.allanbank.mongodb.gridfs.GridFs
Tries to repair the file.
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.
DoubleElement(String, double, long) - Constructor for class com.allanbank.mongodb.bson.element.DoubleElement
Constructs a new DoubleElement.
doUnlink(Document) - Method in class com.allanbank.mongodb.gridfs.GridFs
Unlinks (deletes) the file from the GridFS collections.
doValidate(Document) - Method in class com.allanbank.mongodb.gridfs.GridFs
Validates the file from the GridFS collections using the filemd5 command.
doVerifyFileMd5(Map<Object, List<String>>, Document, Document) - Method in class com.allanbank.mongodb.gridfs.GridFs
Verifies the MD5 result for the filemd5 command.
doWriteAsync(ClusterStats, Callback<Long>, BatchedWrite) - Method in class com.allanbank.mongodb.client.AbstractMongoOperations
Performs a async write operation.
drainTo(List<PendingMessage>) - Method in class com.allanbank.mongodb.client.message.PendingMessageQueue
Drains the list of pending messages into the provided list.
drop() - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
Drops the database.
drop() - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
Drops the collection from 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.SynchronousMongoCollectionImpl
Deletes the indexes matching the keys specified.
dropIndex(String) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
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, Message, Reply) - Constructor for exception com.allanbank.mongodb.error.DuplicateKeyException
Create a new DuplicateKeyException.
DuplicateKeyException(int, int, String, Reply) - Constructor for exception com.allanbank.mongodb.error.DuplicateKeyException
Create a new DuplicateKeyException.
durability(Durability) - Method in class com.allanbank.mongodb.builder.BatchedWrite.Builder
Sets the durability for the writes.
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.
DurabilityEditor - Class in com.allanbank.mongodb
PropertyEditor for the Durability class.
DurabilityEditor() - Constructor for class com.allanbank.mongodb.DurabilityEditor
Creates a new DurabilityEditor.
DurabilityException - Exception in com.allanbank.mongodb.error
Exception raised when a write encounters a durability violation.
DurabilityException(int, int, String, Message, Reply) - Constructor for exception com.allanbank.mongodb.error.DurabilityException
Create a new DurabilityException.
DurabilityException(int, int, String, Reply) - Constructor for exception com.allanbank.mongodb.error.DurabilityException
Create a new DurabilityException.

E

e(String, boolean) - Static method in class com.allanbank.mongodb.bson.builder.BuilderFactory
Creates a boolean element.
e(String, byte[]) - Static method in class com.allanbank.mongodb.bson.builder.BuilderFactory
Creates a binary element using sub-type zero (the default).
e(String, Date) - Static method in class com.allanbank.mongodb.bson.builder.BuilderFactory
Creates a timestamp element.
e(String, DocumentAssignable) - Static method in class com.allanbank.mongodb.bson.builder.BuilderFactory
Creates a pre-constructed document element.
e(String, double) - Static method in class com.allanbank.mongodb.bson.builder.BuilderFactory
Creates a double element.
e(String, ElementAssignable) - Static method in class com.allanbank.mongodb.bson.builder.BuilderFactory
Re-creates the Element with the name provided.
e(String, int) - Static method in class com.allanbank.mongodb.bson.builder.BuilderFactory
Creates a integer (32-bit signed) element.
e(String, long) - Static method in class com.allanbank.mongodb.bson.builder.BuilderFactory
Creates a long (64-bit signed) element.
e(String, Object) - Static method in class com.allanbank.mongodb.bson.builder.BuilderFactory
Creates an element after trying to coerce the value into the best possible element type.
e(String, ObjectId) - Static method in class com.allanbank.mongodb.bson.builder.BuilderFactory
Creates an ObjectId element.
e(String, Pattern) - Static method in class com.allanbank.mongodb.bson.builder.BuilderFactory
Creates a regular expression element.
e(String, String) - Static method in class com.allanbank.mongodb.bson.builder.BuilderFactory
Creates a string element.
e(String, UUID) - Static method in class com.allanbank.mongodb.bson.builder.BuilderFactory
Create a (sub-type 4) UUID element.
earlier(Version, Version) - Static method in class com.allanbank.mongodb.Version
Returns the earlier of the two versions.
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.AbstractDocument
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.AbstractDocument
The empty list of elements.
EMPTY_INDEX_OPTIONS - Static variable in class com.allanbank.mongodb.client.AbstractMongoOperations
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.
encode(String, OutputStream) - Method in class com.allanbank.mongodb.bson.io.StringEncoder
Writes the string as a UTF-8 string.
encodeSize(String) - Method in class com.allanbank.mongodb.bson.io.StringEncoder
Computes the size of the encoded UTF8 String based on the table below.
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.AbstractDocument
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(Date) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value equals the specified dateTime.
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
Deprecated.
equals(Object) - Method in class com.allanbank.mongodb.builder.write.DeleteOperation
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.builder.write.InsertOperation
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.builder.write.UpdateOperation
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.client.connection.proxy.AbstractProxyConnection.ProxiedChangeListener
equals(Object) - Method in class com.allanbank.mongodb.client.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.client.message.AggregateCommand
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.client.message.BatchedWriteCommand
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.client.message.Command
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.client.message.CreateIndexCommand
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.client.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.client.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.client.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.client.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.client.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.client.message.ParallelScanCommand
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.client.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.client.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.client.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.client.state.Server
equals(Object) - Method in class com.allanbank.mongodb.client.VersionRange
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.
equals(Object) - Method in class com.allanbank.mongodb.Version
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(String) - Method in class com.allanbank.mongodb.util.log.AbstractLog
Logs a message at the ERROR level.
error(String, Object...) - Method in class com.allanbank.mongodb.util.log.AbstractLog
Logs a message at the ERROR level.
error(Throwable, String, Object...) - Method in class com.allanbank.mongodb.util.log.AbstractLog
Logs a message at the ERROR level.
error(String) - Method in interface com.allanbank.mongodb.util.log.Log
Logs a message at the ERROR level.
error(String, Object...) - Method in interface com.allanbank.mongodb.util.log.Log
Logs a message at the ERROR level.
error(Throwable, String, Object...) - Method in interface com.allanbank.mongodb.util.log.Log
Logs a message at the ERROR level.
ERROR_CODE_FIELD - Static variable in class com.allanbank.mongodb.client.callback.AbstractValidatingReplyCallback
The fields that may contain the error code.
ERROR_MESSAGE_FIELDS - Static variable in class com.allanbank.mongodb.client.callback.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.callback.AbstractReplyCallback
Called when the operation fails due to an exception.
exception(Throwable) - Method in class com.allanbank.mongodb.client.callback.AbstractValidatingReplyCallback
Called when the operation fails due to an exception.
exception(Throwable) - Method in class com.allanbank.mongodb.client.callback.BatchedInsertCountingCallback
Called when the operation fails due to an exception.
exception(WriteOperation, Throwable) - Method in class com.allanbank.mongodb.client.callback.BatchedNativeWriteCallback
Callback for a single write operation sent via the native messages has failed.
exception(BatchedWrite.Bundle, Throwable) - Method in class com.allanbank.mongodb.client.callback.BatchedWriteCallback
Callback for a bundle of write operations sent via the write commands has failed.
exception(Throwable) - Method in class com.allanbank.mongodb.client.callback.CursorStreamingCallback
Called when the operation fails due to an exception.
exception(Throwable) - Method in class com.allanbank.mongodb.client.callback.IteratorToListCallbackAdapter
Called when the operation fails due to an exception.
exception(Throwable) - Method in class com.allanbank.mongodb.client.callback.LegacyStreamCallbackAdapter
Deprecated.
Called when the operation fails due to an exception.
exception(Throwable) - Method in class com.allanbank.mongodb.client.callback.LongToIntCallback
Called when the operation fails due to an exception.
exception(Throwable) - Method in class com.allanbank.mongodb.client.callback.NoOpCallback
Called when the operation fails due to an exception.
exception(Throwable) - Method in class com.allanbank.mongodb.client.callback.TextCallback
Deprecated.
Support for the text command was deprecated in the 2.6 version of MongoDB. Use the $text query operator instead. This class will not be removed until two releases after the MongoDB 2.6 release (e.g. 2.10 if the releases are 2.8 and 2.10).
exception(Throwable) - Method in class com.allanbank.mongodb.client.FutureCallback
Called when the operation fails due to an exception.
exception(Throwable) - Method in class com.allanbank.mongodb.client.LambdaCallbackAdapter
Called when the operation fails due to an exception.
exception(Throwable) - Method in class com.allanbank.mongodb.client.state.ServerUpdateCallback
Called when the operation fails due to an exception.
execute() - Method in class com.allanbank.mongodb.client.FutureCallback
Runs this execution list, executing all existing pairs.
EXHAUST_FLAG_BIT - Static variable in class com.allanbank.mongodb.client.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.
exists() - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
Returns true if this database already exists on the server.
exists() - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
Returns true if this collection already exists on the server.
exists() - Method in interface com.allanbank.mongodb.MongoCollection
Returns true if this collection already exists on the server.
exists() - Method in interface com.allanbank.mongodb.MongoDatabase
Returns true if this database already exists on the server.
expectedTokenSequences - Variable in exception com.allanbank.mongodb.bson.json.ParseException
Each entry in this array is an array of integers.
explain(Aggregate) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
Explains the way that the aggregation will be performed.
explain(Aggregate.Builder) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
Explains the way that the aggregation will be performed.
explain(DocumentAssignable) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
Explains the way that the query will be performed.
explain(Find) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
Explains the way that the query will be performed.
explain(Find.Builder) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
Explains the way that the query will be performed.
explain(Aggregate) - Method in interface com.allanbank.mongodb.MongoCollection
Explains the way that the aggregation will be performed.
explain(Aggregate.Builder) - Method in interface com.allanbank.mongodb.MongoCollection
Explains the way that the aggregation will be performed.
explain(DocumentAssignable) - Method in interface com.allanbank.mongodb.MongoCollection
Explains the way that the query will be performed.
explain(Find) - Method in interface com.allanbank.mongodb.MongoCollection
Explains the way that the query will be performed.
explain(Find.Builder) - Method in interface com.allanbank.mongodb.MongoCollection
Explains the way that the query will be performed.
EXPLAIN_VERSION - Static variable in class com.allanbank.mongodb.builder.Aggregate
The first version of MongoDB to support the aggregate command with the explain option.
explainAsync(Aggregate) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Explains the way that the aggregation will be performed.
explainAsync(Aggregate.Builder) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Explains the way that the aggregation will be performed.
explainAsync(Callback<Document>, Aggregate) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Explains the way that the aggregation will be performed.
explainAsync(Callback<Document>, Aggregate.Builder) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Explains the way that the aggregation will be performed.
explainAsync(Callback<Document>, Find) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Explains the way that the query will be performed.
explainAsync(Callback<Document>, Find.Builder) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Explains the way that the query will be performed.
explainAsync(Find) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Explains the way that the document will be performed.
explainAsync(Find.Builder) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Explains the way that the document will be performed.
explainAsync(LambdaCallback<Document>, Aggregate) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Explains the way that the aggregation will be performed.
explainAsync(LambdaCallback<Document>, Aggregate.Builder) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Explains the way that the aggregation will be performed.
explainAsync(LambdaCallback<Document>, Find) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Explains the way that the query will be performed.
explainAsync(LambdaCallback<Document>, Find.Builder) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Explains the way that the query will be performed.
explainAsync(Aggregate) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Explains the way that the aggregation will be performed.
explainAsync(Aggregate.Builder) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Explains the way that the aggregation will be performed.
explainAsync(Callback<Document>, Aggregate.Builder) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Explains the way that the aggregation will be performed.
explainAsync(Callback<Document>, Find.Builder) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Explains the way that the query will be performed.
explainAsync(Find) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Explains the way that the document will be performed.
explainAsync(Find.Builder) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Explains the way that the document will be performed.
explainAsync(LambdaCallback<Document>, Aggregate) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Explains the way that the aggregation will be performed.
explainAsync(LambdaCallback<Document>, Aggregate.Builder) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Explains the way that the aggregation will be performed.
explainAsync(LambdaCallback<Document>, Find) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Explains the way that the query will be performed.
explainAsync(LambdaCallback<Document>, Find.Builder) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Explains the way that the query will be performed.
explainAsync(Callback<Document>, Aggregate) - Method in class com.allanbank.mongodb.client.AbstractMongoOperations
Constructs a AggregateCommand and sends it to the server via the Client.
explainAsync(Callback<Document>, Find) - Method in class com.allanbank.mongodb.client.AbstractMongoOperations
Constructs a Query message and sends it to the server via the Client.
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

fastEncode(String, OutputStream) - Method in class com.allanbank.mongodb.bson.io.StringEncoder
Writes the string as a UTF-8 string.
field(String) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a Constant expression with the provided fieldName.
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.
FILENAME_FIELD - Static variable in class com.allanbank.mongodb.gridfs.GridFs
The field in the files collection containing the file's name.
FILES_ID_FIELD - Static variable in class com.allanbank.mongodb.gridfs.GridFs
The field in the chunks collection containing the chunk's related file id.
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.AbstractDocument
Returns the elements matching the path of regular expressions.
find(String...) - Method in class com.allanbank.mongodb.bson.impl.AbstractDocument
Returns the elements matching the path of regular expressions.
find(byte[], int, int) - Method in class com.allanbank.mongodb.bson.io.StringDecoderCache
Decode a string of a known length.
find(byte[], int, int) - Method in class com.allanbank.mongodb.bson.io.StringDecoderCache.TrieCache
Finds the value for the byte string, if known to the cache.
find(String) - Method in class com.allanbank.mongodb.bson.io.StringEncoderCache
Looks in the cache for encoded bytes for the specified string.
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.SynchronousMongoCollectionImpl
Finds the set of documents matching the query document in the collection.
find(Find) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
Finds the set of documents matching the query in the collection.
find(Find.Builder) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
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.SynchronousMongoCollectionImpl
Invokes a findAndModify command on the server.
findAndModify(FindAndModify.Builder) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
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 interface com.allanbank.mongodb.AsyncMongoCollection
Invokes a findAndModify command on the server.
findAndModifyAsync(Callback<Document>, FindAndModify.Builder) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Invokes a findAndModify command on the server.
findAndModifyAsync(FindAndModify) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Invokes a findAndModify command on the server.
findAndModifyAsync(FindAndModify.Builder) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Invokes a findAndModify command on the server.
findAndModifyAsync(LambdaCallback<Document>, FindAndModify) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Invokes a findAndModify command on the server.
findAndModifyAsync(LambdaCallback<Document>, FindAndModify.Builder) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Invokes a findAndModify command on the server.
findAndModifyAsync(Callback<Document>, FindAndModify.Builder) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Invokes a findAndModify command on the server.
findAndModifyAsync(FindAndModify) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Invokes a findAndModify command on the server.
findAndModifyAsync(FindAndModify.Builder) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Invokes a findAndModify command on the server.
findAndModifyAsync(LambdaCallback<Document>, FindAndModify) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Invokes a findAndModify command on the server.
findAndModifyAsync(LambdaCallback<Document>, FindAndModify.Builder) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Invokes a findAndModify command on the server.
findAndModifyAsync(Callback<Document>, FindAndModify) - Method in class com.allanbank.mongodb.client.AbstractMongoOperations
Constructs a findAndModify command and sends it to the server via the Client.
findAsync(Callback<MongoIterator<Document>>, DocumentAssignable) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Finds the set of documents matching the query document in the collection.
findAsync(Callback<MongoIterator<Document>>, Find) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Finds the set of documents matching the query in the collection.
findAsync(Callback<MongoIterator<Document>>, Find.Builder) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Finds the set of documents matching the query in the collection.
findAsync(DocumentAssignable) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Finds the set of documents matching the query document in the collection.
findAsync(Find) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Finds the set of documents matching the query in the collection.
findAsync(Find.Builder) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Finds the set of documents matching the query in the collection.
findAsync(LambdaCallback<MongoIterator<Document>>, DocumentAssignable) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Finds the set of documents matching the query document in the collection.
findAsync(LambdaCallback<MongoIterator<Document>>, Find) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Finds the set of documents matching the query in the collection.
findAsync(LambdaCallback<MongoIterator<Document>>, Find.Builder) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Finds the set of documents matching the query in the collection.
findAsync(Callback<MongoIterator<Document>>, DocumentAssignable) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Finds the set of documents matching the query document in the collection.
findAsync(Callback<MongoIterator<Document>>, Find.Builder) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Finds the set of documents matching the query in the collection.
findAsync(DocumentAssignable) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Finds the set of documents matching the query document in the collection.
findAsync(Find) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Finds the set of documents matching the query in the collection.
findAsync(Find.Builder) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Finds the set of documents matching the query in the collection.
findAsync(LambdaCallback<MongoIterator<Document>>, DocumentAssignable) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Finds the set of documents matching the query document in the collection.
findAsync(LambdaCallback<MongoIterator<Document>>, Find) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Finds the set of documents matching the query in the collection.
findAsync(LambdaCallback<MongoIterator<Document>>, Find.Builder) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Finds the set of documents matching the query in the collection.
findAsync(Callback<MongoIterator<Document>>, Find) - Method in class com.allanbank.mongodb.client.AbstractMongoOperations
Constructs a Query message and sends it to the server via the Client.
findCandidateServer(ReadPreference) - Method in class com.allanbank.mongodb.client.state.Cluster
Finds the candidate server, if known.
findCandidateServers(ReadPreference) - Method in class com.allanbank.mongodb.client.state.Cluster
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.AbstractDocument
Returns the first element matching the path of regular expressions.
findFirst(String...) - Method in class com.allanbank.mongodb.bson.impl.AbstractDocument
Returns the first element matching the path of regular expressions.
findMongosServers(Connection) - Method in class com.allanbank.mongodb.client.connection.sharded.ShardedConnectionFactory
Performs a find on the config database's mongos collection to return the id for all of the mongos servers in the cluster.
findNearestCandidates(ReadPreference) - Method in class com.allanbank.mongodb.client.state.Cluster
Returns the list of servers that match the read preference's tags.
findNonWritableCandidates(ReadPreference) - Method in class com.allanbank.mongodb.client.state.Cluster
Returns the list of non-writable servers that match the read preference's tags.
findOne(DocumentAssignable) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
Finds a single matching document in the collection.
findOne(Find) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
findOne(Find.Builder) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
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 interface com.allanbank.mongodb.AsyncMongoCollection
Finds a single matching document in the collection.
findOneAsync(Callback<Document>, Find) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Finds a single matching document in the collection.
findOneAsync(Callback<Document>, Find.Builder) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Finds a single matching document in the collection.
findOneAsync(DocumentAssignable) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Finds a single matching document in the collection.
findOneAsync(Find) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Finds a single matching document in the collection.
findOneAsync(Find.Builder) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Finds a single matching document in the collection.
findOneAsync(LambdaCallback<Document>, DocumentAssignable) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Finds a single matching document in the collection.
findOneAsync(LambdaCallback<Document>, Find) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Finds a single matching document in the collection.
findOneAsync(LambdaCallback<Document>, Find.Builder) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Finds a single matching document in the collection.
findOneAsync(Callback<Document>, DocumentAssignable) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Finds a single matching document in the collection.
findOneAsync(Callback<Document>, Find.Builder) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Finds a single matching document in the collection.
findOneAsync(DocumentAssignable) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Finds a single matching document in the collection.
findOneAsync(Find) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Finds a single matching document in the collection.
findOneAsync(Find.Builder) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Finds a single matching document in the collection.
findOneAsync(LambdaCallback<Document>, DocumentAssignable) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Finds a single matching document in the collection.
findOneAsync(LambdaCallback<Document>, Find) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Finds a single matching document in the collection.
findOneAsync(LambdaCallback<Document>, Find.Builder) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Finds a single matching document in the collection.
findOneAsync(Callback<Document>, Find) - Method in class com.allanbank.mongodb.client.AbstractMongoOperations
Constructs a Query message and sends it to the server via the Client.
findPotentialKeys(Message, Message) - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyMultipleConnection
Locates the set of servers that can be used to send the specified messages.
findPotentialKeys(Message, Message) - Method in class com.allanbank.mongodb.client.connection.rs.ReplicaSetConnection
Locates the set of servers that can be used to send the specified messages.
findPotentialKeys(Message, Message) - Method in class com.allanbank.mongodb.client.connection.sharded.ShardedConnection
Locates the set of servers that can be used to send the specified messages.
findServers(Message, Message) - Method in class com.allanbank.mongodb.client.state.Cluster
Locates the set of servers that can be used to send the specified messages.
findWritableCandidates(ReadPreference) - Method in class com.allanbank.mongodb.client.state.Cluster
Returns the list of writable servers that match the read preference's tags.
finishHeader(BufferingBsonOutputStream, long) - Method in class com.allanbank.mongodb.client.message.AbstractMessage
Writes the MsgHeader messageLengthField in the header stream.
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 interface com.allanbank.mongodb.BatchedAsyncMongoCollection
Flushes the pending batch and submits all of the pending requests to the server.
flush() - Method in class com.allanbank.mongodb.bson.io.RandomAccessOutputStream
flush() - Method in class com.allanbank.mongodb.client.BatchedAsyncMongoCollectionImpl
Flushes the pending batch and submits all of the pending requests to the server.
flush() - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyConnection
flush() - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyMultipleConnection
flush() - Method in class com.allanbank.mongodb.client.connection.socket.AbstractSocketConnection
flushBuffer() - Method in class com.allanbank.mongodb.bson.io.BufferingBsonOutputStream
Writes any pending data to the underlying stream.
forWireVersion(int) - Static method in class com.allanbank.mongodb.Version
Returns the best guess at the version of the server based on the wire protocol version number.
fromCode(int) - Static method in enum com.allanbank.mongodb.client.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.
fsck(boolean) - Method in class com.allanbank.mongodb.gridfs.GridFs
Validates and optionally tries to repair the GridFS collections.
fsyncDurable(int) - Static method in class com.allanbank.mongodb.Durability
Creates an fsync() durability.
FutureCallback<V> - Class in com.allanbank.mongodb.client
Implementation of a Callback and ListenableFuture interfaces.
FutureCallback() - Constructor for class com.allanbank.mongodb.client.FutureCallback
Create a new FutureCallback.
FutureCallback(LockType) - Constructor for class com.allanbank.mongodb.client.FutureCallback
Create a new FutureCallback.
FutureReplyCallback - Class in com.allanbank.mongodb.client.callback
FutureReplyCallback provides a FutureCallback that also implements the ReplyCallback interface.
FutureReplyCallback() - Constructor for class com.allanbank.mongodb.client.callback.FutureReplyCallback
 
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" }.
GEO_2D_INDEX_NAME - Static variable in class com.allanbank.mongodb.builder.Index
The value for the "2d" index.
GEO_2DSPHERE_INDEX_NAME - Static variable in class com.allanbank.mongodb.builder.Index
The value for the "2dsphere" index.
GEO_HAYSTACK_INDEX_NAME - Static variable in class com.allanbank.mongodb.builder.Index
The value for the "geoHaystack" index.
GEO_NEAR_REQUIRED_VERSION - Static variable in class com.allanbank.mongodb.builder.Aggregate
The first version of MongoDB to support the $geoNear pipeline operator.
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.
geoWithin(DocumentAssignable, boolean) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Deprecated.
$uniqueDocs was removed in MongoDB 2.6. This method will not be removed until two releases after the MongoDB 2.6 release (e.g. 2.10 if the releases are 2.8 and 2.10).
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(int) - Method in class com.allanbank.mongodb.bson.element.BinaryElement
Returns the byte value at the specified offset.
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.AbstractDocument
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.AbstractDocument
Returns the element with the specified name or null if no element with that name exists.
get() - Method in class com.allanbank.mongodb.client.FutureCallback
get(long, TimeUnit) - Method in class com.allanbank.mongodb.client.FutureCallback
get(String) - Method in class com.allanbank.mongodb.client.state.Cluster
Returns the server state for the address provided.
getActualVersion() - Method in exception com.allanbank.mongodb.error.ServerVersionException
Returns the actual server version.
getAddress() - Method in class com.allanbank.mongodb.client.callback.CursorCallback
Returns the server the original request was sent to.
getAddress() - Method in class com.allanbank.mongodb.client.callback.CursorStreamingCallback
Returns the server the original request was sent to.
getAddress() - Method in class com.allanbank.mongodb.client.callback.MultipleCursorCallback
Returns the server the original request was sent to.
getAddresses() - Method in class com.allanbank.mongodb.client.state.Server
Returns the address of the server being tracked.
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.client.state.Server
Returns the current average latency (in milliseconds) seen in issuing requests to the server.
getBatchSize() - Method in class com.allanbank.mongodb.builder.Aggregate
Returns the number of documents to be returned in each batch of results by the cursor.
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.builder.ParallelScan
Returns the number of documents to be returned in each batch of results.
getBatchSize() - Method in class com.allanbank.mongodb.client.callback.CursorStreamingCallback
Returns the size for batches of documents that are requested.
getBatchSize() - Method in class com.allanbank.mongodb.client.message.AggregateCommand
Returns the number of documents to be returned in each batch of results.
getBatchSize() - Method in interface com.allanbank.mongodb.client.message.CursorableMessage
Returns the number of documents to be returned in each batch of results.
getBatchSize() - Method in class com.allanbank.mongodb.client.message.ParallelScanCommand
Returns the number of documents to be returned in each batch of results.
getBatchSize() - Method in class com.allanbank.mongodb.client.message.Query
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 class com.allanbank.mongodb.client.SimpleMongoIteratorImpl
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 interface com.allanbank.mongodb.MongoCursorControl
Returns the size for batches of documents that are requested.
getBundle() - Method in class com.allanbank.mongodb.client.message.BatchedWriteCommand
Returns the bundle for the batched write.
getBytesRead() - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
Returns the number of bytes that have been read by the stream.
getCache() - Method in class com.allanbank.mongodb.bson.io.StringDecoder
Deprecated.
The cache StringDecoderCache should be controlled directly. This method will be removed after the 2.1.0 release.
getCache() - Method in class com.allanbank.mongodb.bson.io.StringEncoder
Deprecated.
The cache StringEncoderCache should be controlled directly. This method will be removed after the 2.1.0 release.
getCanonicalName() - Method in class com.allanbank.mongodb.client.state.Server
Returns the name of the server as reported by the server itself.
getChunkSize() - Method in class com.allanbank.mongodb.gridfs.GridFs
Returns the size for a chunk written.
getClient() - Method in class com.allanbank.mongodb.client.callback.CursorStreamingCallback
Returns the client value.
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.
getCluster() - Method in class com.allanbank.mongodb.client.connection.rs.ReplicaSetConnectionFactory
Returns the clusterState value.
getCluster() - Method in class com.allanbank.mongodb.client.connection.sharded.ShardedConnectionFactory
Returns the clusterState value.
getCluster() - Method in class com.allanbank.mongodb.client.connection.socket.SocketConnectionFactory
Returns the cluster state.
getClusterStats() - Method in interface com.allanbank.mongodb.client.Client
Returns the meta-data on the current cluster.
getClusterStats() - Method in class com.allanbank.mongodb.client.ClientImpl
Returns the meta-data on the current cluster.
getClusterStats() - Method in class com.allanbank.mongodb.client.connection.auth.AuthenticationConnectionFactory
Returns the meta-data on the current cluster.
getClusterStats() - Method in class com.allanbank.mongodb.client.connection.bootstrap.BootstrapConnectionFactory
Returns the meta-data on the current cluster.
getClusterStats() - Method in interface com.allanbank.mongodb.client.connection.ConnectionFactory
Returns the meta-data on the current cluster.
getClusterStats() - Method in class com.allanbank.mongodb.client.connection.rs.ReplicaSetConnectionFactory
Returns the meta-data on the current cluster.
getClusterStats() - Method in class com.allanbank.mongodb.client.connection.sharded.ShardedConnectionFactory
Returns the meta-data on the current cluster.
getClusterStats() - Method in class com.allanbank.mongodb.client.connection.socket.SocketConnectionFactory
Returns the meta-data on the current cluster.
getClusterStats() - Method in class com.allanbank.mongodb.client.SerialClientImpl
Returns the meta-data on the current cluster.
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.connection.auth.AuthenticationConnectionFactory
Returns the type of cluster the connection factory connects to.
getClusterType() - Method in class com.allanbank.mongodb.client.connection.bootstrap.BootstrapConnectionFactory
Returns the type of cluster the connection factory connects to.
getClusterType() - Method in interface com.allanbank.mongodb.client.connection.ConnectionFactory
Returns the type of cluster the connection factory connects to.
getClusterType() - Method in class com.allanbank.mongodb.client.connection.rs.ReplicaSetConnectionFactory
Returns the type of cluster the connection factory connects to.
getClusterType() - Method in class com.allanbank.mongodb.client.connection.sharded.ShardedConnectionFactory
Returns the type of cluster the connection factory connects to.
getClusterType() - Method in class com.allanbank.mongodb.client.connection.socket.SocketConnectionFactory
Returns the type of cluster the connection factory connects to.
getClusterType() - Method in class com.allanbank.mongodb.client.SerialClientImpl
Returns the type of cluster the client is connected to.
getCode() - Method in enum com.allanbank.mongodb.client.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.callback.CursorStreamingCallback
Returns the collection name.
getCollectionName() - Method in class com.allanbank.mongodb.client.message.AbstractMessage
Returns the name of the collection.
getCollectionName() - Method in interface com.allanbank.mongodb.client.message.CursorableMessage
Returns the name of the collection.
getCollectionName() - Method in class com.allanbank.mongodb.client.MongoIteratorImpl
Returns the collection name.
getColumn() - Method in exception com.allanbank.mongodb.error.JsonParseException
Returns the approximate column where the parse failed.
getCommand() - Method in class com.allanbank.mongodb.builder.BatchedWrite.Bundle
Returns the command containing the bundled write operations.
getCommand() - Method in class com.allanbank.mongodb.client.message.Command
Returns the command's document.
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.connection.bootstrap.BootstrapConnectionFactory
The configuration for the client.
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.client.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.
getConnection() - Method in class com.allanbank.mongodb.client.connection.proxy.ConnectionInfo
Returns the connection to the primary server.
getConnectionCount() - Method in class com.allanbank.mongodb.client.ClientImpl
Returns the current number of open connections.
getConnectionFactory() - Method in class com.allanbank.mongodb.client.state.AbstractReconnectStrategy
Returns the connection factory for new connections.
getConnectionKey() - Method in class com.allanbank.mongodb.client.connection.proxy.ConnectionInfo
Returns the primary server.
getConnectionModel() - Method in class com.allanbank.mongodb.MongoClientConfiguration
Returns the model the driver uses for managing connections.
getConnectionType() - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyMultipleConnection
Returns the type of connection (for logs, etc.).
getConnectionType() - Method in class com.allanbank.mongodb.client.connection.rs.ReplicaSetConnection
Returns the type of connection (for logs, etc.).
getConnectionType() - Method in class com.allanbank.mongodb.client.connection.sharded.ShardedConnection
Returns the type of connection (for logs, etc.).
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.callback.CursorStreamingCallback
Returns the cursor Id value.
getCursorId() - Method in class com.allanbank.mongodb.client.message.GetMore
Returns the id of the cursor to get more documents from.
getCursorId() - Method in class com.allanbank.mongodb.client.message.Reply
Returns the id of the cursor if the user needs to do a get_more to get the complete results.
getCursorId() - Method in class com.allanbank.mongodb.client.MongoIteratorImpl
Returns the cursor Id value.
getCursorIds() - Method in class com.allanbank.mongodb.client.message.KillCursors
Returns the ids of the cursors to be killed.
getCursorLimit() - Method in class com.allanbank.mongodb.builder.Aggregate
Returns the total number of documents to be returned by the cursor.
getCursorOffset() - Method in class com.allanbank.mongodb.client.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.AbstractMongoOperations
Returns the name of the database.
getDatabaseName() - Method in class com.allanbank.mongodb.client.callback.CursorStreamingCallback
Returns the database name value.
getDatabaseName() - Method in class com.allanbank.mongodb.client.message.AbstractMessage
Returns the name of the database.
getDatabaseName() - Method in interface com.allanbank.mongodb.client.Message
Returns the name of the database.
getDatabaseName() - Method in class com.allanbank.mongodb.client.MongoIteratorImpl
Returns the database name value.
getDatabaseName() - Method in interface com.allanbank.mongodb.MongoCollection
Returns the name of the database.
getDecoded() - Method in class com.allanbank.mongodb.bson.io.StringDecoderCache.TrieCache.TrieNode
Returns the node's decoded value.
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.client.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
Deprecated.
Returns the document.
getDocument() - Method in class com.allanbank.mongodb.builder.write.InsertOperation
Returns the document to insert.
getDocument() - Method in exception com.allanbank.mongodb.error.DocumentToLargeException
Returns the document that was too big.
getDocuments() - Method in class com.allanbank.mongodb.client.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.builder.BatchedWrite.Builder
Returns the durability for the write.
getDurability() - Method in class com.allanbank.mongodb.builder.BatchedWrite
Returns the durability for the writes.
getDurability() - Method in class com.allanbank.mongodb.client.AbstractMongoOperations
Returns the durability to use when no durability is specified for the write operation.
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.
getElementMap() - Method in class com.allanbank.mongodb.bson.impl.AbstractDocument
Returns the mapping from the names of elements to the element.
getElementMap() - Method in class com.allanbank.mongodb.bson.impl.EmptyDocument
Returns the mapping from the names of elements to the element.
getElementMap() - Method in class com.allanbank.mongodb.bson.impl.ImmutableDocument
Returns a map from the element names to the elements in the document.
getElementMap() - Method in class com.allanbank.mongodb.bson.impl.RootDocument
Returns a map from the element names to the elements in the document.
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.AbstractDocument
Returns the array of elements that create this document.
getElements() - Method in class com.allanbank.mongodb.bson.impl.EmptyDocument
Returns the array of elements that create this document.
getElements() - Method in class com.allanbank.mongodb.bson.impl.ImmutableDocument
Returns the elements in the document.
getElements() - Method in class com.allanbank.mongodb.bson.impl.RootDocument
Returns the elements in the document.
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.
getErrors() - Method in exception com.allanbank.mongodb.error.BatchedWriteException
Returns the nested errors.
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.callback.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.client.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
Deprecated.
Returns the language to use when stemming the search terms.
GetLastError - Class in com.allanbank.mongodb.client.message
Provides a convenient mechanism for creating a getlasterror command.
GetLastError(String, boolean, boolean, int, int) - Constructor for class com.allanbank.mongodb.client.message.GetLastError
Create a new GetLastError.
GetLastError(String, Durability) - Constructor for class com.allanbank.mongodb.client.message.GetLastError
Create a new GetLastError.
getLength() - Method in class com.allanbank.mongodb.client.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
Deprecated.
Returns the maximum number of document to return.
getLimit() - Method in class com.allanbank.mongodb.client.callback.CursorStreamingCallback
Returns the limit value.
getLimit() - Method in class com.allanbank.mongodb.client.message.AggregateCommand
Returns the total number of documents to be returned.
getLimit() - Method in interface com.allanbank.mongodb.client.message.CursorableMessage
Returns the total number of documents to be returned.
getLimit() - Method in class com.allanbank.mongodb.client.message.ParallelScanCommand
Returns the total number of documents to be returned.
getLimit() - Method in class com.allanbank.mongodb.client.message.Query
Returns the total number of documents to be returned.
getLimit() - Method in class com.allanbank.mongodb.client.MongoIteratorImpl
Returns the limit value.
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.client.AbstractAsyncMongoCollection
Returns the type of lock to use.
getLockType() - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
Returns the type of lock to use.
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.
getLog(Class<?>) - Static method in class com.allanbank.mongodb.util.log.LogFactory
Creates a Log instance for the provided class.
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.
getLowerBounds() - Method in class com.allanbank.mongodb.client.VersionRange
Returns the lower, inclusive, bounds of the range.
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.
getMaxBatchedWriteOperations() - Method in class com.allanbank.mongodb.client.state.Server
Returns the maximum number of write operations allowed in a single write command.
getMaxBsonObjectSize() - Method in class com.allanbank.mongodb.client.state.Server
Returns the maximum BSON object size the server will accept.
getMaxCachedStringEntries() - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
Deprecated.
The cache StringDecoderCache should be controlled directory. This method will be removed after the 2.1.0 release.
getMaxCachedStringEntries() - Method in class com.allanbank.mongodb.bson.io.BsonOutputStream
Deprecated.
The cache StringEncoderCache should be controlled directory. This method will be removed after the 2.1.0 release.
getMaxCachedStringEntries() - Method in class com.allanbank.mongodb.bson.io.BufferingBsonOutputStream
Deprecated.
The cache StringEncoderCache should be controlled directory. This method will be removed after the 2.1.0 release.
getMaxCachedStringEntries() - Method in class com.allanbank.mongodb.bson.io.RandomAccessOutputStream
Deprecated.
The cache StringEncoderCache should be controlled directory. This method will be removed after the 2.1.0 release.
getMaxCachedStringEntries() - Method in class com.allanbank.mongodb.MongoClientConfiguration
Returns the maximum number of strings that may have their encoded form cached.
getMaxCachedStringLength() - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
Deprecated.
The cache StringDecoderCache should be controlled directory. This method will be removed after the 2.1.0 release.
getMaxCachedStringLength() - Method in class com.allanbank.mongodb.bson.io.BsonOutputStream
Deprecated.
The cache StringDecoderCache should be controlled directory. This method will be removed after the 2.1.0 release.
getMaxCachedStringLength() - Method in class com.allanbank.mongodb.bson.io.BufferingBsonOutputStream
Deprecated.
The cache StringEncoderCache should be controlled directory. This method will be removed after the 2.1.0 release.
getMaxCachedStringLength() - Method in class com.allanbank.mongodb.bson.io.RandomAccessOutputStream
Deprecated.
The cache StringEncoderCache should be controlled directory. This method will be removed after the 2.1.0 release.
getMaxCachedStringLength() - Method in class com.allanbank.mongodb.MongoClientConfiguration
Returns the maximum length for a string that the stream is allowed to cache.This can be used to stop a single long string from pushing useful values out of the cache.
getMaxCacheEntries() - Method in class com.allanbank.mongodb.bson.io.AbstractStringCache
Returns the maximum node count.
getMaxCacheLength() - Method in class com.allanbank.mongodb.bson.io.AbstractStringCache
Returns the maximum length of strings to cache.
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
getMaxIdleTickCount() - Method in class com.allanbank.mongodb.MongoClientConfiguration
Returns the number of read timeouts (a tick) before closing the connection.
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.
getMaximumServerVersion() - Method in class com.allanbank.mongodb.client.message.QueryVersionVisitor
Returns the version of the server that removed the ability to process the visited query.
getMaximumSize() - Method in exception com.allanbank.mongodb.error.DocumentToLargeException
Returns the maximum size for a document.
getMaximumTimeMilliseconds() - Method in class com.allanbank.mongodb.builder.Aggregate
Returns the maximum amount of time to allow the command to run on the Server before it is aborted.
getMaximumTimeMilliseconds() - Method in class com.allanbank.mongodb.builder.Count
Returns the maximum amount of time to allow the query to run on the Server before it is aborted.
getMaximumTimeMilliseconds() - Method in class com.allanbank.mongodb.builder.Distinct
Returns the maximum amount of time to allow the command to run on the Server before it is aborted.
getMaximumTimeMilliseconds() - Method in class com.allanbank.mongodb.builder.Find
Returns the maximum amount of time to allow the query to run on the Server before it is aborted.
getMaximumTimeMilliseconds() - Method in class com.allanbank.mongodb.builder.FindAndModify
Returns the maximum amount of time to allow the command to run on the Server before it is aborted.
getMaximumTimeMilliseconds() - Method in class com.allanbank.mongodb.builder.GroupBy
Returns the maximum amount of time to allow the command to run on the Server before it is aborted.
getMaximumTimeMilliseconds() - Method in class com.allanbank.mongodb.builder.MapReduce
Returns the maximum amount of time to allow the command to run on the Server before it is aborted.
getMaximumVersion() - Method in exception com.allanbank.mongodb.error.ServerVersionException
Returns the maximum (exclusive) server version for the operation.
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.client.message.PendingMessage
Returns the sent message.
getMessageId() - Method in class com.allanbank.mongodb.client.message.PendingMessage
Returns the message id assigned to the sent message.
getMessagesSent() - Method in class com.allanbank.mongodb.client.state.Server
Returns the number of messages sent to the server.
getMinConnectionCount() - Method in class com.allanbank.mongodb.MongoClientConfiguration
Returns the minimum number of connections to try and keep open.
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.builder.BatchedWrite
Returns the mode for submitting the writes to the server.
getMode() - Method in class com.allanbank.mongodb.client.BatchedAsyncMongoCollectionImpl
Returns the mode for the batched writes.
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.client.message
Message to getmore documents from a cursor.
GetMore(BsonInputStream) - Constructor for class com.allanbank.mongodb.client.message.GetMore
Creates a new GetMore.
GetMore(String, String, long, int, ReadPreference) - Constructor for class com.allanbank.mongodb.client.message.GetMore
Creates a new GetMore.
getN() - Method in exception com.allanbank.mongodb.error.BatchedWriteException
Returns the number of touched documents when the error is triggered.
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.AbstractMongoOperations
Returns the name of the collection.
getName() - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
Returns the name of the database.
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.
getNonWritableServers() - Method in class com.allanbank.mongodb.client.state.Cluster
Returns a copy of the list of non-writable servers.
getNumberToReturn() - Method in class com.allanbank.mongodb.client.message.GetMore
Return the number of documents to return from the cursor.
getNumberToReturn() - Method in class com.allanbank.mongodb.client.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.client.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.client.message.Header
Returns the operation for the message.
getOperation() - Method in exception com.allanbank.mongodb.error.ServerVersionException
Returns the name of the operation.
getOperationName() - Method in class com.allanbank.mongodb.client.message.Command
Returns a short name for the operation.
getOperationName() - Method in class com.allanbank.mongodb.client.message.Delete
Returns a short name for the operation.
getOperationName() - Method in class com.allanbank.mongodb.client.message.GetMore
Returns a short name for the operation.
getOperationName() - Method in interface com.allanbank.mongodb.client.Message
Returns a short name for the operation.
getOperationName() - Method in class com.allanbank.mongodb.client.message.Insert
Returns a short name for the operation.
getOperationName() - Method in class com.allanbank.mongodb.client.message.KillCursors
Returns a short name for the operation.
getOperationName() - Method in class com.allanbank.mongodb.client.message.Query
Returns a short name for the operation.
getOperationName() - Method in class com.allanbank.mongodb.client.message.Reply
Returns a short name for the operation.
getOperationName() - Method in class com.allanbank.mongodb.client.message.Update
Returns a short name for the operation.
getOption(String, boolean) - Method in class com.allanbank.mongodb.Credential
Returns the option value.
getOption(String, int) - Method in class com.allanbank.mongodb.Credential
Returns the option value.
getOption(String, String) - Method in class com.allanbank.mongodb.Credential
Returns the option value.
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.
getOutput() - Method in class com.allanbank.mongodb.bson.io.BufferingBsonOutputStream
Returns the output buffer.
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.
getParsedOptions() - Method in class com.allanbank.mongodb.MongoDbUri
Returns the options contained in the URI parsed into a map of token values.
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.client.connection.Connection
Returns the number of messages that are pending responses from the server.
getPendingCount() - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyConnection
Returns the number of messages that are pending responses from the server.
getPendingCount() - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyMultipleConnection
Returns the number of messages that are pending responses from the server.
getPendingCount() - Method in class com.allanbank.mongodb.client.connection.socket.AbstractSocketConnection
Returns the number of messages that are pending responses from the server.
getPendingCount() - Method in class com.allanbank.mongodb.client.connection.socket.SocketConnection
Returns the number of messages that are pending responses from the server.
getPendingCount() - Method in class com.allanbank.mongodb.client.connection.socket.TwoThreadSocketConnection
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.client.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.BufferingBsonOutputStream
Returns the current position in the stream.
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.
getProjection() - Method in class com.allanbank.mongodb.builder.Find
Returns the fields to be projected or returned from the matching documents.
getPropertyDescriptors() - Method in class com.allanbank.mongodb.MongoClientConfigurationBeanInfo
getProxiedConnection() - Method in class com.allanbank.mongodb.client.connection.auth.AuthenticatingConnection
Returns the proxiedConnection value.
getProxiedConnection() - Method in class com.allanbank.mongodb.client.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.Count
Returns the query document.
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
Deprecated.
Returns the query document to limit the final results.
getQuery() - Method in class com.allanbank.mongodb.builder.write.DeleteOperation
Returns the query to find the documents to delete.
getQuery() - Method in class com.allanbank.mongodb.builder.write.UpdateOperation
Returns the query to find the documents to update.
getQuery() - Method in class com.allanbank.mongodb.client.message.Delete
Returns the query Document.
getQuery() - Method in class com.allanbank.mongodb.client.message.Query
Returns the query document containing the expression to select documents from the collection.
getQuery() - Method in class com.allanbank.mongodb.client.message.Update
Returns the query to select the document to update.
getRawDocument() - Method in class com.allanbank.mongodb.builder.TextResult
Deprecated.
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.Count
Returns the preference for the servers to retrieve the results from.
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.ParallelScan
Returns the preference for the servers to retrieve the results from.
getReadPreference() - Method in class com.allanbank.mongodb.builder.Text
Deprecated.
Returns the ReadPreference specifying which servers may be used to execute the Text command.
getReadPreference() - Method in class com.allanbank.mongodb.client.AbstractMongoOperations
Returns the read preference to use when no read preference is specified for the read operation.
getReadPreference() - Method in class com.allanbank.mongodb.client.message.AbstractMessage
Provides the details on which servers are eligible to receive the message.
getReadPreference() - Method in interface com.allanbank.mongodb.client.Message
Provides the details on which servers are eligible to receive the message.
getReadPreference() - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
Returns the read preference for queries from this MongoDatabase instance.
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.client.connection.auth.AuthenticationConnectionFactory
Returns the reconnection strategy for the type of connections.
getReconnectStrategy() - Method in class com.allanbank.mongodb.client.connection.bootstrap.BootstrapConnectionFactory
Returns the reconnection strategy for the type of connections.
getReconnectStrategy() - Method in interface com.allanbank.mongodb.client.connection.ConnectionFactory
Returns the reconnection strategy for the type of connections.
getReconnectStrategy() - Method in class com.allanbank.mongodb.client.connection.rs.ReplicaSetConnectionFactory
Returns the reconnection strategy for the type of connections.
getReconnectStrategy() - Method in class com.allanbank.mongodb.client.connection.sharded.ShardedConnectionFactory
Returns the reconnection strategy for the type of connections.
getReconnectStrategy() - Method in class com.allanbank.mongodb.client.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.
getRepliesReceived() - Method in class com.allanbank.mongodb.client.state.Server
Returns the number of messages received from the server.
getReply() - Method in exception com.allanbank.mongodb.error.ReplyException
Returns the reply.
getReplyCallback() - Method in class com.allanbank.mongodb.client.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.
getRequestedIteratorCount() - Method in class com.allanbank.mongodb.builder.ParallelScan
Returns the requested number of iterators/cursors to create.
getRequestId() - Method in class com.allanbank.mongodb.client.message.Header
Returns the request id for the message.
getRequiredServerVersion() - Method in class com.allanbank.mongodb.client.message.QueryVersionVisitor
Returns the required server version to support the visited query.
getRequiredVersion() - Method in class com.allanbank.mongodb.builder.Aggregate
Returns the version required for the aggregation.
getRequiredVersion() - Method in exception com.allanbank.mongodb.error.ServerVersionException
Returns the required (inclusive) server version for the operation.
getRequiredVersionRange() - Method in class com.allanbank.mongodb.client.message.AbstractMessage
Returns the required version range for the message.
getRequiredVersionRange() - Method in interface com.allanbank.mongodb.client.Message
Returns the required version range for the message.
getResponseId() - Method in class com.allanbank.mongodb.client.message.Header
Returns the response id for the message.
getResponseToId() - Method in class com.allanbank.mongodb.client.message.Reply
Returns the id of the request this response is for.
getResults() - Method in class com.allanbank.mongodb.client.message.Reply
Returns the query results.
getReturnFields() - Method in class com.allanbank.mongodb.builder.Find
Deprecated.
Replaced with the MongoDB standardized name: projection. This method will be removed on or after the 1.4 release.
getReturnFields() - Method in class com.allanbank.mongodb.builder.Text
Deprecated.
Returns the fields to return from the query.
getReturnFields() - Method in class com.allanbank.mongodb.client.message.Query
Returns the optional document containing the fields to be returned.
getRoutingDocument() - Method in class com.allanbank.mongodb.builder.write.DeleteOperation
Returns the document that should be used to route the write operation.
getRoutingDocument() - Method in class com.allanbank.mongodb.builder.write.InsertOperation
Returns the document that should be used to route the write operation.
getRoutingDocument() - Method in class com.allanbank.mongodb.builder.write.UpdateOperation
Returns the document that should be used to route the write operation.
getRoutingDocument() - Method in interface com.allanbank.mongodb.builder.write.WriteOperation
Returns the document that should be used to route the write operation.
getRoutingDocument() - Method in class com.allanbank.mongodb.client.message.Command
Returns the routingDocument value.
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
Deprecated.
Returns the score for the document.
getSearchTerm() - Method in class com.allanbank.mongodb.builder.Text
Deprecated.
Returns the search terms.
getSecondsBehind() - Method in class com.allanbank.mongodb.client.state.Server
Sets the last reported seconds behind the primary.
getSelector() - Method in class com.allanbank.mongodb.client.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.
getSentMessage() - Method in exception com.allanbank.mongodb.error.ServerVersionException
Returns the operation's message.
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.client.connection.Connection
Returns the name of a server the connection is currently connected to.
getServerName() - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyConnection
Returns the name of a server the connection is currently connected to.
getServerName() - Method in class com.allanbank.mongodb.client.connection.rs.ReplicaSetConnection
Returns the name of a server the connection is currently connected to.
getServerName() - Method in class com.allanbank.mongodb.client.connection.sharded.ShardedConnection
Returns the name of a server the connection is currently connected to.
getServerName() - Method in class com.allanbank.mongodb.client.connection.socket.AbstractSocketConnection
Returns the name of a server the connection is currently connected to.
getServers() - Method in class com.allanbank.mongodb.client.state.Cluster
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.
getServerVersionRange() - Method in interface com.allanbank.mongodb.client.ClusterStats
Returns the range of versions that we currently see within the cluster.
getServerVersionRange() - Method in class com.allanbank.mongodb.client.state.Cluster
Returns the range of versions that we currently see within the cluster.
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
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.
getSkipped() - Method in exception com.allanbank.mongodb.error.BatchedWriteException
Returns the writes that did not get run by the server.
getSlowMillisThreshold() - Method in class com.allanbank.mongodb.ProfilingStatus
Returns the number of milliseconds beyond which to consider an operation to be slow.
getSmallestMaxBatchedWriteOperations() - Method in interface com.allanbank.mongodb.client.ClusterStats
Returns smallest value for the maximum number of write operations allowed in a single write command.
getSmallestMaxBatchedWriteOperations() - Method in class com.allanbank.mongodb.client.state.Cluster
Returns smallest value for the maximum number of write operations allowed in a single write command.
getSmallestMaxBsonObjectSize() - Method in interface com.allanbank.mongodb.client.ClusterStats
Returns the lowest value for the maximum BSON object size within the cluster.
getSmallestMaxBsonObjectSize() - Method in class com.allanbank.mongodb.client.state.Cluster
Returns the smallest value for the maximum BSON object size within the cluster.
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.client.state.AbstractReconnectStrategy
Returns the state of the cluster.
getState() - Method in class com.allanbank.mongodb.client.state.Server
Returns the state value.
getStringEncoder() - Method in class com.allanbank.mongodb.bson.io.BsonOutputStream
Returns the encoder value.
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.client.state.Server
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.builder.RedactOption
Returns the token for the option.
getToken() - Method in enum com.allanbank.mongodb.ReadPreference.Mode
Returns the token passed to the mongos server when in a shared environment.
getTotalLatencyNanoSeconds() - Method in class com.allanbank.mongodb.client.state.Server
Returns the total amount of time messages waited for a reply from the server in nanoseconds.
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.
getType() - Method in class com.allanbank.mongodb.builder.write.DeleteOperation
Returns the type of write.
getType() - Method in class com.allanbank.mongodb.builder.write.InsertOperation
Returns the type of write.
getType() - Method in class com.allanbank.mongodb.builder.write.UpdateOperation
Returns the type of write.
getType() - Method in interface com.allanbank.mongodb.builder.write.WriteOperation
Returns the type of write.
getType() - Method in class com.allanbank.mongodb.client.state.Cluster
Returns the type of cluster.
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.builder.write.UpdateOperation
Returns the update specification.
getUpdate() - Method in class com.allanbank.mongodb.client.message.Update
Returns the updates to apply to the selected document(s).
getUpperBounds() - Method in class com.allanbank.mongodb.client.VersionRange
Returns the upper, exclusive, bounds of the range.
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 class com.allanbank.mongodb.bson.io.StringDecoderCache.TrieCache.TrieNode
Returns the node's 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.
getValuesFor(String) - Method in class com.allanbank.mongodb.MongoDbUri
Returns the values for a single property.
getVersion() - Method in enum com.allanbank.mongodb.builder.ComparisonOperator
Returns the first MongoDB version to support the operator.
getVersion() - Method in enum com.allanbank.mongodb.builder.GeospatialOperator
Returns the first MongoDB version to support the operator.
getVersion() - Method in enum com.allanbank.mongodb.builder.LogicalOperator
Returns the first MongoDB version to support the operator.
getVersion() - Method in enum com.allanbank.mongodb.builder.MiscellaneousOperator
Returns the first MongoDB version to support the operator.
getVersion() - Method in interface com.allanbank.mongodb.builder.Operator
Returns the first MongoDB version to support the operator.
getVersion() - Method in class com.allanbank.mongodb.client.state.Server
Returns the version of the server.
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.client.state.Cluster
Returns a copy of the list of writable servers.
getWrite() - Method in exception com.allanbank.mongodb.error.BatchedWriteException
Returns the write that caused the errors.
getWrites() - Method in class com.allanbank.mongodb.builder.BatchedWrite.Bundle
Returns the writes that are bundled in the command.
getWrites() - Method in class com.allanbank.mongodb.builder.BatchedWrite
Returns the writes to submit to the server.
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(Date) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is greater than the specified dateTime.
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(Date) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is greater than or equals the specified dateTime.
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.SynchronousMongoCollectionImpl
Invokes a group command on the server.
groupBy(GroupBy.Builder) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
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<MongoIterator<Element>>, GroupBy) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Invokes a group command on the server.
groupByAsync(Callback<MongoIterator<Element>>, GroupBy.Builder) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Invokes a group command on the server.
groupByAsync(GroupBy) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Invokes a group command on the server.
groupByAsync(GroupBy.Builder) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Invokes a group command on the server.
groupByAsync(LambdaCallback<MongoIterator<Element>>, GroupBy) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Invokes a group command on the server.
groupByAsync(LambdaCallback<MongoIterator<Element>>, GroupBy.Builder) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Invokes a group command on the server.
groupByAsync(Callback<MongoIterator<Element>>, GroupBy.Builder) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Invokes a group command on the server.
groupByAsync(GroupBy) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Invokes a group command on the server.
groupByAsync(GroupBy.Builder) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Invokes a group command on the server.
groupByAsync(LambdaCallback<MongoIterator<Element>>, GroupBy) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Invokes a group command on the server.
groupByAsync(LambdaCallback<MongoIterator<Element>>, GroupBy.Builder) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Invokes a group command on the server.
groupByAsync(Callback<MongoIterator<Element>>, GroupBy) - Method in class com.allanbank.mongodb.client.AbstractMongoOperations
Constructs a group command and sends it to the server via the Client.
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.callback.AbstractReplyCallback
Called once the Reply has been validated.
handle(Reply) - Method in class com.allanbank.mongodb.client.callback.AbstractValidatingReplyCallback
Called once the Reply has been validated.
handle(Reply) - Method in class com.allanbank.mongodb.client.callback.CursorCallback
Called once the Reply has been validated.
handle(Reply) - Method in class com.allanbank.mongodb.client.callback.CursorStreamingCallback
Called once the Reply has been validated.
handle(Reply) - Method in class com.allanbank.mongodb.client.callback.MultipleCursorCallback
Called once the Reply has been validated.
handleConnectionClosed(Connection) - Method in class com.allanbank.mongodb.client.ClientImpl
Tries to reconnect previously open Connections.
handleConnectionClosed(Connection) - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyMultipleConnection
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.AbstractDocument
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.builder.TextResult
Deprecated.
hashCode() - Method in class com.allanbank.mongodb.builder.write.DeleteOperation
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.builder.write.InsertOperation
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.builder.write.UpdateOperation
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyConnection.ProxiedChangeListener
hashCode() - Method in class com.allanbank.mongodb.client.message.AbstractMessage
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.client.message.AggregateCommand
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.client.message.BatchedWriteCommand
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.client.message.Command
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.client.message.CreateIndexCommand
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.client.message.Delete
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.client.message.GetMore
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.client.message.Header
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.client.message.Insert
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.client.message.KillCursors
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.client.message.ParallelScanCommand
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.client.message.Query
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.client.message.Reply
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.client.message.Update
Computes a reasonable hash code.
hashCode() - Method in class com.allanbank.mongodb.client.state.Server
hashCode() - Method in class com.allanbank.mongodb.client.VersionRange
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.
hashCode() - Method in class com.allanbank.mongodb.Version
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" }.
HASHED_INDEX_NAME - Static variable in class com.allanbank.mongodb.builder.Index
The value for the "hashed" index.
hasNext() - Method in class com.allanbank.mongodb.client.MongoIteratorImpl
hasNext() - Method in class com.allanbank.mongodb.client.SimpleMongoIteratorImpl
hasPassword() - Method in class com.allanbank.mongodb.Credential
Returns true if the password has atleast a single character.
Header - Class in com.allanbank.mongodb.client.message
The header of a message.
Header(BsonInputStream) - Constructor for class com.allanbank.mongodb.client.message.Header
Creates a new header.
Header(int, int, int, Operation) - Constructor for class com.allanbank.mongodb.client.message.Header
Creates a new header.
HEADER_LENGTH - Static variable in class com.allanbank.mongodb.client.connection.socket.AbstractSocketConnection
The length of the message header in bytes.
HEADER_SIZE - Static variable in class com.allanbank.mongodb.client.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 - Static variable in class com.allanbank.mongodb.gridfs.GridFs
The _id field name.
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.AbstractMongoOperations
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.
ImmutableDocument - Class in com.allanbank.mongodb.bson.impl
A root level document that is truly immutable.
ImmutableDocument(DocumentAssignable) - Constructor for class com.allanbank.mongodb.bson.impl.ImmutableDocument
Constructs a new ImmutableDocument.
ImmutableDocument(DocumentAssignable, long) - Constructor for class com.allanbank.mongodb.bson.impl.ImmutableDocument
Constructs a new ImmutableDocument.
in(ArrayBuilder) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Specify the possible values to match against the field's value.
in(boolean...) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Specify the possible values to match against the field's value.
in(byte[]...) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Specify the possible values to match against the field's value.
in(Constant...) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Specify the possible values to match against the field's value.
in(Date...) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Specify the possible values to match against the field's value.
in(DocumentAssignable...) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Specify the possible values to match against the field's value.
in(Double...) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Specify the possible values to match against the field's value.
in(Element...) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Specify the possible values to match against the field's value.
in(Integer...) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Specify the possible values to match against the field's value.
in(Long...) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Specify the possible values to match against the field's value.
in(ObjectId...) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Specify the possible values to match against the field's value.
in(Pattern...) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Specify the possible values to match against the field's value.
in(String...) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Specify the possible values to match against the field's value.
in(UUID...) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Specify the possible values to match against the field's value.
in(Expression) - Method in class com.allanbank.mongodb.builder.expression.LetBuilder
Creates the final $let expression to evaluate.
in(Expression) - Method in class com.allanbank.mongodb.builder.expression.MapStage2
Creates the final $map expression to evaluate.
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.client.message.PendingMessageQueue
Increments the index handling roll-over.
incrementMessagesSent() - Method in class com.allanbank.mongodb.client.state.Server
Increments the number of messages sent to the server.
incrementRepliesReceived() - Method in class com.allanbank.mongodb.client.state.Server
Increments the number of messages received from the server.
Index - Class in com.allanbank.mongodb.builder
Provides the ability to easily specify the index type of a field within an index specification.
info(String) - Method in class com.allanbank.mongodb.util.log.AbstractLog
Logs a message at the Level.INFO level.
info(String, Object...) - Method in class com.allanbank.mongodb.util.log.AbstractLog
Logs a message at the INFO level.
info(Throwable, String, Object...) - Method in class com.allanbank.mongodb.util.log.AbstractLog
Logs a message at the INFO level.
info(String) - Method in interface com.allanbank.mongodb.util.log.Log
Logs a message at the Level.INFO level.
info(String, Object...) - Method in interface com.allanbank.mongodb.util.log.Log
Logs a message at the INFO level.
info(Throwable, String, Object...) - Method in interface com.allanbank.mongodb.util.log.Log
Logs a message at the INFO level.
init(String) - Method in class com.allanbank.mongodb.client.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.client.connection.rs.ReplicaSetReconnectStrategy
The initial amount of time to pause waiting for a server to take over as the primary.
initialSweep(Cluster) - Method in class com.allanbank.mongodb.client.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(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.BatchedWrite.Builder
Adds an insert operation to the batched write.
insert(boolean, Durability, DocumentAssignable...) - Static method in class com.allanbank.mongodb.builder.BatchedWrite
Create a batched write with a single inserts operation.
Insert - Class in com.allanbank.mongodb.client.message
Message to insert a set of documents into a collection.
Insert(Header, BsonInputStream) - Constructor for class com.allanbank.mongodb.client.message.Insert
Creates a new Insert.
Insert(String, String, List<Document>, boolean) - Constructor for class com.allanbank.mongodb.client.message.Insert
Creates a new Insert.
Insert(String, String, List<Document>, boolean, VersionRange) - Constructor for class com.allanbank.mongodb.client.message.Insert
Creates a new Insert.
insert(boolean, DocumentAssignable...) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
Inserts a set of documents into the collection.
insert(boolean, Durability, DocumentAssignable...) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
Inserts a set of documents into the collection.
insert(DocumentAssignable...) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
Inserts a set of documents into the collection.
insert(Durability, DocumentAssignable...) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
Inserts a set of documents into the collection.
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.AbstractMongoOperations
The default for if an insert should continue on an error.
insertAsync(boolean, DocumentAssignable...) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Inserts a set of documents into the collection.
insertAsync(boolean, Durability, DocumentAssignable...) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Inserts a set of documents into the collection.
insertAsync(Callback<Integer>, boolean, DocumentAssignable...) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Inserts a set of documents into the collection.
insertAsync(Callback<Integer>, boolean, Durability, DocumentAssignable...) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Inserts a set of documents into the collection.
insertAsync(Callback<Integer>, DocumentAssignable...) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Inserts a set of documents into the collection.
insertAsync(Callback<Integer>, Durability, DocumentAssignable...) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Inserts a set of documents into the collection.
insertAsync(DocumentAssignable...) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Inserts a set of documents into the collection.
insertAsync(Durability, DocumentAssignable...) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Inserts a set of documents into the collection.
insertAsync(LambdaCallback<Integer>, boolean, DocumentAssignable...) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Inserts a set of documents into the collection.
insertAsync(LambdaCallback<Integer>, boolean, Durability, DocumentAssignable...) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Inserts a set of documents into the collection.
insertAsync(LambdaCallback<Integer>, DocumentAssignable...) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Inserts a set of documents into the collection.
insertAsync(LambdaCallback<Integer>, Durability, DocumentAssignable...) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Inserts a set of documents into the collection.
insertAsync(boolean, DocumentAssignable...) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Inserts a set of documents into the collection.
insertAsync(boolean, Durability, DocumentAssignable...) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Inserts a set of documents into the collection.
insertAsync(Callback<Integer>, boolean, DocumentAssignable...) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Inserts a set of documents into the collection.
insertAsync(Callback<Integer>, DocumentAssignable...) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Inserts a set of documents into the collection.
insertAsync(Callback<Integer>, Durability, DocumentAssignable...) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Inserts a set of documents into the collection.
insertAsync(DocumentAssignable...) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Inserts a set of documents into the collection.
insertAsync(Durability, DocumentAssignable...) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Inserts a set of documents into the collection.
insertAsync(LambdaCallback<Integer>, boolean, DocumentAssignable...) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Inserts a set of documents into the collection.
insertAsync(LambdaCallback<Integer>, boolean, Durability, DocumentAssignable...) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Inserts a set of documents into the collection.
insertAsync(LambdaCallback<Integer>, DocumentAssignable...) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Inserts a set of documents into the collection.
insertAsync(LambdaCallback<Integer>, Durability, DocumentAssignable...) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Inserts a set of documents into the collection.
insertAsync(Callback<Integer>, boolean, Durability, DocumentAssignable...) - Method in class com.allanbank.mongodb.client.AbstractMongoOperations
Constructs a Insert message and sends it to the server via the Client.
InsertOperation - Class in com.allanbank.mongodb.builder.write
InsertOperation provides a container for the fields in an insert request.
InsertOperation(DocumentAssignable) - Constructor for class com.allanbank.mongodb.builder.write.InsertOperation
Creates a new InsertOperation.
INSTANCE - Static variable in class com.allanbank.mongodb.bson.impl.EmptyDocument
An instance of the Empty Document.
INSTANCE - Static variable in class com.allanbank.mongodb.bson.io.AbstractStringCache.ReverseIntegerComparator
The single instance of the comparator.
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.
IntegerElement(String, int, long) - 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.client.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.
isAllowDiskUsage() - Method in class com.allanbank.mongodb.builder.Aggregate
Returns true if the aggregation results should be allowed to spill to disk.
isAllowJumbo() - Method in class com.allanbank.mongodb.client.message.Command
Returns true if the command document is allowed to slightly exceed the document size limit.
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.
isAvailable() - Method in interface com.allanbank.mongodb.client.connection.Connection
Returns true if the connection is open and not shutting down, false otherwise.
isAvailable() - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyConnection
Returns true if the connection is open and not shutting down, false otherwise.
isAvailable() - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyMultipleConnection
Returns true if the connection is open and not shutting down, false otherwise.
isAvailable() - Method in class com.allanbank.mongodb.client.connection.socket.AbstractSocketConnection
Returns true if the connection is open and not shutting down, false otherwise.
isAwaitCapable() - Method in class com.allanbank.mongodb.client.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.client.message.Query
Returns true and if using a tailable cursor then the connection will block waiting for more data.
isBatchDeletes() - Method in class com.allanbank.mongodb.client.BatchedAsyncMongoCollectionImpl
Returns true if the deletes should be batched.
isBatchSizeSet() - Method in class com.allanbank.mongodb.client.message.Query
Returns true if the batch size is greater than zero.
isBatchUpdates() - Method in class com.allanbank.mongodb.client.BatchedAsyncMongoCollectionImpl
Returns true if the updates should be batched.
isCancelled() - Method in class com.allanbank.mongodb.client.FutureCallback
isCapped() - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
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.
isCommand() - Method in class com.allanbank.mongodb.client.callback.CursorCallback
Returns true if the callback should expect a command formated cursor reply.
isCommand() - Method in class com.allanbank.mongodb.client.callback.CursorStreamingCallback
Returns true if the callback should expect a command formated cursor reply.
isConnected(Server, Connection) - Method in class com.allanbank.mongodb.client.state.AbstractReconnectStrategy
Pings the server to verify that the connection is active.
isContinueOnError() - Method in class com.allanbank.mongodb.client.message.Insert
Returns true if the insert should continue with other documents if one of the document inserts encounters an error.
isCreateIndexesSupported() - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
Determines if all of the servers in the cluster support the createIndexes command.
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.client.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.client.FutureCallback
isEmpty() - Method in class com.allanbank.mongodb.client.message.PendingMessageQueue
Returns true if the queue is empty.
isExhaust() - Method in class com.allanbank.mongodb.client.message.Query
Returns true if all results should be returned in multiple results.
isIdle() - Method in interface com.allanbank.mongodb.client.connection.Connection
Determines if the connection is idle.
isIdle() - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyConnection
Determines if the connection is idle.
isIdle() - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyMultipleConnection
Determines if the connection is idle.
isIdle() - Method in class com.allanbank.mongodb.client.connection.socket.AbstractSocketConnection
Determines if the connection is idle.
isIdle() - Method in class com.allanbank.mongodb.client.connection.socket.SocketConnection
Determines if the connection is idle.
isIdle() - Method in class com.allanbank.mongodb.client.connection.socket.TwoThreadSocketConnection
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.
isLightWeight() - Method in class com.allanbank.mongodb.client.callback.AbstractReplyCallback
Returns true if the callback is lightweight and can be safely performed in the receive thread.
isLightWeight() - Method in class com.allanbank.mongodb.client.callback.CursorStreamingCallback
Returns true if the callback is lightweight and can be safely performed in the receive thread.
isLightWeight() - Method in class com.allanbank.mongodb.client.callback.FutureReplyCallback
Returns true if the callback is lightweight and can be safely performed in the receive thread.
isLightWeight() - Method in class com.allanbank.mongodb.client.callback.NoOpCallback
Returns true if the callback is lightweight and can be safely performed in the receive thread.
isLightWeight() - Method in interface com.allanbank.mongodb.client.callback.ReplyCallback
Returns true if the callback is lightweight and can be safely performed in the receive thread.
isLightWeight() - Method in class com.allanbank.mongodb.client.callback.ValidatingReplyCallback
Returns true if the callback is lightweight and can be safely performed in the receive thread.
isLimitSet() - Method in class com.allanbank.mongodb.client.message.Query
Returns true if the limit is greater than zero.
IsMaster - Class in com.allanbank.mongodb.client.message
Provides a convenient mechanism for creating a ismaster command.
IsMaster() - Constructor for class com.allanbank.mongodb.client.message.IsMaster
Create a new IsMaster command.
isMongosFound() - Method in class com.allanbank.mongodb.client.connection.sharded.ShardedConnectionFactory.BootstrapState
Returns true if the mongos servers have been found, false otherwise.
isMultiUpdate() - Method in class com.allanbank.mongodb.builder.write.UpdateOperation
Returns true if the update can modify multiple documents.
isMultiUpdate() - Method in class com.allanbank.mongodb.client.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.client.message.Query
Returns true if marking the cursor as not having a timeout.
isOpen() - Method in interface com.allanbank.mongodb.client.connection.Connection
Determines if the connection is open.
isOpen() - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyConnection
Determines if the connection is open.
isOpen() - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyMultipleConnection
Determines if the connection is open.
isOpen() - Method in class com.allanbank.mongodb.client.connection.socket.AbstractSocketConnection
Determines if the connection is open.
isPartial() - Method in class com.allanbank.mongodb.client.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.client.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.client.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.
isShuttingDown() - Method in interface com.allanbank.mongodb.client.connection.Connection
Returns true if the connection is being gracefully closed, false otherwise.
isShuttingDown() - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyConnection
Returns true if the connection is being gracefully closed, false otherwise.
isShuttingDown() - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyMultipleConnection
Returns true if the connection is being gracefully closed, false otherwise.
isShuttingDown() - Method in class com.allanbank.mongodb.client.connection.socket.AbstractSocketConnection
Returns true if the connection is being gracefully closed, false otherwise.
isSingleDelete() - Method in class com.allanbank.mongodb.builder.write.DeleteOperation
Returns true if the operation should only delete at most one document.
isSingleDelete() - Method in class com.allanbank.mongodb.client.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.client.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.builder.write.UpdateOperation
Returns true if the document should be inserted if not found.
isUpsert() - Method in class com.allanbank.mongodb.client.message.Update
Returns true if the document should be inserted if none match the query criteria.
isUri(String) - Static method in class com.allanbank.mongodb.MongoDbUri
Tests if the mongoDbUri starts with the correct prefix to be a MongoDB URI.
isUseCursor() - Method in class com.allanbank.mongodb.builder.Aggregate
Returns true if the aggregation results should be returned as a cursor.
isUseSsl() - Method in class com.allanbank.mongodb.MongoDbUri
Returns true if the URL uses the "mongodbs://" prefix.
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(Server, Connection) - Method in class com.allanbank.mongodb.client.connection.rs.ReplicaSetConnectionFactory
Determines if the connection is to the primary member of the cluster.
isWritable() - Method in class com.allanbank.mongodb.client.state.Server
Returns true if the server can be written to, false otherwise.
isWriteCommandsSupported(ClusterStats) - Method in class com.allanbank.mongodb.client.AbstractMongoOperations
Determines if all of the servers in the cluster support the write commands.
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.AbstractDocument
Returns an iterator over the documents elements.
iterator() - Method in class com.allanbank.mongodb.client.MongoIteratorImpl
iterator() - Method in class com.allanbank.mongodb.client.SimpleMongoIteratorImpl
IteratorToListCallbackAdapter - Class in com.allanbank.mongodb.client.callback
IteratorToListCallbackAdapter provides the ability to translate a MongoIterator callback into a list callback.
IteratorToListCallbackAdapter(Callback<List<Document>>) - Constructor for class com.allanbank.mongodb.client.callback.IteratorToListCallbackAdapter
Creates a new IteratorToListCallbackAdapter.

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.
JavaScriptElement(String, String, long) - 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.
JavaScriptWithScopeElement(String, String, Document, long) - 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.
JulLog - Class in com.allanbank.mongodb.util.log
JulLog is the simplified logging implementation for Java Util Logging.
JulLog(Class<?>) - Constructor for class com.allanbank.mongodb.util.log.JulLog
Creates a new JulLog.
JulLogFactory - Class in com.allanbank.mongodb.util.log
JulLogFactory provides factory to create JulLog instances.
JulLogFactory() - Constructor for class com.allanbank.mongodb.util.log.JulLogFactory
 

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.client.message
Message to killcursors that a client no longer needs.
KillCursors(BsonInputStream) - Constructor for class com.allanbank.mongodb.client.message.KillCursors
Creates a new KillCursors.
KillCursors(long[], ReadPreference) - Constructor for class com.allanbank.mongodb.client.message.KillCursors
Creates a new KillCursors.

L

LambdaCallback<V> - Interface in com.allanbank.mongodb
LambdaCallback provides a lambda friendly interface for receiving the asynchronous results of a MongoDB operation.
LambdaCallbackAdapter<V> - Class in com.allanbank.mongodb.client
LambdaCallbackAdapter provides an adapter for the LambdaCallback to a Callback or StreamCallback.
LambdaCallbackAdapter(LambdaCallback<V>) - Constructor for class com.allanbank.mongodb.client.LambdaCallbackAdapter
Creates a new LambdaCallbackAdapter.
language(String) - Method in class com.allanbank.mongodb.builder.Text.Builder
Deprecated.
Sets the language to use when stemming the search terms to the new value.
LANGUAGE_MODIFIER - Static variable in enum com.allanbank.mongodb.builder.MiscellaneousOperator
The modifier for the MiscellaneousOperator.TEXT operator to specify the language of the query terms.
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.
latency() - Method in class com.allanbank.mongodb.client.message.PendingMessage
Determines the latency of the message in nano-seconds.
LatencyServerSelector - Class in com.allanbank.mongodb.client.state
LatencyServerSelector provides an implementation of the server selector that uses the server latencies to determine the server to select.
LatencyServerSelector(Cluster, boolean) - Constructor for class com.allanbank.mongodb.client.state.LatencyServerSelector
Creates a new LatencyServerSelector.
later(Version, Version) - Static method in class com.allanbank.mongodb.Version
Returns the later of the two versions.
ldap() - Method in class com.allanbank.mongodb.Credential.Builder
Sets the value of the authentication type or mode that the credential should be used with LDAP via PLAIN SASL.
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.
LegacyStreamCallbackAdapter - Class in com.allanbank.mongodb.client.callback
LegacyStreamCallbackAdapter(Callback<Document>) - Constructor for class com.allanbank.mongodb.client.callback.LegacyStreamCallbackAdapter
Deprecated.
Creates a new LegacyStreamCallbackAdapter.
length() - Method in class com.allanbank.mongodb.bson.element.BinaryElement
Returns the length of the contained byte array.
LENGTH_FIELD - Static variable in class com.allanbank.mongodb.gridfs.GridFs
The field in the files collection containing the file's length.
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(Date) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is less than the specified dateTime.
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(Date) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is less than or equals the specified dateTime.
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.
let(Expression, Element...) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Creates a $let expression with the provided variables and in expression.
let(List<Element>, Expression) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Creates a $let expression with the provided variables and in expression.
let(String, DocumentAssignable) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Starts the creation of a $let expression.
let(String, Expression) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Starts the creation of a $let expression.
let(String, DocumentAssignable) - Method in class com.allanbank.mongodb.builder.expression.LetBuilder
Adds a variable to the $let expression.
let(String, Expression) - Method in class com.allanbank.mongodb.builder.expression.LetBuilder
Adds a variable to the $let expression.
LetBuilder - Class in com.allanbank.mongodb.builder.expression
LetBuilder provides a builder for a $let expression.
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
Deprecated.
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
Deprecated.
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
Deprecated.
listDatabases() - Method in interface com.allanbank.mongodb.MongoClient
Deprecated.
Use the MongoClient.listDatabaseNames() method instead.
ListenableFuture<V> - Interface in com.allanbank.mongodb
Enhancement to the Future interface inspired by the Google Guava's ListenableFuture.
LITERAL - Static variable in class com.allanbank.mongodb.builder.expression.Expressions
The "$literal" operator token
literal(String) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a Constant expression wrapping the value in a "$literal" sub-document.
loadDocuments(Reply) - Method in class com.allanbank.mongodb.client.callback.CursorStreamingCallback
Loads more documents.
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.
locatePrimary() - Method in class com.allanbank.mongodb.client.connection.rs.ReplicaSetConnectionFactory
Locates the primary server in the cluster.
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.connection.auth.AuthenticatingConnection
The logger for the authenticator.
LOG - Static variable in class com.allanbank.mongodb.client.connection.bootstrap.BootstrapConnectionFactory
The logger for the BootstrapConnectionFactory.
LOG - Static variable in class com.allanbank.mongodb.client.connection.rs.ReplicaSetConnectionFactory
The logger for the ReplicaSetConnectionFactory.
LOG - Static variable in class com.allanbank.mongodb.client.connection.rs.ReplicaSetReconnectStrategy
The logger for the ReplicaSetReconnectStrategy.
LOG - Static variable in class com.allanbank.mongodb.client.connection.sharded.ShardedConnectionFactory
The logger for the ShardedConnectionFactory.
LOG - Static variable in class com.allanbank.mongodb.client.FutureCallback
Logger to log exceptions caught when running myPendingListeners.
LOG - Static variable in class com.allanbank.mongodb.client.state.ClusterPinger
The logger for the ClusterPinger.
LOG - Static variable in class com.allanbank.mongodb.client.state.SimpleReconnectStrategy
The logger for the SimpleReconnectStrategy.
LOG - Static variable in class com.allanbank.mongodb.CredentialEditor
The logger for the CredentialEditor.
LOG - Static variable in class com.allanbank.mongodb.MongoClientConfigurationBeanInfo.CredentialListEditor
LOG - Static variable in class com.allanbank.mongodb.ReadPreferenceEditor
The logger for the ReadPreferenceEditor.
log(Level, String) - Method in class com.allanbank.mongodb.util.log.AbstractLog
Logs a message at the specified level.
log(Level, String, Object...) - Method in class com.allanbank.mongodb.util.log.AbstractLog
Logs a message at the specified level.
log(Level, Throwable, String, Object...) - Method in class com.allanbank.mongodb.util.log.AbstractLog
Logs a message at the specified level.
Log - Interface in com.allanbank.mongodb.util.log
Log is the simplified logging interface used by the driver.
log(Level, String) - Method in interface com.allanbank.mongodb.util.log.Log
Logs a message at the specified level.
log(Level, String, Object...) - Method in interface com.allanbank.mongodb.util.log.Log
Logs a message at the specified level.
log(Level, Throwable, String, Object...) - Method in interface com.allanbank.mongodb.util.log.Log
Logs a message at the specified level.
LogFactory - Class in com.allanbank.mongodb.util.log
LogFactory supports the creation of the Log instances.
LogFactory() - Constructor for class com.allanbank.mongodb.util.log.LogFactory
Creates a new LogFactory.
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.
LongElement(String, long, long) - Constructor for class com.allanbank.mongodb.bson.element.LongElement
Constructs a new LongElement.
LongToIntCallback - Class in com.allanbank.mongodb.client.callback
LongToIntCallback provides a simple callback wrapper to convert the long value to an integer.
LongToIntCallback(Callback<Integer>) - Constructor for class com.allanbank.mongodb.client.callback.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) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a UnaryExpression expression for the $map operation.
map(String, String, Expression) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a UnaryExpression expression for the $map operation.
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.SynchronousMongoCollectionImpl
Invokes a mapReduce command on the server.
mapReduce(MapReduce.Builder) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
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<MongoIterator<Document>>, MapReduce) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Invokes a mapReduce command on the server.
mapReduceAsync(Callback<MongoIterator<Document>>, MapReduce.Builder) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Invokes a mapReduce command on the server.
mapReduceAsync(LambdaCallback<MongoIterator<Document>>, MapReduce) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Invokes a mapReduce command on the server.
mapReduceAsync(LambdaCallback<MongoIterator<Document>>, MapReduce.Builder) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Invokes a mapReduce command on the server.
mapReduceAsync(MapReduce) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Invokes a mapReduce command on the server.
mapReduceAsync(MapReduce.Builder) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Invokes a mapReduce command on the server.
mapReduceAsync(Callback<MongoIterator<Document>>, MapReduce.Builder) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Invokes a mapReduce command on the server.
mapReduceAsync(LambdaCallback<MongoIterator<Document>>, MapReduce) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Invokes a mapReduce command on the server.
mapReduceAsync(LambdaCallback<MongoIterator<Document>>, MapReduce.Builder) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Invokes a mapReduce command on the server.
mapReduceAsync(MapReduce) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Invokes a mapReduce command on the server.
mapReduceAsync(MapReduce.Builder) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Invokes a mapReduce command on the server.
mapReduceAsync(Callback<MongoIterator<Document>>, MapReduce) - Method in class com.allanbank.mongodb.client.AbstractMongoOperations
Constructs a mapreduce command and sends it to the server via the Client.
MapStage1 - Class in com.allanbank.mongodb.builder.expression
MapStage1 provides a container for the $map input field name before adding the variable name.
MapStage2 - Class in com.allanbank.mongodb.builder.expression
MapStage2 provides a container for the $map input field name and as variable name before adding the expression.
mark(int) - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
markReaderNeedsToFlush() - Method in class com.allanbank.mongodb.client.connection.socket.AbstractSocketConnection
Should be called when the send of a message happens on the receive thread.
markReady(int) - Method in class com.allanbank.mongodb.client.message.PendingMessageQueue
Marks the position as ready by incrementing the ready position to the provided position.
markReady2(int) - Method in class com.allanbank.mongodb.client.message.PendingMessageQueue
Marks the position and the next position as ready by incrementing the ready position to the provided position + 1.
markSupported() - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
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_BATCHED_WRITE_OPERATIONS_DEFAULT - Static variable in class com.allanbank.mongodb.client.state.Server
The default number of max batched write operations.
MAX_BATCHED_WRITE_OPERATIONS_PROP - Static variable in class com.allanbank.mongodb.client.state.Server
The name for the Server's maximum BSON object size property: "maxWriteBatchSize" .
MAX_BSON_OBJECT_SIZE_PROP - Static variable in class com.allanbank.mongodb.client.state.Server
The name for the Server's maximum BSON object size property: "maxBsonObjectSize" .
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.client.message.PendingMessageQueue
The mask for constraining the size the message id.
MAX_MULTIPLIER - Static variable in class com.allanbank.mongodb.bson.io.AbstractStringCache
The maximum value for the multiplier.
MAX_RECONNECT_PAUSE_TIME_MS - Static variable in class com.allanbank.mongodb.client.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.client.message.PendingMessageQueue
The maximum size of the queue.
MAX_TIMEOUT_VERSION - Static variable in class com.allanbank.mongodb.builder.Aggregate
The first version of MongoDB to support the aggregate command with the ability to limit the execution time on the server.
MAX_TIMEOUT_VERSION - Static variable in class com.allanbank.mongodb.builder.Count
The first version of MongoDB to support the count command with the ability to limit the execution time on the server.
MAX_TIMEOUT_VERSION - Static variable in class com.allanbank.mongodb.builder.Distinct
The first version of MongoDB to support the distinct command with the ability to limit the execution time on the server.
MAX_TIMEOUT_VERSION - Static variable in class com.allanbank.mongodb.builder.Find
The first version of MongoDB to support the queries with the ability to limit the execution time on the server.
MAX_TIMEOUT_VERSION - Static variable in class com.allanbank.mongodb.builder.FindAndModify
The first version of MongoDB to support the findAndModify command with the ability to limit the execution time on the server.
MAX_TIMEOUT_VERSION - Static variable in class com.allanbank.mongodb.builder.GroupBy
The first version of MongoDB to support the group command with the ability to limit the execution time on the server.
MAX_TIMEOUT_VERSION - Static variable in class com.allanbank.mongodb.builder.MapReduce
The first version of MongoDB to support the mapreduce command with the ability to limit the execution time on the server.
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.
maximum(Version) - Static method in class com.allanbank.mongodb.client.VersionRange
Returns a VersionRange that is only limited by a maximum version.
maximumTime(long, TimeUnit) - Method in class com.allanbank.mongodb.builder.Aggregate.Builder
Sets the maximum number of milliseconds to allow the command to run before aborting the request on the server.
maximumTime(long, TimeUnit) - Method in class com.allanbank.mongodb.builder.Count.Builder
Sets the maximum number of milliseconds to allow the query to run before aborting the request on the server.
maximumTime(long, TimeUnit) - Method in class com.allanbank.mongodb.builder.Distinct.Builder
Sets the maximum number of milliseconds to allow the command to run before aborting the request on the server.
maximumTime(long, TimeUnit) - Method in class com.allanbank.mongodb.builder.Find.Builder
Sets the maximum number of milliseconds to allow the query to run before aborting the request on the server.
maximumTime(long, TimeUnit) - Method in class com.allanbank.mongodb.builder.FindAndModify.Builder
Sets the maximum number of milliseconds to allow the command to run before aborting the request on the server.
maximumTime(long, TimeUnit) - Method in class com.allanbank.mongodb.builder.GroupBy.Builder
Sets the maximum number of milliseconds to allow the command to run before aborting the request on the server.
maximumTime(long, TimeUnit) - Method in class com.allanbank.mongodb.builder.MapReduce.Builder
Sets the maximum number of milliseconds to allow the command to run before aborting the request on the server.
MaximumTimeLimitExceededException - Exception in com.allanbank.mongodb.error
Exception raised when a request to the server exceeds the maximum allowed time.
MaximumTimeLimitExceededException(int, int, String, Message, Reply) - Constructor for exception com.allanbank.mongodb.error.MaximumTimeLimitExceededException
Create a new MaximumTimeLimitExceededException.
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.
MaxKeyElement(String, long) - 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.
MD5_FIELD - Static variable in class com.allanbank.mongodb.gridfs.GridFs
The field in the files collection containing the file's MD5.
Message - Interface in com.allanbank.mongodb.client
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.
minimum(Version) - Static method in class com.allanbank.mongodb.client.VersionRange
Returns a VersionRange that is only limited by a minimum version.
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.
MinKeyElement(String, long) - 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.
mode(BatchedWriteMode) - Method in class com.allanbank.mongodb.builder.BatchedWrite.Builder
Sets the mode for submitting the writes to the server.
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.
MongoClientConfigurationBeanInfo - Class in com.allanbank.mongodb
MongoClientConfigurationBeanInfo provides specialization for the properties of the MongoClientConfiguration.
MongoClientConfigurationBeanInfo() - Constructor for class com.allanbank.mongodb.MongoClientConfigurationBeanInfo
Creates a new MongoClientConfigurationBeanInfo.
MongoClientConfigurationBeanInfo.CredentialListEditor - Class in com.allanbank.mongodb
CredentialListEditor provides the ability to parse the list of credentials from a MongoDB URI.
MongoClientConfigurationBeanInfo.CredentialListEditor() - Constructor for class com.allanbank.mongodb.MongoClientConfigurationBeanInfo.CredentialListEditor
Creates a new CredentialEditor.
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.
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(MongoClient, 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 Challenge/Response.
MONGODB_URI_FIELDS - Static variable in class com.allanbank.mongodb.CredentialEditor
The fields parsed out of a MongoDB URI to construct a Credential.
MONGODB_URI_FIELDS - Static variable in class com.allanbank.mongodb.DurabilityEditor
The set of fields used to determine a Durability from a MongoDB URI.
MONGODB_URI_FIELDS - Static variable in class com.allanbank.mongodb.ReadPreferenceEditor
The set of fields used to determine a Durability from a MongoDB URI.
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.client.connection.auth
MongoDbAuthenticator provides an authenticator for the legacy, pre-2.4 version, of MongoDB authentication.
MongoDbAuthenticator() - Constructor for class com.allanbank.mongodb.client.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.
MONGODBS_URI_PREFIX - Static variable in class com.allanbank.mongodb.MongoDbUri
The prefix for a MongoDB URI that uses SSL.
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(CursorableMessage, Client, String, Reply) - Constructor for class com.allanbank.mongodb.client.MongoIteratorImpl
Create a new MongoDBInterator.
MongoIteratorImpl(Document, Client) - Constructor for class com.allanbank.mongodb.client.MongoIteratorImpl
Create a new MongoIteratorImpl from a cursor document.
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.
MongoTimestampElement(String, long, 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.
MULTI_SUPPORT_VERSION - Static variable in class com.allanbank.mongodb.builder.GeoJson
The version of MongoDB that provided support for Multi* GeoJSON objects.
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.
MultipleCursorCallback - Class in com.allanbank.mongodb.client.callback
Callback to convert a CursorableMessage Reply into a collection of MongoIteratorImpl.
MultipleCursorCallback(Client, CursorableMessage, Callback<Collection<MongoIterator<Document>>>) - Constructor for class com.allanbank.mongodb.client.callback.MultipleCursorCallback
Create a new CursorCallback.
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.client.message.Update
Flag bit for a multi-update.
myAllowDiskUsage - Variable in class com.allanbank.mongodb.builder.Aggregate.Builder
Set to true if the aggregation results should be allowed to spill to disk.
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.Aggregate.Builder
The number of documents to be returned in each batch of results.
myBatchSize - Variable in class com.allanbank.mongodb.builder.Find.Builder
The number of documents to be returned in each batch of results.
myBatchSize - Variable in class com.allanbank.mongodb.builder.ParallelScan.Builder
The number of documents to be returned in each batch of results.
myBsonIn - Variable in class com.allanbank.mongodb.client.connection.socket.AbstractSocketConnection
The writer for BSON documents.
myBsonOut - Variable in class com.allanbank.mongodb.client.connection.socket.TwoThreadSocketConnection
The writer for BSON documents.
myClient - Variable in class com.allanbank.mongodb.client.AbstractMongoOperations
The client for interacting with MongoDB.
myClient - Variable in class com.allanbank.mongodb.client.MongoDatabaseImpl
The client for interacting with MongoDB.
myCluster - Variable in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyMultipleConnection
The state of the cluster for finding secondary connections.
myCluster - Variable in class com.allanbank.mongodb.client.connection.sharded.ShardedConnectionFactory
The state of the cluster.
myCollectionName - Variable in class com.allanbank.mongodb.client.message.AbstractMessage
The name of the collection to operate on.
myConfig - Variable in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyMultipleConnection
The MongoDB client configuration.
myConfig - Variable in class com.allanbank.mongodb.client.connection.sharded.ShardedConnectionFactory
The MongoDB client configuration.
myConfig - Variable in class com.allanbank.mongodb.client.connection.socket.AbstractSocketConnection
The connections configuration.
myConfig - Variable in class com.allanbank.mongodb.client.state.AbstractReconnectStrategy
The configuration for connections to the servers.
myConfig - Variable in class com.allanbank.mongodb.client.state.Cluster
The configuration for connecting to the servers.
myConnectionFactory - Variable in class com.allanbank.mongodb.client.connection.rs.ReplicaSetConnectionFactory
The factory to create proxied connections.
myConnectionFactory - Variable in class com.allanbank.mongodb.client.connection.sharded.ShardedConnectionFactory
The factory to create proxied connections.
myConnectionFactory - Variable in class com.allanbank.mongodb.client.state.AbstractReconnectStrategy
The connection factory for new connections.
myDatabase - Variable in class com.allanbank.mongodb.client.AbstractMongoOperations
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.client.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.
myDurability - Variable in class com.allanbank.mongodb.builder.BatchedWrite.Builder
The durability for the writes.
myElements - Variable in class com.allanbank.mongodb.bson.builder.impl.AbstractBuilder
The list of elements in the builder.
myEncoderCache - Variable in class com.allanbank.mongodb.client.connection.socket.AbstractSocketConnection
The cache for the encoding of strings.
myError - Variable in class com.allanbank.mongodb.bson.io.BsonOutputStream
Any thrown exceptions.
myEventSupport - Variable in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyMultipleConnection
Support for emitting property change events.
myEventSupport - Variable in class com.allanbank.mongodb.client.connection.socket.AbstractSocketConnection
Support for emitting property change events.
myExecutor - Variable in class com.allanbank.mongodb.client.connection.socket.AbstractSocketConnection
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.
myFactory - Variable in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyMultipleConnection
The connection factory for opening secondary connections.
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.
myInput - Variable in class com.allanbank.mongodb.client.connection.socket.AbstractSocketConnection
The buffered input stream.
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
Deprecated.
The language to use when stemming the search terms.
myLastUsedConnection - Variable in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyMultipleConnection
The most recently used connection.
myLimit - Variable in class com.allanbank.mongodb.builder.Aggregate.Builder
The total number of documents to be returned.
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
Deprecated.
Maximum number of document to return.
myListener - Variable in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyMultipleConnection
The listener for changes in the cluster and connections.
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.
myLog - Variable in class com.allanbank.mongodb.client.connection.socket.AbstractSocketConnection
The logger for the connection.
myMainKey - Variable in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyMultipleConnection
The primary instance this connection is connected to.
myMapFunction - Variable in class com.allanbank.mongodb.builder.MapReduce.Builder
The map functions to apply to each selected document.
myMaxCacheLength - Variable in class com.allanbank.mongodb.bson.io.AbstractStringCache
The maximum length of a string to cache.
myMaxCachEntries - Variable in class com.allanbank.mongodb.bson.io.AbstractStringCache
The maximum number of entries to have in the cache.
myMaxCachEntriesMultiplier - Variable in class com.allanbank.mongodb.bson.io.AbstractStringCache
The multiplier for the number of times the cache is used before we re-load the cache.
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.
myMaximumTimeMilliseconds - Variable in class com.allanbank.mongodb.builder.Aggregate.Builder
The maximum amount of time to allow the command to run.
myMaximumTimeMilliseconds - Variable in class com.allanbank.mongodb.builder.Count.Builder
The maximum amount of time to allow the query to run.
myMaximumTimeMilliseconds - Variable in class com.allanbank.mongodb.builder.Distinct.Builder
The maximum amount of time to allow the command to run.
myMaximumTimeMilliseconds - Variable in class com.allanbank.mongodb.builder.Find.Builder
The maximum amount of time to allow the query to run.
myMaximumTimeMilliseconds - Variable in class com.allanbank.mongodb.builder.FindAndModify.Builder
The maximum amount of time to allow the command to run.
myMaximumTimeMilliseconds - Variable in class com.allanbank.mongodb.builder.GroupBy.Builder
The maximum amount of time to allow the command to run.
myMaximumTimeMilliseconds - Variable in class com.allanbank.mongodb.builder.MapReduce.Builder
The maximum amount of time to allow the command to run.
myMinimumRange - Variable in class com.allanbank.mongodb.builder.Find.Builder
If set then controls the minimum value for the range within the used index.
myMode - Variable in class com.allanbank.mongodb.builder.BatchedWrite.Builder
The mode for submitting the writes to the server.
myName - Variable in class com.allanbank.mongodb.client.AbstractMongoOperations
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.client.connection.proxy.AbstractProxyMultipleConnection
Set to false when the connection is closed.
myOpen - Variable in class com.allanbank.mongodb.client.connection.socket.AbstractSocketConnection
Holds if the connection is open.
myOperator - Variable in class com.allanbank.mongodb.builder.expression.UnaryExpression
The operator.
myOptions - Variable in class com.allanbank.mongodb.Credential.Builder
Other options for the credentials.
myOutput - Variable in class com.allanbank.mongodb.bson.io.BsonOutputStream
Output buffer for spooling the written document.
myOutput - Variable in class com.allanbank.mongodb.client.connection.socket.AbstractSocketConnection
The buffered output stream.
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.client.connection.socket.AbstractSocketConnection
The queue of messages sent but waiting for a reply.
myPinger - Variable in class com.allanbank.mongodb.client.connection.sharded.ShardedConnectionFactory
Pings the servers in the cluster collecting latency and tags.
myPipeline - Variable in class com.allanbank.mongodb.builder.Aggregate.Builder
The pipeline of operations to be applied.
myProjection - Variable in class com.allanbank.mongodb.builder.Find.Builder
The fields to be returned from the matching documents.
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.Count.Builder
The query document.
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
Deprecated.
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.Count.Builder
The preference for which servers to use to retrieve the results.
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.ParallelScan.Builder
The preference for which servers to use to retrieve the results.
myReadPreference - Variable in class com.allanbank.mongodb.builder.Text.Builder
Deprecated.
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
myRequestedIteratorCount - Variable in class com.allanbank.mongodb.builder.ParallelScan.Builder
The desired number of iterators/cursors to create.
myRequiredVersion - Variable in class com.allanbank.mongodb.builder.Aggregate.Builder
The version required for the aggregation.
myResults - Variable in class com.allanbank.mongodb.client.connection.auth.MongoDbAuthenticator
The result of the Authentication attempt.
myReturnFields - Variable in class com.allanbank.mongodb.builder.Text.Builder
Deprecated.
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
Deprecated.
The search terms.
mySeen - Variable in class com.allanbank.mongodb.bson.io.AbstractStringCache
The map of seen strings that will be used periodically to build the cache cache.
mySelector - Variable in class com.allanbank.mongodb.client.connection.sharded.ShardedConnectionFactory
The selector for the mongos instance to use.
mySelector - Variable in class com.allanbank.mongodb.client.state.AbstractReconnectStrategy
The selector for which server to connect to.
myServer - Variable in class com.allanbank.mongodb.client.connection.socket.AbstractSocketConnection
The open socket.
myServers - Variable in class com.allanbank.mongodb.client.state.Cluster
The complete list of servers.
myServerVersionRange - Variable in class com.allanbank.mongodb.client.state.Cluster
The range of versions within the cluster.
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.client.connection.proxy.AbstractProxyMultipleConnection
Set to true when the connection should be gracefully closed.
myShutdown - Variable in class com.allanbank.mongodb.client.connection.socket.AbstractSocketConnection
Set to true when the connection should be gracefully closed.
mySize - Variable in class com.allanbank.mongodb.bson.builder.impl.AbstractBuilder
The size of the document added.
mySmallestMaxBatchedWriteOperations - Variable in class com.allanbank.mongodb.client.state.Cluster
The smallest maximum number of operations in a batch in the cluster.
mySmallestMaxBsonObjectSize - Variable in class com.allanbank.mongodb.client.state.Cluster
The smallest maximum document size in the cluster.
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.
mySocket - Variable in class com.allanbank.mongodb.client.connection.socket.AbstractSocketConnection
The open socket.
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.client.state.AbstractReconnectStrategy
The state of the cluster.
myStringEncoder - Variable in class com.allanbank.mongodb.bson.io.BsonOutputStream
The encoder for strings.
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.client.connection.socket.TwoThreadSocketConnection
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.
myUseCount - Variable in class com.allanbank.mongodb.bson.io.AbstractStringCache
The number of time the cache has been used since the last re-load of runtime, read-only cache.
myUseCursor - Variable in class com.allanbank.mongodb.builder.Aggregate.Builder
Set to true if the aggregation results should be returned as a cursor.
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.
myWrites - Variable in class com.allanbank.mongodb.builder.BatchedWrite.Builder
The writes to submit to the server.
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.
needBuildInfo() - Method in class com.allanbank.mongodb.client.state.Server
Returns true if there has not been a recent update to the server's version or maximum document size.
next() - Method in class com.allanbank.mongodb.client.MongoIteratorImpl
next() - Method in class com.allanbank.mongodb.client.SimpleMongoIteratorImpl
nextBatchSize() - Method in class com.allanbank.mongodb.client.callback.CursorStreamingCallback
Computes the size for the next batch of documents to get.
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.client.message.Query
Flag bit for the no cursor timeout.
NO_OP - Static variable in class com.allanbank.mongodb.client.callback.NoOpCallback
A no-op callback.
NO_PASSWORD - Static variable in class com.allanbank.mongodb.Credential
An empty password array.
NONE - Static variable in interface com.allanbank.mongodb.AsyncMongoCollection
An (empty) update document to perform no actual modifications.
NONE - Static variable in class com.allanbank.mongodb.builder.FindAndModify
An (empty) update document to perform no actual modifications.
NONE - Static variable in class com.allanbank.mongodb.Durability
The durability that says no durability is required.
NONE - Static variable in interface com.allanbank.mongodb.MongoCollection
An (empty) update document to perform no actual modifications.
NoOpCallback - Class in com.allanbank.mongodb.client.callback
NoOpCallback provides a callback that does nothing.
NoOpCallback() - Constructor for class com.allanbank.mongodb.client.callback.NoOpCallback
 
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(Date) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is not equal to the specified dateTime.
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.client.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 match the field's value.
notIn(boolean...) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Specify the values that must not match the field's value.
notIn(byte[]...) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Specify the values that must not match the field's value.
notIn(Constant...) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Specify the values that must not match the field's value.
notIn(Date...) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Specify the values that must not match the field's value.
notIn(DocumentAssignable...) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Specify the values that must not match the field's value.
notIn(Double...) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Specify the values that must not match the field's value.
notIn(Element...) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Specify the values that must not match the field's value.
notIn(Integer...) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Specify the values that must not match the field's value.
notIn(Long...) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Specify the values that must not match the field's value.
notIn(ObjectId...) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Specify the values that must not match the field's value.
notIn(Pattern...) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Specify the values that must not match the field's value.
notIn(String...) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Specify the values that must not match the field's value.
notIn(UUID...) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Specify the values that must not match the field's 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.
NullElement(String, long) - 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.client.state.Server
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.
ObjectIdElement(String, ObjectId, long) - 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(Message, ReplyCallback) - Method in class com.allanbank.mongodb.client.message.PendingMessageQueue
Puts a message onto the queue.
offer(PendingMessage) - Method in class com.allanbank.mongodb.client.message.PendingMessageQueue
Puts a message onto the queue.
offer() - Method in class com.allanbank.mongodb.client.message.PendingMessageQueue
Checks if there is remove for another message.
offer2() - Method in class com.allanbank.mongodb.client.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.client.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.client.connection.Connection
The property for if the connection is open or not.
Operation - Enum in com.allanbank.mongodb.client
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.client.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.
out(String) - Method in class com.allanbank.mongodb.builder.Aggregate.Builder
Adds a $out operation to the pipeline to write all of the output documents to the specified collection.
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.
pam() - Method in class com.allanbank.mongodb.Credential.Builder
Sets the value of the authentication type or mode that the credential should be used with PAM via PLAIN SASL.
ParallelScan - Class in com.allanbank.mongodb.builder
ParallelScan provides an immutable container for all of the options for a parallelCollectionScan.
ParallelScan(ParallelScan.Builder) - Constructor for class com.allanbank.mongodb.builder.ParallelScan
Creates a new ParallelScan.
parallelScan(ParallelScan) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
Uses the parallelCollectionScan command to open multiple iterators over the collection each configured to scan a distinct regions of the collection.
parallelScan(ParallelScan.Builder) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
Uses the parallelCollectionScan command to open multiple iterators over the collection each configured to scan a distinct regions of the collection.
parallelScan(ParallelScan) - Method in interface com.allanbank.mongodb.MongoCollection
Uses the parallelCollectionScan command to open multiple iterators over the collection each configured to scan a distinct regions of the collection.
parallelScan(ParallelScan.Builder) - Method in interface com.allanbank.mongodb.MongoCollection
Uses the parallelCollectionScan command to open multiple iterators over the collection each configured to scan a distinct regions of the collection.
ParallelScan.Builder - Class in com.allanbank.mongodb.builder
Helper for creating immutable ParallelScan queries.
ParallelScan.Builder() - Constructor for class com.allanbank.mongodb.builder.ParallelScan.Builder
Creates a new Builder.
parallelScanAsync(Callback<Collection<MongoIterator<Document>>>, ParallelScan) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Uses the parallelCollectionScan command to open multiple iterators over the collection each configured to scan a distinct regions of the collection.
parallelScanAsync(Callback<Collection<MongoIterator<Document>>>, ParallelScan.Builder) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Uses the parallelCollectionScan command to open multiple iterators over the collection each configured to scan a distinct regions of the collection.
parallelScanAsync(LambdaCallback<Collection<MongoIterator<Document>>>, ParallelScan) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Uses the parallelCollectionScan command to open multiple iterators over the collection each configured to scan a distinct regions of the collection.
parallelScanAsync(LambdaCallback<Collection<MongoIterator<Document>>>, ParallelScan.Builder) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Uses the parallelCollectionScan command to open multiple iterators over the collection each configured to scan a distinct regions of the collection.
parallelScanAsync(ParallelScan) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Uses the parallelCollectionScan command to open multiple iterators over the collection each configured to scan a distinct regions of the collection.
parallelScanAsync(ParallelScan.Builder) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Uses the parallelCollectionScan command to open multiple iterators over the collection each configured to scan a distinct regions of the collection.
parallelScanAsync(Callback<Collection<MongoIterator<Document>>>, ParallelScan.Builder) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Uses the parallelCollectionScan command to open multiple iterators over the collection each configured to scan a distinct regions of the collection.
parallelScanAsync(LambdaCallback<Collection<MongoIterator<Document>>>, ParallelScan) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Uses the parallelCollectionScan command to open multiple iterators over the collection each configured to scan a distinct regions of the collection.
parallelScanAsync(LambdaCallback<Collection<MongoIterator<Document>>>, ParallelScan.Builder) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Uses the parallelCollectionScan command to open multiple iterators over the collection each configured to scan a distinct regions of the collection.
parallelScanAsync(ParallelScan) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Uses the parallelCollectionScan command to open multiple iterators over the collection each configured to scan a distinct regions of the collection.
parallelScanAsync(ParallelScan.Builder) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Uses the parallelCollectionScan command to open multiple iterators over the collection each configured to scan a distinct regions of the collection.
parallelScanAsync(Callback<Collection<MongoIterator<Document>>>, ParallelScan) - Method in class com.allanbank.mongodb.client.AbstractMongoOperations
Constructs a parallelCollectionScan command and sends it to the server via the Client.
ParallelScanCommand - Class in com.allanbank.mongodb.client.message
Helper class for the parallelCollectionScan commands.
ParallelScanCommand(ParallelScan, String, String, Document, ReadPreference) - Constructor for class com.allanbank.mongodb.client.message.ParallelScanCommand
Create a new ParallelScanCommand.
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.
parse(List<NumericElement>) - Static method in class com.allanbank.mongodb.Version
Parses a version from a version array.
parse(String) - Static method in class com.allanbank.mongodb.Version
Parses a version of the general format 'int.int.int-suffix'.
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.client.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.client.connection.auth.MongoDbAuthenticator
Creates the MongoDB authentication hash of the password.
passwordHash(MessageDigest, Credential) - Method in class com.allanbank.mongodb.client.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.client.message
Container for a pending message.
PendingMessage() - Constructor for class com.allanbank.mongodb.client.message.PendingMessage
Create a new PendingMessage.
PendingMessage(int, Message) - Constructor for class com.allanbank.mongodb.client.message.PendingMessage
Create a new PendingMessage.
PendingMessage(int, Message, ReplyCallback) - Constructor for class com.allanbank.mongodb.client.message.PendingMessage
Create a new PendingMessage.
PendingMessageQueue - Class in com.allanbank.mongodb.client.message
PendingMessageQueue provides an optimized queue for pending messages inspired by the Disruptor project.
PendingMessageQueue(int, LockType) - Constructor for class com.allanbank.mongodb.client.message.PendingMessageQueue
Creates a new PendingMessageQueue.
pickServers() - Method in class com.allanbank.mongodb.client.state.LatencyServerSelector
Picks a server to try and connect to.
pickServers() - Method in interface com.allanbank.mongodb.client.state.ServerSelector
Picks a server to try and connect to.
ping(Server, Connection) - Static method in class com.allanbank.mongodb.client.state.ClusterPinger
Pings the server and suppresses all exceptions.
ping(Server, Connection) - Method in class com.allanbank.mongodb.client.state.ClusterPinger.Pinger
Pings the server and suppresses all exceptions.
pingAsync(ClusterType, Server, Connection) - Method in class com.allanbank.mongodb.client.state.ClusterPinger.Pinger
Pings the server and suppresses all exceptions.
PLAIN_SASL - Static variable in class com.allanbank.mongodb.Credential
Constant for authentication using plain SASL (LDAP/PAM) client certificates passed at connection establishment.
plainSasl() - 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 PLAIN SASL.
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.client.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.
POLYGON_VERSION - Static variable in enum com.allanbank.mongodb.builder.GeospatialOperator
The version (2.0) of the MongoDB server that added support for the "$polygon" modifier of $within
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.
prefetch(int) - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
Tries to prefetch the requested number of bytes from the underlying stream.
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.client.state.Server
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.
projection(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.Find.Builder
Sets the value of the fields to be projected from the matching documents to the new value.
projection(String...) - 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.
propertyChange(PropertyChangeEvent) - Method in class com.allanbank.mongodb.client.ClientImpl.ConnectionListener
propertyChange(PropertyChangeEvent) - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyConnection.ProxiedChangeListener
propertyChange(PropertyChangeEvent) - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyMultipleConnection.ClusterAndConnectionListener
 
propertyChange(PropertyChangeEvent) - Method in class com.allanbank.mongodb.client.connection.socket.SocketConnectionFactory.ConfigurationListener
 
propertyChange(PropertyChangeEvent) - Method in class com.allanbank.mongodb.client.state.Cluster.ServerListener
 
ProxiedConnectionFactory - Interface in com.allanbank.mongodb.client.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, ReplyCallback) - Method in class com.allanbank.mongodb.client.message.PendingMessageQueue
Puts a message onto the queue.
put(Message, ReplyCallback, Message, ReplyCallback) - Method in class com.allanbank.mongodb.client.message.PendingMessageQueue
Puts two messages onto the queue.
put(PendingMessage) - Method in class com.allanbank.mongodb.client.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.Count.Builder
Sets the value of the query document to the new value.
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
Deprecated.
Sets the standard MongoDB query document to limit the final results to the new value.
Query - Class in com.allanbank.mongodb.client.message
Message to query documents from the database matching a criteria.
Query(Header, BsonInputStream) - Constructor for class com.allanbank.mongodb.client.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.client.message.Query
Creates a new Query.
QUERY_FAILURE_BIT - Static variable in class com.allanbank.mongodb.client.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.
QueryVersionVisitor - Class in com.allanbank.mongodb.client.message
QueryVersionVisitor provides the ability to inspect a query document for the required server version.
QueryVersionVisitor() - Constructor for class com.allanbank.mongodb.client.message.QueryVersionVisitor
Creates a new QueryVersionVisitor.

R

raiseError(Throwable, ReplyCallback, Executor) - Static method in class com.allanbank.mongodb.client.callback.ReplyHandler
Raise an error on the callback, if any.
raiseError(Throwable, ReplyCallback) - Method in class com.allanbank.mongodb.client.connection.socket.AbstractSocketConnection
Updates to raise an error on the callback, if any.
raiseErrors(MongoDbException) - Method in interface com.allanbank.mongodb.client.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) - Method in class com.allanbank.mongodb.client.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) - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyMultipleConnection
Notifies the call backs for the pending and optionally the to be sent messages that there has been an external, unrecoverable error.
raiseErrors(MongoDbException) - Method in class com.allanbank.mongodb.client.connection.socket.AbstractSocketConnection
Notifies the call backs for the pending and optionally the to be sent messages that there has been an external, unrecoverable error.
raiseErrors(MongoDbException) - Method in class com.allanbank.mongodb.client.connection.socket.TwoThreadSocketConnection
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
RandomAccessOutputStream(StringEncoderCache) - Constructor for class com.allanbank.mongodb.bson.io.RandomAccessOutputStream
range(Version, Version) - Static method in class com.allanbank.mongodb.client.VersionRange
Returns a VersionRange based on the minimum and maximum versions provided.
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(ObjectId, OutputStream) - Method in class com.allanbank.mongodb.gridfs.GridFs
Reads a file from the GridFS collections and writes the contents to the sink
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:
readBooleanElement() - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
Reads a BooleanElement from the stream.
readCString() - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
Reads a "cstring" value from the stream:
readDBPointerElement() - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
Deprecated.
Per the BSON specification.
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:
readDoubleElement() - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
Reads a DoubleElement from the stream.
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.
readIntegerElement() - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
Reads a IntegerElement from the stream.
readIntSuppressTimeoutOnNonFirstByte() - Method in class com.allanbank.mongodb.client.connection.socket.AbstractSocketConnection
Reads a little-endian 4 byte signed integer from the stream.
readJavaScriptElement() - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
Reads a JavaScriptElement from the stream.
readJavaScriptWithScopeElement() - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
Reads a JavaScriptWithScopeElement from the stream.
readLong() - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
Reads a little-endian 8 byte signed integer from the stream.
readLongElement() - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
Reads a LongElement from the stream.
readMaxKeyElement() - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
Reads a MaxKeyElement from the stream.
readMinKeyElement() - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
Reads a MinKeyElement from the stream.
readMongoTimestampElement() - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
Reads a MongoTimestampElement from the stream.
readNullElement() - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
Reads a NullElement from the stream.
readObjectIdElement() - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
Reads a ObjectIdElement from the stream.
readPreference(ReadPreference) - Method in class com.allanbank.mongodb.builder.Count.Builder
Sets the preference for the set of servers to retrieve the results from.
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.ParallelScan.Builder
Sets the preference for the set of servers to retrieve the results from.
readPreference(ReadPreference) - Method in class com.allanbank.mongodb.builder.Text.Builder
Deprecated.
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.
ReadPreferenceEditor - Class in com.allanbank.mongodb
ReadPreferenceEditor() - Constructor for class com.allanbank.mongodb.ReadPreferenceEditor
Creates a new ReadPreferenceEditor.
readRegularExpressionElement() - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
Reads a RegularExpressionElement from the stream.
readString() - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
Reads a "string" value from the stream:
readStringElement() - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
Reads a StringElement from the stream.
readSymbolElement() - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
Reads a SymbolElement from the stream.
readTimestampElement() - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
Reads a TimestampElement from the stream.
rebuildCache() - Method in class com.allanbank.mongodb.bson.io.AbstractStringCache
Rebuilds the cache from the current AbstractStringCache.mySeen map.
rebuildCache() - Method in class com.allanbank.mongodb.bson.io.StringDecoderCache
Rebuilds the cache from the current collection of seen entries.
rebuildCache() - Method in class com.allanbank.mongodb.bson.io.StringEncoderCache
Rebuilds the cache from the current collection of seen entries.
Receiver - Interface in com.allanbank.mongodb.client.callback
Receiver provides an interface for a class that receives messages from the server so that blocking futures can try and periodically receive messages.
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.client.connection.ReconnectStrategy
Encapsulates the strategy for re-establishing the connection to the server.
reconnect(Connection) - Method in class com.allanbank.mongodb.client.connection.rs.ReplicaSetReconnectStrategy
Encapsulates the strategy for re-establishing the connection to the server.
reconnect(Connection) - Method in class com.allanbank.mongodb.client.state.SimpleReconnectStrategy
Encapsulates the strategy for re-establishing the connection to the server.
reconnectMain() - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyMultipleConnection
Creates a connection back to the main server for this connection.
reconnectMain() - Method in class com.allanbank.mongodb.client.connection.rs.ReplicaSetConnection
Creates a connection back to the main server for this connection.
reconnectMain() - Method in class com.allanbank.mongodb.client.connection.sharded.ShardedConnection
Creates a connection back to the main server for this connection.
reconnectPrimary() - Method in class com.allanbank.mongodb.client.connection.rs.ReplicaSetReconnectStrategy
Overridden to search for the primary server in the replica set.
ReconnectStrategy - Interface in com.allanbank.mongodb.client.connection
ReconnectStrategy provides a common interface for a strategy for reconnecting to a MongoDB server.
redact(DocumentAssignable, RedactOption, RedactOption) - Method in class com.allanbank.mongodb.builder.Aggregate.Builder
Adds a $redact operation to potentially prune sub-documents from the results.
redact(Expression, RedactOption, RedactOption) - Method in class com.allanbank.mongodb.builder.Aggregate.Builder
Adds a $redact operation to potentially prune sub-documents from the results.
REDACT_REQUIRED_VERSION - Static variable in class com.allanbank.mongodb.builder.Aggregate
The first version of MongoDB to support the $redact pipeline operator.
RedactOption - Enum in com.allanbank.mongodb.builder
RedactOption provides options for what to do when evaluating a $redact condition within the Aggregate pipeline.
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, int, long) - 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.
RegularExpressionElement(String, String, String, long) - 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
remove() - Method in class com.allanbank.mongodb.client.SimpleMongoIteratorImpl
remove(Server) - Method in class com.allanbank.mongodb.client.state.Cluster
Removes the specified server from the cluster.
removeCachedConnection(Object, Connection) - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyMultipleConnection
Remove the connection from the cache.
removeListener(PropertyChangeListener) - Method in class com.allanbank.mongodb.client.state.Cluster
Removes a listener to the state.
removeListener(PropertyChangeListener) - Method in class com.allanbank.mongodb.client.state.Server
Remove a PropertyChangeListener to stop receiving future property changes for the Server.
removePropertyChangeListener(PropertyChangeListener) - Method in interface com.allanbank.mongodb.client.connection.Connection
Removes a PropertyChangeListener from this connection.
removePropertyChangeListener(PropertyChangeListener) - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyConnection
Removes a PropertyChangeListener from this connection.
removePropertyChangeListener(PropertyChangeListener) - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyMultipleConnection
Removes a PropertyChangeListener from this connection.
removePropertyChangeListener(PropertyChangeListener) - Method in class com.allanbank.mongodb.client.connection.socket.AbstractSocketConnection
Removes a PropertyChangeListener from this connection.
removePropertyChangeListener(PropertyChangeListener) - Method in class com.allanbank.mongodb.MongoClientConfiguration
Removes a PropertyChangeListener from the configuration.
removePropertyChangeListener(String, PropertyChangeListener) - Method in class com.allanbank.mongodb.MongoClientConfiguration
Removes a PropertyChangeListener from the configuration.
REPLACE_TOKEN - Static variable in interface com.allanbank.mongodb.util.log.Log
The token to replace with the arguments to the log message.
REPLICA_OK_FLAG_BIT - Static variable in class com.allanbank.mongodb.client.message.Query
Flag bit for the replica OK.
REPLICA_SET_STATUS - Static variable in class com.allanbank.mongodb.client.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.client.connection.rs
Provides a Connection implementation for connecting to a replica-set environment.
ReplicaSetConnection(Connection, Server, Cluster, ProxiedConnectionFactory, MongoClientConfiguration, ReplicaSetReconnectStrategy) - Constructor for class com.allanbank.mongodb.client.connection.rs.ReplicaSetConnection
Creates a new ReplicaSetConnection.
ReplicaSetConnectionFactory - Class in com.allanbank.mongodb.client.connection.rs
Provides the ability to create connections to a replica-set environment.
ReplicaSetConnectionFactory(ProxiedConnectionFactory, MongoClientConfiguration) - Constructor for class com.allanbank.mongodb.client.connection.rs.ReplicaSetConnectionFactory
ReplicaSetReconnectStrategy - Class in com.allanbank.mongodb.client.connection.rs
ReplicaSetReconnectStrategy provides a ReconnectStrategy designed for replica sets.
ReplicaSetReconnectStrategy() - Constructor for class com.allanbank.mongodb.client.connection.rs.ReplicaSetReconnectStrategy
Creates a new ReplicaSetReconnectStrategy.
ReplicaSetStatus - Class in com.allanbank.mongodb.client.message
Provides a convenient mechanism for creating a replSetGetStatus command.
ReplicaSetStatus() - Constructor for class com.allanbank.mongodb.client.message.ReplicaSetStatus
Create a new ReplicaSetStatus command.
reply(Receiver, Reply, ReplyCallback, Executor) - Static method in class com.allanbank.mongodb.client.callback.ReplyHandler
Updates to set the reply for the callback, if any.
reply(Reply, PendingMessage) - Method in class com.allanbank.mongodb.client.connection.socket.AbstractSocketConnection
Updates to set the reply for the callback, if any.
Reply - Class in com.allanbank.mongodb.client.message
Message received from the database in reply to a query.
Reply(Header, BsonInputStream) - Constructor for class com.allanbank.mongodb.client.message.Reply
Creates a new Reply.
Reply(int, long, int, List<Document>, boolean, boolean, boolean, boolean) - Constructor for class com.allanbank.mongodb.client.message.Reply
Creates a new Reply.
ReplyArrayCallback - Class in com.allanbank.mongodb.client.callback
Callback to expect and extract a single document from the reply and then extract its contained array.
ReplyArrayCallback(Callback<MongoIterator<Element>>) - Constructor for class com.allanbank.mongodb.client.callback.ReplyArrayCallback
Create a new ReplyDocumentCallback.
ReplyArrayCallback(String, Callback<MongoIterator<Element>>) - Constructor for class com.allanbank.mongodb.client.callback.ReplyArrayCallback
Create a new ReplyDocumentCallback.
ReplyCallback - Interface in com.allanbank.mongodb.client.callback
ReplyCallback provides an interface for the receive processing to determine is a callback can be safely called on the receiver's thread.
ReplyCommandCallback - Class in com.allanbank.mongodb.client.callback
Callback to expect and extract a single document from the reply.
ReplyCommandCallback(Callback<Document>) - Constructor for class com.allanbank.mongodb.client.callback.ReplyCommandCallback
Create a new ReplyDocumentCallback.
ReplyDocumentCallback - Class in com.allanbank.mongodb.client.callback
Callback to expect and extract a single document from the reply and then extract its contained document.
ReplyDocumentCallback(Callback<Document>) - Constructor for class com.allanbank.mongodb.client.callback.ReplyDocumentCallback
Create a new ReplyDocumentCallback.
ReplyDocumentCallback(String, Callback<Document>) - Constructor for class com.allanbank.mongodb.client.callback.ReplyDocumentCallback
Create a new ReplyDocumentCallback.
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.client.callback
ReplyHandler provides the capability to properly handle the replies to a callback.
ReplyHandler(ReplyCallback, Reply) - Constructor for class com.allanbank.mongodb.client.callback.ReplyHandler
Creates a new ReplyHandler.
ReplyHandler(ReplyCallback, Throwable) - Constructor for class com.allanbank.mongodb.client.callback.ReplyHandler
Creates a new ReplyHandler.
ReplyIntegerCallback - Class in com.allanbank.mongodb.client.callback
Callback to expect and extract a single document from the reply and then extract a contained NumericElement and coerce it to a integer value.
ReplyIntegerCallback(Callback<Integer>) - Constructor for class com.allanbank.mongodb.client.callback.ReplyIntegerCallback
Create a new ReplyIntegerCallback.
ReplyIntegerCallback(String, Callback<Integer>) - Constructor for class com.allanbank.mongodb.client.callback.ReplyIntegerCallback
Create a new ReplyIntegerCallback.
ReplyLongCallback - Class in com.allanbank.mongodb.client.callback
Callback to expect and extract a single document from the reply and then extract a contained NumericElement and coerce it to a long value.
ReplyLongCallback(Callback<Long>) - Constructor for class com.allanbank.mongodb.client.callback.ReplyLongCallback
Create a new ReplyLongCallback.
ReplyLongCallback(String, Callback<Long>) - Constructor for class com.allanbank.mongodb.client.callback.ReplyLongCallback
Create a new ReplyLongCallback.
ReplyResultCallback - Class in com.allanbank.mongodb.client.callback
Callback to extract the map/reduce and aggregation results from the reply.
ReplyResultCallback(Callback<MongoIterator<Document>>) - Constructor for class com.allanbank.mongodb.client.callback.ReplyResultCallback
Create a new ReplyResultCallback.
ReplyResultCallback(String, Callback<MongoIterator<Document>>) - Constructor for class com.allanbank.mongodb.client.callback.ReplyResultCallback
Create a new ReplyResultCallback.
requestedIteratorCount(int) - Method in class com.allanbank.mongodb.builder.ParallelScan.Builder
Sets the requested number of iterators/cursors to create to the new value.
requestFailed() - Method in class com.allanbank.mongodb.client.state.Server
Notification that a status request message on the connection failed.
REQUIRED_VERSION - Static variable in class com.allanbank.mongodb.builder.Aggregate
The first version of MongoDB to support the aggregate command.
REQUIRED_VERSION - Static variable in class com.allanbank.mongodb.builder.BatchedWrite
The first version of MongoDB to support the aggregate command.
REQUIRED_VERSION - Static variable in class com.allanbank.mongodb.builder.ParallelScan
The first version of MongoDB to support the parallelCollectionScan command.
REQUIRED_VERSION - Static variable in class com.allanbank.mongodb.builder.Text
Deprecated.
The first version of MongoDB to support the text command.
REQUIRED_VERSION - Static variable in class com.allanbank.mongodb.client.message.CreateIndexCommand
The first version of MongoDB to support the createIndexes command.
REQUIRED_VERSION - Static variable in class com.allanbank.mongodb.client.message.ParallelScanCommand
The first version of MongoDB to support the parallelCollectionScan command.
REQUIRED_VERSION_RANGE - Static variable in class com.allanbank.mongodb.client.message.BatchedWriteCommand
The required server version range for the BatchedWrite command.
REQUIRED_VERSION_RANGE - Static variable in class com.allanbank.mongodb.client.message.CreateIndexCommand
The required server version range for the createIndexes command.
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.BsonInputStream
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.BatchedWrite.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.Count.Builder
Resets the builder back to its initial state for reuse.
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.ParallelScan.Builder
Resets the builder back to its initial state for reuse.
reset() - Method in class com.allanbank.mongodb.builder.QueryBuilder
Clears the builder's conditions.
reset() - Method in class com.allanbank.mongodb.builder.Text.Builder
Deprecated.
Resets the builder back to its initial state.
reset() - Method in class com.allanbank.mongodb.Credential.Builder
Resets the builder to a known state.
resolveBootstrap(MongoClientConfiguration) - Static method in class com.allanbank.mongodb.client.ClientImpl
Resolves the bootstrap connection factory to use.
restart() - Method in class com.allanbank.mongodb.client.callback.CursorStreamingCallback
Restarts the stream by sending a request for the next batch of documents.
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(LambdaCallback<Document>, DocumentAssignable) - Method in class com.allanbank.mongodb.client.MongoClientImpl
Restarts a document stream from a cursor 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(LambdaCallback<Document>, DocumentAssignable) - Method in interface com.allanbank.mongodb.MongoClient
Restarts a document stream from a cursor 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.client.connection.auth.Authenticator
Returns the results of the authentication attempt.
result() - Method in class com.allanbank.mongodb.client.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
Deprecated.
Replaced with the MongoDB standardized name: projection. This method will be removed on or after the 1.4 release.
returnFields(String...) - Method in class com.allanbank.mongodb.builder.Find.Builder
Deprecated.
Replaced with the MongoDB standardized name: projection. This method will be removed on or after the 1.4 release.
returnFields(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.Text.Builder
Deprecated.
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 that can inject a _id value.
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.
RootDocument(List<Element>, boolean, long) - Constructor for class com.allanbank.mongodb.bson.impl.RootDocument
Constructs a new RootDocument.
run() - Method in class com.allanbank.mongodb.client.callback.ReplyHandler
run() - Method in class com.allanbank.mongodb.client.connection.socket.TwoThreadSocketConnection.SendRunnable
run() - Method in class com.allanbank.mongodb.client.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(DocumentAssignable) - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
Runs a command against the 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(DocumentAssignable) - Method in interface com.allanbank.mongodb.MongoDatabase
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>, DocumentAssignable) - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
Runs a command against the database.
runCommandAsync(Callback<Document>, DocumentAssignable, Version) - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
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(DocumentAssignable) - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
Runs a command against the database.
runCommandAsync(LambdaCallback<Document>, DocumentAssignable) - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
Runs a command against the database.
runCommandAsync(LambdaCallback<Document>, DocumentAssignable, Version) - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
Runs a command against the database.
runCommandAsync(LambdaCallback<Document>, String) - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
Runs a command against the database.
runCommandAsync(LambdaCallback<Document>, String, DocumentAssignable) - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
Runs a command against the database.
runCommandAsync(LambdaCallback<Document>, String, int, DocumentAssignable) - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
Runs a command against the database.
runCommandAsync(LambdaCallback<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>, DocumentAssignable) - Method in interface com.allanbank.mongodb.MongoDatabase
Runs a command against the database.
runCommandAsync(Callback<Document>, DocumentAssignable, Version) - Method in interface com.allanbank.mongodb.MongoDatabase
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(DocumentAssignable) - Method in interface com.allanbank.mongodb.MongoDatabase
Runs a command against the database.
runCommandAsync(LambdaCallback<Document>, DocumentAssignable) - Method in interface com.allanbank.mongodb.MongoDatabase
Runs a command against the database.
runCommandAsync(LambdaCallback<Document>, DocumentAssignable, Version) - Method in interface com.allanbank.mongodb.MongoDatabase
Runs a command against the database.
runCommandAsync(LambdaCallback<Document>, String) - Method in interface com.allanbank.mongodb.MongoDatabase
Runs a command against the database.
runCommandAsync(LambdaCallback<Document>, String, DocumentAssignable) - Method in interface com.allanbank.mongodb.MongoDatabase
Runs a command against the database.
runCommandAsync(LambdaCallback<Document>, String, int, DocumentAssignable) - Method in interface com.allanbank.mongodb.MongoDatabase
Runs a command against the database.
runCommandAsync(LambdaCallback<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.builder.BatchedWrite.Builder
Saves the document to MongoDB.
save(DocumentAssignable) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
Saves the document to the collection.
save(DocumentAssignable, Durability) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
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 interface com.allanbank.mongodb.AsyncMongoCollection
Saves the document to the collection.
saveAsync(Callback<Integer>, DocumentAssignable, Durability) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Saves the document to the collection.
saveAsync(DocumentAssignable) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Saves the document to the collection.
saveAsync(DocumentAssignable, Durability) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Saves the document to the collection.
saveAsync(LambdaCallback<Integer>, DocumentAssignable) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Saves the document to the collection.
saveAsync(LambdaCallback<Integer>, DocumentAssignable, Durability) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Saves the document to the collection.
saveAsync(Callback<Integer>, DocumentAssignable) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Saves the document to the collection.
saveAsync(DocumentAssignable) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Saves the document to the collection.
saveAsync(DocumentAssignable, Durability) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Saves the document to the collection.
saveAsync(LambdaCallback<Integer>, DocumentAssignable) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Saves the document to the collection.
saveAsync(LambdaCallback<Integer>, DocumentAssignable, Durability) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Saves the document to the collection.
saveAsync(Callback<Integer>, DocumentAssignable, Durability) - Method in class com.allanbank.mongodb.client.AbstractMongoOperations
Constructs a Insert of Update message based on if the document contains a AbstractMongoOperations.ID_FIELD_NAME and sends it to the server via the Client.
scope(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.MapReduce.Builder
Sets the scoped values to expose to the map/reduce/finalize functions.
SEARCH_MODIFIER - Static variable in enum com.allanbank.mongodb.builder.MiscellaneousOperator
The modifier for the MiscellaneousOperator.TEXT operator to specify the the query terms.
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
Deprecated.
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.client.state.Server
The value for a secondary (actively replicating) server's state.
send(Message, Message, ReplyCallback) - Method in class com.allanbank.mongodb.client.AbstractClient
Sends a message on the connection.
send(Message, ReplyCallback) - Method in class com.allanbank.mongodb.client.AbstractClient
Sends a message on the connection.
send() - Method in class com.allanbank.mongodb.client.callback.BatchedNativeWriteCallback
Sends the next set of operations to the server.
send() - Method in class com.allanbank.mongodb.client.callback.BatchedWriteCallback
Sends the next set of operations to the server.
send(Message, Message, ReplyCallback) - Method in interface com.allanbank.mongodb.client.Client
Sends a message on the connection.
send(Message, ReplyCallback) - Method in interface com.allanbank.mongodb.client.Client
Sends a message on the connection.
send(Message, Message, ReplyCallback) - Method in class com.allanbank.mongodb.client.connection.auth.AuthenticatingConnection
Sends a message on the connection.
send(Message, ReplyCallback) - Method in class com.allanbank.mongodb.client.connection.auth.AuthenticatingConnection
Sends a message on the connection.
send(Message, Message, ReplyCallback) - Method in interface com.allanbank.mongodb.client.connection.Connection
Sends a message on the connection.
send(Message, ReplyCallback) - Method in interface com.allanbank.mongodb.client.connection.Connection
Sends a message on the connection.
send(Message, Message, ReplyCallback) - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyConnection
Sends a message on the connection.
send(Message, ReplyCallback) - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyConnection
Sends a message on the connection.
send(Message, Message, ReplyCallback) - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyMultipleConnection
Sends a message on the connection.
send(Message, ReplyCallback) - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyMultipleConnection
Sends a message on the connection.
send(PendingMessage, RandomAccessOutputStream) - Method in class com.allanbank.mongodb.client.connection.socket.AbstractSocketConnection
Sends a single message.
send(Message, Message, ReplyCallback) - Method in class com.allanbank.mongodb.client.connection.socket.SocketConnection
Sends a message on the connection.
send(Message, ReplyCallback) - Method in class com.allanbank.mongodb.client.connection.socket.SocketConnection
Sends a message on the connection.
send(Message, Message, ReplyCallback) - Method in class com.allanbank.mongodb.client.connection.socket.TwoThreadSocketConnection
Sends a message on the connection.
send(Message, ReplyCallback) - Method in class com.allanbank.mongodb.client.connection.socket.TwoThreadSocketConnection
Sends a message on the connection.
sendIsPrimary(Map<Server, Future<Reply>>, Map<Server, Connection>, Server, boolean) - Method in class com.allanbank.mongodb.client.connection.rs.ReplicaSetReconnectStrategy
Sends a command to the server to return what it thinks the state of the cluster is.
sendKill() - Method in class com.allanbank.mongodb.client.callback.CursorStreamingCallback
Sends a KillCursors message if there is an active cursor.
sendOne() - Method in class com.allanbank.mongodb.client.connection.socket.TwoThreadSocketConnection.SendRunnable
Sends a single message.
sendRequest() - Method in class com.allanbank.mongodb.client.callback.CursorStreamingCallback
Sends a request to start the next match of documents.
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 - Class in com.allanbank.mongodb.client.state
Server provides tracking of the state of a single MongoDB server.
server(String) - Static method in class com.allanbank.mongodb.ReadPreference
Creates a ReadPreference to read only from a specific server.
Server.State - Enum in com.allanbank.mongodb.client.state
State provides the possible sttes for a server within the MongoDB cluster.
SERVER_FIELD - Static variable in interface com.allanbank.mongodb.MongoCursorControl
The server name field in the cursor document.
SERVER_PROP - Static variable in class com.allanbank.mongodb.client.state.Cluster
The property sued for adding a new server.
SERVER_STATUS - Static variable in class com.allanbank.mongodb.client.message.ServerStatus
The serverStatus "query" document.
ServerLatencyComparator - Class in com.allanbank.mongodb.client.state
Compares Server's based on the latency of the servers.
ServerNameUtils - Class in com.allanbank.mongodb.util
ServerNameUtils provides the ability to generate a normalized name for a server.
ServerSelector - Interface in com.allanbank.mongodb.client.state
ServerSelector provides a common interface for a methodology to select a server.
ServerStatus - Class in com.allanbank.mongodb.client.message
Provides a convenient mechanism for creating a serverStatus command.
ServerStatus() - Constructor for class com.allanbank.mongodb.client.message.ServerStatus
Create a new ServerStatus command.
ServerUpdateCallback - Class in com.allanbank.mongodb.client.state
ServerUpdateCallback provides a special callback update the server with the first document in the reply.
ServerUpdateCallback(Server) - Constructor for class com.allanbank.mongodb.client.state.ServerUpdateCallback
Creates a new ServerUpdateCallback.
ServerVersionException - Exception in com.allanbank.mongodb.error
ServerVersionException is thrown to report that an attempt was made to send a request to a server that required a more recent version of the server.
ServerVersionException(String, VersionRange, Version, Message) - Constructor for exception com.allanbank.mongodb.error.ServerVersionException
Creates a new ServerVersionException.
set(String) - Static method in class com.allanbank.mongodb.builder.AggregationGroupField
Helper method for creating AggregationGroupField.Builders using with a specific fieldName.
set(String, DocumentAssignable) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns an element to set the value to.
set(String, Expression) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns an element to set the value to.
set(int, Message, ReplyCallback) - Method in class com.allanbank.mongodb.client.message.PendingMessage
Sets the state of the pending message.
set(PendingMessage) - Method in class com.allanbank.mongodb.client.message.PendingMessage
Sets the state of the pending message.
SET_DIFFERENCE - Static variable in class com.allanbank.mongodb.builder.expression.Expressions
The "$setDifference" operator token
SET_EQUALS - Static variable in class com.allanbank.mongodb.builder.expression.Expressions
The "$setEquals" operator token
SET_INTERSECTION - Static variable in class com.allanbank.mongodb.builder.expression.Expressions
The "$setIntersection" operator token
SET_IS_SUBSET - Static variable in class com.allanbank.mongodb.builder.expression.Expressions
The "$setIsSubset" operator token
SET_UNION - Static variable in class com.allanbank.mongodb.builder.expression.Expressions
The "$setUnion" operator token
setAddress(String) - Method in interface com.allanbank.mongodb.client.callback.AddressAware
Sets the address sent the request.
setAddress(String) - Method in class com.allanbank.mongodb.client.callback.CursorCallback
Sets the value of the server the original request was sent to.
setAddress(String) - Method in class com.allanbank.mongodb.client.callback.CursorStreamingCallback
Sets the value of the server the original request was sent to.
setAddress(String) - Method in class com.allanbank.mongodb.client.callback.MultipleCursorCallback
Sets the value of the server the original request was sent to.
setAllowDiskUsage(boolean) - Method in class com.allanbank.mongodb.builder.Aggregate.Builder
Sets to true if the aggregation command can spill to disk.
setAllowJumbo(boolean) - Method in class com.allanbank.mongodb.client.message.Command
If set to true then the command document is allowed to slightly exceed the document size limit.
setAsText(String) - Method in class com.allanbank.mongodb.bson.DocumentEditor
Parse a string to a Document.
setAsText(String) - Method in class com.allanbank.mongodb.CredentialEditor
setAsText(String) - Method in class com.allanbank.mongodb.DurabilityEditor
setAsText(String) - Method in class com.allanbank.mongodb.MongoClientConfigurationBeanInfo.CredentialListEditor
setAsText(String) - Method in class com.allanbank.mongodb.ReadPreferenceEditor
setAuthenticationType(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.
setAuthenticator(Authenticator) - Method in class com.allanbank.mongodb.Credential.Builder
Sets the value of the template authenticator for the credential.
setAutoDiscoverServers(boolean) - Method in class com.allanbank.mongodb.MongoClientConfiguration
Sets if additional servers are auto discovered or if connections are limited to the ones manually configured.
setAwaitData(boolean) - Method in class com.allanbank.mongodb.builder.Find.Builder
If set to true requests for data will block, waiting for data.
setBatchDeletes(boolean) - Method in interface com.allanbank.mongodb.BatchedAsyncMongoCollection
Sets if deletes should be batched.
setBatchDeletes(boolean) - Method in class com.allanbank.mongodb.client.BatchedAsyncMongoCollectionImpl
Sets if deletes should be batched.
setBatchSize(int) - Method in class com.allanbank.mongodb.builder.Aggregate.Builder
Sets the value of the number of documents to be returned in each batch.
setBatchSize(int) - Method in class com.allanbank.mongodb.builder.Find.Builder
Sets the value of the number of documents to be returned in each batch.
setBatchSize(int) - Method in class com.allanbank.mongodb.builder.ParallelScan.Builder
Sets the value of the number of documents to be returned in each batch.
setBatchSize(int) - Method in class com.allanbank.mongodb.client.callback.CursorStreamingCallback
Sets the size for future batch sizes.
setBatchSize(int) - Method in class com.allanbank.mongodb.client.MongoIteratorImpl
Sets the size for future batch sizes.
setBatchSize(int) - Method in class com.allanbank.mongodb.client.SimpleMongoIteratorImpl
Sets the size for future batch sizes.
setBatchSize(int) - Method in interface com.allanbank.mongodb.ClosableIterator
Deprecated.
Sets the size for future batch sizes.
setBatchSize(int) - Method in interface com.allanbank.mongodb.MongoCursorControl
Sets the size for future batch sizes.
setBatchUpdates(boolean) - Method in interface com.allanbank.mongodb.BatchedAsyncMongoCollection
Sets if updates should be batched.
setBatchUpdates(boolean) - Method in class com.allanbank.mongodb.client.BatchedAsyncMongoCollectionImpl
Sets if updates should be batched.
setChunkSize(int) - Method in class com.allanbank.mongodb.gridfs.GridFs
Sets the value of size for a chunk written.
setClient(Client) - Method in class com.allanbank.mongodb.client.callback.BatchedWriteCallback
Sets the client to use to send the bundled writes.
setConfig(MongoClientConfiguration) - Method in interface com.allanbank.mongodb.client.connection.ReconnectStrategy
Sets the configuration to be used by the reconnection strategy.
setConfig(MongoClientConfiguration) - Method in class com.allanbank.mongodb.client.state.AbstractReconnectStrategy
Sets the configuration to be used by the reconnection strategy.
setConnectionFactory(ProxiedConnectionFactory) - Method in interface com.allanbank.mongodb.client.connection.ReconnectStrategy
Sets the connection factory to use to establish connections to the server.
setConnectionFactory(ProxiedConnectionFactory) - Method in class com.allanbank.mongodb.client.state.AbstractReconnectStrategy
Sets the connection factory to use to establish connections to the server.
setConnectionModel(ConnectionModel) - Method in class com.allanbank.mongodb.MongoClientConfiguration
Sets the model the driver uses for managing connections.
setConnectTimeout(int) - Method in class com.allanbank.mongodb.MongoClientConfiguration
Sets how long to wait (in milliseconds) for a socket connection to complete.
setCredentials(Collection<Credential>) - Method in class com.allanbank.mongodb.MongoClientConfiguration
Sets the credentials to use to access the server.
setCusorLimit(int) - Method in class com.allanbank.mongodb.builder.Aggregate.Builder
Sets the value of the total number of documents to be returned.
setDatabase(String) - Method in class com.allanbank.mongodb.Credential.Builder
Sets the value of the database the credential are valid for.
setDecoded(String) - Method in class com.allanbank.mongodb.bson.io.StringDecoderCache.TrieCache.TrieNode
Sets the decoded value for the node.
setDefaultDatabase(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.
setDefaultDurability(Durability) - Method in class com.allanbank.mongodb.MongoClientConfiguration
Sets the default durability for write operations on the server to the new value.
setDefaultReadPreference(ReadPreference) - Method in class com.allanbank.mongodb.MongoClientConfiguration
Sets the value of the default read preference for a query.
setDelegate(ConnectionFactory) - Method in class com.allanbank.mongodb.client.connection.bootstrap.BootstrapConnectionFactory
Sets the underlying delegate factory.
setDifference(Expression, Expression) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a NaryExpression "$setDifference" expression.
setDistanceField(String) - Method in class com.allanbank.mongodb.builder.AggregationGeoNear.Builder
Sets the name of the field to place the distance from the source location.
setDistanceMultiplier(double) - Method in class com.allanbank.mongodb.builder.AggregationGeoNear.Builder
Sets the distance multiplier to use in the $geoNear.
setDurability(Durability) - Method in class com.allanbank.mongodb.builder.BatchedWrite.Builder
Sets the durability for the writes.
setDurability(Durability) - Method in class com.allanbank.mongodb.client.AbstractMongoOperations
Sets the durability to use when no durability is specified for the write operation.
setDurability(Durability) - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
Sets the durability for write operations from this MongoDatabase instance.
setDurability(Durability) - Method in interface com.allanbank.mongodb.MongoCollection
Sets the durability for write operations from this MongoCollection instance.
setDurability(Durability) - Method in interface com.allanbank.mongodb.MongoDatabase
Sets the durability for write operations from this MongoDatabase instance.
setEquals(Expression, Expression) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a NaryExpression "$setEquals" expression.
setExecutor(Executor) - Method in class com.allanbank.mongodb.MongoClientConfiguration
Sets the value of executor for replies from the server.
setFields(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.FindAndModify.Builder
Sets the subset of fields to retrieve from the matched document.
setFile(File) - Method in class com.allanbank.mongodb.Credential.Builder
Sets the value of the file containing the full credentials.
setFinalizeFunction(String) - Method in class com.allanbank.mongodb.builder.GroupBy.Builder
Sets the value of the finalizer function to run for each group.
setFinalizeFunction(String) - Method in class com.allanbank.mongodb.builder.MapReduce.Builder
Sets the finalize function to apply to the final results of the reduce function.
setHint(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.
setHint(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.
setHint(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.
setImmortalCursor(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.
setInitialValue(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.GroupBy.Builder
Sets the value of the initial value for the group.
setIntersection(Expression, Expression) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a NaryExpression "$setIntersection" expression.
setIntervalUnits(TimeUnit) - Method in class com.allanbank.mongodb.client.state.ClusterPinger
Sets the value of units for the ping sweep intervals.
setIsSubset(Expression, Expression) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a NaryExpression "$setIsSubset" expression.
setJsMode(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.
setKeepTemp(boolean) - Method in class com.allanbank.mongodb.builder.MapReduce.Builder
Sets to true to drop the temporary collections created during the map/reduce.
setKey(String) - Method in class com.allanbank.mongodb.builder.Distinct.Builder
Sets the name of the key to collect distinct values for.
setKeyFunction(String) - Method in class com.allanbank.mongodb.builder.GroupBy.Builder
Sets the value of the function to return the key for a document.
setKeys(Set<String>) - Method in class com.allanbank.mongodb.builder.GroupBy.Builder
Sets the fields to group by
setLanguage(String) - Method in class com.allanbank.mongodb.builder.Text.Builder
Deprecated.
Sets the language to use when stemming the search terms to the new value.
setLimit(long) - Method in class com.allanbank.mongodb.builder.AggregationGeoNear.Builder
Sets the maximum number of documents to return.
setLimit(int) - Method in class com.allanbank.mongodb.builder.Find.Builder
Sets the value of the total number of documents to be returned.
setLimit(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.
setLimit(int) - Method in class com.allanbank.mongodb.builder.Text.Builder
Deprecated.
Sets the maximum number of document to return to the new value.
setLocation(Point2D) - Method in class com.allanbank.mongodb.builder.AggregationGeoNear.Builder
Sets the location to find documents near.
setLocationField(String) - Method in class com.allanbank.mongodb.builder.AggregationGeoNear.Builder
Sets the name of the field to place the location information from the document.
setLockType(LockType) - Method in class com.allanbank.mongodb.MongoClientConfiguration
Sets the type of hand off lock to use between threads in the core of the driver.
setMapFunction(String) - Method in class com.allanbank.mongodb.builder.MapReduce.Builder
Sets the map functions to apply to each selected document.
setMaxCachedStringEntries(int) - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
Deprecated.
The cache StringDecoderCache should be controlled directory. This method will be removed after the 2.1.0 release.
setMaxCachedStringEntries(int) - Method in class com.allanbank.mongodb.bson.io.BsonOutputStream
Deprecated.
The cache StringEncoderCache should be controlled directory. This method will be removed after the 2.1.0 release.
setMaxCachedStringEntries(int) - Method in class com.allanbank.mongodb.bson.io.BufferingBsonOutputStream
Deprecated.
The cache StringEncoderCache should be controlled directory. This method will be removed after the 2.1.0 release.
setMaxCachedStringEntries(int) - Method in class com.allanbank.mongodb.bson.io.RandomAccessOutputStream
Deprecated.
The cache StringEncoderCache should be controlled directory. This method will be removed after the 2.1.0 release.
setMaxCachedStringEntries(int) - Method in class com.allanbank.mongodb.MongoClientConfiguration
Sets the value of maximum number of strings that may have their encoded form cached.
setMaxCachedStringLength(int) - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
Deprecated.
The cache StringDecoderCache should be controlled directory. This method will be removed after the 2.1.0 release.
setMaxCachedStringLength(int) - Method in class com.allanbank.mongodb.bson.io.BsonOutputStream
Deprecated.
The cache StringEncoderCache should be controlled directory. This method will be removed after the 2.1.0 release.
setMaxCachedStringLength(int) - Method in class com.allanbank.mongodb.bson.io.BufferingBsonOutputStream
Deprecated.
The cache StringEncoderCache should be controlled directory. This method will be removed after the 2.1.0 release.
setMaxCachedStringLength(int) - Method in class com.allanbank.mongodb.bson.io.RandomAccessOutputStream
Deprecated.
The cache StringEncoderCache should be controlled directory. This method will be removed after the 2.1.0 release.
setMaxCachedStringLength(int) - Method in class com.allanbank.mongodb.MongoClientConfiguration
Sets the value of length for a string that may be cached.
setMaxCacheEntries(int) - Method in class com.allanbank.mongodb.bson.io.AbstractStringCache
Sets the value of maximum number of cached strings.
setMaxCacheLength(int) - Method in class com.allanbank.mongodb.bson.io.AbstractStringCache
Sets the value of maximum length of strings to cache to the new value.
setMaxConnectionCount(int) - Method in class com.allanbank.mongodb.MongoClientConfiguration
Sets the maximum number of connections to use.
setMaxDistance(double) - Method in class com.allanbank.mongodb.builder.AggregationGeoNear.Builder
Sets the maximum distance to return documents from the specified location.
setMaxIdleTickCount(int) - Method in class com.allanbank.mongodb.MongoClientConfiguration
Sets the value of the number of read timeouts (a tick) before closing the connection.
setMaximumDocumentsToScan(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.
setMaximumRange(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.Find.Builder
Sets the value of maximum range for the index used to the new value.
setMaximumTimeMilliseconds(long) - Method in class com.allanbank.mongodb.builder.Aggregate.Builder
Sets the maximum number of milliseconds to allow the command to run before aborting the request on the server.
setMaximumTimeMilliseconds(long) - Method in class com.allanbank.mongodb.builder.Count.Builder
Sets the maximum number of milliseconds to allow the query to run before aborting the request on the server.
setMaximumTimeMilliseconds(long) - Method in class com.allanbank.mongodb.builder.Distinct.Builder
Sets the maximum number of milliseconds to allow the command to run before aborting the request on the server.
setMaximumTimeMilliseconds(long) - Method in class com.allanbank.mongodb.builder.Find.Builder
Sets the maximum number of milliseconds to allow the query to run before aborting the request on the server.
setMaximumTimeMilliseconds(long) - Method in class com.allanbank.mongodb.builder.FindAndModify.Builder
Sets the maximum number of milliseconds to allow the command to run before aborting the request on the server.
setMaximumTimeMilliseconds(long) - Method in class com.allanbank.mongodb.builder.GroupBy.Builder
Sets the maximum number of milliseconds to allow the command to run before aborting the request on the server.
setMaximumTimeMilliseconds(long) - Method in class com.allanbank.mongodb.builder.MapReduce.Builder
Sets the maximum number of milliseconds to allow the command to run before aborting the request on the server.
setMaxPendingOperationsPerConnection(int) - Method in class com.allanbank.mongodb.MongoClientConfiguration
Sets the maximum number of pending operations to allow per connection.
setMaxSecondaryLag(long) - Method in class com.allanbank.mongodb.MongoClientConfiguration
Sets 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.
setMinConnectionCount(int) - Method in class com.allanbank.mongodb.MongoClientConfiguration
Sets the value of the minimum number of connections to try and keep open.
setMinimumRange(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.Find.Builder
Sets the value of minimum range for the index used to the new value.
setMode(BatchedWriteMode) - Method in interface com.allanbank.mongodb.BatchedAsyncMongoCollection
Sets the default mode for batching of writes.
setMode(BatchedWriteMode) - Method in class com.allanbank.mongodb.builder.BatchedWrite.Builder
Sets the mode for submitting the writes to the server.
setMode(BatchedWriteMode) - Method in class com.allanbank.mongodb.client.BatchedAsyncMongoCollectionImpl
Sets the default mode for batching of writes.
setMongosFound(boolean) - Method in class com.allanbank.mongodb.client.connection.sharded.ShardedConnectionFactory.BootstrapState
Sets if the the mongos servers have been found.
setNumberToSkip(int) - Method in class com.allanbank.mongodb.builder.Find.Builder
Sets the value of the number of documents to skip before returning the first document to the new value.
setOutputDatabase(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.
setOutputName(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.
setOutputType(MapReduce.OutputType) - Method in class com.allanbank.mongodb.builder.MapReduce.Builder
Sets the handling for the output of the map/reduce.
setPartialOk(boolean) - Method in class com.allanbank.mongodb.builder.Find.Builder
Sets the value of partial okay to the new value.
setPassword(char[]) - Method in class com.allanbank.mongodb.Credential.Builder
Sets the value of the password for the credential set.
setPingSweepInterval(int) - Method in class com.allanbank.mongodb.client.state.ClusterPinger
Sets the interval for a ping sweep across all of the servers..
setProfilingStatus(ProfilingStatus) - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
Sets the profiling level for the database.
setProfilingStatus(ProfilingStatus) - Method in interface com.allanbank.mongodb.MongoDatabase
Sets the profiling level for the database.
setProjection(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.Find.Builder
Sets the value of the fields to be projected or returned from the matching documents to the new value.
setQuery(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.AggregationGeoNear.Builder
Sets the optional query for further refining the documents to add to the pipeline.
setQuery(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.Count.Builder
Sets the value of the query document to the new value.
setQuery(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.
setQuery(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.Find.Builder
Sets the value of the query document to the new value.
setQuery(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.FindAndModify.Builder
Sets the query to locate the document to update.
setQuery(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.
setQuery(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.MapReduce.Builder
Sets the query to select the documents to run the map/reduce against.
setQuery(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.Text.Builder
Deprecated.
Sets the standard MongoDB query document to limit the final results to the new value.
setReadPreference(ReadPreference) - Method in class com.allanbank.mongodb.builder.Aggregate.Builder
Sets the ReadPreference specifying which servers may be used to execute the aggregation.
setReadPreference(ReadPreference) - Method in class com.allanbank.mongodb.builder.Count.Builder
Sets the preference for the set of servers to retrieve the results from.
setReadPreference(ReadPreference) - Method in class com.allanbank.mongodb.builder.Distinct.Builder
Sets the ReadPreference specifying which servers may be used to execute the Distinct command.
setReadPreference(ReadPreference) - Method in class com.allanbank.mongodb.builder.Find.Builder
Sets the preference for the set of servers to retrieve the results from.
setReadPreference(ReadPreference) - Method in class com.allanbank.mongodb.builder.GroupBy.Builder
Sets the ReadPreference specifying which servers may be used to execute the GroupBy command.
setReadPreference(ReadPreference) - Method in class com.allanbank.mongodb.builder.MapReduce.Builder
Sets the ReadPreference specifying which servers may be used to execute the MapReduce command.
setReadPreference(ReadPreference) - Method in class com.allanbank.mongodb.builder.ParallelScan.Builder
Sets the preference for the set of servers to retrieve the results from.
setReadPreference(ReadPreference) - Method in class com.allanbank.mongodb.builder.Text.Builder
Deprecated.
Sets the ReadPreference specifying which servers may be used to execute the Text command.
setReadPreference(ReadPreference) - Method in class com.allanbank.mongodb.client.AbstractMongoOperations
Sets the read preference to use when no read preference is specified for the read operation.
setReadPreference(ReadPreference) - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
Sets the value of the read preference for a queries from this MongoDatabase instance.
setReadPreference(ReadPreference) - Method in interface com.allanbank.mongodb.MongoCollection
Sets the value of the read preference for a queries from this MongoCollection instance.
setReadPreference(ReadPreference) - Method in interface com.allanbank.mongodb.MongoDatabase
Sets the value of the read preference for a queries from this MongoDatabase instance.
setReadTimeout(int) - Method in class com.allanbank.mongodb.MongoClientConfiguration
 
setReconnectTimeout(int) - Method in class com.allanbank.mongodb.MongoClientConfiguration
Sets how long to wait (in milliseconds) for a broken connection to reconnect.
setReduceFunction(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.
setReduceFunction(String) - Method in class com.allanbank.mongodb.builder.MapReduce.Builder
Sets the reduce function to apply to the emitted output of the map function.
setRemove(boolean) - Method in class com.allanbank.mongodb.builder.FindAndModify.Builder
Sets to true if the document should be removed.
setRequestedIteratorCount(int) - Method in class com.allanbank.mongodb.builder.ParallelScan.Builder
Sets the requested number of iterators/cursors to create to the new value.
setReturnFields(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.Find.Builder
Deprecated.
Replaced with the MongoDB standardized name: projection. This method will be removed on or after the 1.4 release.
setReturnFields(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.Text.Builder
Deprecated.
Sets the fields to return from the query to the new value.
setReturnIndexKeysOnly(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.
setReturnNew(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.
setScope(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.MapReduce.Builder
Sets the scoped values to expose to the map/reduce/finalize functions.
setSearchTerm(String) - Method in class com.allanbank.mongodb.builder.Text.Builder
Deprecated.
Sets the search term to the new value.
setSelector(ServerSelector) - Method in interface com.allanbank.mongodb.client.connection.ReconnectStrategy
Sets the selector to be used by the reconnection strategy.
setSelector(ServerSelector) - Method in class com.allanbank.mongodb.client.state.AbstractReconnectStrategy
Sets the selector to be used by the reconnection strategy.
setServers(List<InetSocketAddress>) - Method in class com.allanbank.mongodb.MongoClientConfiguration
Sets the servers to initially attempt to connect to.
setShowDiskLocation(boolean) - Method in class com.allanbank.mongodb.builder.Find.Builder
Sets the value if the disk location for each document should be returned to the new value.
setSnapshot(boolean) - Method in class com.allanbank.mongodb.builder.Find.Builder
Sets the value of snapshot to the new value.
setSocketFactory(SocketFactory) - Method in class com.allanbank.mongodb.MongoClientConfiguration
Sets the socket factory to use in making connections to the MongoDB server.
setSort(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.Find.Builder
Sets the value of the fields to to sort matching documents by.
setSort(IntegerElement...) - Method in class com.allanbank.mongodb.builder.Find.Builder
Sets the value of the fields to to sort matching documents by.
setSort(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.FindAndModify.Builder
Sets the sort to apply if multiple docs match, choose the first one as the object to manipulate.
setSort(IntegerElement...) - Method in class com.allanbank.mongodb.builder.FindAndModify.Builder
Sets the sort to apply if multiple docs match, choose the first one as the object to manipulate.
setSort(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.MapReduce.Builder
Sets the sort to apply to the input objects.
setSort(IntegerElement...) - Method in class com.allanbank.mongodb.builder.MapReduce.Builder
Sets the sort to apply to the input objects.
setSpherical(boolean) - Method in class com.allanbank.mongodb.builder.AggregationGeoNear.Builder
Sets if (true) the $geoNear should compute distances using spherical coordinates instead of planar coordinates.
setState(Cluster) - Method in interface com.allanbank.mongodb.client.connection.ReconnectStrategy
Sets the state of the cluster to be used by the reconnection strategy.
setState(Cluster) - Method in class com.allanbank.mongodb.client.state.AbstractReconnectStrategy
Sets the state of the cluster to be used by the reconnection strategy.
setSuppressNames(boolean) - Method in class com.allanbank.mongodb.bson.element.JsonSerializationVisitor
Sets the value for if the visitor is currently suppressing the names of elements.
setTailable(boolean) - Method in class com.allanbank.mongodb.builder.Find.Builder
If set to true the cursor returned from the query will be tailable.
setThreadFactory(ThreadFactory) - Method in class com.allanbank.mongodb.MongoClientConfiguration
Sets the thread factory for managing connections to the new value.
setUnion(Expression, Expression) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a NaryExpression "$setUnion" expression.
setUniqueDocs(boolean) - Method in class com.allanbank.mongodb.builder.AggregationGeoNear.Builder
Sets if (true) the $geoNear should only return documents once.
setUpdate(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.FindAndModify.Builder
Sets the updates to be applied to the document.
setUpsert(boolean) - Method in class com.allanbank.mongodb.builder.FindAndModify.Builder
Sets to true to create the document if it doesn't exist.
setUseCursor(boolean) - Method in class com.allanbank.mongodb.builder.Aggregate.Builder
Sets to true if the aggregation results should be returned as a cursor.
setUserName(String) - Method in class com.allanbank.mongodb.Credential.Builder
Sets the value of the user name for the credential set.
setUsingSoKeepalive(boolean) - Method in class com.allanbank.mongodb.MongoClientConfiguration
Sets if the SO_KEEPALIVE socket option is set.
setVerbose(boolean) - Method in class com.allanbank.mongodb.builder.MapReduce.Builder
Sets to true to emit progress messages in the server logs.
setWrites(List<WriteOperation>) - Method in class com.allanbank.mongodb.builder.BatchedWrite.Builder
Sets the writes to submit to the server.
SHARD_CONFIG_STALE_BIT - Static variable in class com.allanbank.mongodb.client.message.Reply
Bit for the shard configuration stale flag.
ShardConfigStaleException - Exception in com.allanbank.mongodb.error
Exception raised when a a request to a shard server is based on an invalid or stale configuration.
ShardConfigStaleException(Reply, Throwable) - Constructor for exception com.allanbank.mongodb.error.ShardConfigStaleException
Create a new ShardConfigStaleException.
ShardedConnection - Class in com.allanbank.mongodb.client.connection.sharded
Provides a Connection implementation for connecting to a sharded environment via mongos servers.
ShardedConnection(Connection, Server, Cluster, ServerSelector, ProxiedConnectionFactory, MongoClientConfiguration) - Constructor for class com.allanbank.mongodb.client.connection.sharded.ShardedConnection
Creates a new ShardedConnection.
ShardedConnectionFactory - Class in com.allanbank.mongodb.client.connection.sharded
Provides the ability to create connections to a shard configuration via mongos servers.
ShardedConnectionFactory(ProxiedConnectionFactory, MongoClientConfiguration) - Constructor for class com.allanbank.mongodb.client.connection.sharded.ShardedConnectionFactory
ShardedConnectionFactory.BootstrapState - Class in com.allanbank.mongodb.client.connection.sharded
BootstrapState provides the ability to track the state of the bootstrap for the sharded cluster.
ShardedConnectionFactory.BootstrapState(boolean) - Constructor for class com.allanbank.mongodb.client.connection.sharded.ShardedConnectionFactory.BootstrapState
Creates a new BootstrapState.
showDiskLoc() - Method in class com.allanbank.mongodb.builder.Find.Builder
Sets that the disk location for each document should be returned.
showDiskLoc(boolean) - Method in class com.allanbank.mongodb.builder.Find.Builder
Sets the value if the disk location for each document should be returned to the new value.
shutdown(boolean) - Method in interface com.allanbank.mongodb.client.connection.Connection
Notifies the connection that once all outstanding requests have been sent and all replies received the Connection should be closed.
shutdown(boolean) - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyConnection
Notifies the connection that once all outstanding requests have been sent and all replies received the Connection should be closed.
shutdown(boolean) - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyMultipleConnection
Notifies the connection that once all outstanding requests have been sent and all replies received the Connection should be closed.
shutdown(boolean) - Method in class com.allanbank.mongodb.client.connection.socket.AbstractSocketConnection
Notifies the connection that once all outstanding requests have been sent and all replies received the Connection should be closed.
shutdown(MongoDbException, boolean) - Method in class com.allanbank.mongodb.client.connection.socket.AbstractSocketConnection
Shutsdown the connection on an error.
SimpleMongoIteratorImpl<T> - Class in com.allanbank.mongodb.client
Iterator over the results of fixed collection.
SimpleMongoIteratorImpl(Collection<T>) - Constructor for class com.allanbank.mongodb.client.SimpleMongoIteratorImpl
Create a new SimpleMongoIteratorImpl.
SimpleReconnectStrategy - Class in com.allanbank.mongodb.client.state
SimpleReconnectStrategy provides a reconnection strategy to simply attempt to connect to the server again.
SimpleReconnectStrategy() - Constructor for class com.allanbank.mongodb.client.state.SimpleReconnectStrategy
Creates a new SimpleReconnectStrategy.
SINGLE_DELETE_BIT - Static variable in class com.allanbank.mongodb.client.message.Delete
The flag bit for performing a single delete only.
SingleDocumentCallback - Class in com.allanbank.mongodb.client.callback
Callback to convert a Reply into a single document.
SingleDocumentCallback(Callback<Document>) - Constructor for class com.allanbank.mongodb.client.callback.SingleDocumentCallback
Create a new CursorCallback.
SingleDocumentReplyCallback - Class in com.allanbank.mongodb.client.callback
Callback to expect and extract a single document from the reply.
SingleDocumentReplyCallback(Callback<Document>) - Constructor for class com.allanbank.mongodb.client.callback.SingleDocumentReplyCallback
Create a new SingleDocumentReplyCallback.
size() - Method in interface com.allanbank.mongodb.bson.Document
Returns the size of the document when encoded as bytes.
size() - Method in class com.allanbank.mongodb.bson.element.AbstractElement
Returns the number of bytes that are used to encode the element.
size() - Method in interface com.allanbank.mongodb.bson.Element
Returns the number of bytes that are used to encode the element.
SIZE - Static variable in class com.allanbank.mongodb.bson.impl.EmptyDocument
The bytes to encode an empty document.
size() - Method in class com.allanbank.mongodb.bson.impl.EmptyDocument
Returns the size of the empty document when encoded as bytes.
size() - Method in class com.allanbank.mongodb.bson.impl.ImmutableDocument
Returns the size of the document when encoded as bytes.
size() - Method in class com.allanbank.mongodb.bson.impl.RootDocument
Returns the size of the document when encoded as bytes.
size(int) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Checks if the value is an array of the specified length.
SIZE - Static variable in class com.allanbank.mongodb.builder.expression.Expressions
The "$size" operator token
size(Expression) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a UnaryExpression "$size" expression.
size() - Method in class com.allanbank.mongodb.client.message.Command
Returns the total size of the message on the wire.
size() - Method in class com.allanbank.mongodb.client.message.Delete
Returns the total size of the message on the wire.
size() - Method in class com.allanbank.mongodb.client.message.GetMore
Returns the total size of the message on the wire.
SIZE - Static variable in class com.allanbank.mongodb.client.message.Header
The size of a message header.
size() - Method in class com.allanbank.mongodb.client.message.Insert
Returns the total size of the message on the wire.
size() - Method in class com.allanbank.mongodb.client.message.KillCursors
Returns the total size of the message on the wire.
size() - Method in class com.allanbank.mongodb.client.message.PendingMessageQueue
Returns the number of messages in the queue.
size() - Method in class com.allanbank.mongodb.client.message.Query
Returns the total size of the message on the wire.
size() - Method in class com.allanbank.mongodb.client.message.Reply
Returns the total size of the message on the wire.
size() - Method in interface com.allanbank.mongodb.client.Message
Returns the total size of the message on the wire.
size() - Method in class com.allanbank.mongodb.client.message.Update
Returns the total size of the message on the wire.
SizeAwareVisitor - Interface in com.allanbank.mongodb.bson.element
Extension for visitors that could benefit from knowledge of the size of the array and document elements.
sizeOf(Document) - Method in class com.allanbank.mongodb.bson.io.BsonOutputStream
Deprecated.
Replaced with Document.size(). This method will be removed after the 2.2.0 release.
sizeOfCString(String...) - Method in class com.allanbank.mongodb.bson.io.BsonOutputStream
Returns the size of the writing the strings as a c-string.
sizeOfString(String) - Method in class com.allanbank.mongodb.bson.io.BsonOutputStream
Returns the size of the writing the string as a string.
SizeOfVisitor - Class in com.allanbank.mongodb.bson.io
A visitor to determine the size of the documents it visits.
SizeOfVisitor() - Constructor for class com.allanbank.mongodb.bson.io.SizeOfVisitor
Creates a new SizeOfVisitor.
SizeOfVisitor(StringEncoder) - Constructor for class com.allanbank.mongodb.bson.io.SizeOfVisitor
Creates a new SizeOfVisitor.
skip(long) - Method in class com.allanbank.mongodb.bson.io.BsonInputStream
skip(int) - Method in class com.allanbank.mongodb.builder.Aggregate.Builder
Adds a $skip operation to the pipeline to skip the specified number of documents before allowing any document past this point in the pipeline.
skip(long) - Method in class com.allanbank.mongodb.builder.Aggregate.Builder
Adds a $skip operation to the pipeline to skip the specified number of documents before allowing any document past this point in the pipeline.
skip(int) - Method in class com.allanbank.mongodb.builder.Find.Builder
Sets the value of the number of documents to skip before returning the first document to the new value.
sleep(int, TimeUnit) - Method in class com.allanbank.mongodb.client.connection.rs.ReplicaSetReconnectStrategy
Sleeps without throwing an exception.
Slf4jLog - Class in com.allanbank.mongodb.util.log
Slf4jLog is the simplified logging implementation for SLF4J logging facade.
Slf4jLog(Method, Object) - Constructor for class com.allanbank.mongodb.util.log.Slf4jLog
Creates a new Slf4jLog.
Slf4jLogFactory - Class in com.allanbank.mongodb.util.log
Slf4jLogFactory provides factory to create Slf4jLog instances.
Slf4jLogFactory() - Constructor for class com.allanbank.mongodb.util.log.Slf4jLogFactory
Creates a new Slf4jLogFactory.
slow(int) - Static method in class com.allanbank.mongodb.ProfilingStatus
Creates a profiling state to profile operations taking more than slowMillis to complete.
snapshot() - Method in class com.allanbank.mongodb.builder.Find.Builder
Sets that the query should ensure that documents are only returned once.
snapshot(boolean) - Method in class com.allanbank.mongodb.builder.Find.Builder
Sets the value of snapshot to the new value.
SocketConnection - Class in com.allanbank.mongodb.client.connection.socket
Provides a blocking Socket based connection to a MongoDB server.
SocketConnection(Server, MongoClientConfiguration) - Constructor for class com.allanbank.mongodb.client.connection.socket.SocketConnection
Creates a new SocketConnection to a MongoDB server.
SocketConnection(Server, MongoClientConfiguration, StringEncoderCache, StringDecoderCache, ThreadLocal<Reference<BufferingBsonOutputStream>>) - Constructor for class com.allanbank.mongodb.client.connection.socket.SocketConnection
Creates a new SocketConnection to a MongoDB server.
SocketConnectionFactory - Class in com.allanbank.mongodb.client.connection.socket
ConnectionFactory to create direct socket connections to the servers.
SocketConnectionFactory(MongoClientConfiguration) - Constructor for class com.allanbank.mongodb.client.connection.socket.SocketConnectionFactory
SocketConnectionFactory.ConfigurationListener - Class in com.allanbank.mongodb.client.connection.socket
ConfigurationListener provides a listener for changes in the client's configuration.
SocketConnectionFactory.ConfigurationListener() - Constructor for class com.allanbank.mongodb.client.connection.socket.SocketConnectionFactory.ConfigurationListener
 
SocketConnectionListener - Interface in com.allanbank.mongodb.client.connection
SocketConnectionListener provides a callback interface for SocketFactory instances to implement that wish to be notified of connection completion.
sort(IntegerElement...) - Method in class com.allanbank.mongodb.builder.Aggregate.Builder
Adds a $sort operation to sort the documents passing this point based on the sort specification provided.
sort(String...) - Method in class com.allanbank.mongodb.builder.Aggregate.Builder
Adds a $sort operation to sort the documents passing this point based on the sort fields provides in ascending order.
sort(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.Find.Builder
Sets the value of the fields to to sort matching documents by.
sort(IntegerElement...) - Method in class com.allanbank.mongodb.builder.Find.Builder
Sets the value of the fields to to sort matching documents by.
sort(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.FindAndModify.Builder
Sets the sort to apply if multiple docs match, choose the first one as the object to manipulate.
sort(IntegerElement...) - Method in class com.allanbank.mongodb.builder.FindAndModify.Builder
Sets the sort to apply if multiple docs match, choose the first one as the object to manipulate.
sort(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.MapReduce.Builder
Sets the sort to apply to the input objects.
sort(IntegerElement...) - Method in class com.allanbank.mongodb.builder.MapReduce.Builder
Sets the sort to apply to the input objects.
Sort - Class in com.allanbank.mongodb.builder
Provides the ability to easily specify the sort direction for an index or sort specification.
sort(List<Server>) - Method in class com.allanbank.mongodb.client.state.Cluster
Sorts the servers based on the latency from the client.
spherical() - Method in class com.allanbank.mongodb.builder.AggregationGeoNear.Builder
Sets the $geoNear to compute distances using spherical coordinates instead of planar coordinates.
spherical(boolean) - Method in class com.allanbank.mongodb.builder.AggregationGeoNear.Builder
Sets if (true) the $geoNear should compute distances using spherical coordinates instead of planar coordinates.
SPHERICAL_CIRCLE - Static variable in enum com.allanbank.mongodb.builder.GeospatialOperator
The name for the circular region on a sphere with a GeospatialOperator.WITHIN query.
SPIN_TIME_NS - Static variable in class com.allanbank.mongodb.client.FutureCallback
Amount of time to spin before yielding.
SPIN_TIME_NS - Static variable in class com.allanbank.mongodb.client.message.PendingMessageQueue
Amount of time to spin before yielding.
start() - Static method in class com.allanbank.mongodb.bson.builder.BuilderFactory
Creates a new DocumentBuilder.
start(DocumentAssignable) - Static method in class com.allanbank.mongodb.bson.builder.BuilderFactory
Creates a new DocumentBuilder to append more elements to an existing document.
start(DocumentAssignable...) - Static method in class com.allanbank.mongodb.bson.builder.BuilderFactory
Creates a new DocumentBuilder to append more elements to an existing set of documents.
start() - Method in class com.allanbank.mongodb.client.connection.socket.AbstractSocketConnection
Starts the connection.
start() - Method in class com.allanbank.mongodb.client.connection.socket.SocketConnection
Starts the connections read and write threads.
start() - Method in class com.allanbank.mongodb.client.connection.socket.TwoThreadSocketConnection
Starts the connections read and write threads.
start() - Method in class com.allanbank.mongodb.client.state.ClusterPinger
Starts the background pinger.
startArray() - Static method in class com.allanbank.mongodb.bson.builder.BuilderFactory
Creates a new ArrayBuilder.
startAuthentication(Credential, Connection) - Method in interface com.allanbank.mongodb.client.connection.auth.Authenticator
Starts to authenticate the user with the specified credentials.
startAuthentication(Credential, Connection) - Method in class com.allanbank.mongodb.client.connection.auth.MongoDbAuthenticator
Starts to authenticate the user with the specified credentials.
startBatch() - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
Starts a batch of requests to the server.
startBatch() - Method in interface com.allanbank.mongodb.MongoCollection
Starts a batch of requests to the server.
startSweep() - Method in class com.allanbank.mongodb.client.state.ClusterPinger
Extension point to notify derived classes that a new sweep is starting.
STATE_PROP - Static variable in class com.allanbank.mongodb.client.state.Server
The name for the Server's state property: "state" .
stats() - Method in class com.allanbank.mongodb.client.MongoDatabaseImpl
Returns the statistics for the database.
stats() - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
Returns the statistics for the collection.
stats() - Method in interface com.allanbank.mongodb.MongoCollection
Returns the statistics for the collection.
stats() - Method in interface com.allanbank.mongodb.MongoDatabase
Returns the statistics for the database.
step(String, DocumentAssignable) - Method in class com.allanbank.mongodb.builder.Aggregate.Builder
Adds a generic step to the builder's pipeline.
step(String, double) - Method in class com.allanbank.mongodb.builder.Aggregate.Builder
Adds a generic step to the builder's pipeline.
step(String, Element...) - Method in class com.allanbank.mongodb.builder.Aggregate.Builder
Adds a generic step to the builder's pipeline.
step(String, int) - Method in class com.allanbank.mongodb.builder.Aggregate.Builder
Adds a generic step to the builder's pipeline.
step(String, List<Element>) - Method in class com.allanbank.mongodb.builder.Aggregate.Builder
Adds a generic step to the builder's pipeline.
step(String, long) - Method in class com.allanbank.mongodb.builder.Aggregate.Builder
Adds a generic step to the builder's pipeline.
step(String, String) - Method in class com.allanbank.mongodb.builder.Aggregate.Builder
Adds a generic step to the builder's pipeline.
stop() - Method in class com.allanbank.mongodb.client.callback.CursorStreamingCallback
Stops the iterator after consuming any received and/or requested batches.
stop() - Method in class com.allanbank.mongodb.client.connection.socket.AbstractSocketConnection
Stops the socket connection by calling shutdown(false).
stop() - Method in class com.allanbank.mongodb.client.MongoIteratorImpl
Stops the iterator after consuming any received and/or requested batches.
stop() - Method in class com.allanbank.mongodb.client.SimpleMongoIteratorImpl
Stops the iterator after consuming any received and/or requested batches.
stop() - Method in class com.allanbank.mongodb.client.state.ClusterPinger
Stops the background pinger.
stop() - Method in interface com.allanbank.mongodb.MongoCursorControl
Stops the iterator after consuming any received and/or requested batches.
strcasecmp(Expression, Expression) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a NaryExpression "$strcasecmp" expression.
stream(LambdaCallback<Document>, Aggregate) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Performs an aggregation and streams them to the provided callback one at a time.
stream(LambdaCallback<Document>, Aggregate.Builder) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Performs an aggregation and streams them to the provided callback one at a time.
stream(LambdaCallback<Document>, Find) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Finds the set of documents matching the query in the collection and streams them to the provided callback one at a time.
stream(LambdaCallback<Document>, Find.Builder) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Finds the set of documents matching the query in the collection and streams them to the provided callback one at a time.
stream(StreamCallback<Document>, Aggregate) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Performs an aggregation and streams them to the provided callback one at a time.
stream(StreamCallback<Document>, Aggregate.Builder) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Performs an aggregation and streams them to the provided callback one at a time.
stream(StreamCallback<Document>, Find) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Finds the set of documents matching the query in the collection and streams them to the provided callback one at a time.
stream(StreamCallback<Document>, Find.Builder) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Finds the set of documents matching the query in the collection and streams them to the provided callback one at a time.
stream(LambdaCallback<Document>, Aggregate) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Performs an aggregation and streams them to the provided callback one at a time.
stream(LambdaCallback<Document>, Aggregate.Builder) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Performs an aggregation and streams them to the provided callback one at a time.
stream(LambdaCallback<Document>, Find) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Finds the set of documents matching the query in the collection and streams them to the provided callback one at a time.
stream(LambdaCallback<Document>, Find.Builder) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Finds the set of documents matching the query in the collection and streams them to the provided callback one at a time.
stream(StreamCallback<Document>, Aggregate.Builder) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Performs an aggregation and streams them to the provided callback one at a time.
stream(StreamCallback<Document>, Find.Builder) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Finds the set of documents matching the query in the collection and streams them to the provided callback one at a time.
stream(StreamCallback<Document>, Aggregate) - Method in class com.allanbank.mongodb.client.AbstractMongoOperations
Constructs a aggregate command and sends it to the server via the Client.
stream(StreamCallback<Document>, Find) - Method in class com.allanbank.mongodb.client.AbstractMongoOperations
Constructs a Query message and sends it to the server via the Client.
StreamCallback<V> - Interface in com.allanbank.mongodb
Extension of the Callback interface to provide the ability to notify callers when the stream is done.
streamingFind(Callback<Document>, DocumentAssignable) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Deprecated.
Use the AsyncMongoCollection.streamingFind(StreamCallback, DocumentAssignable) method instead. This method will be removed after the 1.3.0 release.
streamingFind(Callback<Document>, Find) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Deprecated.
Use the AsyncMongoCollection.stream(StreamCallback, Find) method instead. This method will be removed after the 1.3.0 release.
streamingFind(LambdaCallback<Document>, DocumentAssignable) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Finds the set of documents matching the query document in the collection and streams them to the provided callback one at a time.
streamingFind(StreamCallback<Document>, DocumentAssignable) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Finds the set of documents matching the query document in the collection and streams them to the provided callback one at a time.
streamingFind(StreamCallback<Document>, Find) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Deprecated.
Use the AsyncMongoCollection.stream(StreamCallback, Find) method instead. This method will be removed after the 1.4.0 release.
streamingFind(StreamCallback<Document>, Find.Builder) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Deprecated.
Use the AsyncMongoCollection.stream(StreamCallback, Find.Builder) method instead. This method will be removed after the 1.4.0 release.
streamingFind(Callback<Document>, DocumentAssignable) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Deprecated.
streamingFind(Callback<Document>, Find) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Deprecated.
streamingFind(LambdaCallback<Document>, DocumentAssignable) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Finds the set of documents matching the query document in the collection and streams them to the provided callback one at a time.
streamingFind(StreamCallback<Document>, DocumentAssignable) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Finds the set of documents matching the query document in the collection and streams them to the provided callback one at a time.
streamingFind(StreamCallback<Document>, Find) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Deprecated.
streamingFind(StreamCallback<Document>, Find.Builder) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Deprecated.
STRING_CASE_INSENSITIVE_COMPARE - Static variable in class com.allanbank.mongodb.builder.expression.Expressions
The "$strcasecmp" operator token
STRING_TYPE - Static variable in class com.allanbank.mongodb.client.state.Server
The string element type.
StringDecoder - Class in com.allanbank.mongodb.bson.io
StringDecoder provides a decoder for byte arrays into strings that uses a trie data structure to cache recurring strings.
StringDecoder() - Constructor for class com.allanbank.mongodb.bson.io.StringDecoder
Creates a new StringDecoder.
StringDecoder(StringDecoderCache) - Constructor for class com.allanbank.mongodb.bson.io.StringDecoder
Creates a new StringDecoder.
StringDecoderCache - Class in com.allanbank.mongodb.bson.io
StringDecoderCache provides a cache for decoding strings.
StringDecoderCache() - Constructor for class com.allanbank.mongodb.bson.io.StringDecoderCache
Creates a new TrieStringCache.
StringDecoderCache.TrieCache - Class in com.allanbank.mongodb.bson.io
A fast cache for bytes to decoded strings.
StringDecoderCache.TrieCache() - Constructor for class com.allanbank.mongodb.bson.io.StringDecoderCache.TrieCache
Creates a new TrieCache.
StringDecoderCache.TrieCache.TrieNode - Class in com.allanbank.mongodb.bson.io
Node provides a single node in the trie.
StringDecoderCache.TrieCache.TrieNode(byte) - Constructor for class com.allanbank.mongodb.bson.io.StringDecoderCache.TrieCache.TrieNode
Creates a new Node.
StringElement - Class in com.allanbank.mongodb.bson.element
A wrapper for a BSON string.
StringElement(String, String) - Constructor for class com.allanbank.mongodb.bson.element.StringElement
Constructs a new StringElement.
StringElement(String, String, long) - Constructor for class com.allanbank.mongodb.bson.element.StringElement
Constructs a new StringElement.
StringEncoder - Class in com.allanbank.mongodb.bson.io
StringEncoder provides a single location for the string encoding and sizing logic.
StringEncoder() - Constructor for class com.allanbank.mongodb.bson.io.StringEncoder
Creates a new StringEncoder.
StringEncoder(StringEncoderCache) - Constructor for class com.allanbank.mongodb.bson.io.StringEncoder
Creates a new StringEncoder.
StringEncoderCache - Class in com.allanbank.mongodb.bson.io
StringEncoderCache provides the ability to cache the encoding of a string to speed the writing of strings.
StringEncoderCache() - Constructor for class com.allanbank.mongodb.bson.io.StringEncoderCache
Creates a new StringEncoder.
SUB_STRING - Static variable in class com.allanbank.mongodb.builder.expression.Expressions
The "$substr" operator token
subElements() - Method in class com.allanbank.mongodb.bson.builder.impl.AbstractBuilder
Renders the final form of the sub elements in the builder replacing all AbstractBuilder.BuilderElements with the final element form.
substr(Expression, Expression, Expression) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a NaryExpression "$substr" expression.
SUBTRACT - Static variable in class com.allanbank.mongodb.builder.expression.Expressions
The "$subtract" operator token
subtract(Expression, Expression) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a NaryExpression "$subtract" expression.
sum(String) - Method in class com.allanbank.mongodb.builder.AggregationGroupField.Builder
Constructs a new AggregationGroupField object that uses the $sum operator to sum all of the values seen from the fieldRef.
swap(int) - Static method in class com.allanbank.mongodb.bson.io.EndianUtils
Performs a byte-order swap for a 32-bit signed integer.
swap(long) - Static method in class com.allanbank.mongodb.bson.io.EndianUtils
Performs a byte-order swap for a 64-bit signed integer.
SYMBOL_PATTERN - Static variable in class com.allanbank.mongodb.bson.element.JsonSerializationVisitor
A pattern to detect valid "symbol" names.
SymbolElement - Class in com.allanbank.mongodb.bson.element
A wrapper for a BSON symbol.
SymbolElement(String, String) - Constructor for class com.allanbank.mongodb.bson.element.SymbolElement
Constructs a new SymbolElement.
SymbolElement(String, String, long) - Constructor for class com.allanbank.mongodb.bson.element.SymbolElement
Constructs a new SymbolElement.
SynchronousMongoCollectionImpl - Class in com.allanbank.mongodb.client
Implementation of the MongoCollection interface including the synchronous methods.
SynchronousMongoCollectionImpl(Client, MongoDatabase, String) - Constructor for class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
Create a new MongoDatabaseClient.

T

TAGS_PROP - Static variable in class com.allanbank.mongodb.client.state.Server
The name for the Server's tags property: "tags" .
tailable() - Method in class com.allanbank.mongodb.builder.Find.Builder
Sets the the cursor returned from the query to be setTailable(true) and setAwaitData(true).
TAILABLE_CURSOR_FLAG_BIT - Static variable in class com.allanbank.mongodb.client.message.Query
Flag bit for the tailable cursors.
take(PendingMessage) - Method in class com.allanbank.mongodb.client.message.PendingMessageQueue
Returns the next message from the queue and will block waiting for a message.
TEST_NAME - Static variable in interface com.allanbank.mongodb.MongoDatabase
The name of the test database.
text(String) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Adds a text query to the query.
text(String, String) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Adds a text query to the query.
text(String) - Static method in class com.allanbank.mongodb.builder.Index
Creates an 'text' index specification, e.g., { <field> : "text" }.
text(String) - Method in class com.allanbank.mongodb.builder.QueryBuilder
Adds a text query to the query builder.
text(String, String) - Method in class com.allanbank.mongodb.builder.QueryBuilder
Adds a text query to the query builder.
Text - Class in com.allanbank.mongodb.builder
Deprecated.
Support for the text command was deprecated in the 2.6 version of MongoDB. Use the $text query operator instead. This class will not be removed until two releases after the MongoDB 2.6 release (e.g. 2.10 if the releases are 2.8 and 2.10).
Text(Text.Builder) - Constructor for class com.allanbank.mongodb.builder.Text
Deprecated.
Creates a new Text.
Text.Builder - Class in com.allanbank.mongodb.builder
Deprecated.
Support for the text command was deprecated in the 2.6 version of MongoDB. Use the $text query operator instead. This class will not be removed until two releases after the MongoDB 2.6 release (e.g. 2.10 if the releases are 2.8 and 2.10).
Text.Builder() - Constructor for class com.allanbank.mongodb.builder.Text.Builder
Deprecated.
Creates a new Builder.
TEXT_INDEX_NAME - Static variable in class com.allanbank.mongodb.builder.Index
The value for the "text" index.
TextCallback - Class in com.allanbank.mongodb.client.callback
Deprecated.
Support for the text command was deprecated in the 2.6 version of MongoDB. Use the $text query operator instead. This class will not be removed until two releases after the MongoDB 2.6 release (e.g. 2.10 if the releases are 2.8 and 2.10).
TextCallback(Callback<MongoIterator<TextResult>>) - Constructor for class com.allanbank.mongodb.client.callback.TextCallback
Deprecated.
Support for the text command was deprecated in the 2.6 version of MongoDB. Use the $text query operator instead. This class will not be removed until two releases after the MongoDB 2.6 release (e.g. 2.10 if the releases are 2.8 and 2.10).
TextResult - Class in com.allanbank.mongodb.builder
Deprecated.
Support for the text command was deprecated in the 2.6 version of MongoDB. Use the $text query operator instead. This class will not be removed until two releases after the MongoDB 2.6 release (e.g. 2.10 if the releases are 2.8 and 2.10).
TextResult(DocumentAssignable) - Constructor for class com.allanbank.mongodb.builder.TextResult
Deprecated.
Creates a new Text.
textSearch(Text) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
Deprecated.
Support for the text command was deprecated in the 2.6 version of MongoDB. Use the $text query operator instead. This method will not be removed until two releases after the MongoDB 2.6 release (e.g. 2.10 if the releases are 2.8 and 2.10).
textSearch(Text.Builder) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
Deprecated.
Support for the text command was deprecated in the 2.6 version of MongoDB. Use the $text query operator instead. This method will not be removed until two releases after the MongoDB 2.6 release (e.g. 2.10 if the releases are 2.8 and 2.10).
textSearch(Text) - Method in interface com.allanbank.mongodb.MongoCollection
Deprecated.
Support for the text command was deprecated in the 2.6 version of MongoDB. Use the $text query operator instead. This method will not be removed until two releases after the MongoDB 2.6 release (e.g. 2.10 if the releases are 2.8 and 2.10).
textSearch(Text.Builder) - Method in interface com.allanbank.mongodb.MongoCollection
Deprecated.
Support for the text command was deprecated in the 2.6 version of MongoDB. Use the $text query operator instead. This method will not be removed until two releases after the MongoDB 2.6 release (e.g. 2.10 if the releases are 2.8 and 2.10).
textSearchAsync(Callback<MongoIterator<TextResult>>, Text) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Deprecated.
Support for the text command was deprecated in the 2.6 version of MongoDB. Use the $text query operator instead. This method will not be removed until two releases after the MongoDB 2.6 release (e.g. 2.10 if the releases are 2.8 and 2.10).
textSearchAsync(Callback<MongoIterator<TextResult>>, Text.Builder) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Deprecated.
Support for the text command was deprecated in the 2.6 version of MongoDB. Use the $text query operator instead. This method will not be removed until two releases after the MongoDB 2.6 release (e.g. 2.10 if the releases are 2.8 and 2.10).
textSearchAsync(Text) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Deprecated.
Support for the text command was deprecated in the 2.6 version of MongoDB. Use the $text query operator instead. This method will not be removed until two releases after the MongoDB 2.6 release (e.g. 2.10 if the releases are 2.8 and 2.10).
textSearchAsync(Text.Builder) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Deprecated.
Support for the text command was deprecated in the 2.6 version of MongoDB. Use the $text query operator instead. This method will not be removed until two releases after the MongoDB 2.6 release (e.g. 2.10 if the releases are 2.8 and 2.10).
textSearchAsync(Callback<MongoIterator<TextResult>>, Text.Builder) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Deprecated.
Support for the text command was deprecated in the 2.6 version of MongoDB. Use the $text query operator instead. This method will not be removed until two releases after the MongoDB 2.6 release (e.g. 2.10 if the releases are 2.8 and 2.10).
textSearchAsync(Text) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Deprecated.
Support for the text command was deprecated in the 2.6 version of MongoDB. Use the $text query operator instead. This method will not be removed until two releases after the MongoDB 2.6 release (e.g. 2.10 if the releases are 2.8 and 2.10).
textSearchAsync(Text.Builder) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Deprecated.
Support for the text command was deprecated in the 2.6 version of MongoDB. Use the $text query operator instead. This method will not be removed until two releases after the MongoDB 2.6 release (e.g. 2.10 if the releases are 2.8 and 2.10).
textSearchAsync(Callback<MongoIterator<TextResult>>, Text) - Method in class com.allanbank.mongodb.client.AbstractMongoOperations
Deprecated.
Support for the text command was deprecated in the 2.6 version of MongoDB. Use the $text query operator instead. This method will not be removed until two releases after the MongoDB 2.6 release (e.g. 2.10 if the releases are 2.8 and 2.10).
TIMESTAMP_TYPE - Static variable in class com.allanbank.mongodb.client.state.Server
The timestamp element type.
TimestampElement - Class in com.allanbank.mongodb.bson.element
A wrapper for a BSON timestamp as the milliseconds since the epoch.
TimestampElement(String, long) - Constructor for class com.allanbank.mongodb.bson.element.TimestampElement
Constructs a new TimestampElement.
TimestampElement(String, long, long) - Constructor for class com.allanbank.mongodb.bson.element.TimestampElement
Constructs a new TimestampElement.
timestampNow() - Method in class com.allanbank.mongodb.client.message.PendingMessage
Sets the time stamp of the message to now.
TO_LOWER - Static variable in class com.allanbank.mongodb.builder.expression.Expressions
The "$toLower" operator token
TO_UPPER - Static variable in class com.allanbank.mongodb.builder.expression.Expressions
The "$toUpper" operator token
toArray() - Method in class com.allanbank.mongodb.client.MongoIteratorImpl
Consumes all of the elements in the iterator and returns them in a single array.
toArray(S[]) - Method in class com.allanbank.mongodb.client.MongoIteratorImpl
Consumes all of the elements in the iterator and returns them in a single array.
toArray() - Method in class com.allanbank.mongodb.client.SimpleMongoIteratorImpl
Consumes all of the elements in the iterator and returns them in a single array.
toArray(S[]) - Method in class com.allanbank.mongodb.client.SimpleMongoIteratorImpl
Consumes all of the elements in the iterator and returns them in a single array.
toArray() - Method in interface com.allanbank.mongodb.MongoIterator
Consumes all of the elements in the iterator and returns them in a single array.
toArray(S[]) - Method in interface com.allanbank.mongodb.MongoIterator
Consumes all of the elements in the iterator and returns them in a single array.
toBase64(byte[]) - Static method in class com.allanbank.mongodb.util.IOUtils
Converts the byte array into a Base64 (RFC 2045) string.
toBundles(String, long, int) - Method in class com.allanbank.mongodb.builder.BatchedWrite
Creates write commands for all of the insert, updates and deletes.
toCommand(Aggregate, boolean) - Method in class com.allanbank.mongodb.client.AbstractMongoOperations
Converts the Aggregate object to an AggregateCommand.
toElement() - Method in class com.allanbank.mongodb.builder.AggregationGroupField
Returns the element for the group operator's field.
toElement() - Method in class com.allanbank.mongodb.builder.AggregationGroupId
Returns the element for the group operator's id.
toElement(String) - Method in class com.allanbank.mongodb.builder.expression.Constant
Returns the expression in the form of a BSON element.
toElement(String) - Method in interface com.allanbank.mongodb.builder.expression.Expression
Returns the expression in the form of a BSON element.
toElement(String) - Method in class com.allanbank.mongodb.builder.expression.NaryExpression
Returns the expression in the form of a BSON element.
toElement(String) - Method in class com.allanbank.mongodb.builder.expression.UnaryExpression
Returns the expression in the form of a BSON element.
toElements() - Method in class com.allanbank.mongodb.builder.AggregationProjectFields
Returns the elements describing the fields to be included (and if the _id should be excluded).
toHex(byte[]) - Static method in class com.allanbank.mongodb.util.IOUtils
Converts the byte array into a HEX string.
toHexString() - Method in class com.allanbank.mongodb.bson.element.ObjectId
Returns the HEX string form of the ObjectId.
toInt(Element) - Method in class com.allanbank.mongodb.client.callback.AbstractValidatingReplyCallback
Converts a NumericElementinto an int value.
tokenImage - Variable in exception com.allanbank.mongodb.bson.json.ParseException
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
toList() - Method in class com.allanbank.mongodb.client.MongoIteratorImpl
Consumes all of the elements in the iterator and returns them in a single mutable list.
toList() - Method in class com.allanbank.mongodb.client.SimpleMongoIteratorImpl
Consumes all of the elements in the iterator and returns them in a single mutable list.
toList() - Method in interface com.allanbank.mongodb.MongoIterator
Consumes all of the elements in the iterator and returns them in a single mutable list.
toLong(Element) - Method in class com.allanbank.mongodb.client.callback.ReplyLongCallback
Converts a NumericElement into a long value.
toLower(Expression) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a UnaryExpression "$toLower" expression.
toPattern(String) - Static method in class com.allanbank.mongodb.util.PatternUtils
Converts the Regular Expression string into a Pattern.
toQueryRequest(boolean) - Method in class com.allanbank.mongodb.builder.Find
This method is not intended for applications to use.
toQueryRequest(boolean, ReadPreference) - Method in class com.allanbank.mongodb.builder.Find
This method is not intended for applications to use.
toString() - Method in class com.allanbank.mongodb.bson.builder.impl.ArrayBuilderImpl
toString() - Method in class com.allanbank.mongodb.bson.builder.impl.DocumentBuilderImpl
toString() - Method in class com.allanbank.mongodb.bson.DocumentReference
toString() - Method in class com.allanbank.mongodb.bson.element.AbstractElement
String form of the object.
toString() - Method in class com.allanbank.mongodb.bson.element.ObjectId
String form of the object.
toString() - Method in class com.allanbank.mongodb.bson.impl.AbstractDocument
String form of the object.
toString() - Method in class com.allanbank.mongodb.builder.Aggregate.Builder
Return the JSON for the current pipeline that would be constructed by the builder.
toString() - Method in class com.allanbank.mongodb.builder.expression.Constant
toString() - Method in class com.allanbank.mongodb.builder.expression.NaryExpression
toString() - Method in class com.allanbank.mongodb.builder.expression.UnaryExpression
toString() - Method in class com.allanbank.mongodb.builder.write.DeleteOperation
toString() - Method in class com.allanbank.mongodb.builder.write.InsertOperation
toString() - Method in class com.allanbank.mongodb.builder.write.UpdateOperation
toString() - Method in class com.allanbank.mongodb.client.connection.auth.AuthenticatingConnection
toString() - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyMultipleConnection
toString() - Method in class com.allanbank.mongodb.client.connection.socket.AbstractSocketConnection
toString() - Method in class com.allanbank.mongodb.client.message.Command
toString() - Method in class com.allanbank.mongodb.client.message.GetLastError
toString() - Method in class com.allanbank.mongodb.client.message.Insert
toString() - Method in class com.allanbank.mongodb.client.state.Server
toString() - Method in class com.allanbank.mongodb.client.VersionRange
toString() - Method in class com.allanbank.mongodb.Credential
toString() - Method in class com.allanbank.mongodb.Durability
toString() - Method in class com.allanbank.mongodb.MongoDbUri
toString() - Method in class com.allanbank.mongodb.ProfilingStatus
toString() - Method in class com.allanbank.mongodb.ReadPreference
toString() - Method in class com.allanbank.mongodb.Version
toUpper(Expression) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a UnaryExpression "$toUpper" expression.
tryReceive() - Method in interface com.allanbank.mongodb.client.callback.Receiver
Tries to receive a message from the server.
tryReceive() - Static method in class com.allanbank.mongodb.client.callback.ReplyHandler
If there is a pending reply tries to process that reply.
tryReceive() - Method in class com.allanbank.mongodb.client.connection.socket.AbstractSocketConnection
Tries to receive a message from the server.
trySend(List<K>, Message, Message, ReplyCallback) - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyMultipleConnection
Tries to send the messages to the first server with either an open connection or that we can open a connection to.
TwoThreadSocketConnection - Class in com.allanbank.mongodb.client.connection.socket
Provides a blocking Socket based connection to a MongoDB server.
TwoThreadSocketConnection(Server, MongoClientConfiguration) - Constructor for class com.allanbank.mongodb.client.connection.socket.TwoThreadSocketConnection
Creates a new SocketConnection to a MongoDB server.
TwoThreadSocketConnection(Server, MongoClientConfiguration, StringEncoderCache, StringDecoderCache) - Constructor for class com.allanbank.mongodb.client.connection.socket.TwoThreadSocketConnection
Creates a new SocketConnection to a MongoDB server.
TwoThreadSocketConnection.SendRunnable - Class in com.allanbank.mongodb.client.connection.socket
Runnable to push data out over the MongoDB connection.
TwoThreadSocketConnection.SendRunnable() - Constructor for class com.allanbank.mongodb.client.connection.socket.TwoThreadSocketConnection.SendRunnable
 
TYPE - Static variable in class com.allanbank.mongodb.bson.element.ArrayElement
The BSON type for an array.
TYPE - Static variable in class com.allanbank.mongodb.bson.element.BinaryElement
The BSON type for a binary.
TYPE - Static variable in class com.allanbank.mongodb.bson.element.BooleanElement
The BSON type for a Object Id.
TYPE - Static variable in class com.allanbank.mongodb.bson.element.DBPointerElement
Deprecated.
The BSON type for a Object Id.
TYPE - Static variable in class com.allanbank.mongodb.bson.element.DocumentElement
The BSON type for a document.
TYPE - Static variable in class com.allanbank.mongodb.bson.element.DoubleElement
The BSON type for a double.
TYPE - Static variable in class com.allanbank.mongodb.bson.element.IntegerElement
The BSON type for a integer.
TYPE - Static variable in class com.allanbank.mongodb.bson.element.JavaScriptElement
The BSON type for a string.
TYPE - Static variable in class com.allanbank.mongodb.bson.element.JavaScriptWithScopeElement
The BSON type for a string.
TYPE - Static variable in class com.allanbank.mongodb.bson.element.LongElement
The BSON type for a long.
TYPE - Static variable in class com.allanbank.mongodb.bson.element.MaxKeyElement
The BSON type for a binary.
TYPE - Static variable in class com.allanbank.mongodb.bson.element.MinKeyElement
The BSON type for a binary.
TYPE - Static variable in class com.allanbank.mongodb.bson.element.MongoTimestampElement
The BSON type for a long.
TYPE - Static variable in class com.allanbank.mongodb.bson.element.NullElement
The BSON type for a binary.
TYPE - Static variable in class com.allanbank.mongodb.bson.element.ObjectIdElement
The BSON type for a Object Id.
TYPE - Static variable in class com.allanbank.mongodb.bson.element.RegularExpressionElement
The BSON type for a string.
TYPE - Static variable in class com.allanbank.mongodb.bson.element.StringElement
The BSON type for a string.
TYPE - Static variable in class com.allanbank.mongodb.bson.element.SymbolElement
The BSON type for a symbol.
TYPE - Static variable in class com.allanbank.mongodb.bson.element.TimestampElement
The BSON type for a long.

U

UnaryExpression - Class in com.allanbank.mongodb.builder.expression
UnaryExpression provides an implementation of an Expression with 1 operand.
UnaryExpression(String, Expression) - Constructor for class com.allanbank.mongodb.builder.expression.UnaryExpression
Creates a new NaryExpression.
UNICODE - Static variable in class com.allanbank.mongodb.bson.element.RegularExpressionElement
Option to make \w, \W, etc.
UNIQUE_DOCS_MODIFIER - Static variable in enum com.allanbank.mongodb.builder.GeospatialOperator
Deprecated.
Support for "$uniqueDocs" was removed in MongoDB 2.6.
UNIQUE_DOCS_REMOVED_VERSION - Static variable in enum com.allanbank.mongodb.builder.GeospatialOperator
The version (2.5) of the MongoDB server that removed support for the "$uniqueDocs" modifier.
UNIQUE_INDEX_OPTIONS - Static variable in class com.allanbank.mongodb.client.AbstractMongoOperations
The default for a UNIQUE index options.
uniqueDocs(boolean) - Method in class com.allanbank.mongodb.builder.AggregationGeoNear.Builder
Sets if (true) the $geoNear should only return documents once.
uniqueValuesOf(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.
UNKNOWN - Static variable in class com.allanbank.mongodb.Version
A version to use when we don't know the version.
unlink(ObjectId) - Method in class com.allanbank.mongodb.gridfs.GridFs
Unlinks (deletes) the file from the GridFS collections.
unlink(String) - Method in class com.allanbank.mongodb.gridfs.GridFs
Unlinks (deletes) the file from the GridFS collections.
unwind(String) - Method in class com.allanbank.mongodb.builder.Aggregate.Builder
Adds a $unwind operation generate a document for each element of the specified array field with the array replaced with the value of the element.
unwrap(Future<T>) - Static method in class com.allanbank.mongodb.util.FutureUtils
Unwraps the contents of the Future.
update(DocumentAssignable, DocumentAssignable) - Method in class com.allanbank.mongodb.builder.BatchedWrite.Builder
Update a document based on a query.
update(DocumentAssignable, DocumentAssignable, boolean, boolean) - Method in class com.allanbank.mongodb.builder.BatchedWrite.Builder
Update a document based on a query.
update(DocumentAssignable, DocumentAssignable, boolean, boolean, Durability) - Static method in class com.allanbank.mongodb.builder.BatchedWrite
Create a batched write with a single update operation.
update(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.FindAndModify.Builder
Sets the updates to be applied to the document.
update(ShardedConnectionFactory.BootstrapState, Connection) - Method in class com.allanbank.mongodb.client.connection.sharded.ShardedConnectionFactory
Queries for the addresses for the mongos servers via the ShardedConnectionFactory.findMongosServers(Connection) method.
Update - Class in com.allanbank.mongodb.client.message
Message to apply an update to a document.
Update(BsonInputStream) - Constructor for class com.allanbank.mongodb.client.message.Update
Creates a new Update.
Update(String, String, Document, Document, boolean, boolean) - Constructor for class com.allanbank.mongodb.client.message.Update
Creates a new Update.
update(Document) - Method in class com.allanbank.mongodb.client.state.Server
Updates the state of the server based on the document provided.
update(DocumentAssignable, DocumentAssignable) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
Applies updates to a set of documents within the collection.
update(DocumentAssignable, DocumentAssignable, boolean, boolean) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
Applies updates to a set of documents within the collection.
update(DocumentAssignable, DocumentAssignable, boolean, boolean, Durability) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
Applies updates to a set of documents within the collection.
update(DocumentAssignable, DocumentAssignable, Durability) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
Applies updates to a set of documents within the collection.
update(DocumentAssignable, DocumentAssignable) - Method in interface com.allanbank.mongodb.MongoCollection
Applies updates to a set of documents within the collection.
update(DocumentAssignable, DocumentAssignable, boolean, boolean) - Method in interface com.allanbank.mongodb.MongoCollection
Applies updates to a set of documents within the collection.
update(DocumentAssignable, DocumentAssignable, boolean, boolean, Durability) - Method in interface com.allanbank.mongodb.MongoCollection
Applies updates to a set of documents within the collection.
update(DocumentAssignable, DocumentAssignable, Durability) - Method in interface com.allanbank.mongodb.MongoCollection
Applies updates to a set of documents within the collection.
UPDATE_MULTIUPDATE_DEFAULT - Static variable in class com.allanbank.mongodb.client.AbstractMongoOperations
The default for doing a multiple-update on an update.
UPDATE_UPSERT_DEFAULT - Static variable in class com.allanbank.mongodb.client.AbstractMongoOperations
The default for doing an upsert on an update.
updateAsync(Callback<Long>, DocumentAssignable, DocumentAssignable) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Applies updates to a set of documents within the collection.
updateAsync(Callback<Long>, DocumentAssignable, DocumentAssignable, boolean, boolean) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Applies updates to a set of documents within the collection.
updateAsync(Callback<Long>, DocumentAssignable, DocumentAssignable, boolean, boolean, Durability) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Applies updates to a set of documents within the collection.
updateAsync(Callback<Long>, DocumentAssignable, DocumentAssignable, Durability) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Applies updates to a set of documents within the collection.
updateAsync(DocumentAssignable, DocumentAssignable) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Applies updates to a set of documents within the collection.
updateAsync(DocumentAssignable, DocumentAssignable, boolean, boolean) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Applies updates to a set of documents within the collection.
updateAsync(DocumentAssignable, DocumentAssignable, boolean, boolean, Durability) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Applies updates to a set of documents within the collection.
updateAsync(DocumentAssignable, DocumentAssignable, Durability) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Applies updates to a set of documents within the collection.
updateAsync(LambdaCallback<Long>, DocumentAssignable, DocumentAssignable) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Applies updates to a set of documents within the collection.
updateAsync(LambdaCallback<Long>, DocumentAssignable, DocumentAssignable, boolean, boolean) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Applies updates to a set of documents within the collection.
updateAsync(LambdaCallback<Long>, DocumentAssignable, DocumentAssignable, boolean, boolean, Durability) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Applies updates to a set of documents within the collection.
updateAsync(LambdaCallback<Long>, DocumentAssignable, DocumentAssignable, Durability) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Applies updates to a set of documents within the collection.
updateAsync(Callback<Long>, DocumentAssignable, DocumentAssignable) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Applies updates to a set of documents within the collection.
updateAsync(Callback<Long>, DocumentAssignable, DocumentAssignable, boolean, boolean) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Applies updates to a set of documents within the collection.
updateAsync(Callback<Long>, DocumentAssignable, DocumentAssignable, Durability) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Applies updates to a set of documents within the collection.
updateAsync(DocumentAssignable, DocumentAssignable) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Applies updates to a set of documents within the collection.
updateAsync(DocumentAssignable, DocumentAssignable, boolean, boolean) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Applies updates to a set of documents within the collection.
updateAsync(DocumentAssignable, DocumentAssignable, boolean, boolean, Durability) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Applies updates to a set of documents within the collection.
updateAsync(DocumentAssignable, DocumentAssignable, Durability) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Applies updates to a set of documents within the collection.
updateAsync(LambdaCallback<Long>, DocumentAssignable, DocumentAssignable) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Applies updates to a set of documents within the collection.
updateAsync(LambdaCallback<Long>, DocumentAssignable, DocumentAssignable, boolean, boolean) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Applies updates to a set of documents within the collection.
updateAsync(LambdaCallback<Long>, DocumentAssignable, DocumentAssignable, boolean, boolean, Durability) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Applies updates to a set of documents within the collection.
updateAsync(LambdaCallback<Long>, DocumentAssignable, DocumentAssignable, Durability) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Applies updates to a set of documents within the collection.
updateAsync(Callback<Long>, DocumentAssignable, DocumentAssignable, boolean, boolean, Durability) - Method in class com.allanbank.mongodb.client.AbstractMongoOperations
Constructs a Update message and sends it to the server via the Client.
updateAverageLatency(long) - Method in class com.allanbank.mongodb.client.state.Server
Updates the average latency (in nano-seconds) for the server.
updateMain(ConnectionInfo<K>) - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyMultipleConnection
Update the state with the new primary server.
UpdateOperation - Class in com.allanbank.mongodb.builder.write
UpdateOperation provides a container for the fields in an update request.
UpdateOperation(DocumentAssignable, DocumentAssignable, boolean, boolean) - Constructor for class com.allanbank.mongodb.builder.write.UpdateOperation
Creates a new UpdateOperation.
updateOptions(DocumentAssignable) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
Updates the collection's options or flags using the collMod command.
updateOptions(DocumentAssignable) - Method in interface com.allanbank.mongodb.MongoCollection
Updates the collection's options or flags using the collMod command.
updateReadPreference(DocumentBuilder, ReadPreference, boolean) - Method in class com.allanbank.mongodb.client.AbstractMongoOperations
Determines the ReadPreference to be used based on the command's ReadPreference or the collection's if the command's ReadPreference is null.
updateSocketWithOptions(MongoClientConfiguration) - Method in class com.allanbank.mongodb.client.connection.socket.AbstractSocketConnection
Updates the socket with the configuration's socket options.
updateVersions() - Method in class com.allanbank.mongodb.client.state.Cluster
Updates the min/max versions across all servers.
UPLOAD_DATE_FIELD - Static variable in class com.allanbank.mongodb.gridfs.GridFs
The field in the files collection containing the file's upload date.
upsert() - Method in class com.allanbank.mongodb.builder.FindAndModify.Builder
Sets to true to create the document if it doesn't exist.
upsert(boolean) - Method in class com.allanbank.mongodb.builder.FindAndModify.Builder
Sets to true to create the document if it doesn't exist.
UPSERT_FLAG_BIT - Static variable in class com.allanbank.mongodb.client.message.Update
Flag bit for an upsert.
useCursor() - Method in class com.allanbank.mongodb.builder.Aggregate.Builder
Sets that the results should be returned using a cursor.
useCursor(boolean) - Method in class com.allanbank.mongodb.builder.Aggregate.Builder
Sets to true if the aggregation results should be returned as a cursor.
used(String, byte[], int, int) - Method in class com.allanbank.mongodb.bson.io.AbstractStringCache
Notification that a string/byte[] have been used.
userName(String) - Method in class com.allanbank.mongodb.Credential.Builder
Sets the value of the user name for the credential set.
useWriteCommand() - Method in class com.allanbank.mongodb.client.AbstractMongoOperations
useWriteCommand() - Method in class com.allanbank.mongodb.client.BatchedAsyncMongoCollectionImpl
UTC - Static variable in class com.allanbank.mongodb.bson.element.JsonSerializationVisitor
The default time zone.
UTF8 - Static variable in class com.allanbank.mongodb.bson.io.BsonInputStream
UTF-8 Character set for encoding strings.
UTF8 - Static variable in class com.allanbank.mongodb.bson.io.BsonOutputStream
UTF-8 Character set for encoding strings.
UTF8 - Static variable in class com.allanbank.mongodb.bson.io.RandomAccessOutputStream
UTF-8 Character set for encoding strings.
UTF8 - Static variable in class com.allanbank.mongodb.bson.io.SizeOfVisitor
UTF-8 Character set for encoding strings.
UTF8 - Static variable in class com.allanbank.mongodb.MongoClientConfiguration
The ASCII character encoding.
utf8Size(String) - Method in class com.allanbank.mongodb.bson.io.SizeOfVisitor
Computes the size of the encoded UTF8 String based on the table below.
utf8Size(String) - Static method in class com.allanbank.mongodb.bson.io.StringEncoder
Computes the size of the encoded UTF8 String based on the table below.
UUID_BINARY_LENGTH - Static variable in class com.allanbank.mongodb.bson.element.UuidElement
The length for the UUID binary value.
UUID_SUBTTYPE - Static variable in class com.allanbank.mongodb.bson.element.UuidElement
The default subtype for the UUID.
UuidElement - Class in com.allanbank.mongodb.bson.element
UuidElement provides a helper element for handling UUID BinaryElement sub-types.
UuidElement(String, byte, byte[]) - Constructor for class com.allanbank.mongodb.bson.element.UuidElement
Creates a new UuidElement.
UuidElement(String, byte, byte[], long) - Constructor for class com.allanbank.mongodb.bson.element.UuidElement
Creates a new UuidElement.
UuidElement(String, byte, UUID) - Constructor for class com.allanbank.mongodb.bson.element.UuidElement
Creates a new UuidElement.
UuidElement(String, UUID) - Constructor for class com.allanbank.mongodb.bson.element.UuidElement
Creates a new UuidElement.

V

validate(Message, Message) - Method in class com.allanbank.mongodb.client.connection.socket.AbstractSocketConnection
Ensures that the documents in the message do not exceed the maximum size allowed by MongoDB.
validate(MongoCollection.ValidateMode) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
Validates the collections contents.
validate(ObjectId) - Method in class com.allanbank.mongodb.gridfs.GridFs
Validates the file from the GridFS collections using the filemd5 command.
validate(String) - Method in class com.allanbank.mongodb.gridfs.GridFs
Validates the file from the GridFS collections using the filemd5 command.
validate(MongoCollection.ValidateMode) - Method in interface com.allanbank.mongodb.MongoCollection
Validates the collections contents.
validateSize(int) - Method in class com.allanbank.mongodb.client.message.Command
Validates that the documents with the message do not exceed the maximum document size specified.
validateSize(int) - Method in class com.allanbank.mongodb.client.message.Delete
Validates that the documents with the message do not exceed the maximum document size specified.
validateSize(int) - Method in class com.allanbank.mongodb.client.message.GetMore
Validates that the documents with the message do not exceed the maximum document size specified.
validateSize(int) - Method in class com.allanbank.mongodb.client.message.Insert
Validates that the documents with the message do not exceed the maximum document size specified.
validateSize(int) - Method in class com.allanbank.mongodb.client.message.KillCursors
Validates that the documents with the message do not exceed the maximum document size specified.
validateSize(int) - Method in class com.allanbank.mongodb.client.message.Query
Validates that the documents with the message do not exceed the maximum document size specified.
validateSize(int) - Method in class com.allanbank.mongodb.client.message.Reply
Validates that the documents with the message do not exceed the maximum document size specified.
validateSize(int) - Method in class com.allanbank.mongodb.client.message.Update
Validates that the documents with the message do not exceed the maximum document size specified.
validateSize(int) - Method in interface com.allanbank.mongodb.client.Message
Validates that the documents with the message do not exceed the maximum document size specified.
ValidatingReplyCallback - Class in com.allanbank.mongodb.client.callback
ValidatingCallback to expect and extract a single document from the reply.
ValidatingReplyCallback(FutureReplyCallback) - Constructor for class com.allanbank.mongodb.client.callback.ValidatingReplyCallback
Create a new ValidatingReplyCallback.
valueOf(String) - Static method in enum com.allanbank.mongodb.bson.ElementType
Returns the enum constant of this type with the specified name.
valueOf(byte) - Static method in enum com.allanbank.mongodb.bson.ElementType
Returns the ElementType with the provided token or null if it is not found.
valueOf(String) - Static method in enum com.allanbank.mongodb.builder.BatchedWriteMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.allanbank.mongodb.builder.ComparisonOperator
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.allanbank.mongodb.builder.GeospatialOperator
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.allanbank.mongodb.builder.LogicalOperator
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.allanbank.mongodb.builder.MapReduce.OutputType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.allanbank.mongodb.builder.MiscellaneousOperator
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.allanbank.mongodb.builder.RedactOption
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.allanbank.mongodb.builder.write.WriteOperationType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.allanbank.mongodb.client.ClusterType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.allanbank.mongodb.client.Operation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.allanbank.mongodb.client.state.Server.State
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.allanbank.mongodb.ConnectionModel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in class com.allanbank.mongodb.Durability
Converts a string into a Durability, if possible.
valueOf(String) - Static method in enum com.allanbank.mongodb.LockType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.allanbank.mongodb.MongoCollection.ValidateMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.allanbank.mongodb.ProfilingStatus.Level
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.allanbank.mongodb.ReadPreference.Mode
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.allanbank.mongodb.bson.ElementType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.allanbank.mongodb.builder.BatchedWriteMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.allanbank.mongodb.builder.ComparisonOperator
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.allanbank.mongodb.builder.GeospatialOperator
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.allanbank.mongodb.builder.LogicalOperator
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.allanbank.mongodb.builder.MapReduce.OutputType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.allanbank.mongodb.builder.MiscellaneousOperator
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.allanbank.mongodb.builder.RedactOption
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.allanbank.mongodb.builder.write.WriteOperationType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.allanbank.mongodb.client.ClusterType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.allanbank.mongodb.client.Operation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.allanbank.mongodb.client.state.Server.State
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.allanbank.mongodb.ConnectionModel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.allanbank.mongodb.LockType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.allanbank.mongodb.MongoCollection.ValidateMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.allanbank.mongodb.ProfilingStatus.Level
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.allanbank.mongodb.ReadPreference.Mode
Returns an array containing the constants of this enum type, in the order they are declared.
var(String) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a Constant expression with the provided variableName.
VERBOSE - Static variable in class com.allanbank.mongodb.bson.element.RegularExpressionElement
Option for verbose mode.
verbose() - Method in class com.allanbank.mongodb.builder.MapReduce.Builder
Sets to true to emit progress messages in the server logs.
verbose(boolean) - Method in class com.allanbank.mongodb.builder.MapReduce.Builder
Sets to true to emit progress messages in the server logs.
verify(Reply) - Method in class com.allanbank.mongodb.client.callback.AbstractValidatingReplyCallback
Checks the reply for an error message.
verifyPutative(Map<Server, Future<Reply>>, Map<Server, Connection>, Server, long) - Method in class com.allanbank.mongodb.client.connection.rs.ReplicaSetReconnectStrategy
Tries to verify that the suspected primary server is in fact the primary server by asking it directly and synchronously.
version(Document) - Static method in class com.allanbank.mongodb.client.message.QueryVersionVisitor
Helper to returns the required server version to support the query operators.
Version - Class in com.allanbank.mongodb
Version provides a class to handle version numbers and provide the version of the driver in use.
VERSION - Static variable in class com.allanbank.mongodb.Version
The driver's version.
VERSION_0 - Static variable in class com.allanbank.mongodb.Version
The "zero" version which should be before all other versions.
VERSION_2_0 - Static variable in class com.allanbank.mongodb.Version
Version 2.0
VERSION_2_2 - Static variable in class com.allanbank.mongodb.Version
Version 2.2
VERSION_2_4 - Static variable in class com.allanbank.mongodb.Version
Version 2.4
VERSION_2_5_2 - Static variable in class com.allanbank.mongodb.Version
Version 2.5.2 - Wire Protocol version = 1.
VERSION_2_5_4 - Static variable in class com.allanbank.mongodb.Version
Version 2.5.4 - Wire Protocol version = 2.
VERSION_2_6 - Static variable in class com.allanbank.mongodb.Version
Version 2.6
VERSION_PROP - Static variable in class com.allanbank.mongodb.client.state.Server
The name for the Server's version property: "version" .
VersionRange - Class in com.allanbank.mongodb.client
VersionRange provides a simple class to hold a range of versions.
visit(List<Element>) - Method in class com.allanbank.mongodb.bson.element.JsonSerializationVisitor
Visit the root document.
visit(List<Element>) - Method in class com.allanbank.mongodb.bson.io.SizeOfVisitor
Visit the root document.
visit(List<Element>) - Method in interface com.allanbank.mongodb.bson.Visitor
Visit the root document.
visit(List<Element>) - Method in class com.allanbank.mongodb.bson.VisitorAdapter
Visit the root document.
visitArray(String, List<Element>) - Method in class com.allanbank.mongodb.bson.element.JsonSerializationVisitor
Visits an array of elements.
visitArray(String, List<Element>, long) - Method in interface com.allanbank.mongodb.bson.element.SizeAwareVisitor
Visits an array of elements.
visitArray(String, List<Element>) - Method in class com.allanbank.mongodb.bson.io.SizeOfVisitor
Visits an array of elements.
visitArray(String, List<Element>) - Method in interface com.allanbank.mongodb.bson.Visitor
Visits an array of elements.
visitArray(String, List<Element>) - Method in class com.allanbank.mongodb.bson.VisitorAdapter
Visits an array of elements.
visitBinary(String, byte, byte[]) - Method in class com.allanbank.mongodb.bson.element.JsonSerializationVisitor
Visits a binary element.
visitBinary(String, byte, byte[]) - Method in class com.allanbank.mongodb.bson.io.SizeOfVisitor
Visits a binary element.
visitBinary(String, byte, byte[]) - Method in interface com.allanbank.mongodb.bson.Visitor
Visits a binary element.
visitBinary(String, byte, byte[]) - Method in class com.allanbank.mongodb.bson.VisitorAdapter
Visits a binary element.
visitBoolean(String, boolean) - Method in class com.allanbank.mongodb.bson.element.JsonSerializationVisitor
Visits a boolean element.
visitBoolean(String, boolean) - Method in class com.allanbank.mongodb.bson.io.SizeOfVisitor
Visits a boolean element.
visitBoolean(String, boolean) - Method in interface com.allanbank.mongodb.bson.Visitor
Visits a boolean element.
visitBoolean(String, boolean) - Method in class com.allanbank.mongodb.bson.VisitorAdapter
Visits a boolean element.
visitDBPointer(String, String, String, ObjectId) - Method in class com.allanbank.mongodb.bson.element.JsonSerializationVisitor
Visits a deprecated DBPointer element.
visitDBPointer(String, String, String, ObjectId) - Method in class com.allanbank.mongodb.bson.io.SizeOfVisitor
Visits a deprecated DBPointer element.
visitDBPointer(String, String, String, ObjectId) - Method in interface com.allanbank.mongodb.bson.Visitor
Visits a deprecated DBPointer element.
visitDBPointer(String, String, String, ObjectId) - Method in class com.allanbank.mongodb.bson.VisitorAdapter
Visits a deprecated DBPointer element.
visitDocument(String, List<Element>) - Method in class com.allanbank.mongodb.bson.element.JsonSerializationVisitor
Visits a sub-document element.
visitDocument(String, List<Element>, long) - Method in interface com.allanbank.mongodb.bson.element.SizeAwareVisitor
Visits a sub-document element.
visitDocument(String, List<Element>) - Method in class com.allanbank.mongodb.bson.io.SizeOfVisitor
Visits a sub-document element.
visitDocument(String, List<Element>) - Method in interface com.allanbank.mongodb.bson.Visitor
Visits a sub-document element.
visitDocument(String, List<Element>) - Method in class com.allanbank.mongodb.bson.VisitorAdapter
Visits a sub-document element.
visitDouble(String, double) - Method in class com.allanbank.mongodb.bson.element.JsonSerializationVisitor
Visits a double element.
visitDouble(String, double) - Method in class com.allanbank.mongodb.bson.io.SizeOfVisitor
Visits a double element.
visitDouble(String, double) - Method in interface com.allanbank.mongodb.bson.Visitor
Visits a double element.
visitDouble(String, double) - Method in class com.allanbank.mongodb.bson.VisitorAdapter
Visits a double element.
visitInteger(String, int) - Method in class com.allanbank.mongodb.bson.element.JsonSerializationVisitor
Visits a integer (32-bit signed) element.
visitInteger(String, int) - Method in class com.allanbank.mongodb.bson.io.SizeOfVisitor
Visits a integer (32-bit signed) element.
visitInteger(String, int) - Method in interface com.allanbank.mongodb.bson.Visitor
Visits a integer (32-bit signed) element.
visitInteger(String, int) - Method in class com.allanbank.mongodb.bson.VisitorAdapter
Visits a integer (32-bit signed) element.
visitJavaScript(String, String) - Method in class com.allanbank.mongodb.bson.element.JsonSerializationVisitor
Visits a JavaScript element.
visitJavaScript(String, String, Document) - Method in class com.allanbank.mongodb.bson.element.JsonSerializationVisitor
Visits a JavaScript with Scope element.
visitJavaScript(String, String) - Method in class com.allanbank.mongodb.bson.io.SizeOfVisitor
Visits a JavaScript element.
visitJavaScript(String, String, Document) - Method in class com.allanbank.mongodb.bson.io.SizeOfVisitor
Visits a JavaScript with Scope element.
visitJavaScript(String, String) - Method in interface com.allanbank.mongodb.bson.Visitor
Visits a JavaScript element.
visitJavaScript(String, String, Document) - Method in interface com.allanbank.mongodb.bson.Visitor
Visits a JavaScript with Scope element.
visitJavaScript(String, String) - Method in class com.allanbank.mongodb.bson.VisitorAdapter
Visits a JavaScript element.
visitJavaScript(String, String, Document) - Method in class com.allanbank.mongodb.bson.VisitorAdapter
Visits a JavaScript with Scope element.
visitLong(String, long) - Method in class com.allanbank.mongodb.bson.element.JsonSerializationVisitor
Visits a long (64-bit signed) element.
visitLong(String, long) - Method in class com.allanbank.mongodb.bson.io.SizeOfVisitor
Visits a long (64-bit signed) element.
visitLong(String, long) - Method in interface com.allanbank.mongodb.bson.Visitor
Visits a long (64-bit signed) element.
visitLong(String, long) - Method in class com.allanbank.mongodb.bson.VisitorAdapter
Visits a long (64-bit signed) element.
visitMaxKey(String) - Method in class com.allanbank.mongodb.bson.element.JsonSerializationVisitor
Visits a minimum key value element.
visitMaxKey(String) - Method in class com.allanbank.mongodb.bson.io.SizeOfVisitor
Visits a minimum key value element.
visitMaxKey(String) - Method in interface com.allanbank.mongodb.bson.Visitor
Visits a minimum key value element.
visitMaxKey(String) - Method in class com.allanbank.mongodb.bson.VisitorAdapter
Visits a minimum key value element.
visitMinKey(String) - Method in class com.allanbank.mongodb.bson.element.JsonSerializationVisitor
Visits a minimum key value element.
visitMinKey(String) - Method in class com.allanbank.mongodb.bson.io.SizeOfVisitor
Visits a minimum key value element.
visitMinKey(String) - Method in interface com.allanbank.mongodb.bson.Visitor
Visits a minimum key value element.
visitMinKey(String) - Method in class com.allanbank.mongodb.bson.VisitorAdapter
Visits a minimum key value element.
visitMongoTimestamp(String, long) - Method in class com.allanbank.mongodb.bson.element.JsonSerializationVisitor
Visits a MongoDB Timestamp element.
visitMongoTimestamp(String, long) - Method in class com.allanbank.mongodb.bson.io.SizeOfVisitor
Visits a MongoDB Timestamp element.
visitMongoTimestamp(String, long) - Method in interface com.allanbank.mongodb.bson.Visitor
Visits a MongoDB Timestamp element.
visitMongoTimestamp(String, long) - Method in class com.allanbank.mongodb.bson.VisitorAdapter
Visits a MongoDB Timestamp element.
visitName(String) - Method in class com.allanbank.mongodb.bson.VisitorAdapter
Extension point for Visitor implementation only interested in the name of the elements.
visitName(String) - Method in class com.allanbank.mongodb.client.message.QueryVersionVisitor
Overridden to determine the version of the server required based on the query operators.
visitNull(String) - Method in class com.allanbank.mongodb.bson.element.JsonSerializationVisitor
Visits a null valued element.
visitNull(String) - Method in class com.allanbank.mongodb.bson.io.SizeOfVisitor
Visits a null valued element.
visitNull(String) - Method in interface com.allanbank.mongodb.bson.Visitor
Visits a null valued element.
visitNull(String) - Method in class com.allanbank.mongodb.bson.VisitorAdapter
Visits a null valued element.
visitObjectId(String, ObjectId) - Method in class com.allanbank.mongodb.bson.element.JsonSerializationVisitor
Visits an ObjectId element.
visitObjectId(String, ObjectId) - Method in class com.allanbank.mongodb.bson.io.SizeOfVisitor
Visits an ObjectId element.
visitObjectId(String, ObjectId) - Method in interface com.allanbank.mongodb.bson.Visitor
Visits an ObjectId element.
visitObjectId(String, ObjectId) - Method in class com.allanbank.mongodb.bson.VisitorAdapter
Visits an ObjectId element.
Visitor - Interface in com.allanbank.mongodb.bson
Interface for callbacks to navigate the document structure.
VisitorAdapter - Class in com.allanbank.mongodb.bson
VisitorAdapter provides a helper for Visitor implementations that are only interested in a subset of the elements within a document.
VisitorAdapter() - Constructor for class com.allanbank.mongodb.bson.VisitorAdapter
Creates a new VisitorAdapter.
visitRegularExpression(String, String, String) - Method in class com.allanbank.mongodb.bson.element.JsonSerializationVisitor
Visits a regular expression element.
visitRegularExpression(String, String, String) - Method in class com.allanbank.mongodb.bson.io.SizeOfVisitor
Visits a regular expression element.
visitRegularExpression(String, String, String) - Method in interface com.allanbank.mongodb.bson.Visitor
Visits a regular expression element.
visitRegularExpression(String, String, String) - Method in class com.allanbank.mongodb.bson.VisitorAdapter
Visits a regular expression element.
visitString(String, String) - Method in class com.allanbank.mongodb.bson.element.JsonSerializationVisitor
Visits a string element.
visitString(String, String) - Method in class com.allanbank.mongodb.bson.io.SizeOfVisitor
Visits a string element.
visitString(String, String) - Method in interface com.allanbank.mongodb.bson.Visitor
Visits a string element.
visitString(String, String) - Method in class com.allanbank.mongodb.bson.VisitorAdapter
Visits a string element.
visitSymbol(String, String) - Method in class com.allanbank.mongodb.bson.element.JsonSerializationVisitor
Visits a symbol element.
visitSymbol(String, String) - Method in class com.allanbank.mongodb.bson.io.SizeOfVisitor
Visits a symbol element.
visitSymbol(String, String) - Method in interface com.allanbank.mongodb.bson.Visitor
Visits a symbol element.
visitSymbol(String, String) - Method in class com.allanbank.mongodb.bson.VisitorAdapter
Visits a symbol element.
visitTimestamp(String, long) - Method in class com.allanbank.mongodb.bson.element.JsonSerializationVisitor
Visits a timestamp element.
visitTimestamp(String, long) - Method in class com.allanbank.mongodb.bson.io.SizeOfVisitor
Visits a timestamp element.
visitTimestamp(String, long) - Method in interface com.allanbank.mongodb.bson.Visitor
Visits a timestamp element.
visitTimestamp(String, long) - Method in class com.allanbank.mongodb.bson.VisitorAdapter
Visits a timestamp element.

W

waitForClosed(int, TimeUnit) - Method in interface com.allanbank.mongodb.client.connection.Connection
Waits for the connection to become idle.
waitForClosed(int, TimeUnit) - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyConnection
Waits for the connection to become idle.
waitForClosed(int, TimeUnit) - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyMultipleConnection
Waits for the connection to become idle.
waitForClosed(int, TimeUnit) - Method in class com.allanbank.mongodb.client.connection.socket.AbstractSocketConnection
Waits for the connection to become idle.
wakeUp() - Method in class com.allanbank.mongodb.client.state.ClusterPinger
Starts the background pinger.
warn(String) - Method in class com.allanbank.mongodb.util.log.AbstractLog
Logs a message at the Level.WARNING level.
warn(String, Object...) - Method in class com.allanbank.mongodb.util.log.AbstractLog
Logs a message at the WARNING level.
warn(Throwable, String, Object...) - Method in class com.allanbank.mongodb.util.log.AbstractLog
Logs a message at the WARNING level.
warn(String) - Method in interface com.allanbank.mongodb.util.log.Log
Logs a message at the Level.WARNING level.
warn(String, Object...) - Method in interface com.allanbank.mongodb.util.log.Log
Logs a message at the WARNING level.
warn(Throwable, String, Object...) - Method in interface com.allanbank.mongodb.util.log.Log
Logs a message at the WARNING level.
WEEK - Static variable in class com.allanbank.mongodb.builder.expression.Expressions
The "$week" operator token
week(Expression) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a UnaryExpression "$week" expression.
where(String) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Adds an ad-hoc JavaScript condition to the query.
where(String) - Static method in class com.allanbank.mongodb.builder.QueryBuilder
Start a criteria for a single conjunctions.
whereField(String) - Method in class com.allanbank.mongodb.builder.QueryBuilder
Returns a builder for the constraints on a single field.
whereJavaScript(String) - Method in class com.allanbank.mongodb.builder.QueryBuilder
Adds an ad-hoc JavaScript condition to the query.
within(boolean, Point2D, Point2D, Point2D, Point2D...) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Deprecated.
$uniqueDocs was removed in MongoDB 2.6. This method will not be removed until two releases after the MongoDB 2.6 release (e.g. 2.10 if the releases are 2.8 and 2.10).
within(DocumentAssignable) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Geospatial query for documents whose field is within the specified GeoJSON specified geometry.
within(DocumentAssignable, boolean) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Deprecated.
$uniqueDocs was removed in MongoDB 2.6. This method will not be removed until two releases after the MongoDB 2.6 release (e.g. 2.10 if the releases are 2.8 and 2.10).
within(double, double, double) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Geospatial query for documents whose field is within the specified bounding circular region.
within(double, double, double, boolean) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Deprecated.
$uniqueDocs was removed in MongoDB 2.6. This method will not be removed until two releases after the MongoDB 2.6 release (e.g. 2.10 if the releases are 2.8 and 2.10).
within(double, double, double, double) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Geospatial query for documents whose field is within the specified bounding rectangular region.
within(double, double, double, double, boolean) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Deprecated.
$uniqueDocs was removed in MongoDB 2.6. This method will not be removed until two releases after the MongoDB 2.6 release (e.g. 2.10 if the releases are 2.8 and 2.10).
within(int, int, int) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Geospatial query for documents whose field is within the specified bounding circular region.
within(int, int, int, boolean) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Deprecated.
$uniqueDocs was removed in MongoDB 2.6. This method will not be removed until two releases after the MongoDB 2.6 release (e.g. 2.10 if the releases are 2.8 and 2.10).
within(int, int, int, int) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Geospatial query for documents whose field is within the specified bounding rectangular region.
within(int, int, int, int, boolean) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Deprecated.
$uniqueDocs was removed in MongoDB 2.6. This method will not be removed until two releases after the MongoDB 2.6 release (e.g. 2.10 if the releases are 2.8 and 2.10).
within(long, long, long) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Geospatial query for documents whose field is within the specified bounding circular region.
within(long, long, long, boolean) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Deprecated.
$uniqueDocs was removed in MongoDB 2.6. This method will not be removed until two releases after the MongoDB 2.6 release (e.g. 2.10 if the releases are 2.8 and 2.10).
within(long, long, long, long) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Geospatial query for documents whose field is within the specified bounding rectangular region.
within(long, long, long, long, boolean) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Deprecated.
$uniqueDocs was removed in MongoDB 2.6. This method will not be removed until two releases after the MongoDB 2.6 release (e.g. 2.10 if the releases are 2.8 and 2.10).
within(Point2D, Point2D, Point2D, Point2D...) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Geospatial query for documents whose field is within the specified bounding polygon.
withinOnSphere(double, double, double) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Geospatial query for documents whose field is within the specified bounding circular region on a sphere.
withinOnSphere(double, double, double, boolean) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Deprecated.
$uniqueDocs was removed in MongoDB 2.6. This method will not be removed until two releases after the MongoDB 2.6 release (e.g. 2.10 if the releases are 2.8 and 2.10).
withinOnSphere(int, int, int) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Geospatial query for documents whose field is within the specified bounding circular region on a sphere.
withinOnSphere(int, int, int, boolean) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Deprecated.
$uniqueDocs was removed in MongoDB 2.6. This method will not be removed until two releases after the MongoDB 2.6 release (e.g. 2.10 if the releases are 2.8 and 2.10).
withinOnSphere(long, long, long) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Geospatial query for documents whose field is within the specified bounding circular region on a sphere.
withinOnSphere(long, long, long, boolean) - Method in class com.allanbank.mongodb.builder.ConditionBuilder
Deprecated.
$uniqueDocs was removed in MongoDB 2.6. This method will not be removed until two releases after the MongoDB 2.6 release (e.g. 2.10 if the releases are 2.8 and 2.10).
withName(String) - Method in class com.allanbank.mongodb.bson.builder.impl.AbstractBuilder.BuilderElement
Creates a new element with the same type and value as this element but with the specified name.
withName(String) - Method in class com.allanbank.mongodb.bson.element.ArrayElement
Creates a new element with the same type and value as this element but with the specified name.
withName(String) - Method in class com.allanbank.mongodb.bson.element.BinaryElement
Creates a new element with the same type and value as this element but with the specified name.
withName(String) - Method in class com.allanbank.mongodb.bson.element.BooleanElement
Creates a new element with the same type and value as this element but with the specified name.
withName(String) - Method in class com.allanbank.mongodb.bson.element.DBPointerElement
Deprecated.
Creates a new element with the same type and value as this element but with the specified name.
withName(String) - Method in class com.allanbank.mongodb.bson.element.DocumentElement
Creates a new element with the same type and value as this element but with the specified name.
withName(String) - Method in class com.allanbank.mongodb.bson.element.DoubleElement
Creates a new element with the same type and value as this element but with the specified name.
withName(String) - Method in class com.allanbank.mongodb.bson.element.IntegerElement
Creates a new element with the same type and value as this element but with the specified name.
withName(String) - Method in class com.allanbank.mongodb.bson.element.JavaScriptElement
Creates a new element with the same type and value as this element but with the specified name.
withName(String) - Method in class com.allanbank.mongodb.bson.element.JavaScriptWithScopeElement
Creates a new element with the same type and value as this element but with the specified name.
withName(String) - Method in class com.allanbank.mongodb.bson.element.LongElement
Creates a new element with the same type and value as this element but with the specified name.
withName(String) - Method in class com.allanbank.mongodb.bson.element.MaxKeyElement
Creates a new element with the same type and value as this element but with the specified name.
withName(String) - Method in class com.allanbank.mongodb.bson.element.MinKeyElement
Creates a new element with the same type and value as this element but with the specified name.
withName(String) - Method in class com.allanbank.mongodb.bson.element.MongoTimestampElement
Creates a new element with the same type and value as this element but with the specified name.
withName(String) - Method in class com.allanbank.mongodb.bson.element.NullElement
Creates a new element with the same type and value as this element but with the specified name.
withName(String) - Method in class com.allanbank.mongodb.bson.element.ObjectIdElement
Creates a new element with the same type and value as this element but with the specified name.
withName(String) - Method in class com.allanbank.mongodb.bson.element.RegularExpressionElement
Creates a new element with the same type and value as this element but with the specified name.
withName(String) - Method in class com.allanbank.mongodb.bson.element.StringElement
Creates a new element with the same type and value as this element but with the specified name.
withName(String) - Method in class com.allanbank.mongodb.bson.element.SymbolElement
Creates a new element with the same type and value as this element but with the specified name.
withName(String) - Method in class com.allanbank.mongodb.bson.element.TimestampElement
Creates a new element with the same type and value as this element but with the specified name.
withName(String) - Method in class com.allanbank.mongodb.bson.element.UuidElement
Creates a new element with the same type and value as this element but with the specified name.
withName(String) - Method in interface com.allanbank.mongodb.bson.Element
Creates a new element with the same type and value as this element but with the specified name.
wrap(Connection, Server) - Method in class com.allanbank.mongodb.client.connection.sharded.ShardedConnectionFactory
Wraps the connection in a shard-aware connection.
WRITABLE_PROP - Static variable in class com.allanbank.mongodb.client.state.Cluster
The property name for if there is a writable server.
write(byte[]) - Method in class com.allanbank.mongodb.bson.io.BufferingBsonOutputStream
Writes b.length bytes to this output stream.
write(byte[], int, int) - Method in class com.allanbank.mongodb.bson.io.BufferingBsonOutputStream
Writes len bytes from the specified byte array starting at offset off to this output stream.
write(Document) - Method in class com.allanbank.mongodb.bson.io.BufferingBsonOutputStream
Writes the Document in BSON format to the underlying stream.
write(byte[]) - Method in class com.allanbank.mongodb.bson.io.RandomAccessOutputStream
write(byte[], int, int) - Method in class com.allanbank.mongodb.bson.io.RandomAccessOutputStream
write(int) - Method in class com.allanbank.mongodb.bson.io.RandomAccessOutputStream
write(WriteOperation) - Method in class com.allanbank.mongodb.builder.BatchedWrite.Builder
Adds a single write to the list of writes to send to the server.
write(int, BsonOutputStream) - Method in class com.allanbank.mongodb.client.message.Command
Writes the message from the stream.
write(int, BufferingBsonOutputStream) - Method in class com.allanbank.mongodb.client.message.Command
Writes the message from the stream.
write(int, BsonOutputStream) - Method in class com.allanbank.mongodb.client.message.Delete
Writes the message from the stream.
write(int, BufferingBsonOutputStream) - Method in class com.allanbank.mongodb.client.message.Delete
Writes the message from the stream.
write(int, BsonOutputStream) - Method in class com.allanbank.mongodb.client.message.GetMore
Writes the message from the stream.
write(int, BufferingBsonOutputStream) - Method in class com.allanbank.mongodb.client.message.GetMore
Writes the message from the stream.
write(int, BsonOutputStream) - Method in class com.allanbank.mongodb.client.message.Insert
Writes the message from the stream.
write(int, BufferingBsonOutputStream) - Method in class com.allanbank.mongodb.client.message.Insert
Writes the message from the stream.
write(int, BsonOutputStream) - Method in class com.allanbank.mongodb.client.message.KillCursors
Writes the message from the stream.
write(int, BufferingBsonOutputStream) - Method in class com.allanbank.mongodb.client.message.KillCursors
Writes the message from the stream.
write(int, BsonOutputStream) - Method in class com.allanbank.mongodb.client.message.Query
Writes the message from the stream.
write(int, BufferingBsonOutputStream) - Method in class com.allanbank.mongodb.client.message.Query
Writes the message from the stream.
write(int, BsonOutputStream) - Method in class com.allanbank.mongodb.client.message.Reply
Writes the message from the stream.
write(int, BufferingBsonOutputStream) - Method in class com.allanbank.mongodb.client.message.Reply
Writes the message from the stream.
write(int, BsonOutputStream) - Method in class com.allanbank.mongodb.client.message.Update
Writes the message from the stream.
write(int, BufferingBsonOutputStream) - Method in class com.allanbank.mongodb.client.message.Update
Writes the message from the stream.
write(int, BsonOutputStream) - Method in interface com.allanbank.mongodb.client.Message
Writes the message from the stream.
write(int, BufferingBsonOutputStream) - Method in interface com.allanbank.mongodb.client.Message
Writes the message from the stream.
write(BatchedWrite) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
Constructs the appropriate set of write commands to send to the server.
write(BatchedWrite.Builder) - Method in class com.allanbank.mongodb.client.SynchronousMongoCollectionImpl
Constructs the appropriate set of write commands to send to the server.
write(String, InputStream) - Method in class com.allanbank.mongodb.gridfs.GridFs
Attempts to write a file into the GridFS collections using the specified name for the file and deriving the chunks from the data read from the source.
write(BatchedWrite) - Method in interface com.allanbank.mongodb.MongoCollection
Constructs the appropriate set of write commands to send to the server.
write(BatchedWrite.Builder) - Method in interface com.allanbank.mongodb.MongoCollection
Constructs the appropriate set of write commands to send to the server.
writeAsync(BatchedWrite) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Constructs the appropriate set of write commands to send to the server.
writeAsync(BatchedWrite.Builder) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Constructs the appropriate set of write commands to send to the server.
writeAsync(Callback<Long>, BatchedWrite) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Constructs the appropriate set of write commands to send to the server.
writeAsync(Callback<Long>, BatchedWrite.Builder) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Constructs the appropriate set of write commands to send to the server.
writeAsync(LambdaCallback<Long>, BatchedWrite) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Constructs the appropriate set of write commands to send to the server.
writeAsync(LambdaCallback<Long>, BatchedWrite.Builder) - Method in interface com.allanbank.mongodb.AsyncMongoCollection
Constructs the appropriate set of write commands to send to the server.
writeAsync(BatchedWrite) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Constructs the appropriate set of write commands to send to the server.
writeAsync(BatchedWrite.Builder) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Constructs the appropriate set of write commands to send to the server.
writeAsync(Callback<Long>, BatchedWrite.Builder) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Constructs the appropriate set of write commands to send to the server.
writeAsync(LambdaCallback<Long>, BatchedWrite) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Constructs the appropriate set of write commands to send to the server.
writeAsync(LambdaCallback<Long>, BatchedWrite.Builder) - Method in class com.allanbank.mongodb.client.AbstractAsyncMongoCollection
Constructs the appropriate set of write commands to send to the server.
writeAsync(Callback<Long>, BatchedWrite) - Method in class com.allanbank.mongodb.client.AbstractMongoOperations
Constructs the appropriate set of write commands to send to the server.
writeAt(long, byte[]) - Method in class com.allanbank.mongodb.bson.io.RandomAccessOutputStream
Similar to RandomAccessOutputStream.write(byte[]) but allows a portion of the already written buffer to be re-written.
writeAt(long, byte[], int, int) - Method in class com.allanbank.mongodb.bson.io.RandomAccessOutputStream
Similar to RandomAccessOutputStream.write(byte[], int, int) but allows a portion of the already written buffer to be re-written.
writeAt(long, int) - Method in class com.allanbank.mongodb.bson.io.RandomAccessOutputStream
Similar to RandomAccessOutputStream.write(int) but allows a portion of the already written buffer to be re-written.
writeByte(byte) - Method in class com.allanbank.mongodb.bson.io.BsonOutputStream
Writes a single byte to the stream.
writeByte(byte) - Method in class com.allanbank.mongodb.bson.io.BufferingBsonOutputStream
Writes a single byte to the output buffer.
writeByte(byte) - Method in class com.allanbank.mongodb.bson.io.RandomAccessOutputStream
Writes a single byte to the stream.
writeBytes(byte[]) - Method in class com.allanbank.mongodb.bson.io.BsonOutputStream
Writes a sequence of bytes to the under lying stream.
writeBytes(byte[], int, int) - Method in class com.allanbank.mongodb.bson.io.BsonOutputStream
Writes a sequence of bytes to the under lying stream.
writeBytes(byte[]) - Method in class com.allanbank.mongodb.bson.io.BufferingBsonOutputStream
Writes a sequence of bytes to the output buffer.
writeBytes(byte[]) - Method in class com.allanbank.mongodb.bson.io.RandomAccessOutputStream
Writes a sequence of bytes to the under lying stream.
writeCString(String...) - Method in class com.allanbank.mongodb.bson.io.BsonOutputStream
Writes a "Cstring" to the stream.
writeCString(String...) - Method in class com.allanbank.mongodb.bson.io.BufferingBsonOutputStream
Writes a "Cstring" to the output buffer.
writeCString(String...) - Method in class com.allanbank.mongodb.bson.io.RandomAccessOutputStream
Writes a "Cstring" to the stream.
writeDocument(Document) - Method in class com.allanbank.mongodb.bson.io.BsonOutputStream
Writes a BSON Document to the stream.
writeDocument(Document) - Method in class com.allanbank.mongodb.bson.io.BufferingBsonOutputStream
Writes the Document in BSON format to the underlying stream.
writeHeader(BsonOutputStream, int, int, Operation, int) - Method in class com.allanbank.mongodb.client.message.AbstractMessage
Writes the MsgHeader to the stream.
writeHeader(BufferingBsonOutputStream, int, int, Operation) - Method in class com.allanbank.mongodb.client.message.AbstractMessage
Writes the MsgHeader to the stream.
writeInt(int) - Method in class com.allanbank.mongodb.bson.io.BsonOutputStream
Write the integer value in little-endian byte order.
writeInt(int) - Method in class com.allanbank.mongodb.bson.io.BufferingBsonOutputStream
Writes the integer value in little-endian byte order to the output buffer.
writeInt(int) - Method in class com.allanbank.mongodb.bson.io.RandomAccessOutputStream
Write the integer value in little-endian byte order.
writeIntAt(long, int) - Method in class com.allanbank.mongodb.bson.io.BufferingBsonOutputStream
Similar to BufferingBsonOutputStream.writeInt(int) but allows a portion of the already written buffer to be re-written.
writeIntAt(long, int) - Method in class com.allanbank.mongodb.bson.io.RandomAccessOutputStream
Write the integer value in little-endian byte order at the specified position in the stream.
writeLong(long) - Method in class com.allanbank.mongodb.bson.io.BsonOutputStream
Write the long value in little-endian byte order.
writeLong(long) - Method in class com.allanbank.mongodb.bson.io.BufferingBsonOutputStream
Write the long value in little-endian byte order to the output buffer.
writeLong(long) - Method in class com.allanbank.mongodb.bson.io.RandomAccessOutputStream
Write the long value in little-endian byte order.
writeName(String) - Method in class com.allanbank.mongodb.bson.element.JsonSerializationVisitor
Writes the name if JsonSerializationVisitor.mySuppressNames is false.
writeObjectId(ObjectId) - Method in class com.allanbank.mongodb.bson.element.JsonSerializationVisitor
Writes the ObjectId.
WriteOperation - Interface in com.allanbank.mongodb.builder.write
WriteOperation provides a common interface for all types of writes: inserts, updates, and deletes.
WriteOperationType - Enum in com.allanbank.mongodb.builder.write
WriteOperationType provides an enumeration of the types of writes.
writeQuotedString(String) - Method in class com.allanbank.mongodb.bson.element.JsonSerializationVisitor
Writes the string as a quoted string.
writes(List<WriteOperation>) - Method in class com.allanbank.mongodb.builder.BatchedWrite.Builder
Sets the writes to submit to the server.
writeString(String) - Method in class com.allanbank.mongodb.bson.io.BsonOutputStream
Writes a "string" to the stream.
writeString(String) - Method in class com.allanbank.mongodb.bson.io.BufferingBsonOutputStream
Writes a "string" to the output buffer.
writeString(String) - Method in class com.allanbank.mongodb.bson.io.RandomAccessOutputStream
Writes a "string" to the stream.
writeTo(OutputStream) - Method in class com.allanbank.mongodb.bson.io.RandomAccessOutputStream
Writes the complete contents of this byte array output stream to the specified output stream argument, as if by calling the output stream's write method using out.write(buf, 0, count).
writeUtf8(String) - Method in class com.allanbank.mongodb.bson.io.BsonOutputStream
Writes the string as a UTF-8 string.

X

x509() - 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 x.509 client certificates exchanged via the TLS connection.
x509(X509Certificate) - Method in class com.allanbank.mongodb.Credential.Builder
Sets the user name to that of the x.509 certificate subject name and then sets the value of the authentication type or mode that the credential should be used with to x.509 client certificates exchanged via the TLS connection.
X509 - Static variable in class com.allanbank.mongodb.Credential
Constant for authentication using x.509 client certificates passed at connection establishment.

Y

YEAR - Static variable in class com.allanbank.mongodb.builder.expression.Expressions
The "$year" operator token
year(Expression) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
Returns a UnaryExpression "$year" expression.
YIELD_TIME_NS - Static variable in class com.allanbank.mongodb.client.message.PendingMessageQueue
Amount of time to spin/yield before waiting.
A B C D E F G H I J K L M N O P Q R S T U V W X Y 

Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.