- 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
-
- AbstractLog - Class in com.allanbank.mongodb.util.log
-
- 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) - Constructor for class com.allanbank.mongodb.client.connection.socket.AbstractSocketConnection
-
Creates a new AbstractSocketConnection.
- 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
-
- accept(Visitor) - Method in class com.allanbank.mongodb.bson.element.BinaryElement
-
- accept(Visitor) - Method in class com.allanbank.mongodb.bson.element.BooleanElement
-
- 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
-
- accept(Visitor) - Method in class com.allanbank.mongodb.bson.element.IntegerElement
-
- accept(Visitor) - Method in class com.allanbank.mongodb.bson.element.JavaScriptElement
-
- accept(Visitor) - Method in class com.allanbank.mongodb.bson.element.JavaScriptWithScopeElement
-
- accept(Visitor) - Method in class com.allanbank.mongodb.bson.element.LongElement
-
- accept(Visitor) - Method in class com.allanbank.mongodb.bson.element.MaxKeyElement
-
- accept(Visitor) - Method in class com.allanbank.mongodb.bson.element.MinKeyElement
-
- accept(Visitor) - Method in class com.allanbank.mongodb.bson.element.MongoTimestampElement
-
- accept(Visitor) - Method in class com.allanbank.mongodb.bson.element.NullElement
-
- 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
-
- accept(Visitor) - Method in class com.allanbank.mongodb.bson.element.SymbolElement
-
- accept(Visitor) - Method in class com.allanbank.mongodb.bson.element.TimestampElement
-
- 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
-
- 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
-
- 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
-
- 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.
- addAfter(StringDecoder.Node) - Method in class com.allanbank.mongodb.bson.io.StringDecoder.Node
-
Add a node after the provided node.
- 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(StringDecoder.Node) - Method in class com.allanbank.mongodb.bson.io.StringDecoder.Node
-
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.
- 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
-
- addPropertyChangeListener(PropertyChangeListener) - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyConnection
-
- addPropertyChangeListener(PropertyChangeListener) - Method in class com.allanbank.mongodb.client.connection.proxy.AbstractProxyMultipleConnection
-
- addPropertyChangeListener(PropertyChangeListener) - Method in class com.allanbank.mongodb.client.connection.socket.AbstractSocketConnection
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- ArrayBuilderImpl(AbstractBuilder) - Constructor for class com.allanbank.mongodb.bson.builder.impl.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
-
- ArrayElement(String, List<Element>) - Constructor for class com.allanbank.mongodb.bson.element.ArrayElement
-
- ArrayElement(String, List<Element>, long) - Constructor for class com.allanbank.mongodb.bson.element.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
-
- 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
-
- asSerializedMongo() - Method in interface com.allanbank.mongodb.Mongo
-
- 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
-
- assertNotNull(Object, String) - Static method in class com.allanbank.mongodb.util.Assertions
-
- assertThat(boolean, String) - Static method in class com.allanbank.mongodb.util.Assertions
-
- asString(Element) - Method in class com.allanbank.mongodb.client.callback.AbstractValidatingReplyCallback
-
- 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(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.
- 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.StringDecoder.Node
-
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: 58
- 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
-
- CLASS_NAME - Static variable in class com.allanbank.mongodb.util.log.AbstractLog
-
The name of this class.
- 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
-
- close(Closeable, Level, String) - Static method in class com.allanbank.mongodb.util.IOUtils
-
- CLOSEST - Static variable in class com.allanbank.mongodb.ReadPreference
-
- closest(DocumentAssignable...) - Static method in class com.allanbank.mongodb.ReadPreference
-
- 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
-
- 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
-
- com.allanbank.mongodb.bson.builder - package com.allanbank.mongodb.bson.builder
-
Provides the interfaces for builders to aid in constructing BSON
Document
s.
- com.allanbank.mongodb.bson.builder.impl - package com.allanbank.mongodb.bson.builder.impl
-
Provides the implementations for builders to aid in constructing BSON
Document
s.
- com.allanbank.mongodb.bson.element - package com.allanbank.mongodb.bson.element
-
- 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
Document
s.
- 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
Callback
s, 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
-
- 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
-
- 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 - 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.
- computeStringSize(String) - Method in class com.allanbank.mongodb.bson.io.SizeOfVisitor
-
Returns the visitor's output buffer.
- CONCATENATE - Static variable in class com.allanbank.mongodb.builder.expression.Expressions
-
The "$concat" operator token
- concatenate(Expression...) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
-
- cond(Expression, Expression, Expression) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
-
- CONDITION - Static variable in class com.allanbank.mongodb.builder.expression.Expressions
-
The "$cond" operator token
- ConditionBuilder - Class in com.allanbank.mongodb.builder
-
ConditionBuilder provides tracking for the condition of a single field within
a query.
- ConditionBuilder(String, QueryBuilder) - Constructor for class com.allanbank.mongodb.builder.ConditionBuilder
-
Creates a new ConditionBuilder.
- CONFIG_NAME - Static variable in interface com.allanbank.mongodb.MongoDatabase
-
The name of the configuration database for a sharded configuration.
- connect() - Method in class com.allanbank.mongodb.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
-
- 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
-
- create(MongoDbUri) - Static method in class com.allanbank.mongodb.MongoFactory
-
- create(String) - Static method in class com.allanbank.mongodb.MongoFactory
-
- 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
-
- 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
-
- 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
-
- 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(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
-
- dayOfWeek(Expression) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
-
- dayOfYear(Expression) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
-
- 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.
- DBPointerElement(String, String, String, ObjectId, long) - Constructor for class com.allanbank.mongodb.bson.element.DBPointerElement
-
Deprecated.
- 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.StringDecoder
-
The default maximum number of entries to keep in the trie cache.
- DEFAULT_MAX_CACHE_ENTRIES - Static variable in class com.allanbank.mongodb.bson.io.StringEncoder
-
The default maximum number of strings to keep in the trie cache.
- DEFAULT_MAX_CACHE_LENGTH - Static variable in class com.allanbank.mongodb.bson.io.StringDecoder
-
The default maximum length byte array to cache.
- DEFAULT_MAX_CACHE_LENGTH - Static variable in class com.allanbank.mongodb.bson.io.StringEncoder
-
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
-
- 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
-
- 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
-
- DocumentElement(String, Document) - Constructor for class com.allanbank.mongodb.bson.element.DocumentElement
-
- DocumentElement(String, DocumentElement) - Constructor for class com.allanbank.mongodb.bson.element.DocumentElement
-
- DocumentElement(String, Element...) - Constructor for class com.allanbank.mongodb.bson.element.DocumentElement
-
- DocumentElement(String, List<Element>) - Constructor for class com.allanbank.mongodb.bson.element.DocumentElement
-
- DocumentElement(String, List<Element>, boolean) - Constructor for class com.allanbank.mongodb.bson.element.DocumentElement
-
- DocumentElement(String, List<Element>, boolean, long) - Constructor for class com.allanbank.mongodb.bson.element.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
-
- doGetLog(Class<?>) - Method in class com.allanbank.mongodb.util.log.LogFactory
-
- doGetLog(Class<?>) - Method in class com.allanbank.mongodb.util.log.Slf4jLogFactory
-
- 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
-
- DoubleElement(String, double, long) - Constructor for class com.allanbank.mongodb.bson.element.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
-
- 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(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
-
- 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
-
- 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
-
- 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.
- 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
-
- 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
-
- 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.
- 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.StringDecoder.Node
-
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
-
- getDefaultDurability() - Method in class com.allanbank.mongodb.client.ClientImpl
-
- getDefaultDurability() - Method in class com.allanbank.mongodb.client.SerialClientImpl
-
- 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.
- getElements() - Method in class com.allanbank.mongodb.bson.io.SizeOfVisitor.CachedSizeNode
-
Returns the elements value.
- getEntries() - Method in class com.allanbank.mongodb.bson.element.ArrayElement
-
Returns the entries in the array.
- getError() - Method in class com.allanbank.mongodb.bson.io.BsonOutputStream
-
Returns the I/O exception encountered by the visitor.
- getErrorNumber() - Method in exception com.allanbank.mongodb.error.ReplyException
-
Returns the value of the "errNo" field in the reply document or -1.
- 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
-
Returns the maximum number of strings that may have their encoded form
cached.
- getMaxCachedStringEntries() - Method in class com.allanbank.mongodb.bson.io.BsonOutputStream
-
Returns the maximum number of strings that may have their encoded form
cached.
- getMaxCachedStringEntries() - Method in class com.allanbank.mongodb.bson.io.BufferingBsonOutputStream
-
Returns the maximum number of strings that may have their encoded form
cached.
- getMaxCachedStringEntries() - Method in class com.allanbank.mongodb.bson.io.RandomAccessOutputStream
-
Returns the maximum number of strings that may have their encoded form
cached.
- 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
-
Returns the maximum length for a string that the stream is allowed to
cache.
- getMaxCachedStringLength() - Method in class com.allanbank.mongodb.bson.io.BsonOutputStream
-
Returns the maximum length for a string that the stream is allowed to
cache.
- getMaxCachedStringLength() - Method in class com.allanbank.mongodb.bson.io.BufferingBsonOutputStream
-
Returns the maximum length for a string that the stream is allowed to
cache.
- getMaxCachedStringLength() - Method in class com.allanbank.mongodb.bson.io.RandomAccessOutputStream
-
Returns the maximum length for a string that the stream is allowed to
cache.
- 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.StringDecoder
-
Returns the maximum node count.
- getMaxCacheEntries() - Method in class com.allanbank.mongodb.bson.io.StringEncoder
-
Returns the maximum number of strings that can be cached.
- getMaxCacheLength() - Method in class com.allanbank.mongodb.bson.io.StringDecoder
-
Returns the maximum depth of the nodes in the trie.
- getMaxCacheLength() - Method in class com.allanbank.mongodb.bson.io.StringEncoder
-
Returns the maximum length for a string that the encoder is allowed 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.
- getNext() - Method in class com.allanbank.mongodb.bson.io.SizeOfVisitor.CachedSizeNode
-
Returns the next value.
- getNext() - Method in class com.allanbank.mongodb.bson.io.StringDecoder.Node
-
Returns the next node in the recent list.
- 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
-
- getOutputName() - Method in class com.allanbank.mongodb.builder.MapReduce
-
- 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.
- getPrevious() - Method in class com.allanbank.mongodb.bson.io.StringDecoder.Node
-
Returns the previous node in the recent list.
- 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
-
- 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
-
- 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
-
- getReadPreference() - Method in class com.allanbank.mongodb.builder.MapReduce
-
- 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.CachedSizeNode
-
Returns the size value.
- getSize() - Method in class com.allanbank.mongodb.bson.io.SizeOfVisitor
-
Return the current Size of the written document.
- getSize() - Method in exception com.allanbank.mongodb.error.DocumentToLargeException
-
Returns the size of the document that violated the maximum size.
- 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
-
- 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.StringDecoder.Node
-
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
-
- gte(Expression, Expression) - Static method in class com.allanbank.mongodb.builder.expression.Expressions
-
- 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
-
- 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
-
- 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
-
- ImmutableDocument(DocumentAssignable, long) - Constructor for class com.allanbank.mongodb.bson.impl.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
-
- includeWithoutId(String...) - Static method in class com.allanbank.mongodb.builder.AggregationProjectFields
-
- 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
-
- 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
-
- 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
-
- 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.
- 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
-
- IntegerElement(String, int, long) - Constructor for class com.allanbank.mongodb.bson.element.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
-
- 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
-
- isUsingSoKeepalive() - Method in class com.allanbank.mongodb.MongoClientConfiguration
-
- 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.