跳过导航链接
A B C D E F G H I J K L M N O P Q R S T U V W _ 

A

abort() - 类 中的方法com.mongodb.client.gridfs.GridFSUploadStream
Aborts the upload and deletes any data.
AbstractBsonReader - org.bson中的类
Abstract base class for BsonReader implementations.
AbstractBsonReader() - 类 的构造器org.bson.AbstractBsonReader
Initializes a new instance of the BsonReader class.
AbstractBsonReader.Context - org.bson中的类
The context for the reader.
AbstractBsonReader.Mark - org.bson中的类
 
AbstractBsonReader.State - org.bson中的枚举
The state of a reader.
AbstractBsonWriter - org.bson中的类
Represents a BSON writer for some external format (see subclasses).
AbstractBsonWriter(BsonWriterSettings) - 类 的构造器org.bson.AbstractBsonWriter
Initializes a new instance of the BsonWriter class.
AbstractBsonWriter(BsonWriterSettings, FieldNameValidator) - 类 的构造器org.bson.AbstractBsonWriter
Initializes a new instance of the BsonWriter class.
AbstractBsonWriter.Context - org.bson中的类
The context for the writer.
AbstractBsonWriter.Mark - org.bson中的类
Capture the current state of this writer - its AbstractBsonWriter.Context, AbstractBsonWriter.State, field name and depth.
AbstractBsonWriter.State - org.bson中的枚举
The state of a writer.
Accumulators - com.mongodb.client.model中的类
Builders for accumulators used in the group pipeline stage of an aggregation pipeline.
acknowledged(WriteRequest.Type, int, List<BulkWriteUpsert>) - 类 中的静态方法com.mongodb.bulk.BulkWriteResult
Create an acknowledged BulkWriteResult
acknowledged(WriteRequest.Type, int, Integer, List<BulkWriteUpsert>) - 类 中的静态方法com.mongodb.bulk.BulkWriteResult
Create an acknowledged BulkWriteResult
acknowledged(int, int, int, Integer, List<BulkWriteUpsert>) - 类 中的静态方法com.mongodb.bulk.BulkWriteResult
Create an acknowledged BulkWriteResult
acknowledged(long) - 类 中的静态方法com.mongodb.client.result.DeleteResult
Create an acknowledged DeleteResult
acknowledged(long, Long, BsonValue) - 类 中的静态方法com.mongodb.client.result.UpdateResult
Create an acknowledged UpdateResult
ACKNOWLEDGED - 类 中的静态变量com.mongodb.WriteConcern
Write operations that use this write concern will wait for acknowledgement, using the default write concern configured on the server.
acknowledged(int, boolean, BsonValue) - 类 中的静态方法com.mongodb.WriteConcernResult
Create an acknowledged WriteConcernResult
action(MapReduceAction) - 接口 中的方法com.mongodb.client.MapReduceIterable
Specify the MapReduceAction to be used when writing to a collection.
action(String) - 类 中的方法com.mongodb.operation.MapReduceToCollectionOperation
Sets the output action one of: "replace", "merge", "reduce"
add(String, Object) - 类 中的方法com.mongodb.BasicDBObjectBuilder
Same as append
add(ConnectionListener) - 类 中的方法com.mongodb.event.ConnectionEventMulticaster
Adds the given connection listener to the list of listeners to invoke on connection events.
add(ConnectionPoolListener) - 类 中的方法com.mongodb.event.ConnectionPoolEventMulticaster
Adds the given connection pool listener to the list of listeners to invoke on connection pool events.
add(BsonValue) - 类 中的方法org.bson.BsonArray
 
add(int, BsonValue) - 类 中的方法org.bson.BsonArray
 
add(Object) - 类 中的方法org.bson.LazyBSONList
 
add(int, Object) - 类 中的方法org.bson.LazyBSONList
 
addAll(Collection<? extends BsonValue>) - 类 中的方法org.bson.BsonArray
 
addAll(int, Collection<? extends BsonValue>) - 类 中的方法org.bson.BsonArray
 
addAll(Collection) - 类 中的方法org.bson.LazyBSONList
 
addAll(int, Collection) - 类 中的方法org.bson.LazyBSONList
 
addClusterListener(ClusterListener) - 类 中的方法com.mongodb.connection.ClusterSettings.Builder
Adds a cluster listener.
addClusterListener(ClusterListener) - 类 中的方法com.mongodb.MongoClientOptions.Builder
Adds the given cluster listener.
addCommandListener(CommandListener) - 类 中的方法com.mongodb.MongoClientOptions.Builder
Adds the given command listener.
addDecodingHook(Class<?>, Transformer) - 类 中的静态方法org.bson.BSON
Registers a Transformer to use when decoding a specific class from BSON.
addEachToSet(String, List<TItem>) - 类 中的静态方法com.mongodb.client.model.Updates
Creates an update that adds each of the given values to the array value of the field with the given name, unless the value is already present, in which case it does nothing
addEncodingHook(Class<?>, Transformer) - 类 中的静态方法org.bson.BSON
Registers a Transformer to use to encode a specific class into BSON.
addErrorResult(MongoBulkWriteException, IndexMap) - 类 中的方法com.mongodb.connection.BulkWriteBatchCombiner
Add an error result
addErrorResult(List<BulkWriteError>, WriteConcernError, IndexMap) - 类 中的方法com.mongodb.connection.BulkWriteBatchCombiner
Add a list of error results and a write concern error
addOption(int) - 类 中的方法com.mongodb.DB
Adds the given flag to the default query options.
addOption(int) - 类 中的方法com.mongodb.DBCollection
Adds the given flag to the default query options.
addOption(int) - 类 中的方法com.mongodb.DBCursor
Adds a query option.
addOption(int) - 类 中的方法com.mongodb.Mongo
已过时。
Add options instead on instances of DBCursor
address(ServerAddress) - 类 中的方法com.mongodb.connection.ServerDescription.Builder
Sets the address of the server.
addResult(BulkWriteResult, IndexMap) - 类 中的方法com.mongodb.connection.BulkWriteBatchCombiner
Add a result
addServerListener(ServerListener) - 类 中的方法com.mongodb.connection.ServerSettings.Builder
Add a server listener.
addServerListener(ServerListener) - 类 中的方法com.mongodb.MongoClientOptions.Builder
Adds the given server listener.
addServerMonitorListener(ServerMonitorListener) - 类 中的方法com.mongodb.connection.ServerSettings.Builder
Adds a server monitor listener.
addServerMonitorListener(ServerMonitorListener) - 类 中的方法com.mongodb.MongoClientOptions.Builder
Adds the given server monitro listener.
addSpecial(String, Object) - 类 中的方法com.mongodb.DBCursor
Adds a special operator like $maxScan or $returnKey.
addToSet(String, TExpression) - 类 中的静态方法com.mongodb.client.model.Accumulators
Gets a field name for a $group operation representing all unique values that results from applying the given expression to each document in a group of documents that share the same group by key.
addToSet(String, TItem) - 类 中的静态方法com.mongodb.client.model.Updates
Creates an update that adds the given value to the array value of the field with the given name, unless the value is already present, in which case it does nothing
addUser(String, char[]) - 类 中的方法com.mongodb.DB
已过时。
Use DB.command to call either the createUser or updateUser command
addUser(String, char[], boolean) - 类 中的方法com.mongodb.DB
已过时。
Use DB.command to call either the createUser or updateUser command
addWriteConcernErrorResult(WriteConcernError) - 类 中的方法com.mongodb.connection.BulkWriteBatchCombiner
Add a write concern error result
addWriteErrorResult(BulkWriteError, IndexMap) - 类 中的方法com.mongodb.connection.BulkWriteBatchCombiner
Add a write error result
afterReturn(String) - 类 中的静态方法com.mongodb.connection.MongoQueryAnalyzer
 
aggregate(List<? extends Bson>) - 接口 中的方法com.mongodb.client.MongoCollection
Aggregates documents according to the specified aggregation pipeline.
aggregate(List<? extends Bson>, Class<TResult>) - 接口 中的方法com.mongodb.client.MongoCollection
Aggregates documents according to the specified aggregation pipeline.
aggregate(DBObject, DBObject...) - 类 中的方法com.mongodb.DBCollection
已过时。
aggregate(List<? extends DBObject>) - 类 中的方法com.mongodb.DBCollection
Method implements aggregation framework.
aggregate(List<? extends DBObject>, ReadPreference) - 类 中的方法com.mongodb.DBCollection
Method implements aggregation framework.
aggregate(List<? extends DBObject>, AggregationOptions) - 类 中的方法com.mongodb.DBCollection
Method implements aggregation framework.
aggregate(List<? extends DBObject>, AggregationOptions, ReadPreference) - 类 中的方法com.mongodb.DBCollection
Method implements aggregation framework.
AggregateIterable<TResult> - com.mongodb.client中的接口
Iterable for aggregate.
AggregateOperation<T> - com.mongodb.operation中的类
An operation that executes an aggregation query.
AggregateOperation(MongoNamespace, List<BsonDocument>, Decoder<T>) - 类 的构造器com.mongodb.operation.AggregateOperation
Construct a new instance.
Aggregates - com.mongodb.client.model中的类
Builders for aggregation pipeline stages.
AggregateToCollectionOperation - com.mongodb.operation中的类
An operation that executes an aggregation that writes its results to a collection (which is what makes this a write operation rather than a read operation).
AggregateToCollectionOperation(MongoNamespace, List<BsonDocument>) - 类 的构造器com.mongodb.operation.AggregateToCollectionOperation
Construct a new instance.
AggregationOptions - com.mongodb中的类
The options to apply to an aggregate operation.
AggregationOptions.Builder - com.mongodb中的类
Builder for creating AggregationOptions.
AggregationOptions.OutputMode - com.mongodb中的枚举
Enumeration to define where the results of the aggregation will be output.
AggregationOutput - com.mongodb中的类
Container for the result of aggregation operation.
all(String, TItem...) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that matches all documents where the value of a field is an array that contains all the specified values.
all(String, Iterable<TItem>) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that matches all documents where the value of a field is an array that contains all the specified values.
all(Object) - 类 中的方法com.mongodb.QueryBuilder
Equivalent of the $all operand
ALL - 类 中的静态变量com.mongodb.QueryOperators
 
allocator(ByteBufAllocator) - 类 中的方法com.mongodb.connection.netty.NettyStreamFactoryFactory.Builder
Sets the allocator.
allowDiskUse(Boolean) - 类 中的方法com.mongodb.AggregationOptions.Builder
Set whether to enable external sort capabilities.
allowDiskUse(Boolean) - 接口 中的方法com.mongodb.client.AggregateIterable
Enables writing to temporary files.
allowDiskUse(Boolean) - 类 中的方法com.mongodb.operation.AggregateOperation
Enables writing to temporary files.
allowDiskUse(Boolean) - 类 中的方法com.mongodb.operation.AggregateToCollectionOperation
Enables writing to temporary files.
alwaysUseMBeans(boolean) - 类 中的方法com.mongodb.MongoClientOptions.Builder
Sets whether JMX beans registered by the driver should always be MBeans, regardless of whether the VM is Java 6 or greater.
alwaysUseMBeans - 类 中的变量com.mongodb.MongoOptions
已过时。
Sets whether JMX beans registered by the driver should always be MBeans, regardless of whether the VM is Java 6 or greater.
and(Iterable<Bson>) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that performs a logical AND of the provided list of filters.
and(Bson...) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that performs a logical AND of the provided list of filters.
and(String) - 类 中的方法com.mongodb.QueryBuilder
Equivalent to QueryBuilder.put(key).
and(DBObject...) - 类 中的方法com.mongodb.QueryBuilder
Equivalent to an $and operand
AND - 类 中的静态变量com.mongodb.QueryOperators
 
append(String, Object) - 类 中的方法com.mongodb.BasicDBObject
Add a key/value pair to this object
append(String, Object) - 类 中的方法com.mongodb.BasicDBObjectBuilder
Appends the key/value to the active object
append(String, Object) - 类 中的方法org.bson.BasicBSONObject
Add a key/value pair to this object
append(String, BsonValue) - 类 中的方法org.bson.BsonDocument
Put the given key and value into this document, and return the document.
append(String, Object) - 类 中的方法org.bson.Document
Put the given key/value pair into this Document and return this.
append(String, BsonValue) - 类 中的方法org.bson.RawBsonDocument
 
apply(T) - 接口 中的方法com.mongodb.Block
Apply some logic to the value.
apply(T) - 接口 中的方法com.mongodb.Function
Yield an appropriate result object for the input object.
applyConnectionString(ConnectionString) - 类 中的方法com.mongodb.connection.ClusterSettings.Builder
Take the settings from the given ConnectionString and add them to the builder
applyConnectionString(ConnectionString) - 类 中的方法com.mongodb.connection.ConnectionPoolSettings.Builder
Takes connection pool settings from the given connection string and applies them to this builder.
applyConnectionString(ConnectionString) - 类 中的方法com.mongodb.connection.ServerSettings.Builder
Take the settings from the given ConnectionString and add them to the builder
applyConnectionString(ConnectionString) - 类 中的方法com.mongodb.connection.SocketSettings.Builder
Apply any socket settings specified in the connection string to this builder.
applyConnectionString(ConnectionString) - 类 中的方法com.mongodb.connection.SslSettings.Builder
Take the settings from the given ConnectionString and set them in this builder.
applyDecodingHooks(Object) - 类 中的静态方法org.bson.BSON
Transforms the objectToDecode using all transformers registered for the class of this object.
applyEncodingHooks(Object) - 类 中的静态方法org.bson.BSON
Transforms the objectToEncode using all transformers registered for the class of this object.
arbiters(Set<String>) - 类 中的方法com.mongodb.connection.ServerDescription.Builder
Sets the arbiters in the replica set
ARRAY - 类 中的静态变量org.bson.BSON
 
array() - 接口 中的方法org.bson.ByteBuf
Returns the byte array that backs this buffer (optional operation).
array() - 类 中的方法org.bson.ByteBufNIO
 
arrayDone() - 类 中的方法org.bson.BasicBSONCallback
 
arrayDone() - 接口 中的方法org.bson.BSONCallback
Called the end of the array, and returns the completed array.
arrayDone() - 类 中的方法org.bson.EmptyBSONCallback
 
arrayStart(String) - 类 中的方法com.mongodb.util.JSONCallback
 
arrayStart() - 类 中的方法org.bson.BasicBSONCallback
 
arrayStart(String) - 类 中的方法org.bson.BasicBSONCallback
 
arrayStart() - 接口 中的方法org.bson.BSONCallback
Signals the start of a BSON array.
arrayStart(String) - 接口 中的方法org.bson.BSONCallback
Signals the start of a BSON array, with its field name.
arrayStart() - 类 中的方法org.bson.EmptyBSONCallback
 
arrayStart(String) - 类 中的方法org.bson.EmptyBSONCallback
 
asArray() - 类 中的方法org.bson.BsonValue
Gets this value as a BsonArray if it is one, otherwise throws exception
asBinary() - 类 中的方法org.bson.BsonValue
Gets this value as a BsonBinary if it is one, otherwise throws exception
asBoolean() - 类 中的方法org.bson.BsonValue
Gets this value as a BsonBoolean if it is one, otherwise throws exception
asBsonDocument(Object, CodecRegistry) - 类 中的静态方法org.bson.BsonDocumentWrapper
A helper to convert an document of type Object to a BsonDocument If not already a BsonDocument it looks up the documents' class in the codecRegistry and wraps it into a BsonDocumentWrapper
ascending(String...) - 类 中的静态方法com.mongodb.client.model.Indexes
Create an index key for an ascending index on the given fields.
ascending(List<String>) - 类 中的静态方法com.mongodb.client.model.Indexes
Create an index key for an ascending index on the given fields.
ascending(String...) - 类 中的静态方法com.mongodb.client.model.Sorts
Create a sort specification for an ascending sort on the given fields.
ascending(List<String>) - 类 中的静态方法com.mongodb.client.model.Sorts
Create a sort specification for an ascending sort on the given fields.
asDateTime() - 类 中的方法org.bson.BsonValue
Gets this value as a BsonDateTime if it is one, otherwise throws exception
asDBPointer() - 类 中的方法org.bson.BsonValue
Gets this value as a BsonDbPointer if it is one, otherwise throws exception
asDocument() - 类 中的方法com.mongodb.ReadConcern
Gets this read concern as a document.
asDocument() - 类 中的方法com.mongodb.WriteConcern
Gets this write concern as a document.
asDocument() - 类 中的方法org.bson.BsonValue
Gets this value as a BsonDocument if it is one, otherwise throws exception
asDouble() - 类 中的方法org.bson.BsonValue
Gets this value as a BsonDouble if it is one, otherwise throws exception
asExplainableOperation(ExplainVerbosity) - 类 中的方法com.mongodb.operation.AggregateOperation
Gets an operation whose execution explains this operation.
asExplainableOperation(ExplainVerbosity) - 类 中的方法com.mongodb.operation.CountOperation
Gets an operation whose execution explains this operation.
asExplainableOperation(ExplainVerbosity) - 类 中的方法com.mongodb.operation.FindOperation
Gets an operation whose execution explains this operation.
asExplainableOperation(ExplainVerbosity) - 类 中的方法com.mongodb.operation.MapReduceToCollectionOperation
Gets an operation whose execution explains this operation.
asExplainableOperation(ExplainVerbosity) - 类 中的方法com.mongodb.operation.MapReduceWithInlineResultsOperation
Gets an operation whose execution explains this operation.
asExplainableOperationAsync(ExplainVerbosity) - 类 中的方法com.mongodb.operation.AggregateOperation
Gets an operation whose execution explains this operation.
asExplainableOperationAsync(ExplainVerbosity) - 类 中的方法com.mongodb.operation.CountOperation
Gets an operation whose execution explains this operation.
asExplainableOperationAsync(ExplainVerbosity) - 类 中的方法com.mongodb.operation.FindOperation
Gets an operation whose execution explains this operation.
asExplainableOperationAsync(ExplainVerbosity) - 类 中的方法com.mongodb.operation.MapReduceToCollectionOperation
Gets an operation whose execution explains this operation.
asExplainableOperationAsync(ExplainVerbosity) - 类 中的方法com.mongodb.operation.MapReduceWithInlineResultsOperation
Gets an operation whose execution explains this operation.
asInt32() - 类 中的方法org.bson.BsonValue
Gets this value as a BsonInt32 if it is one, otherwise throws exception
asInt64() - 类 中的方法org.bson.BsonValue
Gets this value as a BsonInt64 if it is one, otherwise throws exception
asJavaScript() - 类 中的方法org.bson.BsonValue
Gets this value as a BsonJavaScript if it is one, otherwise throws exception
asJavaScriptWithScope() - 类 中的方法org.bson.BsonValue
Gets this value as a BsonJavaScriptWithScope if it is one, otherwise throws exception
asNIO() - 接口 中的方法org.bson.ByteBuf
Gets the underlying NIO ByteBuffer.
asNIO() - 类 中的方法org.bson.ByteBufNIO
 
asNumber() - 类 中的方法org.bson.BsonValue
Gets this value as a BsonNumber if it is one, otherwise throws exception
asObjectId() - 类 中的方法org.bson.BsonValue
Gets this value as an BsonObjectId if it is one, otherwise throws exception
asReadOnly() - 接口 中的方法org.bson.ByteBuf
Creates a new, read-only byte buffer that shares this buffer's content.
asReadOnly() - 类 中的方法org.bson.ByteBufNIO
 
asRegularExpression() - 类 中的方法org.bson.BsonValue
Gets this value as a BsonRegularExpression if it is one, otherwise throws exception
Assertions - com.mongodb.assertions中的类
Design by contract assertions.
Assertions - org.bson.assertions中的类
Design by contract assertions.
asString() - 类 中的方法org.bson.BsonValue
Gets this value as a BsonString if it is one, otherwise throws exception
asSymbol() - 类 中的方法org.bson.BsonValue
Gets this value as a BsonSymbol if it is one, otherwise throws exception
asTimestamp() - 类 中的方法org.bson.BsonValue
Gets this value as a BsonTimestamp if it is one, otherwise throws exception
AsyncBatchCursor<T> - com.mongodb.async中的接口
MongoDB returns query results as batches, and this interface provides an asynchronous iterator over those batches.
AsyncClusterBinding - com.mongodb.binding中的类
A simple ReadWriteBinding implementation that supplies write connection sources bound to a possibly different primary each time, and a read connection source bound to a possible different server each time.
AsyncClusterBinding(Cluster, ReadPreference) - 类 的构造器com.mongodb.binding.AsyncClusterBinding
Creates an instance.
AsyncCompletionHandler<T> - com.mongodb.connection中的接口
Completion handler for asynchronous I/O.
AsyncConnection - com.mongodb.connection中的接口
An asynchronous connection to a MongoDB server with non-blocking operations.
AsyncConnectionSource - com.mongodb.binding中的接口
A source of connections to a single MongoDB server.
AsynchronousSocketChannelStreamFactory - com.mongodb.connection中的类
Factory to create a Stream that's an AsynchronousSocketChannelStream.
AsynchronousSocketChannelStreamFactory(SocketSettings, SslSettings) - 类 的构造器com.mongodb.connection.AsynchronousSocketChannelStreamFactory
Create a new factory.
AsynchronousSocketChannelStreamFactoryFactory - com.mongodb.connection中的类
A StreamFactoryFactory implementation for AsynchronousSocketChannel-based streams.
AsynchronousSocketChannelStreamFactoryFactory() - 类 的构造器com.mongodb.connection.AsynchronousSocketChannelStreamFactoryFactory
 
AsyncOperationExecutor - com.mongodb.operation中的接口
An interface describing the execution of a read or a write operation.
AsyncReadBinding - com.mongodb.binding中的接口
An asynchronous factory of connection sources to servers that can be read from and that satisfy the specified read preference.
AsyncReadOperation<T> - com.mongodb.operation中的接口
An operation which asynchronously reads from a MongoDB server.
AsyncReadWriteBinding - com.mongodb.binding中的接口
An asynchronous factory of connection sources to servers that can be read from or written to.
AsyncSingleConnectionReadBinding - com.mongodb.binding中的类
An asynchronous read binding that is bound to a single connection.
AsyncSingleConnectionReadBinding(ReadPreference, ServerDescription, AsyncConnection) - 类 的构造器com.mongodb.binding.AsyncSingleConnectionReadBinding
Construct an instance.
AsyncWriteBinding - com.mongodb.binding中的接口
An asynchronous factory of connection sources to servers that can be written to, e.g, a standalone, a mongos, or a replica set primary.
AsyncWriteOperation<T> - com.mongodb.operation中的接口
An operation which asynchronously writes to a MongoDB server.
AtomicBooleanCodec - org.bson.codecs中的类
Encodes and decodes AtomicBoolean objects.
AtomicBooleanCodec() - 类 的构造器org.bson.codecs.AtomicBooleanCodec
 
AtomicIntegerCodec - org.bson.codecs中的类
Encodes and decodes AtomicInteger objects.
AtomicIntegerCodec() - 类 的构造器org.bson.codecs.AtomicIntegerCodec
 
AtomicLongCodec - org.bson.codecs中的类
Encodes and decodes AtomicLong objects.
AtomicLongCodec() - 类 的构造器org.bson.codecs.AtomicLongCodec
 
AuthenticationMechanism - com.mongodb中的枚举
An enumeration of the MongodDB-supported authentication mechanisms.
autoIndex(boolean) - 类 中的方法com.mongodb.client.model.CreateCollectionOptions
Gets if auto-index is to be enabled on the collection
autoIndex(boolean) - 类 中的方法com.mongodb.operation.CreateCollectionOperation
Sets if _id field of the collection is indexed.
available() - 类 中的方法com.mongodb.client.gridfs.GridFSDownloadStream
 
avg(String, TExpression) - 类 中的静态方法com.mongodb.client.model.Accumulators
Gets a field name for a $group operation representing the average of the values of the given expression when applied to all members of the group.

B

B_BINARY - 类 中的静态变量org.bson.BSON
 
B_FUNC - 类 中的静态变量org.bson.BSON
 
B_GENERAL - 类 中的静态变量org.bson.BSON
 
B_UUID - 类 中的静态变量org.bson.BSON
 
background(boolean) - 类 中的方法com.mongodb.bulk.IndexRequest
Should the index should be created in the background
background(boolean) - 类 中的方法com.mongodb.client.model.IndexOptions
Should the index should be created in the background
BaseWriteOperation - com.mongodb.operation中的类
Abstract base class for write operations.
BaseWriteOperation(MongoNamespace, boolean, WriteConcern) - 类 的构造器com.mongodb.operation.BaseWriteOperation
Construct an instance
BasicBSONCallback - org.bson中的类
An implementation of BsonCallback that creates an instance of BSONObject.
BasicBSONCallback() - 类 的构造器org.bson.BasicBSONCallback
Creates a new instance.
BasicBSONDecoder - org.bson中的类
Basic implementation of BSONDecoder interface that creates BasicBSONObject instances
BasicBSONDecoder() - 类 的构造器org.bson.BasicBSONDecoder
 
BasicBSONEncoder - org.bson中的类
This is meant to be pooled or cached.
BasicBSONEncoder() - 类 的构造器org.bson.BasicBSONEncoder
 
BasicBSONList - org.bson.types中的类
Utility class to allow array DBObjects to be created.
BasicBSONList() - 类 的构造器org.bson.types.BasicBSONList
 
BasicBSONObject - org.bson中的类
A simple implementation of DBObject.
BasicBSONObject() - 类 的构造器org.bson.BasicBSONObject
Creates an empty object.
BasicBSONObject(int) - 类 的构造器org.bson.BasicBSONObject
Creates an empty object.
BasicBSONObject(String, Object) - 类 的构造器org.bson.BasicBSONObject
Creates a BSONObject initialised with a single key/value pair.
BasicBSONObject(Map) - 类 的构造器org.bson.BasicBSONObject
Creates a DBObject from a map.
BasicDBList - com.mongodb中的类
An implementation of List that reflects the way BSON lists work.
BasicDBList() - 类 的构造器com.mongodb.BasicDBList
 
BasicDBObject - com.mongodb中的类
A basic implementation of BSON object that is MongoDB specific.
BasicDBObject() - 类 的构造器com.mongodb.BasicDBObject
Creates an empty object.
BasicDBObject(int) - 类 的构造器com.mongodb.BasicDBObject
Creates an empty object
BasicDBObject(String, Object) - 类 的构造器com.mongodb.BasicDBObject
Creates an object with the given key/value
BasicDBObject(Map) - 类 的构造器com.mongodb.BasicDBObject
Creates an object from a map.
BasicDBObjectBuilder - com.mongodb中的类
Utility for building complex objects.
BasicDBObjectBuilder() - 类 的构造器com.mongodb.BasicDBObjectBuilder
Creates a builder intialized with an empty document.
BasicOutputBuffer - org.bson.io中的类
A BSON output stream that stores the output in a single, un-pooled byte array.
BasicOutputBuffer() - 类 的构造器org.bson.io.BasicOutputBuffer
Construct an instance with a default initial byte array size.
BasicOutputBuffer(int) - 类 的构造器org.bson.io.BasicOutputBuffer
Construct an instance with the specified initial byte array size.
BatchCursor<T> - com.mongodb.operation中的接口
MongoDB returns query results as batches, and this interface provideds an iterator over those batches.
batchSize(Integer) - 类 中的方法com.mongodb.AggregationOptions.Builder
Sets the size of batches to use when iterating over results.
batchSize(int) - 接口 中的方法com.mongodb.client.AggregateIterable
Sets the number of documents to return per batch.
batchSize(int) - 接口 中的方法com.mongodb.client.DistinctIterable
Sets the number of documents to return per batch.
batchSize(int) - 接口 中的方法com.mongodb.client.FindIterable
Sets the number of documents to return per batch.
batchSize(int) - 类 中的方法com.mongodb.client.gridfs.GridFSDownloadStream
Sets the number of chunks to return per batch.
batchSize(int) - 接口 中的方法com.mongodb.client.gridfs.GridFSFindIterable
Sets the number of documents to return per batch.
batchSize(int) - 接口 中的方法com.mongodb.client.ListCollectionsIterable
Sets the number of documents to return per batch.
batchSize(int) - 接口 中的方法com.mongodb.client.ListDatabasesIterable
Sets the number of documents to return per batch.
batchSize(int) - 接口 中的方法com.mongodb.client.ListIndexesIterable
Sets the number of documents to return per batch.
batchSize(int) - 接口 中的方法com.mongodb.client.MapReduceIterable
Sets the number of documents to return per batch.
batchSize(int) - 类 中的方法com.mongodb.client.model.FindOptions
Sets the number of documents to return per batch.
batchSize(int) - 类 中的方法com.mongodb.client.model.ParallelCollectionScanOptions
已过时。
The batch size to use for each cursor.
batchSize(int) - 接口 中的方法com.mongodb.client.MongoIterable
Sets the number of documents to return per batch.
batchSize(int) - 类 中的方法com.mongodb.DBCursor
Limits the number of elements returned in one batch.
batchSize(Integer) - 类 中的方法com.mongodb.operation.AggregateOperation
Sets the number of documents to return per batch.
batchSize(int) - 类 中的方法com.mongodb.operation.FindOperation
Sets the number of documents to return per batch.
batchSize(int) - 类 中的方法com.mongodb.operation.ListCollectionsOperation
Sets the number of documents to return per batch.
batchSize(int) - 类 中的方法com.mongodb.operation.ListIndexesOperation
Sets the number of documents to return per batch.
batchSize(int) - 类 中的方法com.mongodb.operation.ParallelCollectionScanOperation
The batch size to use for each cursor.
batchSize(int) - 类 中的方法com.mongodb.ParallelScanOptions.Builder
The batch size to use for each cursor.
beforeGet(String) - 类 中的静态方法com.mongodb.connection.MongoQueryAnalyzer
 
Beta - com.mongodb.annotations中的注释类型
Signifies that a public API (public class, method or field) is subject to incompatible changes, or even removal, in a future release.
BINARY - 类 中的静态变量org.bson.BSON
 
Binary - org.bson.types中的类
Generic binary holder.
Binary(byte[]) - 类 的构造器org.bson.types.Binary
Creates a Binary object with the default binary type of 0
Binary(BsonBinarySubType, byte[]) - 类 的构造器org.bson.types.Binary
Creates a Binary with the specified type and data.
Binary(byte, byte[]) - 类 的构造器org.bson.types.Binary
Creates a Binary object
BinaryCodec - org.bson.codecs中的类
A Codec for the BSON Binary type.
BinaryCodec() - 类 的构造器org.bson.codecs.BinaryCodec
 
bits(Integer) - 类 中的方法com.mongodb.bulk.IndexRequest
Sets the number of precision of the stored geohash value of the location data in 2d indexes.
bits(Integer) - 类 中的方法com.mongodb.client.model.IndexOptions
Sets the number of precision of the stored geohash value of the location data in 2d indexes.
Bits - org.bson.io中的类
Utility class for reading values from an input stream.
Bits() - 类 的构造器org.bson.io.Bits
 
bitsAllClear(String, long) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that matches all documents where all of the bit positions are clear in the field.
bitsAllSet(String, long) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that matches all documents where all of the bit positions are set in the field.
bitsAnyClear(String, long) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that matches all documents where any of the bit positions are clear in the field.
bitsAnySet(String, long) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that matches all documents where any of the bit positions are set in the field.
bitwiseAnd(String, int) - 类 中的静态方法com.mongodb.client.model.Updates
Creates an update that performs a bitwise and between the given integer value and the integral value of the field with the given name.
bitwiseAnd(String, long) - 类 中的静态方法com.mongodb.client.model.Updates
Creates an update that performs a bitwise and between the given long value and the integral value of the field with the given name.
bitwiseOr(String, int) - 类 中的静态方法com.mongodb.client.model.Updates
Creates an update that performs a bitwise or between the given integer value and the integral value of the field with the given name.
bitwiseOr(String, long) - 类 中的静态方法com.mongodb.client.model.Updates
Creates an update that performs a bitwise or between the given long value and the integral value of the field with the given name.
bitwiseXor(String, int) - 类 中的静态方法com.mongodb.client.model.Updates
Creates an update that performs a bitwise xor between the given integer value and the integral value of the field with the given name.
bitwiseXor(String, long) - 类 中的静态方法com.mongodb.client.model.Updates
Creates an update that performs a bitwise xor between the given long value and the integral value of the field with the given name.
Block<T> - com.mongodb中的接口
An interface for applying some logic against the given parameter.
BOOLEAN - 类 中的静态变量org.bson.BSON
 
BooleanCodec - org.bson.codecs中的类
Encodes and decodes Boolean objects.
BooleanCodec() - 类 的构造器org.bson.codecs.BooleanCodec
 
BOX - 类 中的静态变量com.mongodb.QueryOperators
 
BSON - org.bson中的类
Contains byte representations of all the BSON types (see the BSON Specification).
BSON() - 类 的构造器org.bson.BSON
 
Bson - org.bson.conversions中的接口
An interface for types that are able to render themselves into a BsonDocument.
BsonArray - org.bson中的类
A type-safe representation of the BSON array type.
BsonArray(List<? extends BsonValue>) - 类 的构造器org.bson.BsonArray
Construct an instance with the given list of values.
BsonArray() - 类 的构造器org.bson.BsonArray
Construct an empty B
BsonArrayCodec - org.bson.codecs中的类
A codec for BsonArray instances.
BsonArrayCodec(CodecRegistry) - 类 的构造器org.bson.codecs.BsonArrayCodec
Construct an instance with the given registry
BsonBinary - org.bson中的类
A representation of the BSON Binary type.
BsonBinary(byte[]) - 类 的构造器org.bson.BsonBinary
Construct a new instance with the given data and the default sub-type
BsonBinary(BsonBinarySubType, byte[]) - 类 的构造器org.bson.BsonBinary
Construct a new instance with the given data and binary sub type.
BsonBinary(byte, byte[]) - 类 的构造器org.bson.BsonBinary
Construct a new instance with the given data and binary sub type.
BsonBinaryCodec - org.bson.codecs中的类
A Codec for the BSON Binary type.
BsonBinaryCodec() - 类 的构造器org.bson.codecs.BsonBinaryCodec
 
BsonBinaryReader - org.bson中的类
A BsonReader implementation that reads from a binary stream of data.
BsonBinaryReader(ByteBuffer) - 类 的构造器org.bson.BsonBinaryReader
Construct an instance.
BsonBinaryReader(BsonInput) - 类 的构造器org.bson.BsonBinaryReader
Construct an instance.
BsonBinaryReader.Context - org.bson中的类
 
BsonBinaryReader.Mark - org.bson中的类
 
BsonBinarySubType - org.bson中的枚举
The Binary subtype
BsonBinaryWriter - org.bson中的类
A BsonWriter implementation that writes to a binary stream of data.
BsonBinaryWriter(BsonOutput, FieldNameValidator) - 类 的构造器org.bson.BsonBinaryWriter
Construct an instance.
BsonBinaryWriter(BsonOutput) - 类 的构造器org.bson.BsonBinaryWriter
Construct an instance.
BsonBinaryWriter(BsonWriterSettings, BsonBinaryWriterSettings, BsonOutput) - 类 的构造器org.bson.BsonBinaryWriter
Construct an instance.
BsonBinaryWriter(BsonWriterSettings, BsonBinaryWriterSettings, BsonOutput, FieldNameValidator) - 类 的构造器org.bson.BsonBinaryWriter
Construct an instance.
BsonBinaryWriter.Context - org.bson中的类
 
BsonBinaryWriter.Mark - org.bson中的类
 
BsonBinaryWriterSettings - org.bson中的类
The customisable settings for writing BSON.
BsonBinaryWriterSettings(int) - 类 的构造器org.bson.BsonBinaryWriterSettings
Creates a new instance of the settings with the given maximum document size.
BsonBinaryWriterSettings() - 类 的构造器org.bson.BsonBinaryWriterSettings
Creates a new instance of the settings with Integer.MAX_VALUE as the maximum document size.
BsonBoolean - org.bson中的类
A representation of the BSON Boolean type.
BsonBoolean(boolean) - 类 的构造器org.bson.BsonBoolean
Construct a new instance with the given value.
BsonBooleanCodec - org.bson.codecs中的类
A Codec for BsonBoolean instances.
BsonBooleanCodec() - 类 的构造器org.bson.codecs.BsonBooleanCodec
 
BSONCallback - org.bson中的接口
A callback interface for describing the structure of a BSON document.
BsonContextType - org.bson中的枚举
Used by BsonReader and BsonWriter implementations to represent the current context.
BsonDateTime - org.bson中的类
A representation of the BSON DateTime type.
BsonDateTime(long) - 类 的构造器org.bson.BsonDateTime
Construct a new instance with the given value.
BsonDateTimeCodec - org.bson.codecs中的类
A Codec for BsonDateTime instances.
BsonDateTimeCodec() - 类 的构造器org.bson.codecs.BsonDateTimeCodec
 
BsonDbPointer - org.bson中的类
Holder for a BSON type DBPointer(0x0c).
BsonDbPointer(String, ObjectId) - 类 的构造器org.bson.BsonDbPointer
Construct a new instance with the given namespace and id.
BsonDBPointerCodec - org.bson.codecs中的类
Converts BSON type DBPointer(0x0c) to database references as DBPointer is deprecated.
BsonDBPointerCodec() - 类 的构造器org.bson.codecs.BsonDBPointerCodec
 
BSONDecoder - org.bson中的接口
An interface for decoders of BSON documents.
BsonDocument - org.bson中的类
A type-safe container for a BSON document.
BsonDocument(List<BsonElement>) - 类 的构造器org.bson.BsonDocument
Construct a new instance with the given list BsonElement, none of which may be null.
BsonDocument(String, BsonValue) - 类 的构造器org.bson.BsonDocument
Construct a new instance with a single key value pair
BsonDocument() - 类 的构造器org.bson.BsonDocument
Construct an empty document.
BsonDocumentCodec - org.bson.codecs中的类
A codec for BsonDocument instances.
BsonDocumentCodec() - 类 的构造器org.bson.codecs.BsonDocumentCodec
Creates a new instance with a default codec registry that uses the BsonValueCodecProvider.
BsonDocumentCodec(CodecRegistry) - 类 的构造器org.bson.codecs.BsonDocumentCodec
Creates a new instance initialised with the given codec registry.
BsonDocumentReader - org.bson中的类
A BsonReader implementation that reads from an instance of BsonDocument.
BsonDocumentReader(BsonDocument) - 类 的构造器org.bson.BsonDocumentReader
Construct a new instance.
BsonDocumentReader.Context - org.bson中的类
 
BsonDocumentReader.Mark - org.bson中的类
 
BsonDocumentWrapper<T> - org.bson中的类
A BsonDocument that begins its life as a document of any type and an Encoder for that document, which lets an instance of any class with an Encoder be treated as a BsonDocument.
BsonDocumentWrapper(T, Encoder<T>) - 类 的构造器org.bson.BsonDocumentWrapper
Construct a new instance with the given document and encoder for the document.
BsonDocumentWrapperCodec - org.bson.codecs中的类
A Codec
BsonDocumentWrapperCodec(Codec<BsonDocument>) - 类 的构造器org.bson.codecs.BsonDocumentWrapperCodec
Construct a new instance,
BsonDocumentWriter - org.bson中的类
A BsonWriter implementation that writes to an instance of BsonDocument.
BsonDocumentWriter(BsonDocument) - 类 的构造器org.bson.BsonDocumentWriter
Construct a new instance.
BsonDouble - org.bson中的类
A representation of the BSON Double type.
BsonDouble(double) - 类 的构造器org.bson.BsonDouble
Construct a new instance with the given value.
BsonDoubleCodec - org.bson.codecs中的类
A Codec for BsonDouble instances.
BsonDoubleCodec() - 类 的构造器org.bson.codecs.BsonDoubleCodec
 
BsonElement - org.bson中的类
A mapping from a name to a BsonValue.
BsonElement(String, BsonValue) - 类 的构造器org.bson.BsonElement
Construct a new instance with the given key and value
BSONEncoder - org.bson中的接口
A BSONEncoder is a class which can be used to turn documents into byte arrays.
BSONException - org.bson中的异常错误
A general runtime exception raised in BSON processing.
BSONException(String) - 异常错误 的构造器org.bson.BSONException
 
BSONException(int, String) - 异常错误 的构造器org.bson.BSONException
 
BSONException(String, Throwable) - 异常错误 的构造器org.bson.BSONException
 
BSONException(int, String, Throwable) - 异常错误 的构造器org.bson.BSONException
 
BsonField - com.mongodb.client.model中的类
A representation of a BSON document field whose value is another BSON document.
BsonField(String, Bson) - 类 的构造器com.mongodb.client.model.BsonField
Construct an instance
BsonInput - org.bson.io中的接口
An input stream that is optimized for reading BSON values directly from the underlying stream.
BsonInt32 - org.bson中的类
A representation of the BSON Int32 type.
BsonInt32(int) - 类 的构造器org.bson.BsonInt32
Construct a new instance with the given value.
BsonInt32Codec - org.bson.codecs中的类
A Codec for BsonInt32 instances.
BsonInt32Codec() - 类 的构造器org.bson.codecs.BsonInt32Codec
 
BsonInt64 - org.bson中的类
A representation of the BSON Int64 type.
BsonInt64(long) - 类 的构造器org.bson.BsonInt64
Construct a new instance with the given value.
BsonInt64Codec - org.bson.codecs中的类
A Codec for BsonInt64 instances.
BsonInt64Codec() - 类 的构造器org.bson.codecs.BsonInt64Codec
 
BsonInvalidOperationException - org.bson中的异常错误
An exception indicating an invalid BSON operation.
BsonInvalidOperationException(String) - 异常错误 的构造器org.bson.BsonInvalidOperationException
Construct a new instance.
BsonJavaScript - org.bson中的类
For using the JavaScript Code type.
BsonJavaScript(String) - 类 的构造器org.bson.BsonJavaScript
Construct a new instance with the given JavaScript code.
BsonJavaScriptCodec - org.bson.codecs中的类
A Codec for the BsonJavaScript type.
BsonJavaScriptCodec() - 类 的构造器org.bson.codecs.BsonJavaScriptCodec
 
BsonJavaScriptWithScope - org.bson中的类
A representation of the JavaScript Code with Scope BSON type.
BsonJavaScriptWithScope(String, BsonDocument) - 类 的构造器org.bson.BsonJavaScriptWithScope
Construct a new instance with the given code and scope.
BsonJavaScriptWithScopeCodec - org.bson.codecs中的类
A Codec for BsonJavaScriptWithScope instances.
BsonJavaScriptWithScopeCodec(Codec<BsonDocument>) - 类 的构造器org.bson.codecs.BsonJavaScriptWithScopeCodec
Construct a new instance with the given codec to use for the nested document
BsonMaxKey - org.bson中的类
Represent the maximum key value regardless of the key's type
BsonMaxKey() - 类 的构造器org.bson.BsonMaxKey
 
BsonMaxKeyCodec - org.bson.codecs中的类
A codec for BsonMaxKey instances.
BsonMaxKeyCodec() - 类 的构造器org.bson.codecs.BsonMaxKeyCodec
 
BsonMinKey - org.bson中的类
Represent the minimum key value regardless of the key's type
BsonMinKey() - 类 的构造器org.bson.BsonMinKey
 
BsonMinKeyCodec - org.bson.codecs中的类
A codec for BsonMinKey instances.
BsonMinKeyCodec() - 类 的构造器org.bson.codecs.BsonMinKeyCodec
 
BsonNull - org.bson中的类
A representation of the BSON Null type.
BsonNull() - 类 的构造器org.bson.BsonNull
 
BsonNullCodec - org.bson.codecs中的类
A Codec for BsonNull instances.
BsonNullCodec() - 类 的构造器org.bson.codecs.BsonNullCodec
 
BsonNumber - org.bson中的类
Base class for the three numeric BSON types.
BsonNumber() - 类 的构造器org.bson.BsonNumber
 
BSONObject - org.bson中的接口
A key-value map that can be saved to the database.
BsonObjectId - org.bson中的类
A representation of the BSON ObjectId type.
BsonObjectId() - 类 的构造器org.bson.BsonObjectId
Construct a new instance with a new ObjectId.
BsonObjectId(ObjectId) - 类 的构造器org.bson.BsonObjectId
Construct a new instance with the given ObjectId instance.
BsonObjectIdCodec - org.bson.codecs中的类
A Codec for BsonObjectId instances.
BsonObjectIdCodec() - 类 的构造器org.bson.codecs.BsonObjectIdCodec
 
BsonOutput - org.bson.io中的接口
An output stream that is optimized for writing BSON values directly to the underlying stream.
BsonReader - org.bson中的接口
An interface for reading a logical BSON document using a pull-oriented API.
BsonRegularExpression - org.bson中的类
A holder class for a BSON regular expression, so that we can delay compiling into a Pattern until necessary.
BsonRegularExpression(String, String) - 类 的构造器org.bson.BsonRegularExpression
Creates a new instance
BsonRegularExpression(String) - 类 的构造器org.bson.BsonRegularExpression
Creates a new instance with no options set.
BsonRegularExpressionCodec - org.bson.codecs中的类
A codec for BSON regular expressions.
BsonRegularExpressionCodec() - 类 的构造器org.bson.codecs.BsonRegularExpressionCodec
 
BsonSerializationException - org.bson中的异常错误
An exception indicating a failure to serialize a BSON value.
BsonSerializationException(String) - 异常错误 的构造器org.bson.BsonSerializationException
Construct a new instance.
BsonString - org.bson中的类
A representation of the BSON String type.
BsonString(String) - 类 的构造器org.bson.BsonString
Construct a new instance with the given value.
BsonStringCodec - org.bson.codecs中的类
A Codec for BsonString instances.
BsonStringCodec() - 类 的构造器org.bson.codecs.BsonStringCodec
 
BsonSymbol - org.bson中的类
Class to hold a BSON symbol object, which is an interned string in Ruby
BsonSymbol(String) - 类 的构造器org.bson.BsonSymbol
Creates a new instance.
BsonSymbolCodec - org.bson.codecs中的类
A codec for BSON symbol type.
BsonSymbolCodec() - 类 的构造器org.bson.codecs.BsonSymbolCodec
 
BsonTimestamp - org.bson中的类
A value representing the BSON timestamp type.
BsonTimestamp() - 类 的构造器org.bson.BsonTimestamp
Construct a new instance with a null time and a 0 increment.
BsonTimestamp(int, int) - 类 的构造器org.bson.BsonTimestamp
Construct a new instance for the given time and increment.
BSONTimestamp - org.bson.types中的类
This is used for internal increment values.
BSONTimestamp() - 类 的构造器org.bson.types.BSONTimestamp
Creates a new instance.
BSONTimestamp(int, int) - 类 的构造器org.bson.types.BSONTimestamp
Creates a new instance.
BSONTimestampCodec - com.mongodb中的类
Knows how to encode and decode BSON timestamps.
BSONTimestampCodec() - 类 的构造器com.mongodb.BSONTimestampCodec
 
BsonTimestampCodec - org.bson.codecs中的类
A Codec for BSON Timestamp instances.
BsonTimestampCodec() - 类 的构造器org.bson.codecs.BsonTimestampCodec
 
BsonType - org.bson中的枚举
Enumeration of all the BSON types currently supported.
BsonTypeClassMap - org.bson.codecs中的类
A map from a BSON types to the Class to which it should be decoded.
BsonTypeClassMap(Map<BsonType, Class<?>>) - 类 的构造器org.bson.codecs.BsonTypeClassMap
Construct an instance with the default mapping, but replacing the default mapping with any values contained in the given map.
BsonTypeClassMap() - 类 的构造器org.bson.codecs.BsonTypeClassMap
Construct an instance with the default mappings.
BsonTypeCodecMap - org.bson.codecs中的类
An efficient map of BsonType to Codec
BsonTypeCodecMap(BsonTypeClassMap, CodecRegistry) - 类 的构造器org.bson.codecs.BsonTypeCodecMap
Initializes the map by iterating the keys of the given BsonTypeClassMap and looking up the Codec for the Class mapped to each key.
BsonUndefined - org.bson中的类
Represents the value associated with the BSON Undefined type.
BsonUndefined() - 类 的构造器org.bson.BsonUndefined
 
BsonUndefinedCodec - org.bson.codecs中的类
Allows reading and writing of the BSON Undefined type.
BsonUndefinedCodec() - 类 的构造器org.bson.codecs.BsonUndefinedCodec
 
BsonValue - org.bson中的类
Base class for any BSON type.
BsonValueCodec - org.bson.codecs中的类
A codec for unknown BsonValues.
BsonValueCodec() - 类 的构造器org.bson.codecs.BsonValueCodec
Creates a new instance with a default codec registry that uses the BsonValueCodecProvider.
BsonValueCodec(CodecRegistry) - 类 的构造器org.bson.codecs.BsonValueCodec
Creates a new instance initialised with the given codec registry.
BsonValueCodecProvider - org.bson.codecs中的类
A CodecProvider for all subclass of BsonValue.
BsonValueCodecProvider() - 类 的构造器org.bson.codecs.BsonValueCodecProvider
Construct a new instance with the default codec for each BSON type.
BsonWriter - org.bson中的接口
An interface for writing a logical BSON document using a push-oriented API.
BsonWriterSettings - org.bson中的类
All the customisable settings for writing BSON.
BsonWriterSettings(int) - 类 的构造器org.bson.BsonWriterSettings
Creates a new instance of the settings with the given maximum serialization depth.
BsonWriterSettings() - 类 的构造器org.bson.BsonWriterSettings
Creates a new instance of the settings with the default maximum serialization depth of 1024.
bucketSize(Double) - 类 中的方法com.mongodb.bulk.IndexRequest
Sets the specified the number of units within which to group the location values for geoHaystack Indexes
bucketSize(Double) - 类 中的方法com.mongodb.client.model.IndexOptions
Sets the specified the number of units within which to group the location values for geoHaystack Indexes
BufferProvider - com.mongodb.connection中的接口
A provider of instances of ByteBuf.
build() - 类 中的方法com.mongodb.AggregationOptions.Builder
Return the options based on this builder.
build() - 类 中的方法com.mongodb.connection.ClusterSettings.Builder
Build the settings from the builder.
build() - 类 中的方法com.mongodb.connection.ConnectionPoolSettings.Builder
Creates a new ConnectionPoolSettings object with the settings initialised on this builder.
build() - 类 中的方法com.mongodb.connection.netty.NettyStreamFactoryFactory.Builder
Build an instance of NettyStreamFactoryFactory.
build() - 类 中的方法com.mongodb.connection.ServerDescription.Builder
Create a new ServerDescription from the settings in this builder.
build() - 类 中的方法com.mongodb.connection.ServerSettings.Builder
Create a new ServerSettings from the settings applied to this builder.
build() - 类 中的方法com.mongodb.connection.SocketSettings.Builder
Build an instance of SocketSettings.
build() - 类 中的方法com.mongodb.connection.SslSettings.Builder
Create a new SSLSettings from the settings in this builder.
build() - 类 中的方法com.mongodb.MongoClientOptions.Builder
Build an instance of MongoClientOptions.
build() - 类 中的方法com.mongodb.ParallelScanOptions.Builder
Creates a ParallelScanOptions with the settings initialised in this builder.
build() - 类 中的方法org.bson.codecs.DecoderContext.Builder
Build an instance of DecoderContext.
build() - 类 中的方法org.bson.codecs.EncoderContext.Builder
Build an instance of EncoderContext.
builder() - 类 中的静态方法com.mongodb.AggregationOptions
Creates a new Builder for AggregationOptions.
builder() - 类 中的静态方法com.mongodb.connection.ClusterSettings
Get a builder for this class.
builder() - 类 中的静态方法com.mongodb.connection.ConnectionPoolSettings
Gets a Builder for creating a new ConnectionPoolSettings instance.
Builder() - 类 的构造器com.mongodb.connection.ConnectionPoolSettings.Builder
 
builder() - 类 中的静态方法com.mongodb.connection.netty.NettyStreamFactoryFactory
Gets a builder for an instance of NettyStreamFactoryFactory.
builder() - 类 中的静态方法com.mongodb.connection.ServerDescription
Gets a Builder for creating a new ServerDescription instance.
Builder() - 类 的构造器com.mongodb.connection.ServerDescription.Builder
 
builder() - 类 中的静态方法com.mongodb.connection.ServerSettings
Creates a builder for ServerSettings.
Builder() - 类 的构造器com.mongodb.connection.ServerSettings.Builder
 
builder() - 类 中的静态方法com.mongodb.connection.SocketSettings
Gets a builder for an instance of SocketSettings.
Builder() - 类 的构造器com.mongodb.connection.SocketSettings.Builder
 
builder() - 类 中的静态方法com.mongodb.connection.SslSettings
Gets a Builder for creating a new SSLSettings instance.
Builder() - 类 的构造器com.mongodb.connection.SslSettings.Builder
 
builder() - 类 中的静态方法com.mongodb.MongoClientOptions
Creates a builder instance.
builder(MongoClientOptions) - 类 中的静态方法com.mongodb.MongoClientOptions
Creates a builder instance.
Builder() - 类 的构造器com.mongodb.MongoClientOptions.Builder
Creates a Builder for MongoClientOptions, getting the appropriate system properties for initialization.
Builder(MongoClientOptions) - 类 的构造器com.mongodb.MongoClientOptions.Builder
Creates a Builder from an existing MongoClientOptions.
builder() - 类 中的静态方法com.mongodb.ParallelScanOptions
Create a builder for the options
Builder() - 类 的构造器com.mongodb.ParallelScanOptions.Builder
 
builder() - 类 中的静态方法org.bson.codecs.DecoderContext
Create a builder.
builder() - 类 中的静态方法org.bson.codecs.EncoderContext
Create a builder.
BulkUpdateRequestBuilder - com.mongodb中的类
A builder for a single update request.
bulkWrite(List<? extends WriteModel<? extends TDocument>>) - 接口 中的方法com.mongodb.client.MongoCollection
Executes a mix of inserts, updates, replaces, and deletes.
bulkWrite(List<? extends WriteModel<? extends TDocument>>, BulkWriteOptions) - 接口 中的方法com.mongodb.client.MongoCollection
Executes a mix of inserts, updates, replaces, and deletes.
BulkWriteBatchCombiner - com.mongodb.connection中的类
This class is not part of the public API.
BulkWriteBatchCombiner(ServerAddress, boolean, WriteConcern) - 类 的构造器com.mongodb.connection.BulkWriteBatchCombiner
Construct an instance.
BulkWriteError - com.mongodb.bulk中的类
Represents an error for an item included in a bulk write operation, e.g. a duplicate key error
BulkWriteError(int, String, BsonDocument, int) - 类 的构造器com.mongodb.bulk.BulkWriteError
Constructs a new instance.
BulkWriteError - com.mongodb中的类
Represents an error for an item included in a bulk write operation, e.g. a duplicate key error
BulkWriteError(int, String, DBObject, int) - 类 的构造器com.mongodb.BulkWriteError
Constructs a new instance.
BulkWriteException - com.mongodb中的异常错误
An exception that represents all errors associated with a bulk write operation.
BulkWriteOperation - com.mongodb中的类
A bulk write operation.
BulkWriteOptions - com.mongodb.client.model中的类
The options to apply to a bulk write.
BulkWriteOptions() - 类 的构造器com.mongodb.client.model.BulkWriteOptions
 
BulkWriteRequestBuilder - com.mongodb中的类
A builder for a single write request.
BulkWriteResult - com.mongodb.bulk中的类
The result of a successful bulk write operation.
BulkWriteResult() - 类 的构造器com.mongodb.bulk.BulkWriteResult
 
BulkWriteResult - com.mongodb中的类
The result of a successful bulk write operation.
BulkWriteResult() - 类 的构造器com.mongodb.BulkWriteResult
 
BulkWriteUpsert - com.mongodb.bulk中的类
Represents an item in the bulk write that was upserted.
BulkWriteUpsert(int, BsonValue) - 类 的构造器com.mongodb.bulk.BulkWriteUpsert
Construct an instance.
BulkWriteUpsert - com.mongodb中的类
Represents an upsert request in a bulk write operation that resulted in an insert.
BulkWriteUpsert(int, Object) - 类 的构造器com.mongodb.BulkWriteUpsert
Constructs an instance.
bypassDocumentValidation(Boolean) - 类 中的方法com.mongodb.AggregationOptions.Builder
Sets whether to bypass document validation.
bypassDocumentValidation(Boolean) - 接口 中的方法com.mongodb.client.AggregateIterable
Sets the bypass document level validation flag.
bypassDocumentValidation(Boolean) - 接口 中的方法com.mongodb.client.MapReduceIterable
Sets the bypass document level validation flag.
bypassDocumentValidation(Boolean) - 类 中的方法com.mongodb.client.model.BulkWriteOptions
Sets the bypass document level validation flag.
bypassDocumentValidation(Boolean) - 类 中的方法com.mongodb.client.model.FindOneAndReplaceOptions
Sets the bypass document level validation flag.
bypassDocumentValidation(Boolean) - 类 中的方法com.mongodb.client.model.FindOneAndUpdateOptions
Sets the bypass document level validation flag.
bypassDocumentValidation(Boolean) - 类 中的方法com.mongodb.client.model.InsertManyOptions
Sets the bypass document level validation flag.
bypassDocumentValidation(Boolean) - 类 中的方法com.mongodb.client.model.InsertOneOptions
Sets the bypass document level validation flag.
bypassDocumentValidation(Boolean) - 类 中的方法com.mongodb.client.model.UpdateOptions
Sets the bypass document level validation flag.
bypassDocumentValidation(Boolean) - 类 中的方法com.mongodb.InsertOptions
Sets whether to bypass document validation.
bypassDocumentValidation(Boolean) - 类 中的方法com.mongodb.operation.AggregateToCollectionOperation
Sets the bypass document level validation flag.
bypassDocumentValidation(Boolean) - 类 中的方法com.mongodb.operation.BaseWriteOperation
Sets the bypass document level validation flag.
bypassDocumentValidation(Boolean) - 类 中的方法com.mongodb.operation.FindAndReplaceOperation
Sets the bypass document level validation flag.
bypassDocumentValidation(Boolean) - 类 中的方法com.mongodb.operation.FindAndUpdateOperation
Sets the bypass document level validation flag.
bypassDocumentValidation(Boolean) - 类 中的方法com.mongodb.operation.MapReduceToCollectionOperation
Sets the bypass document level validation flag.
bypassDocumentValidation(Boolean) - 类 中的方法com.mongodb.operation.MixedBulkWriteOperation
Sets the bypass document level validation flag.
ByteArrayCodec - org.bson.codecs中的类
Encodes and decodes byte arrays.
ByteArrayCodec() - 类 的构造器org.bson.codecs.ByteArrayCodec
 
ByteBuf - org.bson中的接口
An interface wrapper around a java.nio.ByteBuffer which additionally is Closeable, so that pooled byte buffers know how.
ByteBufferBsonInput - org.bson.io中的类
An implementation of BsonInput that is backed by a ByteBuf.
ByteBufferBsonInput(ByteBuf) - 类 的构造器org.bson.io.ByteBufferBsonInput
Construct an instance with the given byte buffer.
ByteBufferBsonOutput - com.mongodb.connection中的类
This class should not be considered as part of the public API, and it may change or be removed at any time.
ByteBufferBsonOutput(BufferProvider) - 类 的构造器com.mongodb.connection.ByteBufferBsonOutput
Construct an instance that uses the given buffer provider to allocate byte buffers as needs as it grows.
ByteBufNIO - org.bson中的类
Implementation of ByteBuf which simply wraps an NIO ByteBuffer and forwards all calls to it.
ByteBufNIO(ByteBuffer) - 类 的构造器org.bson.ByteBufNIO
Creates a new instance.
ByteCodec - org.bson.codecs中的类
Encodes and decodes Byte objects.
ByteCodec() - 类 的构造器org.bson.codecs.ByteCodec
 
Bytes - com.mongodb中的类
Class that hold definitions of the wire protocol
Bytes() - 类 的构造器com.mongodb.Bytes
 

C

callGetLastError() - 类 中的方法com.mongodb.WriteConcern
已过时。
canonicalAddress(String) - 类 中的方法com.mongodb.connection.ServerDescription.Builder
Sets the canonical host name and port of this server.
CANONICALIZE_HOST_NAME_KEY - 类 中的静态变量com.mongodb.MongoCredential
Mechanism property key for specifying whether to canonicalize the host name for GSSAPI authentication.
capacity() - 接口 中的方法org.bson.ByteBuf
Returns this buffer's capacity.
capacity() - 类 中的方法org.bson.ByteBufNIO
 
capped(boolean) - 类 中的方法com.mongodb.client.model.CreateCollectionOptions
sets whether the collection is capped.
capped(boolean) - 类 中的方法com.mongodb.operation.CreateCollectionOperation
Sets whether the collection is capped.
caseSensitive(Boolean) - 类 中的方法com.mongodb.client.model.TextSearchOptions
Set the case-sensitive flag for the text search
CENTER - 类 中的静态变量com.mongodb.QueryOperators
 
CENTER_SPHERE - 类 中的静态变量com.mongodb.QueryOperators
 
CharacterCodec - org.bson.codecs中的类
Encodes and decodes Character objects.
CharacterCodec() - 类 的构造器org.bson.codecs.CharacterCodec
 
checkPreconditions(String, BsonType) - 类 中的方法org.bson.AbstractBsonReader
Ensures any conditions are met before reading commences.
checkPreconditions(String, AbstractBsonWriter.State...) - 类 中的方法org.bson.AbstractBsonWriter
Checks the writer is in the correct state.
checkState(AbstractBsonWriter.State[]) - 类 中的方法org.bson.AbstractBsonWriter
Checks if this writer's current state is in the list of given states.
choose(ClusterDescription) - 类 中的方法com.mongodb.ReadPreference
Chooses the servers from the given cluster than match this read preference.
chunkSizeBytes(Integer) - 类 中的方法com.mongodb.client.gridfs.model.GridFSUploadOptions
Sets the chunk size in bytes.
ClassMap<T> - org.bson.util中的类
Maps Class objects to values.
ClassMap() - 类 的构造器org.bson.util.ClassMap
 
clear() - 类 中的方法org.bson.BsonArray
 
clear() - 类 中的方法org.bson.BsonDocument
 
clear() - 类 中的方法org.bson.BsonDocumentWrapper
 
clear() - 接口 中的方法org.bson.ByteBuf
Clears this buffer.
clear() - 类 中的方法org.bson.ByteBufNIO
 
clear() - 类 中的方法org.bson.Document
 
clear() - 类 中的方法org.bson.LazyBSONList
 
clear() - 类 中的方法org.bson.RawBsonDocument
 
clear() - 类 中的方法org.bson.util.ClassMap
As per java.util.Map, removes all of the mappings from this map (optional operation).
clearAllHooks() - 类 中的静态方法org.bson.BSON
Remove all decoding and encoding hooks for all classes.
clearDecodingHooks() - 类 中的静态方法org.bson.BSON
Clears all decoding hooks.
clearEncodingHooks() - 类 中的静态方法org.bson.BSON
Clears all encoding hooks.
CLI - com.mongodb.gridfs中的类
A simple CLI for GridFS.
CLI() - 类 的构造器com.mongodb.gridfs.CLI
 
clone() - 类 中的方法org.bson.BsonArray
 
clone() - 类 中的方法org.bson.BsonDocument
 
clone() - 类 中的方法org.bson.BsonDocumentWrapper
 
clone() - 类 中的方法org.bson.RawBsonDocument
 
close() - 接口 中的方法com.mongodb.async.AsyncBatchCursor
 
close() - 类 中的方法com.mongodb.client.gridfs.GridFSDownloadStream
 
close() - 类 中的方法com.mongodb.client.gridfs.GridFSUploadStream
 
close() - 接口 中的方法com.mongodb.client.MongoCursor
 
close() - 类 中的方法com.mongodb.connection.ByteBufferBsonOutput
 
close() - 接口 中的方法com.mongodb.connection.Cluster
Closes connections to the servers in the cluster.
close() - 接口 中的方法com.mongodb.connection.Stream
Closes the connection.
close() - 接口 中的方法com.mongodb.Cursor
Terminates this cursor on the server.
close() - 类 中的方法com.mongodb.DBCursor
 
close() - 类 中的方法com.mongodb.Mongo
Closes all resources associated with this instance, in particular any open network connections.
close() - 接口 中的方法com.mongodb.operation.BatchCursor
 
close() - 类 中的方法org.bson.AbstractBsonReader
Closes the reader.
close() - 类 中的方法org.bson.AbstractBsonWriter
 
close() - 类 中的方法org.bson.BsonBinaryReader
 
close() - 类 中的方法org.bson.BsonBinaryWriter
 
close() - 类 中的方法org.bson.io.BasicOutputBuffer
 
close() - 接口 中的方法org.bson.io.BsonInput
 
close() - 接口 中的方法org.bson.io.BsonOutput
 
close() - 类 中的方法org.bson.io.ByteBufferBsonInput
 
close() - 类 中的方法org.bson.io.OutputBuffer
 
Cluster - com.mongodb.connection中的接口
Represents a cluster of MongoDB servers.
ClusterBinding - com.mongodb.binding中的类
A simple ReadWriteBinding implementation that supplies write connection sources bound to a possibly different primary each time, and a read connection source bound to a possible different server each time.
ClusterBinding(Cluster, ReadPreference) - 类 的构造器com.mongodb.binding.ClusterBinding
Creates an instance.
clusterClosed(ClusterClosedEvent) - 类 中的方法com.mongodb.event.ClusterEventMulticaster
 
clusterClosed(ClusterClosedEvent) - 接口 中的方法com.mongodb.event.ClusterListener
Invoked when a cluster is closed.
clusterClosed(ClusterClosedEvent) - 类 中的方法com.mongodb.event.ClusterListenerAdapter
 
ClusterClosedEvent - com.mongodb.event中的类
A cluster closed event.
ClusterClosedEvent(ClusterId) - 类 的构造器com.mongodb.event.ClusterClosedEvent
Constructs a new instance of the event.
ClusterConnectionMode - com.mongodb.connection中的枚举
The cluster connection mode.
ClusterDescription - com.mongodb.connection中的类
Immutable snapshot state of a cluster.
ClusterDescription(ClusterConnectionMode, ClusterType, List<ServerDescription>) - 类 的构造器com.mongodb.connection.ClusterDescription
Creates a new ClusterDescription.
clusterDescriptionChanged(ClusterDescriptionChangedEvent) - 类 中的方法com.mongodb.event.ClusterEventMulticaster
 
clusterDescriptionChanged(ClusterDescriptionChangedEvent) - 接口 中的方法com.mongodb.event.ClusterListener
Invoked when a cluster description changes.
clusterDescriptionChanged(ClusterDescriptionChangedEvent) - 类 中的方法com.mongodb.event.ClusterListenerAdapter
 
ClusterDescriptionChangedEvent - com.mongodb.event中的类
An event signifying that the cluster description has changed.
ClusterDescriptionChangedEvent(ClusterId, ClusterDescription, ClusterDescription) - 类 的构造器com.mongodb.event.ClusterDescriptionChangedEvent
Constructs a new instance of the event.
ClusterEventMulticaster - com.mongodb.event中的类
A multicaster for cluster events.
ClusterEventMulticaster(List<ClusterListener>) - 类 的构造器com.mongodb.event.ClusterEventMulticaster
Construct an instance with the given list of cluster listeners
ClusterFactory - com.mongodb.connection中的接口
Factory for Cluster implementations.
ClusterId - com.mongodb.connection中的类
A client-generated identifier that uniquely identifies a connection to a MongoDB cluster, which could be sharded, replica set, or standalone.
ClusterId() - 类 的构造器com.mongodb.connection.ClusterId
Construct an instance.
ClusterId(String) - 类 的构造器com.mongodb.connection.ClusterId
Construct an instance.
ClusterListener - com.mongodb.event中的接口
A listener for cluster-related events.
ClusterListenerAdapter - com.mongodb.event中的类
An adapter for cluster listener implementations, for clients that want to listen for a subset of cluster events.
ClusterListenerAdapter() - 类 的构造器com.mongodb.event.ClusterListenerAdapter
 
clusterOpening(ClusterOpeningEvent) - 类 中的方法com.mongodb.event.ClusterEventMulticaster
 
clusterOpening(ClusterOpeningEvent) - 接口 中的方法com.mongodb.event.ClusterListener
Invoked when a cluster is opened.
clusterOpening(ClusterOpeningEvent) - 类 中的方法com.mongodb.event.ClusterListenerAdapter
 
ClusterOpeningEvent - com.mongodb.event中的类
A cluster opening event.
ClusterOpeningEvent(ClusterId) - 类 的构造器com.mongodb.event.ClusterOpeningEvent
Constructs a new instance of the event.
ClusterSettings - com.mongodb.connection中的类
Settings for the cluster.
ClusterSettings.Builder - com.mongodb.connection中的类
A builder for the cluster settings.
ClusterType - com.mongodb.connection中的枚举
An enumeration of all possible cluster types.
CODE - 类 中的静态变量org.bson.BSON
 
Code - org.bson.types中的类
For using the Code type.
Code(String) - 类 的构造器org.bson.types.Code
Construct a new instance with the given code.
CODE_W_SCOPE - 类 中的静态变量org.bson.BSON
 
Codec<T> - org.bson.codecs中的接口
Implementations of this interface can both encode and decode values of type T.
CodecConfigurationException - org.bson.codecs.configuration中的异常错误
An exception indicating that a codec registry has been misconfigured in some way, preventing it from providing a codec for the requested class.
CodecConfigurationException(String) - 异常错误 的构造器org.bson.codecs.configuration.CodecConfigurationException
Construct a new instance.
CodeCodec - org.bson.codecs中的类
Encodes and decodes instances of type Code.
CodeCodec() - 类 的构造器org.bson.codecs.CodeCodec
 
CodecProvider - org.bson.codecs.configuration中的接口
A provider of Codec instances.
CodecRegistries - org.bson.codecs.configuration中的类
A helper class for creating and combining codecs, codec providers, and codec registries
codecRegistry(CodecRegistry) - 类 中的方法com.mongodb.MongoClientOptions.Builder
Sets the codec registry Note that instances of DB and DBCollection do not use the registry, so it's not necessary to include a codec for DBObject in the registry.
CodecRegistry - org.bson.codecs.configuration中的接口
A registry of Codec instances searchable by the class that the Codec can encode and decode.
CodeWithScope - org.bson.types中的类
A representation of the JavaScript Code with Scope BSON type.
CodeWithScope(String, Document) - 类 的构造器org.bson.types.CodeWithScope
Construct an instance.
CodeWithScopeCodec - org.bson.codecs中的类
Encodes and decodes CodeWithScope instances.
CodeWithScopeCodec(Codec<Document>) - 类 的构造器org.bson.codecs.CodeWithScopeCodec
Creates a new CodeWithScopeCodec.
CodeWScope - org.bson.types中的类
Represents the CodeWScope BSON type.
CodeWScope(String, BSONObject) - 类 的构造器org.bson.types.CodeWScope
Creates a new instance
CollectibleCodec<T> - org.bson.codecs中的接口
A Codec that generates complete BSON documents for storage in a MongoDB collection.
collectionExists(String) - 类 中的方法com.mongodb.DB
Checks to see if a collection with a given name exists on a server.
collectionName(String) - 接口 中的方法com.mongodb.client.MapReduceIterable
Sets the collectionName for the output of the MapReduce The default action is replace the collection if it exists, to change this use MapReduceIterable.action(com.mongodb.client.model.MapReduceAction).
com.mongodb - 程序包 com.mongodb
The core mongodb package
com.mongodb.annotations - 程序包 com.mongodb.annotations
Contains annotations that can apply to any part of the driver code.
com.mongodb.assertions - 程序包 com.mongodb.assertions
Contains design by contract assertions
com.mongodb.async - 程序包 com.mongodb.async
This package contains async interfaces
com.mongodb.binding - 程序包 com.mongodb.binding
This package contains classes that manage binding to MongoDB servers for various operations.
com.mongodb.bulk - 程序包 com.mongodb.bulk
Contains classes for representing the result of a bulk write operation.
com.mongodb.client - 程序包 com.mongodb.client
This package contains classes for the new client api for MongoDatabase and MongoCollection
com.mongodb.client.gridfs - 程序包 com.mongodb.client.gridfs
This package contains the new GridFS implementation
com.mongodb.client.gridfs.codecs - 程序包 com.mongodb.client.gridfs.codecs
This package contains codecs for use with GridFS
com.mongodb.client.gridfs.model - 程序包 com.mongodb.client.gridfs.model
This package contains models for use with GridFS
com.mongodb.client.model - 程序包 com.mongodb.client.model
This package contains models and options that help describe MongoCollection operations
com.mongodb.client.model.geojson - 程序包 com.mongodb.client.model.geojson
This package contains classes that represent GeoJSON objects.
com.mongodb.client.model.geojson.codecs - 程序包 com.mongodb.client.model.geojson.codecs
This package contains classes that encode and decode GeoJSON objects.
com.mongodb.client.result - 程序包 com.mongodb.client.result
This package contains classes representing operation results
com.mongodb.connection - 程序包 com.mongodb.connection
Contains classes that manage connecting to MongoDB servers.
com.mongodb.connection.netty - 程序包 com.mongodb.connection.netty
This package contains netty specific classes
com.mongodb.diagnostics.logging - 程序包 com.mongodb.diagnostics.logging
This package contains logging classes
com.mongodb.event - 程序包 com.mongodb.event
This package contains cluster and connection event related classes
com.mongodb.gridfs - 程序包 com.mongodb.gridfs
Contains the classes for supporting MongoDB's specification for storing very large files, GridFS.
com.mongodb.management - 程序包 com.mongodb.management
Contains classes for monitoring the server/driver via Java Management Extensions (JMX).
com.mongodb.operation - 程序包 com.mongodb.operation
The core of the MongoDB driver works via operations, using the command pattern.
com.mongodb.selector - 程序包 com.mongodb.selector
Contains classes that determine how to select the server to connect to in order to send commands or queries.
com.mongodb.util - 程序包 com.mongodb.util
Contains classes that can be used everywhere in the driver, and have no specific domain.
com.mongodb.utils - 程序包 com.mongodb.utils
 
combine(Bson...) - 类 中的静态方法com.mongodb.client.model.Updates
Combine a list of updates into a single update.
combine(List<Bson>) - 类 中的静态方法com.mongodb.client.model.Updates
Combine a list of updates into a single update.
command(String, BsonDocument, boolean, FieldNameValidator, Decoder<T>) - 接口 中的方法com.mongodb.connection.Connection
Execute the command.
command(String) - 类 中的方法com.mongodb.DB
Executes a database command.
command(DBObject) - 类 中的方法com.mongodb.DB
Executes a database command.
command(DBObject, DBEncoder) - 类 中的方法com.mongodb.DB
Executes a database command.
command(DBObject, ReadPreference, DBEncoder) - 类 中的方法com.mongodb.DB
Executes a database command with the selected readPreference, and encodes the command using the given encoder.
command(DBObject, ReadPreference) - 类 中的方法com.mongodb.DB
Executes the command against the database with the given read preference.
command(String, ReadPreference) - 类 中的方法com.mongodb.DB
Executes a database command.
COMMAND_COLLECTION_NAME - 类 中的静态变量com.mongodb.MongoNamespace
 
commandAsync(String, BsonDocument, boolean, FieldNameValidator, Decoder<T>, SingleResultCallback<T>) - 接口 中的方法com.mongodb.connection.AsyncConnection
Execute the command asynchronously.
CommandEvent - com.mongodb.event中的类
An event representing a MongoDB database command.
CommandEvent(int, ConnectionDescription, String) - 类 的构造器com.mongodb.event.CommandEvent
Construct an instance.
CommandEventMulticaster - com.mongodb.event中的类
A multicaster for command events.
CommandEventMulticaster(List<CommandListener>) - 类 的构造器com.mongodb.event.CommandEventMulticaster
Construct an instance with the given list of command listeners
commandFailed(CommandFailedEvent) - 类 中的方法com.mongodb.event.CommandEventMulticaster
 
commandFailed(CommandFailedEvent) - 接口 中的方法com.mongodb.event.CommandListener
Listener for command failure events
commandFailed(CommandFailedEvent) - 类 中的方法com.mongodb.event.CommandListenerMulticaster
已过时。
 
CommandFailedEvent - com.mongodb.event中的类
An event representing the failure of a MongoDB database command.
CommandFailedEvent(int, ConnectionDescription, String, long, Throwable) - 类 的构造器com.mongodb.event.CommandFailedEvent
Construct an instance.
CommandListener - com.mongodb.event中的接口
A listener for command events
CommandListenerMulticaster - com.mongodb.event中的类
已过时。
CommandListenerMulticaster(List<CommandListener>) - 类 的构造器com.mongodb.event.CommandListenerMulticaster
已过时。
Construct an instance with the given list of command listeners
CommandReadOperation<T> - com.mongodb.operation中的类
An operation that executes an arbitrary command that reads from the server.
CommandReadOperation(String, BsonDocument, Decoder<T>) - 类 的构造器com.mongodb.operation.CommandReadOperation
Construct a new instance.
CommandResult - com.mongodb中的类
A simple wrapper to hold the result of a command.
commandStarted(CommandStartedEvent) - 类 中的方法com.mongodb.event.CommandEventMulticaster
 
commandStarted(CommandStartedEvent) - 接口 中的方法com.mongodb.event.CommandListener
Listener for command started events.
commandStarted(CommandStartedEvent) - 类 中的方法com.mongodb.event.CommandListenerMulticaster
已过时。
 
CommandStartedEvent - com.mongodb.event中的类
An event representing the start of a command execution.
CommandStartedEvent(int, ConnectionDescription, String, String, BsonDocument) - 类 的构造器com.mongodb.event.CommandStartedEvent
Construct an instance.
commandSucceeded(CommandSucceededEvent) - 类 中的方法com.mongodb.event.CommandEventMulticaster
 
commandSucceeded(CommandSucceededEvent) - 接口 中的方法com.mongodb.event.CommandListener
Listener for command completed events
commandSucceeded(CommandSucceededEvent) - 类 中的方法com.mongodb.event.CommandListenerMulticaster
已过时。
 
CommandSucceededEvent - com.mongodb.event中的类
An event representing the completion of a MongoDB database command.
CommandSucceededEvent(int, ConnectionDescription, String, BsonDocument, long) - 类 的构造器com.mongodb.event.CommandSucceededEvent
Construct an instance.
CommandWriteOperation<T> - com.mongodb.operation中的类
An operation that executes an arbitrary command that writes to the server.
CommandWriteOperation(String, BsonDocument, Decoder<T>) - 类 的构造器com.mongodb.operation.CommandWriteOperation
Construct a new instance.
comment(String) - 类 中的方法com.mongodb.DBCursor
Adds a comment to the query to identify queries in the database profiler output.
COMMENT - 类 中的静态变量com.mongodb.QueryOperators
 
compareTo(ServerVersion) - 类 中的方法com.mongodb.connection.ServerVersion
 
compareTo(BsonBoolean) - 类 中的方法org.bson.BsonBoolean
 
compareTo(BsonDateTime) - 类 中的方法org.bson.BsonDateTime
 
compareTo(BsonDouble) - 类 中的方法org.bson.BsonDouble
 
compareTo(BsonInt32) - 类 中的方法org.bson.BsonInt32
 
compareTo(BsonInt64) - 类 中的方法org.bson.BsonInt64
 
compareTo(BsonObjectId) - 类 中的方法org.bson.BsonObjectId
 
compareTo(BsonString) - 类 中的方法org.bson.BsonString
 
compareTo(BsonTimestamp) - 类 中的方法org.bson.BsonTimestamp
 
compareTo(BSONTimestamp) - 类 中的方法org.bson.types.BSONTimestamp
 
compareTo(ObjectId) - 类 中的方法org.bson.types.ObjectId
 
completed(T) - 接口 中的方法com.mongodb.connection.AsyncCompletionHandler
Invoked when an operation has completed.
CompositeServerSelector - com.mongodb.selector中的类
A server selector that composes a list of server selectors, and selects the servers by iterating through the list from start to finish, passing the result of the previous into the next, and finally returning the result of the last one.
CompositeServerSelector(List<? extends ServerSelector>) - 类 的构造器com.mongodb.selector.CompositeServerSelector
Constructs a new instance.
compoundIndex(Bson...) - 类 中的静态方法com.mongodb.client.model.Indexes
create a compound index specifications.
compoundIndex(List<Bson>) - 类 中的静态方法com.mongodb.client.model.Indexes
compound multiple index specifications.
computed(String, TExpression) - 类 中的静态方法com.mongodb.client.model.Projections
Creates a projection of a field whose value is computed from the given expression.
connect(MongoURI) - 类 中的方法com.mongodb.Mongo.Holder
已过时。
connect(MongoClientURI) - 类 中的方法com.mongodb.Mongo.Holder
Attempts to find an existing MongoClient instance matching that URI in the holder, and returns it if exists.
connect() - 类 中的方法com.mongodb.MongoURI
已过时。
Creates a Mongo instance based on the URI.
connectCollection(DB) - 类 中的方法com.mongodb.MongoURI
已过时。
Returns the URI's Collection from a given DB object.
connectCollection(Mongo) - 类 中的方法com.mongodb.MongoURI
已过时。
Returns the URI's Collection from a given Mongo instance
connectDB() - 类 中的方法com.mongodb.MongoURI
已过时。
Returns the DB object from a newly created Mongo instance based on this URI.
connectDB(Mongo) - 类 中的方法com.mongodb.MongoURI
已过时。
Returns the URI's DB object from a given Mongo instance.
Connection - com.mongodb.connection中的接口
A synchronous connection to a MongoDB server with blocking operations.
connectionAdded(ConnectionAddedEvent) - 类 中的方法com.mongodb.event.ConnectionPoolEventMulticaster
 
connectionAdded(ConnectionAddedEvent) - 接口 中的方法com.mongodb.event.ConnectionPoolListener
Invoked when a connection is added to a pool.
connectionAdded(ConnectionAddedEvent) - 类 中的方法com.mongodb.event.ConnectionPoolListenerAdapter
 
connectionAdded(ConnectionAddedEvent) - 类 中的方法com.mongodb.management.JMXConnectionPoolListener
 
ConnectionAddedEvent - com.mongodb.event中的类
An event for adding a new connection to the pool.
ConnectionAddedEvent(ConnectionId) - 类 的构造器com.mongodb.event.ConnectionAddedEvent
Construct an instance
connectionCheckedIn(ConnectionCheckedInEvent) - 类 中的方法com.mongodb.event.ConnectionPoolEventMulticaster
 
connectionCheckedIn(ConnectionCheckedInEvent) - 接口 中的方法com.mongodb.event.ConnectionPoolListener
Invoked when a connection is checked in to a pool.
connectionCheckedIn(ConnectionCheckedInEvent) - 类 中的方法com.mongodb.event.ConnectionPoolListenerAdapter
 
connectionCheckedIn(ConnectionCheckedInEvent) - 类 中的方法com.mongodb.management.JMXConnectionPoolListener
 
ConnectionCheckedInEvent - com.mongodb.event中的类
An event for checking in a connection to the pool.
ConnectionCheckedInEvent(ConnectionId) - 类 的构造器com.mongodb.event.ConnectionCheckedInEvent
Construct an instance
connectionCheckedOut(ConnectionCheckedOutEvent) - 类 中的方法com.mongodb.event.ConnectionPoolEventMulticaster
 
connectionCheckedOut(ConnectionCheckedOutEvent) - 接口 中的方法com.mongodb.event.ConnectionPoolListener
Invoked when a connection is checked out of a pool.
connectionCheckedOut(ConnectionCheckedOutEvent) - 类 中的方法com.mongodb.event.ConnectionPoolListenerAdapter
 
connectionCheckedOut(ConnectionCheckedOutEvent) - 类 中的方法com.mongodb.management.JMXConnectionPoolListener
 
ConnectionCheckedOutEvent - com.mongodb.event中的类
An event for checking our a connection from the pool.
ConnectionCheckedOutEvent(ConnectionId) - 类 的构造器com.mongodb.event.ConnectionCheckedOutEvent
Construct an instance
connectionClosed(ConnectionClosedEvent) - 类 中的方法com.mongodb.event.ConnectionEventMulticaster
 
connectionClosed(ConnectionClosedEvent) - 接口 中的方法com.mongodb.event.ConnectionListener
Publish a connection message closed event.
connectionClosed(ConnectionClosedEvent) - 类 中的方法com.mongodb.event.ConnectionListenerAdapter
 
ConnectionClosedEvent - com.mongodb.event中的类
A connection closed event.
ConnectionClosedEvent(ConnectionId) - 类 的构造器com.mongodb.event.ConnectionClosedEvent
Constructs a new instance of the event.
ConnectionDescription - com.mongodb.connection中的类
A description of a connection to a MongoDB server.
ConnectionDescription(ServerId) - 类 的构造器com.mongodb.connection.ConnectionDescription
Construct a defaulted connection description instance.
ConnectionDescription(ConnectionId, ServerVersion, ServerType, int, int, int) - 类 的构造器com.mongodb.connection.ConnectionDescription
Construct an instance.
ConnectionEventMulticaster - com.mongodb.event中的类
A multicaster for connection events.
ConnectionEventMulticaster() - 类 的构造器com.mongodb.event.ConnectionEventMulticaster
 
ConnectionId - com.mongodb.connection中的类
An immutable connection identifier of a connection to a MongoDB server.
ConnectionLimitException(String) - 异常错误 的构造器com.mongodb.connection.MongoQueryAnalyzer.ConnectionLimitException
 
ConnectionListener - com.mongodb.event中的接口
A listener for connection-related events.
ConnectionListenerAdapter - com.mongodb.event中的类
An adapter for connection listener implementations, for clients that want to listen for a subset of connection events.
ConnectionListenerAdapter() - 类 的构造器com.mongodb.event.ConnectionListenerAdapter
 
ConnectionMessageReceivedEvent - com.mongodb.event中的类
An event signifying that a message has been received on a connection.
ConnectionMessageReceivedEvent(ConnectionId, int, int) - 类 的构造器com.mongodb.event.ConnectionMessageReceivedEvent
Constructs a new instance of the event.
ConnectionMessagesSentEvent - com.mongodb.event中的类
An event signifying that a message has been sent on a connection.
ConnectionMessagesSentEvent(ConnectionId, int, int) - 类 的构造器com.mongodb.event.ConnectionMessagesSentEvent
Constructs a new instance of the event.
connectionOpened(ConnectionOpenedEvent) - 类 中的方法com.mongodb.event.ConnectionEventMulticaster
 
connectionOpened(ConnectionOpenedEvent) - 接口 中的方法com.mongodb.event.ConnectionListener
Publish a connection opened event.
connectionOpened(ConnectionOpenedEvent) - 类 中的方法com.mongodb.event.ConnectionListenerAdapter
 
ConnectionOpenedEvent - com.mongodb.event中的类
An event for opening a new connection.
ConnectionOpenedEvent(ConnectionId) - 类 的构造器com.mongodb.event.ConnectionOpenedEvent
Construct an instance
connectionPoolClosed(ConnectionPoolClosedEvent) - 类 中的方法com.mongodb.event.ConnectionPoolEventMulticaster
 
connectionPoolClosed(ConnectionPoolClosedEvent) - 接口 中的方法com.mongodb.event.ConnectionPoolListener
Invoked when a connection pool is closed.
connectionPoolClosed(ConnectionPoolClosedEvent) - 类 中的方法com.mongodb.event.ConnectionPoolListenerAdapter
 
connectionPoolClosed(ConnectionPoolClosedEvent) - 类 中的方法com.mongodb.management.JMXConnectionPoolListener
 
ConnectionPoolClosedEvent - com.mongodb.event中的类
An event signifying the closing of a connection pool.
ConnectionPoolClosedEvent(ServerId) - 类 的构造器com.mongodb.event.ConnectionPoolClosedEvent
Constructs a new instance of the event.
ConnectionPoolEventMulticaster - com.mongodb.event中的类
A multicaster for connection pool events.
ConnectionPoolEventMulticaster() - 类 的构造器com.mongodb.event.ConnectionPoolEventMulticaster
 
ConnectionPoolListener - com.mongodb.event中的接口
A listener for connection pool-related events.
ConnectionPoolListenerAdapter - com.mongodb.event中的类
An adapter for connection pool listener implementations, for clients that want to listen for a subset of connection pool events.
ConnectionPoolListenerAdapter() - 类 的构造器com.mongodb.event.ConnectionPoolListenerAdapter
 
connectionPoolOpened(ConnectionPoolOpenedEvent) - 类 中的方法com.mongodb.event.ConnectionPoolEventMulticaster
 
connectionPoolOpened(ConnectionPoolOpenedEvent) - 接口 中的方法com.mongodb.event.ConnectionPoolListener
Invoked when a connection pool is opened.
connectionPoolOpened(ConnectionPoolOpenedEvent) - 类 中的方法com.mongodb.event.ConnectionPoolListenerAdapter
 
connectionPoolOpened(ConnectionPoolOpenedEvent) - 类 中的方法com.mongodb.management.JMXConnectionPoolListener
 
ConnectionPoolOpenedEvent - com.mongodb.event中的类
An event signifying the opening of a connection pool.
ConnectionPoolOpenedEvent(ServerId, ConnectionPoolSettings) - 类 的构造器com.mongodb.event.ConnectionPoolOpenedEvent
Constructs a new instance of the event.
ConnectionPoolSettings - com.mongodb.connection中的类
All settings that relate to the pool of connections to a MongoDB server.
ConnectionPoolSettings.Builder - com.mongodb.connection中的类
A builder for creating ConnectionPoolSettings.
ConnectionPoolStatisticsMBean - com.mongodb.management中的接口
A standard MXBean interface for a Mongo connection pool, for use on Java 6 and above virtual machines.
ConnectionPoolWaitQueueEnteredEvent - com.mongodb.event中的类
An event for entering the wait queue of the connection pool.
ConnectionPoolWaitQueueEnteredEvent(ServerId, long) - 类 的构造器com.mongodb.event.ConnectionPoolWaitQueueEnteredEvent
Construct an instance.
ConnectionPoolWaitQueueExitedEvent - com.mongodb.event中的类
An event for entering the wait queue of the connection pool.
ConnectionPoolWaitQueueExitedEvent(ServerId, long) - 类 的构造器com.mongodb.event.ConnectionPoolWaitQueueExitedEvent
Construct an instance.
connectionRemoved(ConnectionRemovedEvent) - 类 中的方法com.mongodb.event.ConnectionPoolEventMulticaster
 
connectionRemoved(ConnectionRemovedEvent) - 接口 中的方法com.mongodb.event.ConnectionPoolListener
Invoked when a connection is removed from a pool.
connectionRemoved(ConnectionRemovedEvent) - 类 中的方法com.mongodb.event.ConnectionPoolListenerAdapter
 
connectionRemoved(ConnectionRemovedEvent) - 类 中的方法com.mongodb.management.JMXConnectionPoolListener
 
ConnectionRemovedEvent - com.mongodb.event中的类
An event for removing a connection from the pool.
ConnectionRemovedEvent(ConnectionId) - 类 的构造器com.mongodb.event.ConnectionRemovedEvent
Construct an instance
ConnectionSource - com.mongodb.binding中的接口
A source of connections to a single MongoDB server.
connectionsPerHost(int) - 类 中的方法com.mongodb.MongoClientOptions.Builder
Sets the maximum number of connections per host.
connectionsPerHost - 类 中的变量com.mongodb.MongoOptions
已过时。
The maximum number of connections allowed per host for this Mongo instance.
ConnectionString - com.mongodb中的类
Represents a Connection String.
ConnectionString(String) - 类 的构造器com.mongodb.ConnectionString
Creates a ConnectionString from the given string.
connectTimeout(int, TimeUnit) - 类 中的方法com.mongodb.connection.SocketSettings.Builder
Sets the socket connect timeout.
connectTimeout(int) - 类 中的方法com.mongodb.MongoClientOptions.Builder
Sets the connection timeout.
connectTimeout - 类 中的变量com.mongodb.MongoOptions
已过时。
The connection timeout in milliseconds.
contains(Object) - 类 中的方法org.bson.BsonArray
 
contains(Object) - 类 中的方法org.bson.LazyBSONList
 
containsAll(TagSet) - 类 中的方法com.mongodb.TagSet
Returns true if this tag set contains all of the elements of the specified tag set.
containsAll(Collection<?>) - 类 中的方法org.bson.BsonArray
 
containsAll(Collection) - 类 中的方法org.bson.LazyBSONList
 
containsField(String) - 类 中的方法com.mongodb.gridfs.GridFSFile
 
containsField(String) - 类 中的方法com.mongodb.ReflectionDBObject
 
containsField(String) - 类 中的方法org.bson.BasicBSONObject
Checks if this object contains a given field
containsField(String) - 接口 中的方法org.bson.BSONObject
Checks if this object contains a field with the given name.
containsField(String) - 类 中的方法org.bson.LazyBSONObject
 
containsField(String) - 类 中的方法org.bson.types.BasicBSONList
 
containsKey(String) - 类 中的方法com.mongodb.gridfs.GridFSFile
已过时。
containsKey(String) - 类 中的方法com.mongodb.ReflectionDBObject
已过时。
containsKey(String) - 类 中的方法com.mongodb.ReflectionDBObject.JavaWrapper
已过时。 
containsKey(String) - 类 中的方法org.bson.BasicBSONObject
已过时。
containsKey(Object) - 类 中的方法org.bson.BsonDocument
 
containsKey(Object) - 类 中的方法org.bson.BsonDocumentWrapper
 
containsKey(String) - 接口 中的方法org.bson.BSONObject
已过时。
containsKey(Object) - 类 中的方法org.bson.Document
 
containsKey(String) - 类 中的方法org.bson.LazyBSONObject
已过时。
containsKey(Object) - 类 中的方法org.bson.RawBsonDocument
 
containsKey(String) - 类 中的方法org.bson.types.BasicBSONList
已过时。
containsValue(Object) - 类 中的方法org.bson.BsonDocument
 
containsValue(Object) - 类 中的方法org.bson.BsonDocumentWrapper
 
containsValue(Object) - 类 中的方法org.bson.Document
 
containsValue(Object) - 类 中的方法org.bson.RawBsonDocument
 
Context(AbstractBsonReader.Context, BsonContextType) - 类 的构造器org.bson.AbstractBsonReader.Context
Creates a new instance.
Context(AbstractBsonWriter.Context) - 类 的构造器org.bson.AbstractBsonWriter.Context
Creates a new instance, copying values from an existing context.
Context(AbstractBsonWriter.Context, BsonContextType) - 类 的构造器org.bson.AbstractBsonWriter.Context
Creates a new instance.
Context(BsonBinaryWriter.Context, BsonContextType, int) - 类 的构造器org.bson.BsonBinaryWriter.Context
Creates a new instance
Context(BsonBinaryWriter.Context) - 类 的构造器org.bson.BsonBinaryWriter.Context
Creates a new instance by copying the values from the given context.
Context(BsonDocumentReader.Context, BsonContextType, BsonArray) - 类 的构造器org.bson.BsonDocumentReader.Context
 
Context(BsonDocumentReader.Context, BsonContextType, BsonDocument) - 类 的构造器org.bson.BsonDocumentReader.Context
 
Context(AbstractBsonReader.Context, BsonContextType) - 类 的构造器org.bson.json.JsonReader.Context
 
Context(JsonWriter.Context, BsonContextType, String) - 类 的构造器org.bson.json.JsonWriter.Context
Creates a new context.
continueOnError(boolean) - 类 中的方法com.mongodb.InsertOptions
Set whether documents will continue to be inserted after a failure to insert one.
convertToType(Class<T>, Object, String) - 类 中的静态方法org.bson.assertions.Assertions
Cast an object to the given class and return it, or throw IllegalArgumentException if it's not assignable to that class.
CoordinateReferenceSystem - com.mongodb.client.model.geojson中的类
A GeoJSON Coordinate Reference System (CRS).
CoordinateReferenceSystem() - 类 的构造器com.mongodb.client.model.geojson.CoordinateReferenceSystem
 
CoordinateReferenceSystemType - com.mongodb.client.model.geojson中的枚举
An enumeration of the GeoJSON coordinate reference system types.
copy() - 类 中的方法com.mongodb.BasicDBList
Copies this instance into a new Object.
copy() - 类 中的方法com.mongodb.BasicDBObject
Creates a new instance which is a copy of this BasicDBObject.
copy() - 类 中的方法com.mongodb.DBCursor
Creates a copy of an existing database cursor.
copy() - 类 中的方法com.mongodb.MongoOptions
已过时。
Copy this MongoOptions instance into a new instance.
copy() - 类 中的方法org.bson.AbstractBsonWriter.Context
Copies the values from this Context into a new instance.
copy() - 类 中的方法org.bson.BsonBinaryWriter.Context
 
count() - 接口 中的方法com.mongodb.client.MongoCollection
Counts the number of documents in the collection.
count(Bson) - 接口 中的方法com.mongodb.client.MongoCollection
Counts the number of documents in the collection according to the given options.
count(Bson, CountOptions) - 接口 中的方法com.mongodb.client.MongoCollection
Counts the number of documents in the collection according to the given options.
count() - 类 中的方法com.mongodb.DBCollection
count(DBObject) - 类 中的方法com.mongodb.DBCollection
count(DBObject, ReadPreference) - 类 中的方法com.mongodb.DBCollection
Get the count of documents in collection that would match a criteria.
count() - 类 中的方法com.mongodb.DBCursor
Counts the number of objects matching the query.
CountedBytes - org.bson中的接口
2016.11.23
CountOperation - com.mongodb.operation中的类
An operation that executes a count.
CountOperation(MongoNamespace) - 类 的构造器com.mongodb.operation.CountOperation
Construct a new instance.
CountOptions - com.mongodb.client.model中的类
The options for a count operation.
CountOptions() - 类 的构造器com.mongodb.client.model.CountOptions
 
create(MongoDatabase) - 类 中的静态方法com.mongodb.client.gridfs.GridFSBuckets
Create a new GridFS bucket with the default 'fs' bucket name
create(MongoDatabase, String) - 类 中的静态方法com.mongodb.client.gridfs.GridFSBuckets
Create a new GridFS bucket with a custom bucket name
create(ServerAddress) - 类 中的方法com.mongodb.connection.AsynchronousSocketChannelStreamFactory
 
create(SocketSettings, SslSettings) - 类 中的方法com.mongodb.connection.AsynchronousSocketChannelStreamFactoryFactory
 
create(ClusterSettings, ServerSettings, ConnectionPoolSettings, StreamFactory, StreamFactory, List<MongoCredential>, ClusterListener, ConnectionPoolListener, ConnectionListener) - 接口 中的方法com.mongodb.connection.ClusterFactory
Creates a cluster with the given settings.
create(ClusterSettings, ServerSettings, ConnectionPoolSettings, StreamFactory, StreamFactory, List<MongoCredential>, ClusterListener, ConnectionPoolListener, ConnectionListener) - 类 中的方法com.mongodb.connection.DefaultClusterFactory
 
create(ClusterSettings, ServerSettings, ConnectionPoolSettings, StreamFactory, StreamFactory, List<MongoCredential>, ClusterListener, ConnectionPoolListener, ConnectionListener, CommandListener) - 类 中的方法com.mongodb.connection.DefaultClusterFactory
Creates a cluster with the given settings.
create(ServerAddress) - 类 中的方法com.mongodb.connection.netty.NettyStreamFactory
 
create(SocketSettings, SslSettings) - 类 中的方法com.mongodb.connection.netty.NettyStreamFactoryFactory
 
create(ServerAddress) - 类 中的方法com.mongodb.connection.SocketStreamFactory
 
create(ServerAddress) - 接口 中的方法com.mongodb.connection.StreamFactory
Create a Stream to the given address
create(SocketSettings, SslSettings) - 接口 中的方法com.mongodb.connection.StreamFactoryFactory
Create a StreamFactory with the given settings.
create(DBCollection) - 接口 中的方法com.mongodb.DBCallbackFactory
Creates a DBCallback for the given collection.
create() - 接口 中的方法com.mongodb.DBDecoderFactory
Creates an instance.
create() - 接口 中的方法com.mongodb.DBEncoderFactory
Creates an instance.
create() - 类 中的方法com.mongodb.DefaultDBCallback
 
create(boolean, List<String>) - 类 中的方法com.mongodb.DefaultDBCallback
 
create() - 类 中的方法com.mongodb.util.JSONCallback
 
create() - 类 中的方法org.bson.BasicBSONCallback
Factory method for creating a new BSONObject.
create(boolean, List<String>) - 类 中的方法org.bson.BasicBSONCallback
Helper method to create either a BSON Object or a BSON List depending upon whether the array parameter is true or not.
createArray(byte[], int) - 类 中的方法com.mongodb.LazyDBCallback
 
createArray(byte[], int) - 类 中的方法org.bson.LazyBSONCallback
Create a LazyBSONList from the given bytes starting from the given offset.
createBSONCallback() - 类 中的方法org.bson.BasicBSONCallback
 
createBSONCallback() - 接口 中的方法org.bson.BSONCallback
Factory method for BSONCallbacks.
createBSONCallback() - 类 中的方法org.bson.EmptyBSONCallback
 
createChunk(Object, int, byte[]) - 类 中的方法com.mongodb.gridfs.GridFSInputFile
Creates a new chunk of this file.
createCollection(String) - 接口 中的方法com.mongodb.client.MongoDatabase
Create a new collection with the given name.
createCollection(String, CreateCollectionOptions) - 接口 中的方法com.mongodb.client.MongoDatabase
Create a new collection with the selected options
createCollection(String, DBObject) - 类 中的方法com.mongodb.DB
Creates a collection with a given name and options.
CreateCollectionOperation - com.mongodb.operation中的类
An operation to create a collection
CreateCollectionOperation(String, String) - 类 的构造器com.mongodb.operation.CreateCollectionOperation
Construct a new instance.
CreateCollectionOptions - com.mongodb.client.model中的类
Options for creating a collection
CreateCollectionOptions() - 类 的构造器com.mongodb.client.model.CreateCollectionOptions
 
createCredential(String, String, char[]) - 类 中的静态方法com.mongodb.MongoCredential
Creates a MongoCredential instance with an unspecified mechanism.
createDBRef(String, ObjectId) - 类 中的方法com.mongodb.LazyDBCallback
 
createDBRef(String, ObjectId) - 类 中的方法org.bson.LazyBSONCallback
This is a factory method pattern to create appropriate objects for BSON type DBPointer(0x0c).
createFile(byte[]) - 类 中的方法com.mongodb.gridfs.GridFS
Creates a file entry.
createFile(File) - 类 中的方法com.mongodb.gridfs.GridFS
Creates a file entry.
createFile(InputStream) - 类 中的方法com.mongodb.gridfs.GridFS
Creates a file entry.
createFile(InputStream, boolean) - 类 中的方法com.mongodb.gridfs.GridFS
Creates a file entry.
createFile(InputStream, String) - 类 中的方法com.mongodb.gridfs.GridFS
Creates a file entry.
createFile(InputStream, String, boolean) - 类 中的方法com.mongodb.gridfs.GridFS
Creates a file entry.
createFile(String) - 类 中的方法com.mongodb.gridfs.GridFS
Creates a file entry.
createFile() - 类 中的方法com.mongodb.gridfs.GridFS
This method creates an empty GridFSInputFile instance.
createFromLegacyFormat(int, int, int) - 类 中的静态方法org.bson.types.ObjectId
Creates an ObjectId using time, machine and inc values.
createGSSAPICredential(String) - 类 中的静态方法com.mongodb.MongoCredential
Creates a MongoCredential instance for the GSSAPI SASL mechanism.
createIndex(Bson) - 接口 中的方法com.mongodb.client.MongoCollection
Create an index with the given keys.
createIndex(Bson, IndexOptions) - 接口 中的方法com.mongodb.client.MongoCollection
Create an index with the given keys and options.
createIndex(String) - 类 中的方法com.mongodb.DBCollection
Forces creation of an ascending index on a field with the default options.
createIndex(DBObject, String) - 类 中的方法com.mongodb.DBCollection
Forces creation of an index on a set of fields, if one does not already exist.
createIndex(DBObject, String, boolean) - 类 中的方法com.mongodb.DBCollection
Forces creation of an index on a set of fields, if one does not already exist.
createIndex(DBObject) - 类 中的方法com.mongodb.DBCollection
Creates an index on the field specified, if that index does not already exist.
createIndex(DBObject, DBObject) - 类 中的方法com.mongodb.DBCollection
Creates an index on the field specified, if that index does not already exist.
createIndexes(List<IndexModel>) - 接口 中的方法com.mongodb.client.MongoCollection
Create multiple indexes.
CreateIndexesOperation - com.mongodb.operation中的类
An operation that creates one or more indexes.
CreateIndexesOperation(MongoNamespace, List<IndexRequest>) - 类 的构造器com.mongodb.operation.CreateIndexesOperation
Construct a new instance.
createList() - 类 中的方法com.mongodb.util.JSONCallback
 
createList() - 类 中的方法org.bson.BasicBSONCallback
Factory method for creating a new BSON List.
createMongoCRCredential(String, String, char[]) - 类 中的静态方法com.mongodb.MongoCredential
Creates a MongoCredential instance for the MongoDB Challenge Response protocol.
createMongoX509Credential(String) - 类 中的静态方法com.mongodb.MongoCredential
Creates a MongoCredential instance for the MongoDB X.509 protocol.
createObject(byte[], int) - 类 中的方法com.mongodb.LazyDBCallback
 
createObject(byte[], int) - 类 中的方法org.bson.LazyBSONCallback
Create a LazyBSONObject instance from the given bytes starting from the given offset.
createPlainCredential(String, String, char[]) - 类 中的静态方法com.mongodb.MongoCredential
Creates a MongoCredential instance for the PLAIN SASL mechanism.
createScramSha1Credential(String, String, char[]) - 类 中的静态方法com.mongodb.MongoCredential
Creates a MongoCredential instance for the SCRAM-SHA-1 SASL mechanism.
CreateUserOperation - com.mongodb.operation中的类
An operation to create a user.
CreateUserOperation(MongoCredential, boolean) - 类 的构造器com.mongodb.operation.CreateUserOperation
Construct a new instance.
CRS_84 - 类 中的静态变量com.mongodb.client.model.geojson.NamedCoordinateReferenceSystem
The urn:ogc:def:crs:OGC:1.3:CRS84 Coordinate Reference System
cur() - 类 中的方法org.bson.BasicBSONCallback
Gets the current value
curName() - 类 中的方法org.bson.BasicBSONCallback
Gets the name of the current field
curr() - 类 中的方法com.mongodb.DBCursor
Returns the element the cursor is at.
currentDate(String) - 类 中的静态方法com.mongodb.client.model.Updates
Creates an update that sets the value of the field to the current date as a BSON date.
CurrentOpOperation - com.mongodb.operation中的类
An operation that determines the current operation on a MongoDB server.
CurrentOpOperation() - 类 的构造器com.mongodb.operation.CurrentOpOperation
 
currentTimeMillis() - 类 中的静态方法com.mongodb.utils.SystemTimer
 
currentTimestamp(String) - 类 中的静态方法com.mongodb.client.model.Updates
Creates an update that sets the value of the field to the current date as a BSON timestamp.
Cursor - com.mongodb中的接口
Interface for providing consistent behaviour between different Cursor implementations.
cursorFinalizerEnabled(boolean) - 类 中的方法com.mongodb.MongoClientOptions.Builder
Sets whether cursor finalizers are enabled.
cursorFinalizerEnabled - 类 中的变量com.mongodb.MongoOptions
已过时。
Sets whether there is a a finalize method created that cleans up instances of DBCursor that the client does not close.
cursorType(CursorType) - 接口 中的方法com.mongodb.client.FindIterable
Sets the cursor type.
cursorType(CursorType) - 类 中的方法com.mongodb.client.model.FindOptions
Sets the cursor type.
CursorType - com.mongodb中的枚举
An enumeration of cursor types.
cursorType(CursorType) - 类 中的方法com.mongodb.operation.FindOperation
Sets the cursor type.

D

databaseName(String) - 接口 中的方法com.mongodb.client.MapReduceIterable
Sets the name of the database to output into.
databaseName(String) - 类 中的方法com.mongodb.operation.MapReduceToCollectionOperation
Sets the name of the database to output into.
DATE - 类 中的静态变量org.bson.BSON
 
DateCodec - org.bson.codecs中的类
Encodes and decodes java.util.Date objects.
DateCodec() - 类 的构造器org.bson.codecs.DateCodec
 
DB - com.mongodb中的类
A thread-safe client view of a logical database in a MongoDB cluster.
DB(Mongo, String) - 类 的构造器com.mongodb.DB
Constructs a new instance of the DB.
DBAddress - com.mongodb中的类
已过时。
This class is no longer needed, as the driver does not rely on it for anything anymore. Use ServerAddress instead.
DBAddress(String) - 类 的构造器com.mongodb.DBAddress
已过时。
Creates a new address.
DBAddress(DBAddress, String) - 类 的构造器com.mongodb.DBAddress
已过时。
Create a DBAddress using the host and port from an existing DBAddress, and connected to a given database.
DBAddress(String, String) - 类 的构造器com.mongodb.DBAddress
已过时。
Creates a DBAddress for the given database on the given host.
DBAddress(String, int, String) - 类 的构造器com.mongodb.DBAddress
已过时。
Creates a DBAddress for the given database on the given host at the given port.
DBAddress(InetAddress, int, String) - 类 的构造器com.mongodb.DBAddress
已过时。
 
DBCallback - com.mongodb中的接口
The DB callback interface.
DBCallbackFactory - com.mongodb中的接口
Factory for creating concrete implementations of DBCallback.
DBCollection - com.mongodb中的类
Implementation of a database collection.
DBCollection(DB, String) - 类 的构造器com.mongodb.DBCollection
Initializes a new collection.
DBCursor - com.mongodb中的类
An iterator over database results.
DBCursor(DBCollection, DBObject, DBObject, ReadPreference) - 类 的构造器com.mongodb.DBCursor
Initializes a new database cursor.
DBDecoder - com.mongodb中的接口
An interface for decoders of BSON into instances of DBObject that belong to a DBCollection.
DBDecoderFactory - com.mongodb中的接口
Creates concrete DBDecoder instances.
dbDecoderFactory(DBDecoderFactory) - 类 中的方法com.mongodb.MongoClientOptions.Builder
Sets the decoder factory.
dbDecoderFactory - 类 中的变量com.mongodb.MongoOptions
已过时。
Override the DBCallback factory.
DBEncoder - com.mongodb中的接口
An interface for encoders of BSONObject to BSON.
dbEncoder(DBEncoder) - 类 中的方法com.mongodb.InsertOptions
Set the encoder to use for the documents.
DBEncoderFactory - com.mongodb中的接口
Creates concrete DBEncoder instances.
dbEncoderFactory(DBEncoderFactory) - 类 中的方法com.mongodb.MongoClientOptions.Builder
Sets the encoder factory.
dbEncoderFactory - 类 中的变量com.mongodb.MongoOptions
已过时。
Override the encoding factory.
DBObject - com.mongodb中的接口
This interface adds some specific behaviour to BSONObject for MongoDB documents.
DBObjectCodec - com.mongodb中的类
A collectible codec for a DBObject.
DBObjectCodec(CodecRegistry) - 类 的构造器com.mongodb.DBObjectCodec
Construct an instance with the given codec registry.
DBObjectCodec(CodecRegistry, BsonTypeClassMap) - 类 的构造器com.mongodb.DBObjectCodec
Construct an instance.
DBObjectCodec(CodecRegistry, BsonTypeClassMap, DBObjectFactory) - 类 的构造器com.mongodb.DBObjectCodec
Construct an instance.
DBObjectCodecProvider - com.mongodb中的类
A provider for a DBObjectCodec.
DBObjectCodecProvider() - 类 的构造器com.mongodb.DBObjectCodecProvider
Construct an instance using the default BsonTypeClassMap.
DBObjectCodecProvider(BsonTypeClassMap) - 类 的构造器com.mongodb.DBObjectCodecProvider
Construct an instance with the given BsonTypeClassMap.
DBRef - com.mongodb中的类
A representation of a database reference.
DBRef(String, Object) - 类 的构造器com.mongodb.DBRef
Construct an instance.
DBRef(String, String, Object) - 类 的构造器com.mongodb.DBRef
Construct an instance.
DBRefCodec - com.mongodb中的类
A Codec for DBRef instances.
DBRefCodec(CodecRegistry) - 类 的构造器com.mongodb.DBRefCodec
Construct an instance with the given registry, which is used to encode the id of the referenced document.
DBRefCodecProvider - com.mongodb中的类
A codec provider for DBRef.
DBRefCodecProvider() - 类 的构造器com.mongodb.DBRefCodecProvider
 
debug(String) - 接口 中的方法com.mongodb.diagnostics.logging.Logger
Log a message at the DEBUG level.
debug(String, Throwable) - 接口 中的方法com.mongodb.diagnostics.logging.Logger
Log an exception (throwable) at the DEBUG level with an accompanying message.
decode(BsonReader, DecoderContext) - 类 中的方法com.mongodb.BSONTimestampCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法com.mongodb.client.gridfs.codecs.GridFSFileCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法com.mongodb.client.model.geojson.codecs.GeometryCollectionCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法com.mongodb.client.model.geojson.codecs.LineStringCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法com.mongodb.client.model.geojson.codecs.MultiLineStringCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法com.mongodb.client.model.geojson.codecs.MultiPointCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法com.mongodb.client.model.geojson.codecs.MultiPolygonCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法com.mongodb.client.model.geojson.codecs.NamedCoordinateReferenceSystemCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法com.mongodb.client.model.geojson.codecs.PointCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法com.mongodb.client.model.geojson.codecs.PolygonCodec
 
decode(InputStream, DBCollection) - 接口 中的方法com.mongodb.DBDecoder
Decode a single DBObject belonging to the given collection from the given input stream.
decode(byte[], DBCollection) - 接口 中的方法com.mongodb.DBDecoder
Decode a single DBObject belonging to the given collection from the given array of bytes.
decode(BsonReader, DecoderContext) - 类 中的方法com.mongodb.DBObjectCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法com.mongodb.DBRefCodec
 
decode(InputStream, DBCollection) - 类 中的方法com.mongodb.DefaultDBDecoder
 
decode(byte[], DBCollection) - 类 中的方法com.mongodb.DefaultDBDecoder
 
decode(InputStream, DBCollection) - 类 中的方法com.mongodb.LazyDBDecoder
 
decode(byte[], DBCollection) - 类 中的方法com.mongodb.LazyDBDecoder
 
decode(byte[], BSONCallback) - 类 中的方法org.bson.BasicBSONDecoder
 
decode(InputStream, BSONCallback) - 类 中的方法org.bson.BasicBSONDecoder
 
decode(byte[]) - 类 中的静态方法org.bson.BSON
Decodes a BSON byte array into a DBObject instance.
decode(byte[], BSONCallback) - 接口 中的方法org.bson.BSONDecoder
Decode a single BSON object into the given callback from the given byte array.
decode(InputStream, BSONCallback) - 接口 中的方法org.bson.BSONDecoder
Decode a single BSON object into the given callback from the given input stream.
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.AtomicBooleanCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.AtomicIntegerCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.AtomicLongCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.BinaryCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.BooleanCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.BsonArrayCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.BsonBinaryCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.BsonBooleanCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.BsonDateTimeCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.BsonDBPointerCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.BsonDocumentCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.BsonDocumentWrapperCodec
Decoding of BsonDocumentWrapper instances is not supported, so this method will throw UnsupportedOperationException in all cases.
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.BsonDoubleCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.BsonInt32Codec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.BsonInt64Codec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.BsonJavaScriptCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.BsonJavaScriptWithScopeCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.BsonMaxKeyCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.BsonMinKeyCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.BsonNullCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.BsonObjectIdCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.BsonRegularExpressionCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.BsonStringCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.BsonSymbolCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.BsonTimestampCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.BsonUndefinedCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.BsonValueCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.ByteArrayCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.ByteCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.CharacterCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.CodeCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.CodeWithScopeCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.DateCodec
 
decode(BsonReader, DecoderContext) - 接口 中的方法org.bson.codecs.Decoder
Decodes a BSON value from the given reader into an instance of the type parameter T.
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.DocumentCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.DoubleCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.FloatCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.IntegerCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.IterableCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.LongCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.MaxKeyCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.MinKeyCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.ObjectIdCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.PatternCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.RawBsonDocumentCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.ShortCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.StringCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.SymbolCodec
 
decode(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.UuidCodec
 
decode(byte[], BSONCallback) - 类 中的方法org.bson.LazyBSONDecoder
 
decode(InputStream, BSONCallback) - 类 中的方法org.bson.LazyBSONDecoder
 
decode(Codec<T>) - 类 中的方法org.bson.RawBsonDocument
Decode this into a document.
Decoder<T> - org.bson.codecs中的接口
Decoders are used for reading BSON types from MongoDB and converting them into Java objects.
DecoderContext - org.bson.codecs中的类
The context for decoding values to BSON.
DecoderContext.Builder - org.bson.codecs中的类
A builder for DecoderContext instances.
DEFAULT - 类 中的静态变量com.mongodb.ReadConcern
Use the servers default read concern.
DEFAULT_BUCKET - 类 中的静态变量com.mongodb.gridfs.GridFS
Bucket to use for the collection namespaces
DEFAULT_CHUNKSIZE - 类 中的静态变量com.mongodb.gridfs.GridFS
File's chunk size
DefaultClusterFactory - com.mongodb.connection中的类
The default factory for cluster implementations.
DefaultClusterFactory() - 类 的构造器com.mongodb.connection.DefaultClusterFactory
 
DefaultDBCallback - com.mongodb中的类
An implementation of DBCallback that decodes into a DBObject.
DefaultDBCallback(DBCollection) - 类 的构造器com.mongodb.DefaultDBCallback
Creates a new DefaultDBCallback.
DefaultDBDecoder - com.mongodb中的类
An implementation of DBDecoder
DefaultDBDecoder() - 类 的构造器com.mongodb.DefaultDBDecoder
 
DefaultDBEncoder - com.mongodb中的类
The default BSON encoder for BSONObject instances.
DefaultDBEncoder() - 类 的构造器com.mongodb.DefaultDBEncoder
 
defaultHost() - 类 中的静态方法com.mongodb.ServerAddress
Returns the default database host: "127.0.0.1"
defaultLanguage(String) - 类 中的方法com.mongodb.bulk.IndexRequest
Sets the language for the text index.
defaultLanguage(String) - 类 中的方法com.mongodb.client.model.IndexOptions
Sets the language for the text index.
defaultPort() - 类 中的静态方法com.mongodb.ServerAddress
Returns the default database port: 27017
delete(ObjectId) - 接口 中的方法com.mongodb.client.gridfs.GridFSBucket
Given a id, delete this stored file's files collection document and associated chunks from a GridFS bucket.
delete(BsonValue) - 接口 中的方法com.mongodb.client.gridfs.GridFSBucket
Given a id, delete this stored file's files collection document and associated chunks from a GridFS bucket.
delete(MongoNamespace, boolean, WriteConcern, List<DeleteRequest>) - 接口 中的方法com.mongodb.connection.Connection
Delete the documents using the delete wire protocol and apply the write concern.
deleteAsync(MongoNamespace, boolean, WriteConcern, List<DeleteRequest>, SingleResultCallback<WriteConcernResult>) - 接口 中的方法com.mongodb.connection.AsyncConnection
Delete the documents using the delete wire protocol and apply the write concern asynchronously.
deleteCommand(MongoNamespace, boolean, WriteConcern, List<DeleteRequest>) - 接口 中的方法com.mongodb.connection.Connection
Delete the documents using the delete command.
deleteCommandAsync(MongoNamespace, boolean, WriteConcern, List<DeleteRequest>, SingleResultCallback<BulkWriteResult>) - 接口 中的方法com.mongodb.connection.AsyncConnection
Delete the documents using the delete command asynchronously.
deleteMany(Bson) - 接口 中的方法com.mongodb.client.MongoCollection
Removes all documents from the collection that match the given query filter.
DeleteManyModel<T> - com.mongodb.client.model中的类
A model describing the removal of all documents matching the query filter.
DeleteManyModel(Bson) - 类 的构造器com.mongodb.client.model.DeleteManyModel
Construct a new instance.
deleteOne(Bson) - 接口 中的方法com.mongodb.client.MongoCollection
Removes at most one document from the collection that matches the given filter.
DeleteOneModel<T> - com.mongodb.client.model中的类
A model describing the removal of at most one document matching the query filter.
DeleteOneModel(Bson) - 类 的构造器com.mongodb.client.model.DeleteOneModel
Construct a new instance.
DeleteOperation - com.mongodb.operation中的类
An operation that deletes one or more documents from a collection.
DeleteOperation(MongoNamespace, boolean, WriteConcern, List<DeleteRequest>) - 类 的构造器com.mongodb.operation.DeleteOperation
Construct an instance.
DeleteRequest - com.mongodb.bulk中的类
A representation of a delete.
DeleteRequest(BsonDocument) - 类 的构造器com.mongodb.bulk.DeleteRequest
Construct a new instance.
DeleteResult - com.mongodb.client.result中的类
The result of a delete operation.
DeleteResult() - 类 的构造器com.mongodb.client.result.DeleteResult
 
descending(String...) - 类 中的静态方法com.mongodb.client.model.Indexes
Create an index key for an ascending index on the given fields.
descending(List<String>) - 类 中的静态方法com.mongodb.client.model.Indexes
Create an index key for an ascending index on the given fields.
descending(String...) - 类 中的静态方法com.mongodb.client.model.Sorts
Create a sort specification for an ascending sort on the given fields.
descending(List<String>) - 类 中的静态方法com.mongodb.client.model.Sorts
Create a sort specification for an ascending sort on the given fields.
description(String) - 类 中的方法com.mongodb.connection.ClusterSettings.Builder
Sets the user defined description of the MongoClient.
description(String) - 类 中的方法com.mongodb.MongoClientOptions.Builder
Sets the description.
description - 类 中的变量com.mongodb.MongoOptions
已过时。
The description for Mongo instances created with these options.
diacriticSensitive(Boolean) - 类 中的方法com.mongodb.client.model.TextSearchOptions
Set the diacritic-sensitive flag for the text search
distinct(String, Class<TResult>) - 接口 中的方法com.mongodb.client.MongoCollection
Gets the distinct values of the specified field name.
distinct(String, Bson, Class<TResult>) - 接口 中的方法com.mongodb.client.MongoCollection
Gets the distinct values of the specified field name.
distinct(String) - 类 中的方法com.mongodb.DBCollection
Find the distinct values for a specified field across a collection and returns the results in an array.
distinct(String, ReadPreference) - 类 中的方法com.mongodb.DBCollection
Find the distinct values for a specified field across a collection and returns the results in an array.
distinct(String, DBObject) - 类 中的方法com.mongodb.DBCollection
Find the distinct values for a specified field across a collection and returns the results in an array.
distinct(String, DBObject, ReadPreference) - 类 中的方法com.mongodb.DBCollection
Find the distinct values for a specified field across a collection and returns the results in an array.
DistinctIterable<TResult> - com.mongodb.client中的接口
Iterable interface for distinct.
DistinctOperation<T> - com.mongodb.operation中的类
Finds the distinct values for a specified field across a single collection.
DistinctOperation(MongoNamespace, String, Decoder<T>) - 类 的构造器com.mongodb.operation.DistinctOperation
Construct an instance.
Document - org.bson中的类
A representation of a document as a Map.
Document() - 类 的构造器org.bson.Document
Creates an empty Document instance.
Document(String, Object) - 类 的构造器org.bson.Document
Create a Document instance initialized with the given key/value pair.
Document(Map<String, Object>) - 类 的构造器org.bson.Document
Creates a Document instance initialized with the given map.
DocumentCodec - org.bson.codecs中的类
A Codec for Document instances.
DocumentCodec() - 类 的构造器org.bson.codecs.DocumentCodec
Construct a new instance with a default CodecRegistry and
DocumentCodec(CodecRegistry, BsonTypeClassMap) - 类 的构造器org.bson.codecs.DocumentCodec
Construct a new instance with the given registry and BSON type class map.
DocumentCodec(CodecRegistry, BsonTypeClassMap, Transformer) - 类 的构造器org.bson.codecs.DocumentCodec
Construct a new instance with the given registry and BSON type class map.
DocumentCodecProvider - org.bson.codecs中的类
A CodecProvider for the Document class and all the default Codec implementations on which it depends.
DocumentCodecProvider() - 类 的构造器org.bson.codecs.DocumentCodecProvider
Construct a new instance with a default BsonTypeClassMap.
DocumentCodecProvider(Transformer) - 类 的构造器org.bson.codecs.DocumentCodecProvider
Construct a new instance with a default BsonTypeClassMap and the given Transformer.
DocumentCodecProvider(BsonTypeClassMap) - 类 的构造器org.bson.codecs.DocumentCodecProvider
Construct a new instance with the given instance of BsonTypeClassMap.
DocumentCodecProvider(BsonTypeClassMap, Transformer) - 类 的构造器org.bson.codecs.DocumentCodecProvider
Construct a new instance with the given instance of BsonTypeClassMap.
documentHasId(DBObject) - 类 中的方法com.mongodb.DBObjectCodec
 
documentHasId(BsonDocument) - 类 中的方法org.bson.codecs.BsonDocumentCodec
 
documentHasId(T) - 接口 中的方法org.bson.codecs.CollectibleCodec
Returns true if the given document has an _id.
documentHasId(Document) - 类 中的方法org.bson.codecs.DocumentCodec
 
doEval(String, Object...) - 类 中的方法com.mongodb.DB
Evaluates JavaScript functions on the database server.
doGetCollection(String) - 类 中的方法com.mongodb.DB
Gets a collection with a given name.
done() - 类 中的方法org.bson.BasicBSONEncoder
 
done() - 接口 中的方法org.bson.BSONEncoder
Free the resources.
doPeekBinarySubType() - 类 中的方法org.bson.AbstractBsonReader
Handles the logic to peek at the binary subtype.
doPeekBinarySubType() - 类 中的方法org.bson.BsonBinaryReader
 
doPeekBinarySubType() - 类 中的方法org.bson.BsonDocumentReader
 
doPeekBinarySubType() - 类 中的方法org.bson.json.JsonReader
 
doReadBinaryData() - 类 中的方法org.bson.AbstractBsonReader
Handles the logic to read binary data
doReadBinaryData() - 类 中的方法org.bson.BsonBinaryReader
 
doReadBinaryData() - 类 中的方法org.bson.BsonDocumentReader
 
doReadBinaryData() - 类 中的方法org.bson.json.JsonReader
 
doReadBoolean() - 类 中的方法org.bson.AbstractBsonReader
Handles the logic to read booleans
doReadBoolean() - 类 中的方法org.bson.BsonBinaryReader
 
doReadBoolean() - 类 中的方法org.bson.BsonDocumentReader
 
doReadBoolean() - 类 中的方法org.bson.json.JsonReader
 
doReadDateTime() - 类 中的方法org.bson.AbstractBsonReader
Handles the logic to read date time
doReadDateTime() - 类 中的方法org.bson.BsonBinaryReader
 
doReadDateTime() - 类 中的方法org.bson.BsonDocumentReader
 
doReadDateTime() - 类 中的方法org.bson.json.JsonReader
 
doReadDBPointer() - 类 中的方法org.bson.AbstractBsonReader
Handles the logic to read a DBPointer
doReadDBPointer() - 类 中的方法org.bson.BsonBinaryReader
 
doReadDBPointer() - 类 中的方法org.bson.BsonDocumentReader
 
doReadDBPointer() - 类 中的方法org.bson.json.JsonReader
 
doReadDouble() - 类 中的方法org.bson.AbstractBsonReader
Handles the logic to read doubles
doReadDouble() - 类 中的方法org.bson.BsonBinaryReader
 
doReadDouble() - 类 中的方法org.bson.BsonDocumentReader
 
doReadDouble() - 类 中的方法org.bson.json.JsonReader
 
doReadEndArray() - 类 中的方法org.bson.AbstractBsonReader
Handles the logic when reading the end of an array
doReadEndArray() - 类 中的方法org.bson.BsonBinaryReader
 
doReadEndArray() - 类 中的方法org.bson.BsonDocumentReader
 
doReadEndArray() - 类 中的方法org.bson.json.JsonReader
 
doReadEndDocument() - 类 中的方法org.bson.AbstractBsonReader
Handles the logic when reading the end of a document
doReadEndDocument() - 类 中的方法org.bson.BsonBinaryReader
 
doReadEndDocument() - 类 中的方法org.bson.BsonDocumentReader
 
doReadEndDocument() - 类 中的方法org.bson.json.JsonReader
 
doReadInt32() - 类 中的方法org.bson.AbstractBsonReader
Handles the logic to read 32 bit ints
doReadInt32() - 类 中的方法org.bson.BsonBinaryReader
 
doReadInt32() - 类 中的方法org.bson.BsonDocumentReader
 
doReadInt32() - 类 中的方法org.bson.json.JsonReader
 
doReadInt64() - 类 中的方法org.bson.AbstractBsonReader
Handles the logic to read 64 bit ints
doReadInt64() - 类 中的方法org.bson.BsonBinaryReader
 
doReadInt64() - 类 中的方法org.bson.BsonDocumentReader
 
doReadInt64() - 类 中的方法org.bson.json.JsonReader
 
doReadJavaScript() - 类 中的方法org.bson.AbstractBsonReader
Handles the logic to read Javascript functions
doReadJavaScript() - 类 中的方法org.bson.BsonBinaryReader
 
doReadJavaScript() - 类 中的方法org.bson.BsonDocumentReader
 
doReadJavaScript() - 类 中的方法org.bson.json.JsonReader
 
doReadJavaScriptWithScope() - 类 中的方法org.bson.AbstractBsonReader
Handles the logic to read scoped Javascript functions
doReadJavaScriptWithScope() - 类 中的方法org.bson.BsonBinaryReader
 
doReadJavaScriptWithScope() - 类 中的方法org.bson.BsonDocumentReader
 
doReadJavaScriptWithScope() - 类 中的方法org.bson.json.JsonReader
 
doReadMaxKey() - 类 中的方法org.bson.AbstractBsonReader
Handles the logic to read a Max key
doReadMaxKey() - 类 中的方法org.bson.BsonBinaryReader
 
doReadMaxKey() - 类 中的方法org.bson.BsonDocumentReader
 
doReadMaxKey() - 类 中的方法org.bson.json.JsonReader
 
doReadMinKey() - 类 中的方法org.bson.AbstractBsonReader
Handles the logic to read a Min key
doReadMinKey() - 类 中的方法org.bson.BsonBinaryReader
 
doReadMinKey() - 类 中的方法org.bson.BsonDocumentReader
 
doReadMinKey() - 类 中的方法org.bson.json.JsonReader
 
doReadNull() - 类 中的方法org.bson.AbstractBsonReader
Handles the logic to read a null value
doReadNull() - 类 中的方法org.bson.BsonBinaryReader
 
doReadNull() - 类 中的方法org.bson.BsonDocumentReader
 
doReadNull() - 类 中的方法org.bson.json.JsonReader
 
doReadObjectId() - 类 中的方法org.bson.AbstractBsonReader
Handles the logic to read an ObjectId
doReadObjectId() - 类 中的方法org.bson.BsonBinaryReader
 
doReadObjectId() - 类 中的方法org.bson.BsonDocumentReader
 
doReadObjectId() - 类 中的方法org.bson.json.JsonReader
 
doReadRegularExpression() - 类 中的方法org.bson.AbstractBsonReader
Handles the logic to read a regular expression
doReadRegularExpression() - 类 中的方法org.bson.BsonBinaryReader
 
doReadRegularExpression() - 类 中的方法org.bson.BsonDocumentReader
 
doReadRegularExpression() - 类 中的方法org.bson.json.JsonReader
 
doReadStartArray() - 类 中的方法org.bson.AbstractBsonReader
Handles the logic to read the start of an array
doReadStartArray() - 类 中的方法org.bson.BsonBinaryReader
 
doReadStartArray() - 类 中的方法org.bson.BsonDocumentReader
 
doReadStartArray() - 类 中的方法org.bson.json.JsonReader
 
doReadStartDocument() - 类 中的方法org.bson.AbstractBsonReader
Handles the logic to read the start of a document
doReadStartDocument() - 类 中的方法org.bson.BsonBinaryReader
 
doReadStartDocument() - 类 中的方法org.bson.BsonDocumentReader
 
doReadStartDocument() - 类 中的方法org.bson.json.JsonReader
 
doReadString() - 类 中的方法org.bson.AbstractBsonReader
Handles the logic to read a String
doReadString() - 类 中的方法org.bson.BsonBinaryReader
 
doReadString() - 类 中的方法org.bson.BsonDocumentReader
 
doReadString() - 类 中的方法org.bson.json.JsonReader
 
doReadSymbol() - 类 中的方法org.bson.AbstractBsonReader
Handles the logic to read a Symbol
doReadSymbol() - 类 中的方法org.bson.BsonBinaryReader
 
doReadSymbol() - 类 中的方法org.bson.BsonDocumentReader
 
doReadSymbol() - 类 中的方法org.bson.json.JsonReader
 
doReadTimestamp() - 类 中的方法org.bson.AbstractBsonReader
Handles the logic to read a timestamp
doReadTimestamp() - 类 中的方法org.bson.BsonBinaryReader
 
doReadTimestamp() - 类 中的方法org.bson.BsonDocumentReader
 
doReadTimestamp() - 类 中的方法org.bson.json.JsonReader
 
doReadUndefined() - 类 中的方法org.bson.AbstractBsonReader
Handles the logic to read an Undefined value
doReadUndefined() - 类 中的方法org.bson.BsonBinaryReader
 
doReadUndefined() - 类 中的方法org.bson.BsonDocumentReader
 
doReadUndefined() - 类 中的方法org.bson.json.JsonReader
 
doSkipName() - 类 中的方法org.bson.AbstractBsonReader
Handles any logic required to skip the name (reader must be positioned on a name).
doSkipName() - 类 中的方法org.bson.BsonBinaryReader
 
doSkipName() - 类 中的方法org.bson.BsonDocumentReader
 
doSkipName() - 类 中的方法org.bson.json.JsonReader
 
doSkipValue() - 类 中的方法org.bson.AbstractBsonReader
Handles any logic required to skip the value (reader must be positioned on a value).
doSkipValue() - 类 中的方法org.bson.BsonBinaryReader
 
doSkipValue() - 类 中的方法org.bson.BsonDocumentReader
 
doSkipValue() - 类 中的方法org.bson.json.JsonReader
 
DoubleCodec - org.bson.codecs中的类
Encodes and decodes Double objects.
DoubleCodec() - 类 的构造器org.bson.codecs.DoubleCodec
 
doubleValue() - 类 中的方法org.bson.BsonDouble
 
doubleValue() - 类 中的方法org.bson.BsonInt32
 
doubleValue() - 类 中的方法org.bson.BsonInt64
 
doubleValue() - 类 中的方法org.bson.BsonNumber
Returns the value of the specified number as a double, which may involve rounding.
downloadToStream(ObjectId, OutputStream) - 接口 中的方法com.mongodb.client.gridfs.GridFSBucket
Downloads the contents of the stored file specified by id and writes the contents to the destination Stream.
downloadToStream(BsonValue, OutputStream) - 接口 中的方法com.mongodb.client.gridfs.GridFSBucket
Downloads the contents of the stored file specified by id and writes the contents to the destination Stream.
downloadToStream(String, OutputStream) - 接口 中的方法com.mongodb.client.gridfs.GridFSBucket
Downloads the contents of the latest version of the stored file specified by filename and writes the contents to the destination Stream.
downloadToStream(String, OutputStream, GridFSDownloadOptions) - 接口 中的方法com.mongodb.client.gridfs.GridFSBucket
Downloads the contents of the stored file specified by filename and by the revision in options and writes the contents to the destination Stream.
downloadToStreamByName(String, OutputStream) - 接口 中的方法com.mongodb.client.gridfs.GridFSBucket
downloadToStreamByName(String, OutputStream, GridFSDownloadByNameOptions) - 接口 中的方法com.mongodb.client.gridfs.GridFSBucket
doWriteBinaryData(BsonBinary) - 类 中的方法org.bson.AbstractBsonWriter
Handles the logic of writing a BsonBinary value
doWriteBinaryData(BsonBinary) - 类 中的方法org.bson.BsonBinaryWriter
 
doWriteBinaryData(BsonBinary) - 类 中的方法org.bson.BsonDocumentWriter
 
doWriteBinaryData(BsonBinary) - 类 中的方法org.bson.json.JsonWriter
 
doWriteBoolean(boolean) - 类 中的方法org.bson.AbstractBsonWriter
Handles the logic of writing a boolean value
doWriteBoolean(boolean) - 类 中的方法org.bson.BsonBinaryWriter
 
doWriteBoolean(boolean) - 类 中的方法org.bson.BsonDocumentWriter
 
doWriteBoolean(boolean) - 类 中的方法org.bson.json.JsonWriter
 
doWriteDateTime(long) - 类 中的方法org.bson.AbstractBsonWriter
Handles the logic of writing a date time value
doWriteDateTime(long) - 类 中的方法org.bson.BsonBinaryWriter
 
doWriteDateTime(long) - 类 中的方法org.bson.BsonDocumentWriter
 
doWriteDateTime(long) - 类 中的方法org.bson.json.JsonWriter
 
doWriteDBPointer(BsonDbPointer) - 类 中的方法org.bson.AbstractBsonWriter
Handles the logic of writing a DbPointer value
doWriteDBPointer(BsonDbPointer) - 类 中的方法org.bson.BsonBinaryWriter
 
doWriteDBPointer(BsonDbPointer) - 类 中的方法org.bson.BsonDocumentWriter
 
doWriteDBPointer(BsonDbPointer) - 类 中的方法org.bson.json.JsonWriter
 
doWriteDouble(double) - 类 中的方法org.bson.AbstractBsonWriter
Handles the logic of writing a Double value
doWriteDouble(double) - 类 中的方法org.bson.BsonBinaryWriter
 
doWriteDouble(double) - 类 中的方法org.bson.BsonDocumentWriter
 
doWriteDouble(double) - 类 中的方法org.bson.json.JsonWriter
 
doWriteEndArray() - 类 中的方法org.bson.AbstractBsonWriter
Handles the logic of writing the end of an array
doWriteEndArray() - 类 中的方法org.bson.BsonBinaryWriter
 
doWriteEndArray() - 类 中的方法org.bson.BsonDocumentWriter
 
doWriteEndArray() - 类 中的方法org.bson.json.JsonWriter
 
doWriteEndDocument() - 类 中的方法org.bson.AbstractBsonWriter
Handles the logic of writing the end of a document
doWriteEndDocument() - 类 中的方法org.bson.BsonBinaryWriter
 
doWriteEndDocument() - 类 中的方法org.bson.BsonDocumentWriter
 
doWriteEndDocument() - 类 中的方法org.bson.json.JsonWriter
 
doWriteInt32(int) - 类 中的方法org.bson.AbstractBsonWriter
Handles the logic of writing an int32 value
doWriteInt32(int) - 类 中的方法org.bson.BsonBinaryWriter
 
doWriteInt32(int) - 类 中的方法org.bson.BsonDocumentWriter
 
doWriteInt32(int) - 类 中的方法org.bson.json.JsonWriter
 
doWriteInt64(long) - 类 中的方法org.bson.AbstractBsonWriter
Handles the logic of writing an int64 value
doWriteInt64(long) - 类 中的方法org.bson.BsonBinaryWriter
 
doWriteInt64(long) - 类 中的方法org.bson.BsonDocumentWriter
 
doWriteInt64(long) - 类 中的方法org.bson.json.JsonWriter
 
doWriteJavaScript(String) - 类 中的方法org.bson.AbstractBsonWriter
Handles the logic of writing a JavaScript function
doWriteJavaScript(String) - 类 中的方法org.bson.BsonBinaryWriter
 
doWriteJavaScript(String) - 类 中的方法org.bson.BsonDocumentWriter
 
doWriteJavaScript(String) - 类 中的方法org.bson.json.JsonWriter
 
doWriteJavaScriptWithScope(String) - 类 中的方法org.bson.AbstractBsonWriter
Handles the logic of writing a scoped JavaScript function
doWriteJavaScriptWithScope(String) - 类 中的方法org.bson.BsonBinaryWriter
 
doWriteJavaScriptWithScope(String) - 类 中的方法org.bson.BsonDocumentWriter
 
doWriteJavaScriptWithScope(String) - 类 中的方法org.bson.json.JsonWriter
 
doWriteMaxKey() - 类 中的方法org.bson.AbstractBsonWriter
Handles the logic of writing a Max key
doWriteMaxKey() - 类 中的方法org.bson.BsonBinaryWriter
 
doWriteMaxKey() - 类 中的方法org.bson.BsonDocumentWriter
 
doWriteMaxKey() - 类 中的方法org.bson.json.JsonWriter
 
doWriteMinKey() - 类 中的方法org.bson.AbstractBsonWriter
Handles the logic of writing a Min key
doWriteMinKey() - 类 中的方法org.bson.BsonBinaryWriter
 
doWriteMinKey() - 类 中的方法org.bson.BsonDocumentWriter
 
doWriteMinKey() - 类 中的方法org.bson.json.JsonWriter
 
doWriteNull() - 类 中的方法org.bson.AbstractBsonWriter
Handles the logic of writing a Null value
doWriteNull() - 类 中的方法org.bson.BsonBinaryWriter
 
doWriteNull() - 类 中的方法org.bson.BsonDocumentWriter
 
doWriteNull() - 类 中的方法org.bson.json.JsonWriter
 
doWriteObjectId(ObjectId) - 类 中的方法org.bson.AbstractBsonWriter
Handles the logic of writing an ObjectId
doWriteObjectId(ObjectId) - 类 中的方法org.bson.BsonBinaryWriter
 
doWriteObjectId(ObjectId) - 类 中的方法org.bson.BsonDocumentWriter
 
doWriteObjectId(ObjectId) - 类 中的方法org.bson.json.JsonWriter
 
doWriteRegularExpression(BsonRegularExpression) - 类 中的方法org.bson.AbstractBsonWriter
Handles the logic of writing a regular expression
doWriteRegularExpression(BsonRegularExpression) - 类 中的方法org.bson.BsonBinaryWriter
 
doWriteRegularExpression(BsonRegularExpression) - 类 中的方法org.bson.BsonDocumentWriter
 
doWriteRegularExpression(BsonRegularExpression) - 类 中的方法org.bson.json.JsonWriter
 
doWriteStartArray() - 类 中的方法org.bson.AbstractBsonWriter
Handles the logic to start writing an array
doWriteStartArray() - 类 中的方法org.bson.BsonBinaryWriter
 
doWriteStartArray() - 类 中的方法org.bson.BsonDocumentWriter
 
doWriteStartArray() - 类 中的方法org.bson.json.JsonWriter
 
doWriteStartDocument() - 类 中的方法org.bson.AbstractBsonWriter
Handles the logic to start writing a document
doWriteStartDocument() - 类 中的方法org.bson.BsonBinaryWriter
 
doWriteStartDocument() - 类 中的方法org.bson.BsonDocumentWriter
 
doWriteStartDocument() - 类 中的方法org.bson.json.JsonWriter
 
doWriteString(String) - 类 中的方法org.bson.AbstractBsonWriter
Handles the logic of writing a String
doWriteString(String) - 类 中的方法org.bson.BsonBinaryWriter
 
doWriteString(String) - 类 中的方法org.bson.BsonDocumentWriter
 
doWriteString(String) - 类 中的方法org.bson.json.JsonWriter
 
doWriteSymbol(String) - 类 中的方法org.bson.AbstractBsonWriter
Handles the logic of writing a Symbol
doWriteSymbol(String) - 类 中的方法org.bson.BsonBinaryWriter
 
doWriteSymbol(String) - 类 中的方法org.bson.BsonDocumentWriter
 
doWriteSymbol(String) - 类 中的方法org.bson.json.JsonWriter
 
doWriteTimestamp(BsonTimestamp) - 类 中的方法org.bson.AbstractBsonWriter
Handles the logic of writing a timestamp
doWriteTimestamp(BsonTimestamp) - 类 中的方法org.bson.BsonBinaryWriter
 
doWriteTimestamp(BsonTimestamp) - 类 中的方法org.bson.BsonDocumentWriter
 
doWriteTimestamp(BsonTimestamp) - 类 中的方法org.bson.json.JsonWriter
 
doWriteUndefined() - 类 中的方法org.bson.AbstractBsonWriter
Handles the logic of writing an Undefined value
doWriteUndefined() - 类 中的方法org.bson.BsonBinaryWriter
 
doWriteUndefined() - 类 中的方法org.bson.BsonDocumentWriter
 
doWriteUndefined() - 类 中的方法org.bson.json.JsonWriter
 
drop() - 接口 中的方法com.mongodb.client.gridfs.GridFSBucket
Drops the data associated with this bucket from the database.
drop() - 接口 中的方法com.mongodb.client.MongoCollection
Drops this collection from the Database.
drop() - 接口 中的方法com.mongodb.client.MongoDatabase
Drops this database.
drop() - 类 中的方法com.mongodb.DBCollection
Drops (deletes) this collection from the database.
drop() - 类 中的方法com.mongodb.MapReduceOutput
Drops the collection that holds the results.
DropCollectionOperation - com.mongodb.operation中的类
Operation to drop a Collection in MongoDB.
DropCollectionOperation(MongoNamespace) - 类 的构造器com.mongodb.operation.DropCollectionOperation
Construct a new instance.
dropDatabase() - 类 中的方法com.mongodb.DB
Drops this database.
dropDatabase(String) - 类 中的方法com.mongodb.Mongo
Drops the database if it exists.
DropDatabaseOperation - com.mongodb.operation中的类
Operation to drop a database in MongoDB.
DropDatabaseOperation(String) - 类 的构造器com.mongodb.operation.DropDatabaseOperation
Construct a new instance.
dropDups(boolean) - 类 中的方法com.mongodb.bulk.IndexRequest
Sets the legacy dropDups setting Prior to MongoDB 3.0 dropDups could be used with unique indexes allowing documents with duplicate values to be dropped when building the index.
dropIndex(String) - 接口 中的方法com.mongodb.client.MongoCollection
Drops the index given its name.
dropIndex(Bson) - 接口 中的方法com.mongodb.client.MongoCollection
Drops the index given the keys used to create it.
dropIndex(DBObject) - 类 中的方法com.mongodb.DBCollection
Drops an index from this collection.
dropIndex(String) - 类 中的方法com.mongodb.DBCollection
Drops the index with the given name from this collection.
dropIndexes() - 接口 中的方法com.mongodb.client.MongoCollection
Drop all the indexes on this collection, except for the default on _id.
dropIndexes() - 类 中的方法com.mongodb.DBCollection
Drop all indexes on this collection.
dropIndexes(String) - 类 中的方法com.mongodb.DBCollection
Drops the index with the given name from this collection.
DropIndexOperation - com.mongodb.operation中的类
An operation that drops an index.
DropIndexOperation(MongoNamespace, String) - 类 的构造器com.mongodb.operation.DropIndexOperation
Construct a new instance.
DropIndexOperation(MongoNamespace, BsonDocument) - 类 的构造器com.mongodb.operation.DropIndexOperation
Construct a new instance.
dropTarget(boolean) - 类 中的方法com.mongodb.client.model.RenameCollectionOptions
Sets if mongod should drop the target of renameCollection prior to renaming the collection.
dropTarget(boolean) - 类 中的方法com.mongodb.operation.RenameCollectionOperation
Sets if mongod should drop the target of renameCollection prior to renaming the collection.
DropUserOperation - com.mongodb.operation中的类
An operation to remove a user.
DropUserOperation(String, String) - 类 的构造器com.mongodb.operation.DropUserOperation
Construct a new instance.
duplicate() - 接口 中的方法org.bson.ByteBuf
Creates a new byte buffer that shares this buffer's content.
duplicate() - 类 中的方法org.bson.ByteBufNIO
 
DuplicateKeyException - com.mongodb中的异常错误
Subclass of WriteConcernException representing a duplicate key exception
DuplicateKeyException(BsonDocument, ServerAddress, WriteConcernResult) - 异常错误 的构造器com.mongodb.DuplicateKeyException
Construct an instance.

E

electionId(ObjectId) - 类 中的方法com.mongodb.connection.ServerDescription.Builder
Sets the electionId reported by this server.
ELEM_MATCH - 类 中的静态变量com.mongodb.QueryOperators
 
elemMatch(String, Bson) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that matches all documents containing a field that is an array where at least one member of the array matches the given filter.
elemMatch(String) - 类 中的静态方法com.mongodb.client.model.Projections
Creates a projection that includes for the given field only the first element of an array that matches the query filter.
elemMatch(String, Bson) - 类 中的静态方法com.mongodb.client.model.Projections
Creates a projection that includes for the given field only the first element of the array value of that field that matches the given query filter.
elemMatch(DBObject) - 类 中的方法com.mongodb.QueryBuilder
Equivalent to the $elemMatch operand
EmptyBSONCallback - org.bson中的类
Convenience implementation of BSONCallback that throws UnsupportedOperationException for all methods.
EmptyBSONCallback() - 类 的构造器org.bson.EmptyBSONCallback
 
enabled(boolean) - 类 中的方法com.mongodb.connection.SslSettings.Builder
Define whether SSL should be enabled.
encode(BsonWriter, BSONTimestamp, EncoderContext) - 类 中的方法com.mongodb.BSONTimestampCodec
 
encode(BsonWriter, GridFSFile, EncoderContext) - 类 中的方法com.mongodb.client.gridfs.codecs.GridFSFileCodec
 
encode(BsonWriter, GeometryCollection, EncoderContext) - 类 中的方法com.mongodb.client.model.geojson.codecs.GeometryCollectionCodec
 
encode(BsonWriter, LineString, EncoderContext) - 类 中的方法com.mongodb.client.model.geojson.codecs.LineStringCodec
 
encode(BsonWriter, MultiLineString, EncoderContext) - 类 中的方法com.mongodb.client.model.geojson.codecs.MultiLineStringCodec
 
encode(BsonWriter, MultiPoint, EncoderContext) - 类 中的方法com.mongodb.client.model.geojson.codecs.MultiPointCodec
 
encode(BsonWriter, MultiPolygon, EncoderContext) - 类 中的方法com.mongodb.client.model.geojson.codecs.MultiPolygonCodec
 
encode(BsonWriter, NamedCoordinateReferenceSystem, EncoderContext) - 类 中的方法com.mongodb.client.model.geojson.codecs.NamedCoordinateReferenceSystemCodec
 
encode(BsonWriter, Point, EncoderContext) - 类 中的方法com.mongodb.client.model.geojson.codecs.PointCodec
 
encode(BsonWriter, Polygon, EncoderContext) - 类 中的方法com.mongodb.client.model.geojson.codecs.PolygonCodec
 
encode(BsonWriter, DBObject, EncoderContext) - 类 中的方法com.mongodb.DBObjectCodec
 
encode(BsonWriter, DBRef, EncoderContext) - 类 中的方法com.mongodb.DBRefCodec
 
encode(BSONObject) - 类 中的方法org.bson.BasicBSONEncoder
 
encode(BSONObject) - 类 中的静态方法org.bson.BSON
Encodes a DBObject as a BSON byte array.
encode(BSONObject) - 接口 中的方法org.bson.BSONEncoder
Encode a document into byte array.
encode(BsonWriter, AtomicBoolean, EncoderContext) - 类 中的方法org.bson.codecs.AtomicBooleanCodec
 
encode(BsonWriter, AtomicInteger, EncoderContext) - 类 中的方法org.bson.codecs.AtomicIntegerCodec
 
encode(BsonWriter, AtomicLong, EncoderContext) - 类 中的方法org.bson.codecs.AtomicLongCodec
 
encode(BsonWriter, Binary, EncoderContext) - 类 中的方法org.bson.codecs.BinaryCodec
 
encode(BsonWriter, Boolean, EncoderContext) - 类 中的方法org.bson.codecs.BooleanCodec
 
encode(BsonWriter, BsonArray, EncoderContext) - 类 中的方法org.bson.codecs.BsonArrayCodec
 
encode(BsonWriter, BsonBinary, EncoderContext) - 类 中的方法org.bson.codecs.BsonBinaryCodec
 
encode(BsonWriter, BsonBoolean, EncoderContext) - 类 中的方法org.bson.codecs.BsonBooleanCodec
 
encode(BsonWriter, BsonDateTime, EncoderContext) - 类 中的方法org.bson.codecs.BsonDateTimeCodec
 
encode(BsonWriter, BsonDbPointer, EncoderContext) - 类 中的方法org.bson.codecs.BsonDBPointerCodec
 
encode(BsonWriter, BsonDocument, EncoderContext) - 类 中的方法org.bson.codecs.BsonDocumentCodec
 
encode(BsonWriter, BsonDocumentWrapper, EncoderContext) - 类 中的方法org.bson.codecs.BsonDocumentWrapperCodec
 
encode(BsonWriter, BsonDouble, EncoderContext) - 类 中的方法org.bson.codecs.BsonDoubleCodec
 
encode(BsonWriter, BsonInt32, EncoderContext) - 类 中的方法org.bson.codecs.BsonInt32Codec
 
encode(BsonWriter, BsonInt64, EncoderContext) - 类 中的方法org.bson.codecs.BsonInt64Codec
 
encode(BsonWriter, BsonJavaScript, EncoderContext) - 类 中的方法org.bson.codecs.BsonJavaScriptCodec
 
encode(BsonWriter, BsonJavaScriptWithScope, EncoderContext) - 类 中的方法org.bson.codecs.BsonJavaScriptWithScopeCodec
 
encode(BsonWriter, BsonMaxKey, EncoderContext) - 类 中的方法org.bson.codecs.BsonMaxKeyCodec
 
encode(BsonWriter, BsonMinKey, EncoderContext) - 类 中的方法org.bson.codecs.BsonMinKeyCodec
 
encode(BsonWriter, BsonNull, EncoderContext) - 类 中的方法org.bson.codecs.BsonNullCodec
 
encode(BsonWriter, BsonObjectId, EncoderContext) - 类 中的方法org.bson.codecs.BsonObjectIdCodec
 
encode(BsonWriter, BsonRegularExpression, EncoderContext) - 类 中的方法org.bson.codecs.BsonRegularExpressionCodec
 
encode(BsonWriter, BsonString, EncoderContext) - 类 中的方法org.bson.codecs.BsonStringCodec
 
encode(BsonWriter, BsonSymbol, EncoderContext) - 类 中的方法org.bson.codecs.BsonSymbolCodec
 
encode(BsonWriter, BsonTimestamp, EncoderContext) - 类 中的方法org.bson.codecs.BsonTimestampCodec
 
encode(BsonWriter, BsonUndefined, EncoderContext) - 类 中的方法org.bson.codecs.BsonUndefinedCodec
 
encode(BsonWriter, BsonValue, EncoderContext) - 类 中的方法org.bson.codecs.BsonValueCodec
 
encode(BsonWriter, byte[], EncoderContext) - 类 中的方法org.bson.codecs.ByteArrayCodec
 
encode(BsonWriter, Byte, EncoderContext) - 类 中的方法org.bson.codecs.ByteCodec
 
encode(BsonWriter, Character, EncoderContext) - 类 中的方法org.bson.codecs.CharacterCodec
 
encode(BsonWriter, Code, EncoderContext) - 类 中的方法org.bson.codecs.CodeCodec
 
encode(BsonWriter, CodeWithScope, EncoderContext) - 类 中的方法org.bson.codecs.CodeWithScopeCodec
 
encode(BsonWriter, Date, EncoderContext) - 类 中的方法org.bson.codecs.DateCodec
 
encode(BsonWriter, Document, EncoderContext) - 类 中的方法org.bson.codecs.DocumentCodec
 
encode(BsonWriter, Double, EncoderContext) - 类 中的方法org.bson.codecs.DoubleCodec
 
encode(BsonWriter, T, EncoderContext) - 接口 中的方法org.bson.codecs.Encoder
Encode an instance of the type parameter T into a BSON value.
encode(BsonWriter, Float, EncoderContext) - 类 中的方法org.bson.codecs.FloatCodec
 
encode(BsonWriter, Integer, EncoderContext) - 类 中的方法org.bson.codecs.IntegerCodec
 
encode(BsonWriter, Iterable, EncoderContext) - 类 中的方法org.bson.codecs.IterableCodec
 
encode(BsonWriter, Long, EncoderContext) - 类 中的方法org.bson.codecs.LongCodec
 
encode(BsonWriter, MaxKey, EncoderContext) - 类 中的方法org.bson.codecs.MaxKeyCodec
 
encode(BsonWriter, MinKey, EncoderContext) - 类 中的方法org.bson.codecs.MinKeyCodec
 
encode(BsonWriter, ObjectId, EncoderContext) - 类 中的方法org.bson.codecs.ObjectIdCodec
 
encode(BsonWriter, Pattern, EncoderContext) - 类 中的方法org.bson.codecs.PatternCodec
 
encode(BsonWriter, RawBsonDocument, EncoderContext) - 类 中的方法org.bson.codecs.RawBsonDocumentCodec
 
encode(BsonWriter, Short, EncoderContext) - 类 中的方法org.bson.codecs.ShortCodec
 
encode(BsonWriter, String, EncoderContext) - 类 中的方法org.bson.codecs.StringCodec
 
encode(BsonWriter, Symbol, EncoderContext) - 类 中的方法org.bson.codecs.SymbolCodec
 
encode(BsonWriter, UUID, EncoderContext) - 类 中的方法org.bson.codecs.UuidCodec
 
Encoder<T> - org.bson.codecs中的接口
Instances of this class are capable of encoding an instance of the type parameter T into a BSON value. .
EncoderContext - org.bson.codecs中的类
The context for encoding values to BSON.
EncoderContext.Builder - org.bson.codecs中的类
A builder for EncoderContext instances.
encodeWithChildContext(Encoder<T>, BsonWriter, T) - 类 中的方法org.bson.codecs.EncoderContext
Creates a child context based on this and serializes the value with it to the writer.
entrySet() - 类 中的方法org.bson.BsonDocument
 
entrySet() - 类 中的方法org.bson.BsonDocumentWrapper
 
entrySet() - 类 中的方法org.bson.Document
 
entrySet() - 类 中的方法org.bson.LazyBSONObject
Gets the entry set for all the key/value pairs in this BSONObject.
entrySet() - 类 中的方法org.bson.RawBsonDocument
 
EOO - 类 中的静态变量org.bson.BSON
 
EPSG_4326 - 类 中的静态变量com.mongodb.client.model.geojson.NamedCoordinateReferenceSystem
The EPSG:4326 Coordinate Reference System.
EPSG_4326_STRICT_WINDING - 类 中的静态变量com.mongodb.client.model.geojson.NamedCoordinateReferenceSystem
A custom MongoDB EPSG:4326 Coordinate Reference System that uses a strict counter-clockwise winding order.
eq(String, TItem) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that matches all documents where the value of the field name equals the specified value.
equals(Object) - 类 中的方法com.mongodb.bulk.BulkWriteError
 
equals(Object) - 类 中的方法com.mongodb.bulk.BulkWriteUpsert
 
equals(Object) - 类 中的方法com.mongodb.bulk.WriteConcernError
 
equals(Object) - 类 中的方法com.mongodb.BulkWriteError
 
equals(Object) - 异常错误 中的方法com.mongodb.BulkWriteException
 
equals(Object) - 类 中的方法com.mongodb.BulkWriteUpsert
 
equals(Object) - 类 中的方法com.mongodb.client.gridfs.model.GridFSFile
 
equals(Object) - 类 中的方法com.mongodb.client.model.geojson.Geometry
 
equals(Object) - 类 中的方法com.mongodb.client.model.geojson.GeometryCollection
 
equals(Object) - 类 中的方法com.mongodb.client.model.geojson.LineString
 
equals(Object) - 类 中的方法com.mongodb.client.model.geojson.MultiLineString
 
equals(Object) - 类 中的方法com.mongodb.client.model.geojson.MultiPoint
 
equals(Object) - 类 中的方法com.mongodb.client.model.geojson.MultiPolygon
 
equals(Object) - 类 中的方法com.mongodb.client.model.geojson.NamedCoordinateReferenceSystem
 
equals(Object) - 类 中的方法com.mongodb.client.model.geojson.Point
 
equals(Object) - 类 中的方法com.mongodb.client.model.geojson.Polygon
 
equals(Object) - 类 中的方法com.mongodb.client.model.geojson.PolygonCoordinates
 
equals(Object) - 类 中的方法com.mongodb.client.model.geojson.Position
 
equals(Object) - 类 中的方法com.mongodb.connection.ClusterDescription
 
equals(Object) - 类 中的方法com.mongodb.connection.ClusterId
 
equals(Object) - 类 中的方法com.mongodb.connection.ClusterSettings
 
equals(Object) - 类 中的方法com.mongodb.connection.ConnectionDescription
 
equals(Object) - 类 中的方法com.mongodb.connection.ConnectionId
 
equals(Object) - 类 中的方法com.mongodb.connection.ConnectionPoolSettings
 
equals(Object) - 类 中的方法com.mongodb.connection.ServerDescription
Returns true if this instance is equals to @code{o}.
equals(Object) - 类 中的方法com.mongodb.connection.ServerId
 
equals(Object) - 类 中的方法com.mongodb.connection.ServerSettings
 
equals(Object) - 类 中的方法com.mongodb.connection.ServerVersion
 
equals(Object) - 类 中的方法com.mongodb.connection.SocketSettings
 
equals(Object) - 类 中的方法com.mongodb.connection.SslSettings
 
equals(Object) - 类 中的方法com.mongodb.ConnectionString
 
equals(Object) - 类 中的方法com.mongodb.DBAddress
已过时。
 
equals(Object) - 类 中的方法com.mongodb.DBObjectCodecProvider
 
equals(Object) - 类 中的方法com.mongodb.DBRef
 
equals(Object) - 类 中的方法com.mongodb.DBRefCodecProvider
 
equals(Object) - 异常错误 中的方法com.mongodb.MongoBulkWriteException
 
equals(Object) - 类 中的方法com.mongodb.MongoClientOptions
 
equals(Object) - 类 中的方法com.mongodb.MongoClientURI
 
equals(Object) - 类 中的方法com.mongodb.MongoCredential
 
equals(Object) - 类 中的方法com.mongodb.MongoNamespace
 
equals(Object) - 类 中的方法com.mongodb.MongoOptions
已过时。
 
equals(Object) - 类 中的方法com.mongodb.ReadConcern
 
equals(Object) - 类 中的方法com.mongodb.ServerAddress
 
equals(Object) - 类 中的方法com.mongodb.ServerCursor
 
equals(Object) - 类 中的方法com.mongodb.Tag
 
equals(Object) - 类 中的方法com.mongodb.TaggableReadPreference
 
equals(Object) - 类 中的方法com.mongodb.TagSet
 
equals(Object) - 类 中的方法com.mongodb.WriteConcern
 
equals(Object) - 类 中的方法com.mongodb.WriteConcernError
 
equals(Object) - 类 中的方法com.mongodb.WriteError
 
equals(Object) - 类 中的方法org.bson.BasicBSONObject
Compares two documents according to their serialized form, ignoring the order of keys.
equals(Object) - 类 中的方法org.bson.BsonArray
 
equals(Object) - 类 中的方法org.bson.BsonBinary
 
equals(Object) - 类 中的方法org.bson.BsonBoolean
 
equals(Object) - 类 中的方法org.bson.BsonDateTime
 
equals(Object) - 类 中的方法org.bson.BsonDbPointer
 
equals(Object) - 类 中的方法org.bson.BsonDocument
 
equals(Object) - 类 中的方法org.bson.BsonDocumentWrapper
 
equals(Object) - 类 中的方法org.bson.BsonDouble
 
equals(Object) - 类 中的方法org.bson.BsonInt32
 
equals(Object) - 类 中的方法org.bson.BsonInt64
 
equals(Object) - 类 中的方法org.bson.BsonJavaScript
 
equals(Object) - 类 中的方法org.bson.BsonJavaScriptWithScope
 
equals(Object) - 类 中的方法org.bson.BsonMaxKey
 
equals(Object) - 类 中的方法org.bson.BsonMinKey
 
equals(Object) - 类 中的方法org.bson.BsonNull
 
equals(Object) - 类 中的方法org.bson.BsonObjectId
 
equals(Object) - 类 中的方法org.bson.BsonRegularExpression
 
equals(Object) - 类 中的方法org.bson.BsonString
 
equals(Object) - 类 中的方法org.bson.BsonSymbol
Will compare equal to a String that is equal to the String that this holds
equals(Object) - 类 中的方法org.bson.BsonTimestamp
 
equals(Object) - 类 中的方法org.bson.BsonUndefined
 
equals(Object) - 类 中的方法org.bson.codecs.BsonTypeClassMap
 
equals(Object) - 类 中的方法org.bson.codecs.DocumentCodecProvider
 
equals(Object) - 类 中的方法org.bson.codecs.IterableCodecProvider
 
equals(Object) - 类 中的方法org.bson.codecs.ValueCodecProvider
 
equals(Object) - 类 中的方法org.bson.Document
 
equals(Object) - 类 中的方法org.bson.LazyBSONObject
 
equals(Object) - 类 中的方法org.bson.RawBsonDocument
 
equals(Object) - 类 中的方法org.bson.types.Binary
 
equals(Object) - 类 中的方法org.bson.types.BSONTimestamp
 
equals(Object) - 类 中的方法org.bson.types.Code
 
equals(Object) - 类 中的方法org.bson.types.CodeWithScope
 
equals(Object) - 类 中的方法org.bson.types.CodeWScope
 
equals(Object) - 类 中的方法org.bson.types.MaxKey
 
equals(Object) - 类 中的方法org.bson.types.MinKey
 
equals(Object) - 类 中的方法org.bson.types.ObjectId
 
equals(Object) - 类 中的方法org.bson.types.Symbol
Will compare equal to a String that is equal to the String that this holds
error(String) - 接口 中的方法com.mongodb.diagnostics.logging.Logger
Log a message at the ERROR level.
error(String, Throwable) - 接口 中的方法com.mongodb.diagnostics.logging.Logger
Log an exception (throwable) at the ERROR level with an accompanying message.
ErrorCategory - com.mongodb中的枚举
A categorization of errors returned by a MongoDB server command.
eval(String, Object...) - 类 中的方法com.mongodb.DB
eventLoopGroup(EventLoopGroup) - 类 中的方法com.mongodb.connection.netty.NettyStreamFactoryFactory.Builder
Sets the event loop group.
exception(Throwable) - 类 中的方法com.mongodb.connection.ServerDescription.Builder
Sets the exception thrown while attempting to determine the server description.
exclude(String...) - 类 中的静态方法com.mongodb.client.model.Projections
Creates a projection that excludes all of the given fields.
exclude(List<String>) - 类 中的静态方法com.mongodb.client.model.Projections
Creates a projection that excludes all of the given fields.
excludeId() - 类 中的静态方法com.mongodb.client.model.Projections
Creates a projection that excludes the _id field.
execute() - 类 中的方法com.mongodb.BulkWriteOperation
Execute the bulk write operation with the default write concern of the collection from which this came.
execute(WriteConcern) - 类 中的方法com.mongodb.BulkWriteOperation
Execute the bulk write operation with the given write concern.
execute(ReadBinding) - 类 中的方法com.mongodb.operation.AggregateOperation
 
execute(WriteBinding) - 类 中的方法com.mongodb.operation.AggregateToCollectionOperation
 
execute(AsyncReadOperation<T>, ReadPreference, SingleResultCallback<T>) - 接口 中的方法com.mongodb.operation.AsyncOperationExecutor
Execute the read operation with the given read preference.
execute(AsyncWriteOperation<T>, SingleResultCallback<T>) - 接口 中的方法com.mongodb.operation.AsyncOperationExecutor
Execute the write operation.
execute(WriteBinding) - 类 中的方法com.mongodb.operation.BaseWriteOperation
 
execute(ReadBinding) - 类 中的方法com.mongodb.operation.CommandReadOperation
 
execute(WriteBinding) - 类 中的方法com.mongodb.operation.CommandWriteOperation
 
execute(ReadBinding) - 类 中的方法com.mongodb.operation.CountOperation
 
execute(WriteBinding) - 类 中的方法com.mongodb.operation.CreateCollectionOperation
 
execute(WriteBinding) - 类 中的方法com.mongodb.operation.CreateIndexesOperation
 
execute(WriteBinding) - 类 中的方法com.mongodb.operation.CreateUserOperation
 
execute(ReadBinding) - 类 中的方法com.mongodb.operation.CurrentOpOperation
 
execute(ReadBinding) - 类 中的方法com.mongodb.operation.DistinctOperation
 
execute(WriteBinding) - 类 中的方法com.mongodb.operation.DropCollectionOperation
 
execute(WriteBinding) - 类 中的方法com.mongodb.operation.DropDatabaseOperation
 
execute(WriteBinding) - 类 中的方法com.mongodb.operation.DropIndexOperation
 
execute(WriteBinding) - 类 中的方法com.mongodb.operation.DropUserOperation
 
execute(WriteBinding) - 类 中的方法com.mongodb.operation.FindAndDeleteOperation
 
execute(WriteBinding) - 类 中的方法com.mongodb.operation.FindAndReplaceOperation
 
execute(WriteBinding) - 类 中的方法com.mongodb.operation.FindAndUpdateOperation
 
execute(ReadBinding) - 类 中的方法com.mongodb.operation.FindOperation
 
execute(WriteBinding) - 类 中的方法com.mongodb.operation.FsyncUnlockOperation
 
execute(ReadBinding) - 类 中的方法com.mongodb.operation.GroupOperation
Will return a cursor of Documents containing the results of the group operation.
execute(ReadBinding) - 类 中的方法com.mongodb.operation.ListCollectionsOperation
 
execute(ReadBinding) - 类 中的方法com.mongodb.operation.ListDatabasesOperation
Executing this will return a list of all the databases names in the MongoDB instance.
execute(ReadBinding) - 类 中的方法com.mongodb.operation.ListIndexesOperation
 
execute(WriteBinding) - 类 中的方法com.mongodb.operation.MapReduceToCollectionOperation
Executing this will return a cursor with your results in.
execute(ReadBinding) - 类 中的方法com.mongodb.operation.MapReduceWithInlineResultsOperation
Executing this will return a cursor with your results and the statistics in.
execute(WriteBinding) - 类 中的方法com.mongodb.operation.MixedBulkWriteOperation
Executes a bulk write operation.
execute(ReadOperation<T>, ReadPreference) - 接口 中的方法com.mongodb.operation.OperationExecutor
Execute the read operation with the given read preference.
execute(WriteOperation<T>) - 接口 中的方法com.mongodb.operation.OperationExecutor
Execute the write operation.
execute(ReadBinding) - 类 中的方法com.mongodb.operation.ParallelCollectionScanOperation
 
execute(ReadBinding) - 接口 中的方法com.mongodb.operation.ReadOperation
General execute which can return anything of type T
execute(WriteBinding) - 类 中的方法com.mongodb.operation.RenameCollectionOperation
Rename the collection with oldCollectionName in database databaseName to the newCollectionName.
execute(WriteBinding) - 类 中的方法com.mongodb.operation.UpdateUserOperation
 
execute(ReadBinding) - 类 中的方法com.mongodb.operation.UserExistsOperation
 
execute(WriteBinding) - 接口 中的方法com.mongodb.operation.WriteOperation
General execute which can return anything of type T
executeAsync(AsyncReadBinding, SingleResultCallback<AsyncBatchCursor<T>>) - 类 中的方法com.mongodb.operation.AggregateOperation
 
executeAsync(AsyncWriteBinding, SingleResultCallback<Void>) - 类 中的方法com.mongodb.operation.AggregateToCollectionOperation
 
executeAsync(AsyncReadBinding, SingleResultCallback<T>) - 接口 中的方法com.mongodb.operation.AsyncReadOperation
General execute which can return anything of type T
executeAsync(AsyncWriteBinding, SingleResultCallback<T>) - 接口 中的方法com.mongodb.operation.AsyncWriteOperation
General execute which can return anything of type T
executeAsync(AsyncWriteBinding, SingleResultCallback<WriteConcernResult>) - 类 中的方法com.mongodb.operation.BaseWriteOperation
 
executeAsync(AsyncReadBinding, SingleResultCallback<T>) - 类 中的方法com.mongodb.operation.CommandReadOperation
 
executeAsync(AsyncWriteBinding, SingleResultCallback<T>) - 类 中的方法com.mongodb.operation.CommandWriteOperation
 
executeAsync(AsyncReadBinding, SingleResultCallback<Long>) - 类 中的方法com.mongodb.operation.CountOperation
 
executeAsync(AsyncWriteBinding, SingleResultCallback<Void>) - 类 中的方法com.mongodb.operation.CreateCollectionOperation
 
executeAsync(AsyncWriteBinding, SingleResultCallback<Void>) - 类 中的方法com.mongodb.operation.CreateIndexesOperation
 
executeAsync(AsyncWriteBinding, SingleResultCallback<Void>) - 类 中的方法com.mongodb.operation.CreateUserOperation
 
executeAsync(AsyncReadBinding, SingleResultCallback<AsyncBatchCursor<T>>) - 类 中的方法com.mongodb.operation.DistinctOperation
 
executeAsync(AsyncWriteBinding, SingleResultCallback<Void>) - 类 中的方法com.mongodb.operation.DropCollectionOperation
 
executeAsync(AsyncWriteBinding, SingleResultCallback<Void>) - 类 中的方法com.mongodb.operation.DropDatabaseOperation
 
executeAsync(AsyncWriteBinding, SingleResultCallback<Void>) - 类 中的方法com.mongodb.operation.DropIndexOperation
 
executeAsync(AsyncWriteBinding, SingleResultCallback<Void>) - 类 中的方法com.mongodb.operation.DropUserOperation
 
executeAsync(AsyncWriteBinding, SingleResultCallback<T>) - 类 中的方法com.mongodb.operation.FindAndDeleteOperation
 
executeAsync(AsyncWriteBinding, SingleResultCallback<T>) - 类 中的方法com.mongodb.operation.FindAndReplaceOperation
 
executeAsync(AsyncWriteBinding, SingleResultCallback<T>) - 类 中的方法com.mongodb.operation.FindAndUpdateOperation
 
executeAsync(AsyncReadBinding, SingleResultCallback<AsyncBatchCursor<T>>) - 类 中的方法com.mongodb.operation.FindOperation
 
executeAsync(AsyncReadBinding, SingleResultCallback<AsyncBatchCursor<T>>) - 类 中的方法com.mongodb.operation.GroupOperation
 
executeAsync(AsyncReadBinding, SingleResultCallback<AsyncBatchCursor<T>>) - 类 中的方法com.mongodb.operation.ListCollectionsOperation
 
executeAsync(AsyncReadBinding, SingleResultCallback<AsyncBatchCursor<T>>) - 类 中的方法com.mongodb.operation.ListDatabasesOperation
 
executeAsync(AsyncReadBinding, SingleResultCallback<AsyncBatchCursor<T>>) - 类 中的方法com.mongodb.operation.ListIndexesOperation
 
executeAsync(AsyncWriteBinding, SingleResultCallback<MapReduceStatistics>) - 类 中的方法com.mongodb.operation.MapReduceToCollectionOperation
 
executeAsync(AsyncReadBinding, SingleResultCallback<MapReduceAsyncBatchCursor<T>>) - 类 中的方法com.mongodb.operation.MapReduceWithInlineResultsOperation
 
executeAsync(AsyncWriteBinding, SingleResultCallback<BulkWriteResult>) - 类 中的方法com.mongodb.operation.MixedBulkWriteOperation
 
executeAsync(AsyncReadBinding, SingleResultCallback<List<AsyncBatchCursor<T>>>) - 类 中的方法com.mongodb.operation.ParallelCollectionScanOperation
 
executeAsync(AsyncWriteBinding, SingleResultCallback<Void>) - 类 中的方法com.mongodb.operation.RenameCollectionOperation
 
executeAsync(AsyncWriteBinding, SingleResultCallback<Void>) - 类 中的方法com.mongodb.operation.UpdateUserOperation
 
executeAsync(AsyncReadBinding, SingleResultCallback<Boolean>) - 类 中的方法com.mongodb.operation.UserExistsOperation
 
executeCommandProtocol(Connection) - 类 中的方法com.mongodb.operation.BaseWriteOperation
Executes the write command protocol.
executeCommandProtocol(Connection) - 类 中的方法com.mongodb.operation.DeleteOperation
 
executeCommandProtocol(Connection) - 类 中的方法com.mongodb.operation.InsertOperation
 
executeCommandProtocol(Connection) - 类 中的方法com.mongodb.operation.UpdateOperation
 
executeCommandProtocolAsync(AsyncConnection, SingleResultCallback<BulkWriteResult>) - 类 中的方法com.mongodb.operation.BaseWriteOperation
Asynchronously executes the write command protocol.
executeCommandProtocolAsync(AsyncConnection, SingleResultCallback<BulkWriteResult>) - 类 中的方法com.mongodb.operation.DeleteOperation
 
executeCommandProtocolAsync(AsyncConnection, SingleResultCallback<BulkWriteResult>) - 类 中的方法com.mongodb.operation.InsertOperation
 
executeCommandProtocolAsync(AsyncConnection, SingleResultCallback<BulkWriteResult>) - 类 中的方法com.mongodb.operation.UpdateOperation
 
executeProtocol(Connection) - 类 中的方法com.mongodb.operation.BaseWriteOperation
Executes the write protocol
executeProtocol(Connection) - 类 中的方法com.mongodb.operation.DeleteOperation
 
executeProtocol(Connection) - 类 中的方法com.mongodb.operation.InsertOperation
 
executeProtocol(Connection) - 类 中的方法com.mongodb.operation.UpdateOperation
 
executeProtocolAsync(AsyncConnection, SingleResultCallback<WriteConcernResult>) - 类 中的方法com.mongodb.operation.BaseWriteOperation
Asynchronously executes the write protocol
executeProtocolAsync(AsyncConnection, SingleResultCallback<WriteConcernResult>) - 类 中的方法com.mongodb.operation.DeleteOperation
 
executeProtocolAsync(AsyncConnection, SingleResultCallback<WriteConcernResult>) - 类 中的方法com.mongodb.operation.InsertOperation
 
executeProtocolAsync(AsyncConnection, SingleResultCallback<WriteConcernResult>) - 类 中的方法com.mongodb.operation.UpdateOperation
 
exists(String) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that matches all documents that contain the given field.
exists(String, boolean) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that matches all documents that either contain or do not contain the given field, depending on the value of the exists parameter.
exists(Object) - 类 中的方法com.mongodb.QueryBuilder
Equivalent of the $exists operand
EXISTS - 类 中的静态变量com.mongodb.QueryOperators
 
expireAfter(Long, TimeUnit) - 类 中的方法com.mongodb.bulk.IndexRequest
Sets the time to live for documents in the collection
expireAfter(Long, TimeUnit) - 类 中的方法com.mongodb.client.model.IndexOptions
Sets the time to live for documents in the collection
explain() - 类 中的方法com.mongodb.DBCursor
Returns an object containing basic information about the execution of the query that created this cursor.
EXPLAIN - 类 中的静态变量com.mongodb.QueryOperators
 
explainAggregate(List<? extends DBObject>, AggregationOptions) - 类 中的方法com.mongodb.DBCollection
Return the explain plan for the aggregation pipeline.
ExplainVerbosity - com.mongodb中的枚举
An enumeration of the verbosity levels available for explaining query execution.
extractErrorCode(BsonDocument) - 异常错误 中的静态方法com.mongodb.WriteConcernException
For internal use only: extract the error code from the response to a getlasterror command.
extractErrorMessage(BsonDocument) - 异常错误 中的静态方法com.mongodb.WriteConcernException
For internal use only: extract the error message from the response to a getlasterror command.

F

FACTORY - 类 中的静态变量com.mongodb.DefaultDBCallback
 
FACTORY - 类 中的静态变量com.mongodb.DefaultDBDecoder
 
FACTORY - 类 中的静态变量com.mongodb.DefaultDBEncoder
 
FACTORY - 类 中的静态变量com.mongodb.LazyDBDecoder
 
failed(Throwable) - 接口 中的方法com.mongodb.connection.AsyncCompletionHandler
Invoked when an operation fails.
FALSE - 类 中的静态变量org.bson.BsonBoolean
 
FieldNameValidator - org.bson中的接口
A field name validator, for use by BSON writers to validate field names as documents are encoded.
fields(Bson...) - 类 中的静态方法com.mongodb.client.model.Projections
Creates a projection that combines the list of projections into a single one.
fields(List<Bson>) - 类 中的静态方法com.mongodb.client.model.Projections
Creates a projection that combines the list of projections into a single one.
filter(Bson) - 接口 中的方法com.mongodb.client.DistinctIterable
Sets the query filter to apply to the query.
filter(Bson) - 接口 中的方法com.mongodb.client.FindIterable
Sets the query filter to apply to the query.
filter(Bson) - 接口 中的方法com.mongodb.client.gridfs.GridFSFindIterable
Sets the query filter to apply to the query.
filter(Bson) - 接口 中的方法com.mongodb.client.ListCollectionsIterable
Sets the query filter to apply to the query.
filter(Bson) - 接口 中的方法com.mongodb.client.MapReduceIterable
Sets the query filter to apply to the query.
filter(BsonDocument) - 类 中的方法com.mongodb.operation.CountOperation
Sets the filter to apply to the query.
filter(BsonDocument) - 类 中的方法com.mongodb.operation.DistinctOperation
Sets the query filter to apply to the query.
filter(BsonDocument) - 类 中的方法com.mongodb.operation.FindAndDeleteOperation
Sets the filter to apply to the query.
filter(BsonDocument) - 类 中的方法com.mongodb.operation.FindAndReplaceOperation
Sets the query filter to apply to the query.
filter(BsonDocument) - 类 中的方法com.mongodb.operation.FindAndUpdateOperation
Sets the filter to apply to the query.
filter(BsonDocument) - 类 中的方法com.mongodb.operation.FindOperation
Sets the query filter to apply to the query.
filter(BsonDocument) - 类 中的方法com.mongodb.operation.GroupOperation
Sets the optional query filter to determine which documents in the collection to process.
filter(BsonDocument) - 类 中的方法com.mongodb.operation.ListCollectionsOperation
Sets the query filter to apply to the query.
filter(BsonDocument) - 类 中的方法com.mongodb.operation.MapReduceToCollectionOperation
Sets the filter to apply to the query.
filter(BsonDocument) - 类 中的方法com.mongodb.operation.MapReduceWithInlineResultsOperation
Sets the filter to apply to the query.
Filters - com.mongodb.client.model中的类
A factory for query filters.
finalizeFunction(String) - 接口 中的方法com.mongodb.client.MapReduceIterable
Sets the JavaScript function that follows the reduce method and modifies the output.
finalizeFunction(BsonJavaScript) - 类 中的方法com.mongodb.operation.GroupOperation
Sets the function that runs each item in the result set before returning the final value.
finalizeFunction(BsonJavaScript) - 类 中的方法com.mongodb.operation.MapReduceToCollectionOperation
Sets the JavaScript function that follows the reduce method and modifies the output.
finalizeFunction(BsonJavaScript) - 类 中的方法com.mongodb.operation.MapReduceWithInlineResultsOperation
Sets the JavaScript function that follows the reduce method and modifies the output.
find(DBObject) - 类 中的方法com.mongodb.BulkWriteOperation
Start building a write request to add to the bulk write operation.
find() - 接口 中的方法com.mongodb.client.gridfs.GridFSBucket
Finds all documents in the files collection.
find(Bson) - 接口 中的方法com.mongodb.client.gridfs.GridFSBucket
Finds all documents in the collection that match the filter.
find() - 接口 中的方法com.mongodb.client.MongoCollection
Finds all documents in the collection.
find(Class<TResult>) - 接口 中的方法com.mongodb.client.MongoCollection
Finds all documents in the collection.
find(Bson) - 接口 中的方法com.mongodb.client.MongoCollection
Finds all documents in the collection.
find(Bson, Class<TResult>) - 接口 中的方法com.mongodb.client.MongoCollection
Finds all documents in the collection.
find(DBObject, DBObject, int, int, int) - 类 中的方法com.mongodb.DBCollection
find(DBObject, DBObject, int, int) - 类 中的方法com.mongodb.DBCollection
已过时。
find(DBObject) - 类 中的方法com.mongodb.DBCollection
Select documents in collection and get a cursor to the selected documents.
find(DBObject, DBObject) - 类 中的方法com.mongodb.DBCollection
Select documents in collection and get a cursor to the selected documents.
find() - 类 中的方法com.mongodb.DBCollection
Select all documents in collection and get a cursor to the selected documents.
find(ObjectId) - 类 中的方法com.mongodb.gridfs.GridFS
Finds one file matching the given objectId.
find(String) - 类 中的方法com.mongodb.gridfs.GridFS
Finds a list of files matching the given filename.
find(String, DBObject) - 类 中的方法com.mongodb.gridfs.GridFS
Finds a list of files matching the given filename.
find(DBObject) - 类 中的方法com.mongodb.gridfs.GridFS
Finds a list of files matching the given query.
find(DBObject, DBObject) - 类 中的方法com.mongodb.gridfs.GridFS
Finds a list of files matching the given query.
FindAndDeleteOperation<T> - com.mongodb.operation中的类
An operation that atomically finds and deletes a single document.
FindAndDeleteOperation(MongoNamespace, Decoder<T>) - 类 的构造器com.mongodb.operation.FindAndDeleteOperation
FindAndDeleteOperation(MongoNamespace, WriteConcern, Decoder<T>) - 类 的构造器com.mongodb.operation.FindAndDeleteOperation
Construct a new instance.
findAndModify(DBObject, DBObject, DBObject) - 类 中的方法com.mongodb.DBCollection
Atomically modify and return a single document.
findAndModify(DBObject, DBObject) - 类 中的方法com.mongodb.DBCollection
Atomically modify and return a single document.
findAndModify(DBObject, DBObject, DBObject, boolean, DBObject, boolean, boolean) - 类 中的方法com.mongodb.DBCollection
Atomically modify and return a single document.
findAndModify(DBObject, DBObject, DBObject, boolean, DBObject, boolean, boolean, WriteConcern) - 类 中的方法com.mongodb.DBCollection
Atomically modify and return a single document.
findAndModify(DBObject, DBObject, DBObject, boolean, DBObject, boolean, boolean, long, TimeUnit) - 类 中的方法com.mongodb.DBCollection
Atomically modify and return a single document.
findAndModify(DBObject, DBObject, DBObject, boolean, DBObject, boolean, boolean, long, TimeUnit, WriteConcern) - 类 中的方法com.mongodb.DBCollection
Atomically modify and return a single document.
findAndModify(DBObject, DBObject, DBObject, boolean, DBObject, boolean, boolean, boolean, long, TimeUnit) - 类 中的方法com.mongodb.DBCollection
Atomically modify and return a single document.
findAndModify(DBObject, DBObject, DBObject, boolean, DBObject, boolean, boolean, boolean, long, TimeUnit, WriteConcern) - 类 中的方法com.mongodb.DBCollection
Atomically modify and return a single document.
findAndRemove(DBObject) - 类 中的方法com.mongodb.DBCollection
Atomically remove and return a single document.
FindAndReplaceOperation<T> - com.mongodb.operation中的类
An operation that atomically finds and replaces a single document.
FindAndReplaceOperation(MongoNamespace, Decoder<T>, BsonDocument) - 类 的构造器com.mongodb.operation.FindAndReplaceOperation
FindAndReplaceOperation(MongoNamespace, WriteConcern, Decoder<T>, BsonDocument) - 类 的构造器com.mongodb.operation.FindAndReplaceOperation
Construct a new instance.
FindAndUpdateOperation<T> - com.mongodb.operation中的类
An operation that atomically finds and updates a single document.
FindAndUpdateOperation(MongoNamespace, Decoder<T>, BsonDocument) - 类 的构造器com.mongodb.operation.FindAndUpdateOperation
FindAndUpdateOperation(MongoNamespace, WriteConcern, Decoder<T>, BsonDocument) - 类 的构造器com.mongodb.operation.FindAndUpdateOperation
Construct a new instance.
findByValue(int) - 枚举 中的静态方法org.bson.BsonType
Gets the BsonType that corresponds to the given int value.
FindIterable<TResult> - com.mongodb.client中的接口
Iterable for find.
findOne() - 类 中的方法com.mongodb.DBCollection
Get a single document from collection.
findOne(DBObject) - 类 中的方法com.mongodb.DBCollection
Get a single document from collection.
findOne(DBObject, DBObject) - 类 中的方法com.mongodb.DBCollection
Get a single document from collection.
findOne(DBObject, DBObject, DBObject) - 类 中的方法com.mongodb.DBCollection
Get a single document from collection.
findOne(DBObject, DBObject, ReadPreference) - 类 中的方法com.mongodb.DBCollection
Get a single document from collection.
findOne(DBObject, DBObject, DBObject, ReadPreference) - 类 中的方法com.mongodb.DBCollection
Get a single document from collection.
findOne(Object) - 类 中的方法com.mongodb.DBCollection
Get a single document from collection by '_id'.
findOne(Object, DBObject) - 类 中的方法com.mongodb.DBCollection
Get a single document from collection by '_id'.
findOne(ObjectId) - 类 中的方法com.mongodb.gridfs.GridFS
Finds one file matching the given objectId.
findOne(String) - 类 中的方法com.mongodb.gridfs.GridFS
Finds one file matching the given filename.
findOne(DBObject) - 类 中的方法com.mongodb.gridfs.GridFS
Finds one file matching the given query.
findOneAndDelete(Bson) - 接口 中的方法com.mongodb.client.MongoCollection
Atomically find a document and remove it.
findOneAndDelete(Bson, FindOneAndDeleteOptions) - 接口 中的方法com.mongodb.client.MongoCollection
Atomically find a document and remove it.
FindOneAndDeleteOptions - com.mongodb.client.model中的类
The options to apply to an operation that atomically finds a document and deletes it.
FindOneAndDeleteOptions() - 类 的构造器com.mongodb.client.model.FindOneAndDeleteOptions
 
findOneAndReplace(Bson, TDocument) - 接口 中的方法com.mongodb.client.MongoCollection
Atomically find a document and replace it.
findOneAndReplace(Bson, TDocument, FindOneAndReplaceOptions) - 接口 中的方法com.mongodb.client.MongoCollection
Atomically find a document and replace it.
FindOneAndReplaceOptions - com.mongodb.client.model中的类
The options to apply to an operation that atomically finds a document and replaces it.
FindOneAndReplaceOptions() - 类 的构造器com.mongodb.client.model.FindOneAndReplaceOptions
 
findOneAndUpdate(Bson, Bson) - 接口 中的方法com.mongodb.client.MongoCollection
Atomically find a document and update it.
findOneAndUpdate(Bson, Bson, FindOneAndUpdateOptions) - 接口 中的方法com.mongodb.client.MongoCollection
Atomically find a document and update it.
FindOneAndUpdateOptions - com.mongodb.client.model中的类
The options to apply to an operation that atomically finds a document and updates it.
FindOneAndUpdateOptions() - 类 的构造器com.mongodb.client.model.FindOneAndUpdateOptions
 
FindOperation<T> - com.mongodb.operation中的类
An operation that queries a collection using the provided criteria.
FindOperation(MongoNamespace, Decoder<T>) - 类 的构造器com.mongodb.operation.FindOperation
Construct a new instance.
FindOptions - com.mongodb.client.model中的类
The options to apply to a find operation (also commonly referred to as a query).
FindOptions() - 类 的构造器com.mongodb.client.model.FindOptions
Construct a new instance.
FindOptions(FindOptions) - 类 的构造器com.mongodb.client.model.FindOptions
Construct a new instance by making a shallow copy of the given model.
first(String, TExpression) - 类 中的静态方法com.mongodb.client.model.Accumulators
Gets a field name for a $group operation representing the value of the given expression when applied to the first member of the group.
first() - 接口 中的方法com.mongodb.client.MongoIterable
Helper to return the first item in the iterator or null.
flip() - 接口 中的方法org.bson.ByteBuf
Flips this buffer.
flip() - 类 中的方法org.bson.ByteBufNIO
 
FloatCodec - org.bson.codecs中的类
Encodes and decodes Float objects.
FloatCodec() - 类 的构造器org.bson.codecs.FloatCodec
 
flush() - 类 中的方法com.mongodb.client.gridfs.GridFSUploadStream
 
flush() - 类 中的方法org.bson.BsonBinaryWriter
 
flush() - 类 中的方法org.bson.BsonDocumentWriter
 
flush() - 接口 中的方法org.bson.BsonWriter
Flushes any pending data to the output destination.
flush() - 类 中的方法org.bson.json.JsonWriter
 
forEach(Block<? super TResult>) - 接口 中的方法com.mongodb.client.MongoIterable
Iterates over all documents in the view, applying the given block to each.
fromCodecs(Codec<?>...) - 类 中的静态方法org.bson.codecs.configuration.CodecRegistries
Creates a CodecRegistry from the provided list of Codec instances.
fromCodecs(List<? extends Codec<?>>) - 类 中的静态方法org.bson.codecs.configuration.CodecRegistries
Creates a CodecRegistry from the provided list of Codec instances.
fromErrorCode(int) - 枚举 中的静态方法com.mongodb.ErrorCategory
Translate an error code into an error category
fromInt(int) - 枚举 中的静态方法com.mongodb.operation.OrderBy
Gets the order from the given integer representation.
fromMechanismName(String) - 枚举 中的静态方法com.mongodb.AuthenticationMechanism
Gets the mechanism by its name.
fromProviders(CodecProvider...) - 类 中的静态方法org.bson.codecs.configuration.CodecRegistries
Creates a CodecRegistry from the provided list of CodecProvider instances.
fromProviders(List<? extends CodecProvider>) - 类 中的静态方法org.bson.codecs.configuration.CodecRegistries
Creates a CodecRegistry from the provided list of CodecProvider instances.
fromRegistries(CodecRegistry...) - 类 中的静态方法org.bson.codecs.configuration.CodecRegistries
A CodecRegistry that combines the given CodecRegistry instances into a single registry.
fromRegistries(List<? extends CodecRegistry>) - 类 中的静态方法org.bson.codecs.configuration.CodecRegistries
A CodecRegistry that combines the given CodecRegistry instances into a single registry.
fromString(String) - 枚举 中的静态方法com.mongodb.client.model.ValidationAction
Returns the validationAction from the string representation of a validation action.
fromString(String) - 枚举 中的静态方法com.mongodb.client.model.ValidationLevel
Returns the ValidationLevel from the string representation of the validation level.
fromString(String) - 枚举 中的静态方法com.mongodb.ReadConcernLevel
Returns the ReadConcern from the string read concern level.
fromThrowable(Throwable) - 异常错误 中的静态方法com.mongodb.MongoException
Static helper to create or cast a MongoException from a throwable
fsync(boolean) - 类 中的方法com.mongodb.Mongo
Forces the master server to fsync the RAM data to disk This is done automatically by the server at intervals, but can be forced for better reliability.
fsync - 类 中的变量com.mongodb.MongoOptions
已过时。
The "fsync" value of the global WriteConcern. true indicates writes should wait for data to be written to server data file Default is false.
fsync() - 类 中的方法com.mongodb.WriteConcern
已过时。
FSYNC_SAFE - 类 中的静态变量com.mongodb.WriteConcern
已过时。
fsyncAndLock() - 类 中的方法com.mongodb.Mongo
Forces the master server to fsync the RAM data to disk, then lock all writes.
FSYNCED - 类 中的静态变量com.mongodb.WriteConcern
已过时。
FsyncUnlockOperation - com.mongodb.operation中的类
Unlocks the MongoDB server, allowing write operations to go through.
FsyncUnlockOperation() - 类 的构造器com.mongodb.operation.FsyncUnlockOperation
 
Function<T,R> - com.mongodb中的接口
Apply a function to the input object yielding an appropriate result object.

G

generate() - 接口 中的方法org.bson.codecs.IdGenerator
Generates an ID for a MongoDB Document.
generate() - 类 中的方法org.bson.codecs.ObjectIdGenerator
 
generateIdIfAbsentFromDocument(DBObject) - 类 中的方法com.mongodb.DBObjectCodec
 
generateIdIfAbsentFromDocument(BsonDocument) - 类 中的方法org.bson.codecs.BsonDocumentCodec
 
generateIdIfAbsentFromDocument(T) - 接口 中的方法org.bson.codecs.CollectibleCodec
Generates a value for the _id field on the given document, if the document does not have one.
generateIdIfAbsentFromDocument(Document) - 类 中的方法org.bson.codecs.DocumentCodec
 
geo2d(String) - 类 中的静态方法com.mongodb.client.model.Indexes
Create an index key for a 2d index on the given field.
geo2dsphere(String...) - 类 中的静态方法com.mongodb.client.model.Indexes
Create an index key for an 2dsphere index on the given fields.
geo2dsphere(List<String>) - 类 中的静态方法com.mongodb.client.model.Indexes
Create an index key for an ascending index on the given fields.
geoHaystack(String, Bson) - 类 中的静态方法com.mongodb.client.model.Indexes
Create an index key for a geohaystack index on the given field.
geoIntersects(String, Bson) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that matches all documents containing a field with geospatial data that intersects with the specified shape.
geoIntersects(String, Geometry) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that matches all documents containing a field with geospatial data that intersects with the specified shape.
GeoJsonCodecProvider - com.mongodb.client.model.geojson.codecs中的类
A provider of codecs for GeoJSON objects.
GeoJsonCodecProvider() - 类 的构造器com.mongodb.client.model.geojson.codecs.GeoJsonCodecProvider
 
GeoJsonObjectType - com.mongodb.client.model.geojson中的枚举
An enumeration of GeoJSON object types.
Geometry - com.mongodb.client.model.geojson中的类
An abstract class for representations of GeoJSON geometry objects.
Geometry() - 类 的构造器com.mongodb.client.model.geojson.Geometry
Construct an instance with no specified coordinate reference system.
Geometry(CoordinateReferenceSystem) - 类 的构造器com.mongodb.client.model.geojson.Geometry
Construct an instance with the specified coordinate reference system.
GeometryCollection - com.mongodb.client.model.geojson中的类
A representation of a GeoJSON GeometryCollection.
GeometryCollection(List<? extends Geometry>) - 类 的构造器com.mongodb.client.model.geojson.GeometryCollection
Construct an instance with the given list of Geometry objects
GeometryCollection(CoordinateReferenceSystem, List<? extends Geometry>) - 类 的构造器com.mongodb.client.model.geojson.GeometryCollection
Construct an instance with the given list of Geometry objects
GeometryCollectionCodec - com.mongodb.client.model.geojson.codecs中的类
A Codec for a GeoJSON GeometryCollection.
GeometryCollectionCodec(CodecRegistry) - 类 的构造器com.mongodb.client.model.geojson.codecs.GeometryCollectionCodec
Constructs an instance.
geoWithin(String, Geometry) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that matches all documents containing a field with geospatial data that exists entirely within the specified shape.
geoWithin(String, Bson) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that matches all documents containing a field with geospatial data that exists entirely within the specified shape.
geoWithinBox(String, double, double, double, double) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that matches all documents containing a field with grid coordinates data that exist entirely within the specified box.
geoWithinCenter(String, double, double, double) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that matches all documents containing a field with grid coordinates data that exist entirely within the specified circle.
geoWithinCenterSphere(String, double, double, double) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that matches all documents containing a field with geospatial data (GeoJSON or legacy coordinate pairs) that exist entirely within the specified circle, using spherical geometry.
geoWithinPolygon(String, List<List<Double>>) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that matches all documents containing a field with grid coordinates data that exist entirely within the specified polygon.
get() - 类 中的方法com.mongodb.BasicDBObjectBuilder
Gets the top level document.
get(Class<T>, CodecRegistry) - 类 中的方法com.mongodb.client.gridfs.codecs.GridFSFileCodecProvider
 
get(Class<T>, CodecRegistry) - 类 中的方法com.mongodb.client.model.geojson.codecs.GeoJsonCodecProvider
 
get(Class<T>, CodecRegistry) - 类 中的方法com.mongodb.DBObjectCodecProvider
 
get(Class<T>, CodecRegistry) - 类 中的方法com.mongodb.DBRefCodecProvider
 
get(String) - 类 中的方法com.mongodb.gridfs.GridFSFile
 
get() - 类 中的方法com.mongodb.QueryBuilder
Creates a DBObject query to be used for the driver's find operations
get(String) - 类 中的方法com.mongodb.ReflectionDBObject
 
get(ReflectionDBObject, String) - 类 中的方法com.mongodb.ReflectionDBObject.JavaWrapper
Gets the value for the given field from the given document.
get() - 类 中的方法org.bson.BasicBSONCallback
 
get(String) - 类 中的方法org.bson.BasicBSONObject
Gets a value from this object
get(int) - 类 中的方法org.bson.BsonArray
 
get() - 接口 中的方法org.bson.BSONCallback
Returns the finished top-level Document.
get(Object) - 类 中的方法org.bson.BsonDocument
 
get(Object, BsonValue) - 类 中的方法org.bson.BsonDocument
If the document does not contain the given key, return the given default value.
get(Object) - 类 中的方法org.bson.BsonDocumentWrapper
 
get(String) - 接口 中的方法org.bson.BSONObject
Gets a field from this object by a given name.
get() - 接口 中的方法org.bson.ByteBuf
Relative get method.
get(int) - 接口 中的方法org.bson.ByteBuf
Absolute get method.
get(byte[]) - 接口 中的方法org.bson.ByteBuf
Relative bulk get method.
get(int, byte[]) - 接口 中的方法org.bson.ByteBuf
Absolute bulk get method.
get(byte[], int, int) - 接口 中的方法org.bson.ByteBuf
Relative bulk get method.
get(int, byte[], int, int) - 接口 中的方法org.bson.ByteBuf
Absolute bulk get method.
get() - 类 中的方法org.bson.ByteBufNIO
 
get(int) - 类 中的方法org.bson.ByteBufNIO
 
get(byte[]) - 类 中的方法org.bson.ByteBufNIO
 
get(int, byte[]) - 类 中的方法org.bson.ByteBufNIO
 
get(byte[], int, int) - 类 中的方法org.bson.ByteBufNIO
 
get(int, byte[], int, int) - 类 中的方法org.bson.ByteBufNIO
 
get(BsonType) - 类 中的方法org.bson.codecs.BsonTypeClassMap
Gets the Class that is mapped to the given BSON type.
get(BsonType) - 类 中的方法org.bson.codecs.BsonTypeCodecMap
Gets the Codec mapped to the given bson type.
get(Class<T>, CodecRegistry) - 类 中的方法org.bson.codecs.BsonValueCodecProvider
 
get(Class<T>, CodecRegistry) - 接口 中的方法org.bson.codecs.configuration.CodecProvider
Get a Codec using the given context, which includes, most importantly, the Class for which a Codec is required.
get(Class<T>) - 接口 中的方法org.bson.codecs.configuration.CodecRegistry
Gets a Codec for the given Class.
get(Class<T>, CodecRegistry) - 类 中的方法org.bson.codecs.DocumentCodecProvider
 
get(Class<T>, CodecRegistry) - 类 中的方法org.bson.codecs.IterableCodecProvider
 
get(Class<T>, CodecRegistry) - 类 中的方法org.bson.codecs.UuidCodecProvider
 
get(Class<T>, CodecRegistry) - 类 中的方法org.bson.codecs.ValueCodecProvider
 
get(Object, Class<T>) - 类 中的方法org.bson.Document
Gets the value of the given key, casting it to the given Class<T>.
get(Object) - 类 中的方法org.bson.Document
 
get() - 类 中的方法org.bson.EmptyBSONCallback
 
get() - 类 中的方法org.bson.LazyBSONCallback
 
get(int) - 类 中的方法org.bson.LazyBSONList
 
get(String) - 类 中的方法org.bson.LazyBSONObject
 
get(Object) - 类 中的方法org.bson.RawBsonDocument
 
get(String) - 类 中的方法org.bson.types.BasicBSONList
Gets a value at an index.
get() - 类 中的静态方法org.bson.types.ObjectId
Gets a new object id.
get(Object) - 类 中的方法org.bson.util.ClassMap
Gets the value associated with either this Class or a superclass of this class.
get_id() - 类 中的方法com.mongodb.ReflectionDBObject
Gets the _id
getAcceptableLatencyDifference(TimeUnit) - 类 中的方法com.mongodb.selector.LatencyMinimizingServerSelector
Gets the acceptable latency difference.
getAction() - 类 中的方法com.mongodb.operation.MapReduceToCollectionOperation
Gets the output action, one of: "replace", "merge", "reduce".
getAddress() - 类 中的方法com.mongodb.connection.QueryResult
Gets the server address.
getAddress() - 类 中的方法com.mongodb.connection.ServerDescription
Gets the address of this server
getAddress() - 类 中的方法com.mongodb.connection.ServerId
Gets the server address.
getAddress() - 接口 中的方法com.mongodb.connection.Stream
The address that this stream is connected to.
getAddress() - 类 中的方法com.mongodb.Mongo
Gets the address of the current master
getAddress() - 类 中的方法com.mongodb.ServerCursor
Gets the server address.
getAliases() - 类 中的方法com.mongodb.client.gridfs.model.GridFSFile
已过时。
aliases should be stored in the metadata document.
getAliases() - 类 中的方法com.mongodb.gridfs.GridFSFile
Gets the aliases from the metadata. note: to set aliases, call GridFSFile.put(String, Object) with "aliases" , List<String>.
getAll() - 类 中的方法com.mongodb.connection.ClusterDescription
getAllAddress() - 类 中的方法com.mongodb.Mongo
Gets a list of all server addresses used when this Mongo was created
getAllowDiskUse() - 类 中的方法com.mongodb.AggregationOptions
If true, this enables external sort capabilities, otherwise $sort produces an error if the operation consumes 10 percent or more of RAM.
getAllowDiskUse() - 类 中的方法com.mongodb.operation.AggregateOperation
Whether writing to temporary files is enabled.
getAllowDiskUse() - 类 中的方法com.mongodb.operation.AggregateToCollectionOperation
Whether writing to temporary files is enabled.
getAncestry(Class<T>) - 类 中的静态方法org.bson.util.ClassMap
Helper method that walks superclass and interface graph, superclasses first, then interfaces, to compute an ancestry list.
getAny() - 类 中的方法com.mongodb.connection.ClusterDescription
已过时。
Replace with a filter on ServerDescription in the caller
getAnyPrimaryOrSecondary() - 类 中的方法com.mongodb.connection.ClusterDescription
已过时。
Replace with a filter on ServerDescription in the caller
getAnyPrimaryOrSecondary(TagSet) - 类 中的方法com.mongodb.connection.ClusterDescription
已过时。
Replace with a filter on ServerDescription in the caller
getArbiters() - 类 中的方法com.mongodb.connection.ServerDescription
Gets the arbiters in the replica set
getArray(Object) - 类 中的方法org.bson.BsonDocument
Gets the value of the key if it is a BsonArray, or throws if not.
getArray(Object, BsonArray) - 类 中的方法org.bson.BsonDocument
If the document does not contain the given key, return the given default value.
getAuthenticationMechanism() - 类 中的方法com.mongodb.MongoCredential
Gets the mechanism
getBatchSize() - 类 中的方法com.mongodb.AggregationOptions
The size of batches to use when iterating over results.
getBatchSize() - 接口 中的方法com.mongodb.async.AsyncBatchCursor
Gets the batch size to use when requesting the next batch.
getBatchSize() - 类 中的方法com.mongodb.client.model.FindOptions
Gets the number of documents to return per batch.
getBatchSize() - 类 中的方法com.mongodb.client.model.ParallelCollectionScanOptions
已过时。
Gets the batch size to use for each cursor.
getBatchSize() - 类 中的方法com.mongodb.DBCursor
Gets the batch size.
getBatchSize() - 类 中的方法com.mongodb.operation.AggregateOperation
Gets the number of documents to return per batch.
getBatchSize() - 接口 中的方法com.mongodb.operation.BatchCursor
Gets the batch size to use when requesting the next batch.
getBatchSize() - 类 中的方法com.mongodb.operation.FindOperation
Gets the number of documents to return per batch.
getBatchSize() - 类 中的方法com.mongodb.operation.ListCollectionsOperation
Gets the number of documents to return per batch.
getBatchSize() - 类 中的方法com.mongodb.operation.ListIndexesOperation
Gets the number of documents to return per batch.
getBatchSize() - 类 中的方法com.mongodb.operation.ParallelCollectionScanOperation
Gets the batch size to use for each cursor.
getBatchSize() - 类 中的方法com.mongodb.ParallelScanOptions
Gets the batch size to use for each cursor.
getBinary(Object) - 类 中的方法org.bson.BsonDocument
Gets the value of the key if it is a BsonBinary, or throws if not.
getBinary(Object, BsonBinary) - 类 中的方法org.bson.BsonDocument
If the document does not contain the given key, return the given default value.
getBits() - 类 中的方法com.mongodb.bulk.IndexRequest
Gets the number of precision of the stored geohash value of the location data in 2d indexes.
getBits() - 类 中的方法com.mongodb.client.model.IndexOptions
Gets the number of precision of the stored geohash value of the location data in 2d indexes.
getBoolean(String) - 类 中的方法org.bson.BasicBSONObject
Returns the value of a field as a boolean.
getBoolean(String, boolean) - 类 中的方法org.bson.BasicBSONObject
Returns the value of a field as a boolean
getBoolean(Object) - 类 中的方法org.bson.BsonDocument
Gets the value of the key if it is a BsonBoolean, or throws if not.
getBoolean(Object, BsonBoolean) - 类 中的方法org.bson.BsonDocument
If the document does not contain the given key, return the given default value.
getBoolean(Object) - 类 中的方法org.bson.Document
Gets the value of the given key as a Boolean.
getBoolean(Object, boolean) - 类 中的方法org.bson.Document
Gets the value of the given key as a primitive boolean.
getBsonInput() - 类 中的方法org.bson.BsonBinaryReader
Gets the BSON input backing this instance.
getBsonOutput() - 类 中的方法org.bson.BsonBinaryWriter
Gets the BSON output backing this instance.
getBSONSize() - 类 中的方法org.bson.LazyBSONObject
Gets the size in bytes of the BSON document.
getBsonType() - 类 中的方法org.bson.BsonArray
 
getBsonType() - 类 中的方法org.bson.BsonBinary
 
getBsonType() - 类 中的方法org.bson.BsonBoolean
 
getBsonType() - 类 中的方法org.bson.BsonDateTime
 
getBsonType() - 类 中的方法org.bson.BsonDbPointer
 
getBsonType() - 类 中的方法org.bson.BsonDocument
 
getBsonType() - 类 中的方法org.bson.BsonDouble
 
getBsonType() - 类 中的方法org.bson.BsonInt32
 
getBsonType() - 类 中的方法org.bson.BsonInt64
 
getBsonType() - 类 中的方法org.bson.BsonJavaScript
 
getBsonType() - 类 中的方法org.bson.BsonJavaScriptWithScope
 
getBsonType() - 类 中的方法org.bson.BsonMaxKey
 
getBsonType() - 类 中的方法org.bson.BsonMinKey
 
getBsonType() - 类 中的方法org.bson.BsonNull
 
getBsonType() - 类 中的方法org.bson.BsonObjectId
 
getBsonType() - 类 中的方法org.bson.BsonRegularExpression
 
getBsonType() - 类 中的方法org.bson.BsonString
 
getBsonType() - 类 中的方法org.bson.BsonSymbol
 
getBsonType() - 类 中的方法org.bson.BsonTimestamp
 
getBsonType() - 类 中的方法org.bson.BsonUndefined
 
getBsonType() - 类 中的方法org.bson.BsonValue
Gets the BSON type of this value.
getBsonTypeClassMap() - 类 中的静态方法org.bson.codecs.BsonValueCodecProvider
Gets the BsonTypeClassMap used by this provider.
getBsonWriter() - 类 中的方法org.bson.BasicBSONEncoder
Gets the writer responsible for writing the encoded BSON.
getBucketName() - 接口 中的方法com.mongodb.client.gridfs.GridFSBucket
The bucket name.
getBucketName() - 类 中的方法com.mongodb.gridfs.GridFS
Gets the bucket name used in the collection's namespace.
getBucketSize() - 类 中的方法com.mongodb.bulk.IndexRequest
Gets the specified the number of units within which to group the location values for geoHaystack Indexes
getBucketSize() - 类 中的方法com.mongodb.client.model.IndexOptions
Gets the specified the number of units within which to group the location values for geoHaystack Indexes
getBuffer(int) - 接口 中的方法com.mongodb.connection.BufferProvider
Gets a buffer with the givens capacity.
getBypassDocumentValidation() - 类 中的方法com.mongodb.AggregationOptions
Gets whether to bypass document validation, or null if unspecified.
getBypassDocumentValidation() - 类 中的方法com.mongodb.BulkWriteOperation
Gets whether to bypass document validation, or null if unspecified.
getBypassDocumentValidation() - 类 中的方法com.mongodb.client.model.BulkWriteOptions
Gets the the bypass document level validation flag
getBypassDocumentValidation() - 类 中的方法com.mongodb.client.model.FindOneAndReplaceOptions
Gets the the bypass document level validation flag
getBypassDocumentValidation() - 类 中的方法com.mongodb.client.model.FindOneAndUpdateOptions
Gets the the bypass document level validation flag
getBypassDocumentValidation() - 类 中的方法com.mongodb.client.model.InsertManyOptions
Gets the the bypass document level validation flag
getBypassDocumentValidation() - 类 中的方法com.mongodb.client.model.InsertOneOptions
Gets the the bypass document level validation flag
getBypassDocumentValidation() - 类 中的方法com.mongodb.client.model.UpdateOptions
Gets the the bypass document level validation flag
getBypassDocumentValidation() - 类 中的方法com.mongodb.InsertOptions
Gets whether to bypass document validation, or null if unspecified.
getBypassDocumentValidation() - 类 中的方法com.mongodb.MapReduceCommand
Gets whether to bypass document validation, or null if unspecified.
getBypassDocumentValidation() - 类 中的方法com.mongodb.operation.AggregateToCollectionOperation
Gets the bypass document level validation flag
getBypassDocumentValidation() - 类 中的方法com.mongodb.operation.BaseWriteOperation
Gets the the bypass document level validation flag
getBypassDocumentValidation() - 类 中的方法com.mongodb.operation.FindAndReplaceOperation
Gets the bypass document level validation flag
getBypassDocumentValidation() - 类 中的方法com.mongodb.operation.FindAndUpdateOperation
Gets the bypass document level validation flag
getBypassDocumentValidation() - 类 中的方法com.mongodb.operation.MapReduceToCollectionOperation
Gets the bypass document level validation flag
getBypassDocumentValidation() - 类 中的方法com.mongodb.operation.MixedBulkWriteOperation
Gets the the bypass document level validation flag
getByServerAddress(ServerAddress) - 类 中的方法com.mongodb.connection.ClusterDescription
已过时。
Replace with a filter on ServerDescription in the caller
getByteBuffer() - 类 中的方法org.bson.RawBsonDocument
Returns a ByteBuf that wraps the byte array, with the proper byte order.
getByteBuffers() - 类 中的方法com.mongodb.connection.ByteBufferBsonOutput
 
getByteBuffers() - 类 中的方法org.bson.io.BasicOutputBuffer
 
getByteBuffers() - 类 中的方法org.bson.io.OutputBuffer
Get a list of byte buffers that are prepared to be read from; in other words, whose position is 0 and whose limit is the number of bytes that should read.
getBytes() - 类 中的方法com.mongodb.connection.QueryResult
 
getBytes() - 类 中的方法org.bson.BsonDocument
 
getBytes() - 接口 中的方法org.bson.CountedBytes
 
getBytes() - 类 中的方法org.bson.LazyBSONObject
Gets the raw bytes.
getCanonicalAddress() - 类 中的方法com.mongodb.connection.ServerDescription
Gets the string representing the host name and port that this member of a replica set was configured with, e.g.
getCaseSensitive() - 类 中的方法com.mongodb.client.model.TextSearchOptions
Returns the case-sensitive flag to use with the text search
getCategory() - 类 中的方法com.mongodb.WriteError
Gets the category of this error.
getCheckedOutCount() - 接口 中的方法com.mongodb.management.ConnectionPoolStatisticsMBean
Gets the count of connections that are currently in use.
getChildContext() - 类 中的方法org.bson.codecs.EncoderContext
Gets a child context based on this.
getChunksCollection() - 类 中的方法com.mongodb.gridfs.GridFS
Gets the DBCollection in which the binary chunks are stored.
getChunkSize() - 类 中的方法com.mongodb.client.gridfs.model.GridFSFile
The size, in bytes, of each data chunk of this file
getChunkSize() - 类 中的方法com.mongodb.gridfs.GridFSFile
Gets the size of a chunk.
getChunkSizeBytes() - 接口 中的方法com.mongodb.client.gridfs.GridFSBucket
Sets the chunk size in bytes.
getChunkSizeBytes() - 类 中的方法com.mongodb.client.gridfs.model.GridFSUploadOptions
The number of bytes per chunk of this file.
getClassForBsonType(BsonType) - 类 中的静态方法org.bson.codecs.BsonValueCodecProvider
Get the BsonValue subclass associated with the given BsonType.
getClusterDescription() - 异常错误 中的方法com.mongodb.MongoIncompatibleDriverException
The cluster description which was determined to be incompatible.
getClusterId() - 类 中的方法com.mongodb.connection.ServerId
Gets the cluster identifier.
getClusterId() - 类 中的方法com.mongodb.event.ClusterClosedEvent
Gets the cluster id associated with this event.
getClusterId() - 类 中的方法com.mongodb.event.ClusterDescriptionChangedEvent
Gets the cluster id associated with this event.
getClusterId() - 类 中的方法com.mongodb.event.ClusterOpeningEvent
Gets the cluster id.
getClusterListeners() - 类 中的方法com.mongodb.connection.ClusterSettings
Gets the cluster listeners.
getClusterListeners() - 类 中的方法com.mongodb.event.ClusterEventMulticaster
Gets the cluster listeners.
getClusterListeners() - 类 中的方法com.mongodb.MongoClientOptions
Gets the list of added ClusterListener.
getClusterType() - 类 中的方法com.mongodb.connection.ServerDescription
Gets the type of the cluster this server is in (for example, replica set).
getClusterType() - 枚举 中的方法com.mongodb.connection.ServerType
The type of the cluster to which this server belongs
getCode() - 类 中的方法com.mongodb.bulk.WriteConcernError
Gets the code associated with this error.
getCode() - 类 中的方法com.mongodb.BulkWriteError
Gets the code associated with this error.
getCode() - 异常错误 中的方法com.mongodb.MongoException
Gets the exception code
getCode() - 类 中的方法com.mongodb.WriteConcernError
Gets the code associated with this error.
getCode() - 类 中的方法com.mongodb.WriteError
Gets the code associated with this error.
getCode() - 类 中的方法org.bson.BsonJavaScript
Get the Javascript code.
getCode() - 类 中的方法org.bson.BsonJavaScriptWithScope
Get the code.
getCode() - 类 中的方法org.bson.types.Code
Get the Javascript code.
getCodecRegistry() - 接口 中的方法com.mongodb.client.MongoCollection
Get the codec registry for the MongoCollection.
getCodecRegistry() - 接口 中的方法com.mongodb.client.MongoDatabase
Get the codec registry for the MongoDatabase.
getCodecRegistry() - 类 中的方法com.mongodb.MongoClientOptions
The codec registry to use.
getCodecRegistry() - 类 中的方法org.bson.codecs.BsonDocumentCodec
Gets the CodecRegistry for this Codec.
getCollection(String) - 接口 中的方法com.mongodb.client.MongoDatabase
Gets a collection.
getCollection(String, Class<TDocument>) - 接口 中的方法com.mongodb.client.MongoDatabase
Gets a collection, with a specific default document class.
getCollection() - 类 中的方法com.mongodb.ConnectionString
Gets the collection name
getCollection(String) - 类 中的方法com.mongodb.DB
Gets a collection with a given name.
getCollection(String) - 类 中的方法com.mongodb.DBCollection
Find a collection that is prefixed with this collection's name.
getCollection() - 类 中的方法com.mongodb.DBCursor
Gets the collection.
getCollection() - 类 中的方法com.mongodb.MongoClientURI
Gets the collection name
getCollection() - 类 中的方法com.mongodb.MongoURI
已过时。
Gets the collection name.
getCollectionFromString(String) - 类 中的方法com.mongodb.DB
Returns a collection matching a given string.
getCollectionName() - 类 中的方法com.mongodb.DBRef
Gets the name of the collection in which the referenced document is stored.
getCollectionName() - 类 中的方法com.mongodb.MapReduceOutput
Get the name of the collection that the results of the map reduce were saved into.
getCollectionName() - 类 中的方法com.mongodb.MongoNamespace
Gets the collection name.
getCollectionName() - 类 中的方法com.mongodb.operation.CreateCollectionOperation
Gets the name of the collection to create.
getCollectionName() - 类 中的方法com.mongodb.operation.MapReduceToCollectionOperation
Gets the name of the collection to output the results to.
getCollectionNames() - 类 中的方法com.mongodb.DB
Returns a set containing the names of all collections in this database.
getCommand() - 类 中的方法com.mongodb.event.CommandStartedEvent
Gets the command document.
getCommand() - 类 中的方法com.mongodb.MapReduceOutput
Get the original command that was sent to the database.
getCommandListeners() - 类 中的方法com.mongodb.event.CommandEventMulticaster
Gets the command listeners.
getCommandListeners() - 类 中的方法com.mongodb.event.CommandListenerMulticaster
已过时。
Gets the command listeners.
getCommandListeners() - 类 中的方法com.mongodb.MongoClientOptions
Gets the list of added CommandListener.
getCommandName() - 类 中的方法com.mongodb.event.CommandEvent
Gets the name of the command.
getConnection(SingleResultCallback<AsyncConnection>) - 接口 中的方法com.mongodb.binding.AsyncConnectionSource
Gets a connection from this source.
getConnection() - 接口 中的方法com.mongodb.binding.ConnectionSource
Gets a connection from this source.
getConnection() - 接口 中的方法com.mongodb.connection.Server
Gets a connection to this server.
getConnectionAsync(SingleResultCallback<AsyncConnection>) - 接口 中的方法com.mongodb.connection.Server
Gets a connection to this server asynchronously.
getConnectionDescription() - 类 中的方法com.mongodb.event.CommandEvent
Gets the description of the connection to which the operation will be sent.
getConnectionId() - 类 中的方法com.mongodb.connection.ConnectionDescription
Gets the id of the connection.
getConnectionId() - 类 中的方法com.mongodb.event.ConnectionAddedEvent
Gets the connection id
getConnectionId() - 类 中的方法com.mongodb.event.ConnectionCheckedInEvent
Gets the connection id
getConnectionId() - 类 中的方法com.mongodb.event.ConnectionCheckedOutEvent
Gets the connection id
getConnectionId() - 类 中的方法com.mongodb.event.ConnectionClosedEvent
Gets the identifier for this connection.
getConnectionId() - 类 中的方法com.mongodb.event.ConnectionMessageReceivedEvent
Gets the identifier for this connection.
getConnectionId() - 类 中的方法com.mongodb.event.ConnectionMessagesSentEvent
Gets the identifier for this connection.
getConnectionId() - 类 中的方法com.mongodb.event.ConnectionOpenedEvent
Gets the connection id
getConnectionId() - 类 中的方法com.mongodb.event.ConnectionRemovedEvent
Gets the connection id
getConnectionId() - 类 中的方法com.mongodb.event.ServerHeartbeatFailedEvent
Gets the connectionId.
getConnectionId() - 类 中的方法com.mongodb.event.ServerHeartbeatStartedEvent
Gets the connectionId.
getConnectionId() - 类 中的方法com.mongodb.event.ServerHeartbeatSucceededEvent
Gets the connectionId.
getConnectionMode() - 类 中的方法com.mongodb.connection.ClusterDescription
Gets whether this cluster is connecting to a single server or multiple servers.
getConnectionsPerHost() - 类 中的方法com.mongodb.MongoClientOptions
The maximum number of connections allowed per host for this MongoClient instance.
getConnectionsPerHost() - 类 中的方法com.mongodb.MongoOptions
已过时。
Gets the maximum number of connections allowed per host for this Mongo instance.
getConnectionString() - 类 中的方法com.mongodb.ConnectionString
Get the unparsed connection string.
getConnectPoint() - 类 中的方法com.mongodb.Mongo
Gets a String representation of current connection point, i.e. master.
getConnectTimeout(TimeUnit) - 类 中的方法com.mongodb.connection.SocketSettings
Gets the timeout for socket connect.
getConnectTimeout() - 类 中的方法com.mongodb.ConnectionString
Gets the socket connect timeout specified in the connection string.
getConnectTimeout() - 类 中的方法com.mongodb.MongoClientOptions
The connection timeout in milliseconds.
getConnectTimeout() - 类 中的方法com.mongodb.MongoOptions
已过时。
Gets the connection timeout in milliseconds.
getContentType() - 类 中的方法com.mongodb.client.gridfs.model.GridFSFile
已过时。
content type information stored in the metadata document.
getContentType() - 类 中的方法com.mongodb.gridfs.GridFSFile
Gets the content type.
getContext() - 类 中的方法org.bson.AbstractBsonReader
Get the context, which will indicate which state the reader is in, for example which part of a document it's currently reading.
getContext() - 类 中的方法org.bson.AbstractBsonWriter
Get the context, which will indicate which state the writer is in, for example which part of a document it's currently writing.
getContext() - 类 中的方法org.bson.BsonBinaryReader
 
getContext() - 类 中的方法org.bson.BsonBinaryWriter
 
getContext() - 类 中的方法org.bson.BsonDocumentReader
 
getContext() - 类 中的方法org.bson.BsonDocumentWriter
 
getContext() - 类 中的方法org.bson.json.JsonReader
 
getContext() - 类 中的方法org.bson.json.JsonWriter
 
getContextType() - 类 中的方法org.bson.AbstractBsonReader.Context
Return the type of this context.
getContextType() - 类 中的方法org.bson.AbstractBsonReader.Mark
 
getContextType() - 类 中的方法org.bson.AbstractBsonWriter.Context
Gets the current context type.
getContextType() - 类 中的方法org.bson.json.JsonReader.Context
 
getCoordinateReferenceSystem() - 类 中的方法com.mongodb.client.model.geojson.Geometry
Gets the coordinate reference system, which may be null
getCoordinates() - 类 中的方法com.mongodb.client.model.geojson.LineString
Gets the GeoJSON coordinates of this LineString.
getCoordinates() - 类 中的方法com.mongodb.client.model.geojson.MultiLineString
Gets the GeoJSON coordinates of this MultiLineString
getCoordinates() - 类 中的方法com.mongodb.client.model.geojson.MultiPoint
Gets the GeoJSON coordinates of this MultiPoint.
getCoordinates() - 类 中的方法com.mongodb.client.model.geojson.MultiPolygon
Gets the coordinates.
getCoordinates() - 类 中的方法com.mongodb.client.model.geojson.Point
Gets the GeoJSON coordinates of this point.
getCoordinates() - 类 中的方法com.mongodb.client.model.geojson.Polygon
Gets the GeoJSON coordinates of the polygon
getCount() - 接口 中的方法com.mongodb.binding.ReferenceCounted
Gets the current reference count, which starts at 0.
getCount() - 类 中的方法com.mongodb.DBCollection
Get the count of documents in collection.
getCount(ReadPreference) - 类 中的方法com.mongodb.DBCollection
Get the count of documents in collection.
getCount(DBObject) - 类 中的方法com.mongodb.DBCollection
Get the count of documents in collection that would match a criteria.
getCount(DBObject, DBObject) - 类 中的方法com.mongodb.DBCollection
Get the count of documents in collection that would match a criteria.
getCount(DBObject, DBObject, ReadPreference) - 类 中的方法com.mongodb.DBCollection
Get the count of documents in collection that would match a criteria.
getCount(DBObject, DBObject, long, long) - 类 中的方法com.mongodb.DBCollection
Get the count of documents in collection that would match a criteria.
getCount(DBObject, DBObject, long, long, ReadPreference) - 类 中的方法com.mongodb.DBCollection
Get the count of documents in collection that would match a criteria.
getCount(BulkWriteResult) - 类 中的方法com.mongodb.operation.BaseWriteOperation
 
getCount(BulkWriteResult) - 类 中的方法com.mongodb.operation.DeleteOperation
 
getCount(BulkWriteResult) - 类 中的方法com.mongodb.operation.InsertOperation
 
getCount(BulkWriteResult) - 类 中的方法com.mongodb.operation.UpdateOperation
 
getCount() - 类 中的方法com.mongodb.WriteConcernResult
Returns the number of documents affected by the write operation.
getCounter() - 类 中的方法org.bson.types.ObjectId
Gets the counter.
getCredential() - 异常错误 中的方法com.mongodb.MongoSecurityException
The credential being authenticated.
getCredential() - 类 中的方法com.mongodb.operation.CreateUserOperation
Gets the users credentials.
getCredential() - 类 中的方法com.mongodb.operation.UpdateUserOperation
Gets the users credentials.
getCredentialList() - 类 中的方法com.mongodb.ConnectionString
Gets the credentials.
getCredentials() - 类 中的方法com.mongodb.MongoClientURI
Gets the credentials.
getCredentials() - 类 中的方法com.mongodb.MongoURI
已过时。
Gets the credentials.
getCredentialsList() - 类 中的方法com.mongodb.MongoClient
Gets the list of credentials that this client authenticates all connections with
getCurrentBsonType() - 类 中的方法org.bson.AbstractBsonReader
 
getCurrentBsonType() - 接口 中的方法org.bson.BsonReader
 
getCurrentCounter() - 类 中的静态方法org.bson.types.ObjectId
Gets the current value of the auto-incrementing counter.
getCurrentName() - 类 中的方法org.bson.AbstractBsonReader
 
getCurrentName() - 接口 中的方法org.bson.BsonReader
Gets the most recently read name.
getCursor() - 类 中的方法com.mongodb.connection.QueryResult
Gets the cursor.
getCursorId() - 接口 中的方法com.mongodb.Cursor
Gets the server's identifier for this Cursor.
getCursorId() - 类 中的方法com.mongodb.DBCursor
 
getCursorId() - 异常错误 中的方法com.mongodb.MongoCursorNotFoundException
Get the cursor id that wasn't found.
getCursorType() - 类 中的方法com.mongodb.client.model.FindOptions
Get the cursor type.
getCursorType() - 类 中的方法com.mongodb.operation.FindOperation
Get the cursor type.
getData() - 类 中的方法org.bson.BsonBinary
Gets the data of this Binary.
getData() - 类 中的方法org.bson.types.Binary
Get a copy of the binary value.
getDatabase() - 类 中的方法com.mongodb.ConnectionString
Gets the database name
getDatabase(String) - 类 中的方法com.mongodb.MongoClient
 
getDatabase() - 类 中的方法com.mongodb.MongoClientURI
Gets the database name
getDatabase() - 类 中的方法com.mongodb.MongoURI
已过时。
Gets the database name.
getDatabaseName() - 类 中的方法com.mongodb.DBRef
Gets the name of the database in which the referenced document is stored.
getDatabaseName() - 类 中的方法com.mongodb.event.CommandStartedEvent
Gets the database on which the operation will be executed.
getDatabaseName() - 类 中的方法com.mongodb.MapReduceOutput
Get the name of the database that the results of the map reduce were saved into.
getDatabaseName() - 类 中的方法com.mongodb.MongoNamespace
Gets the database name.
getDatabaseName() - 类 中的方法com.mongodb.operation.MapReduceToCollectionOperation
Gets the name of the database to output into.
getDatabaseNames() - 类 中的方法com.mongodb.Mongo
已过时。
getDate(String) - 类 中的方法org.bson.BasicBSONObject
Returns the date or null if not set.
getDate(String, Date) - 类 中的方法org.bson.BasicBSONObject
Returns the date or def if not set.
getDate(Object) - 类 中的方法org.bson.Document
Gets the value of the given key as a Date.
getDate() - 类 中的方法org.bson.types.ObjectId
Gets the timestamp as a Date instance.
getDateTime(Object) - 类 中的方法org.bson.BsonDocument
Gets the value of the key if it is a BsonDateTime, or throws if not.
getDateTime(Object, BsonDateTime) - 类 中的方法org.bson.BsonDocument
If the document does not contain the given key, return the given default value.
getDB() - 类 中的方法com.mongodb.DBCollection
Returns the database this collection is a member of.
getDB() - 类 中的方法com.mongodb.gridfs.GridFS
Gets the database used.
getDB(String) - 类 中的方法com.mongodb.Mongo
getDBCallback(DBCollection) - 接口 中的方法com.mongodb.DBDecoder
Get a callback for the given collection.
getDBCallback(DBCollection) - 类 中的方法com.mongodb.DefaultDBDecoder
 
getDBCallback(DBCollection) - 类 中的方法com.mongodb.LazyDBDecoder
 
getDBDecoderFactory() - 类 中的方法com.mongodb.DBCollection
Get the decoder factory for this collection.
getDbDecoderFactory() - 类 中的方法com.mongodb.MongoClientOptions
Override the decoder factory.
getDbDecoderFactory() - 类 中的方法com.mongodb.MongoOptions
已过时。
Gets the DBCallback factory.
getDbEncoder() - 类 中的方法com.mongodb.InsertOptions
The encoder to use for the documents.
getDBEncoderFactory() - 类 中的方法com.mongodb.DBCollection
Get the encoder factory for this collection.
getDbEncoderFactory() - 类 中的方法com.mongodb.MongoClientOptions
Override the encoder factory.
getDbEncoderFactory() - 类 中的方法com.mongodb.MongoOptions
已过时。
Gets the encoding factory.
getDBName() - 类 中的方法com.mongodb.DBAddress
已过时。
Gets the database name
getDecoder() - 类 中的方法com.mongodb.operation.FindAndDeleteOperation
Gets the decoder used to decode the result documents.
getDecoder() - 类 中的方法com.mongodb.operation.FindAndReplaceOperation
Gets the decoder used to decode the result documents.
getDecoder() - 类 中的方法com.mongodb.operation.FindAndUpdateOperation
Gets the decoder used to decode the result documents.
getDecoder() - 类 中的方法com.mongodb.operation.FindOperation
Gets the decoder used to decode the result documents.
getDecoderFactory() - 类 中的方法com.mongodb.DBCursor
Gets the decoder factory that creates the decoder this cursor will use to decode objects from MongoDB.
getDecodingHooks(Class<?>) - 类 中的静态方法org.bson.BSON
Returns the decoding hook(s) associated with the specific class
getDefaultCodecRegistry() - 类 中的静态方法com.mongodb.MongoClient
Gets the default codec registry.
getDefaultLanguage() - 类 中的方法com.mongodb.bulk.IndexRequest
Gets the language for a text index.
getDefaultLanguage() - 类 中的方法com.mongodb.client.model.IndexOptions
Gets the language for a text index.
getDefaultMaxDocumentSize() - 类 中的静态方法com.mongodb.connection.ServerDescription
Get the default maximum document size.
getDefaultMaxMessageSize() - 类 中的静态方法com.mongodb.connection.ConnectionDescription
Get the default maximum message size.
getDefaultMaxWireVersion() - 类 中的静态方法com.mongodb.connection.ServerDescription
Get the default maximum wire version
getDefaultMaxWriteBatchSize() - 类 中的静态方法com.mongodb.connection.ConnectionDescription
Get the default maximum write batch size.
getDefaultMinWireVersion() - 类 中的静态方法com.mongodb.connection.ServerDescription
Get the default minimum wire version
getDeletedCount() - 类 中的方法com.mongodb.bulk.BulkWriteResult
Returns the number of documents deleted by the write operation.
getDeletedCount() - 类 中的方法com.mongodb.client.result.DeleteResult
Gets the number of documents deleted.
getDeleteRequests() - 类 中的方法com.mongodb.operation.DeleteOperation
Gets the list of remove requests.
getDescription() - 接口 中的方法com.mongodb.connection.AsyncConnection
Gets the description of the connection.
getDescription() - 接口 中的方法com.mongodb.connection.Cluster
Get the description of this cluster.
getDescription() - 类 中的方法com.mongodb.connection.ClusterId
Gets the user defined description of the MongoClient.
getDescription() - 类 中的方法com.mongodb.connection.ClusterSettings
Gets the user defined description of the MongoClient.
getDescription() - 接口 中的方法com.mongodb.connection.Connection
Gets the description of the connection.
getDescription() - 接口 中的方法com.mongodb.connection.Server
Gets the description of this server.
getDescription() - 类 中的方法com.mongodb.MongoClientOptions
Gets the description for this MongoClient, which is used in various places like logging and JMX.
getDescription() - 类 中的方法com.mongodb.MongoOptions
已过时。
Gets the description for Mongo instances created with these options.
getDetails() - 类 中的方法com.mongodb.bulk.WriteConcernError
Gets the details associated with this error.
getDetails() - 类 中的方法com.mongodb.BulkWriteError
Gets the details associated with this error.
getDetails() - 类 中的方法com.mongodb.WriteConcernError
Gets the details associated with this error.
getDetails() - 类 中的方法com.mongodb.WriteError
Gets the details associated with this error.
getDiacriticSensitive() - 类 中的方法com.mongodb.client.model.TextSearchOptions
Returns the diacritic-sensitive flag to use with the text search
getDocument() - 类 中的方法com.mongodb.bulk.InsertRequest
Gets the document to insert.
getDocument() - 类 中的方法com.mongodb.client.model.InsertOneModel
Gets the document to insert.
getDocument(Object) - 类 中的方法org.bson.BsonDocument
Gets the value of the key if it is a BsonDocument, or throws if not.
getDocument(Object, BsonDocument) - 类 中的方法org.bson.BsonDocument
If the document does not contain the given key, return the given default value.
getDocument() - 类 中的方法org.bson.BsonDocumentWriter
Gets the document that the writer is writing to.
getDocumentClass() - 接口 中的方法com.mongodb.client.MongoCollection
Get the class of documents stored in this collection.
getDocumentId(DBObject) - 类 中的方法com.mongodb.DBObjectCodec
 
getDocumentId(BsonDocument) - 类 中的方法org.bson.codecs.BsonDocumentCodec
 
getDocumentId(T) - 接口 中的方法org.bson.codecs.CollectibleCodec
Gets the _id of the given document if it contains one, otherwise throws IllegalArgumentException.
getDocumentId(Document) - 类 中的方法org.bson.codecs.DocumentCodec
 
getDouble(String) - 类 中的方法org.bson.BasicBSONObject
Returns the value of a field as a double.
getDouble(String, double) - 类 中的方法org.bson.BasicBSONObject
Returns the value of a field as an double.
getDouble(Object) - 类 中的方法org.bson.BsonDocument
Gets the value of the key if it is a BsonDouble, or throws if not.
getDouble(Object, BsonDouble) - 类 中的方法org.bson.BsonDocument
If the document does not contain the given key, return the given default value.
getDouble() - 接口 中的方法org.bson.ByteBuf
Relative get method for reading a double value.
getDouble(int) - 接口 中的方法org.bson.ByteBuf
Absolute get method for reading a double value.
getDouble() - 类 中的方法org.bson.ByteBufNIO
 
getDouble(int) - 类 中的方法org.bson.ByteBufNIO
 
getDouble(Object) - 类 中的方法org.bson.Document
Gets the value of the given key as a Double.
getDropDups() - 类 中的方法com.mongodb.bulk.IndexRequest
Returns the legacy dropDups setting Prior to MongoDB 3.0 dropDups could be used with unique indexes allowing documents with duplicate values to be dropped when building the index.
getDuration() - 类 中的方法com.mongodb.MapReduceOutput
Get the amount of time, in milliseconds, that it took to run this map reduce.
getDuration() - 类 中的方法com.mongodb.operation.MapReduceStatistics
Get the amount of time it took to run the map-reduce.
getElapsedTime(TimeUnit) - 类 中的方法com.mongodb.event.CommandFailedEvent
Gets the elapsed time in the given unit of time.
getElapsedTime(TimeUnit) - 类 中的方法com.mongodb.event.CommandSucceededEvent
Gets the elapsed time in the given unit of time.
getElapsedTime(TimeUnit) - 类 中的方法com.mongodb.event.ServerHeartbeatFailedEvent
Gets the elapsed time in the given time unit.
getElapsedTime(TimeUnit) - 类 中的方法com.mongodb.event.ServerHeartbeatSucceededEvent
Gets the elapsed time in the given time unit.
getElectionId() - 类 中的方法com.mongodb.connection.ServerDescription
The replica set electionid reported by this MongoDB server.
getEmitCount() - 类 中的方法com.mongodb.MapReduceOutput
Get the number of messages emitted from the provided map function.
getEmitCount() - 类 中的方法com.mongodb.operation.MapReduceStatistics
Get the number of messages emitted from the provided map function.
getEncoder() - 类 中的方法org.bson.BsonDocumentWrapper
Get the encoder to use for the wrapped document.
getEncoderClass() - 类 中的方法com.mongodb.BSONTimestampCodec
 
getEncoderClass() - 类 中的方法com.mongodb.client.gridfs.codecs.GridFSFileCodec
 
getEncoderClass() - 类 中的方法com.mongodb.client.model.geojson.codecs.GeometryCollectionCodec
 
getEncoderClass() - 类 中的方法com.mongodb.client.model.geojson.codecs.LineStringCodec
 
getEncoderClass() - 类 中的方法com.mongodb.client.model.geojson.codecs.MultiLineStringCodec
 
getEncoderClass() - 类 中的方法com.mongodb.client.model.geojson.codecs.MultiPointCodec
 
getEncoderClass() - 类 中的方法com.mongodb.client.model.geojson.codecs.MultiPolygonCodec
 
getEncoderClass() - 类 中的方法com.mongodb.client.model.geojson.codecs.NamedCoordinateReferenceSystemCodec
 
getEncoderClass() - 类 中的方法com.mongodb.client.model.geojson.codecs.PointCodec
 
getEncoderClass() - 类 中的方法com.mongodb.client.model.geojson.codecs.PolygonCodec
 
getEncoderClass() - 类 中的方法com.mongodb.DBObjectCodec
 
getEncoderClass() - 类 中的方法com.mongodb.DBRefCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.AtomicBooleanCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.AtomicIntegerCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.AtomicLongCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.BinaryCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.BooleanCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.BsonArrayCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.BsonBinaryCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.BsonBooleanCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.BsonDateTimeCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.BsonDBPointerCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.BsonDocumentCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.BsonDocumentWrapperCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.BsonDoubleCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.BsonInt32Codec
 
getEncoderClass() - 类 中的方法org.bson.codecs.BsonInt64Codec
 
getEncoderClass() - 类 中的方法org.bson.codecs.BsonJavaScriptCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.BsonJavaScriptWithScopeCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.BsonMaxKeyCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.BsonMinKeyCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.BsonNullCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.BsonObjectIdCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.BsonRegularExpressionCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.BsonStringCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.BsonSymbolCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.BsonTimestampCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.BsonUndefinedCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.BsonValueCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.ByteArrayCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.ByteCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.CharacterCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.CodeCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.CodeWithScopeCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.DateCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.DocumentCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.DoubleCodec
 
getEncoderClass() - 接口 中的方法org.bson.codecs.Encoder
Returns the Class instance that this encodes.
getEncoderClass() - 类 中的方法org.bson.codecs.FloatCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.IntegerCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.IterableCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.LongCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.MaxKeyCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.MinKeyCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.ObjectIdCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.PatternCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.RawBsonDocumentCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.ShortCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.StringCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.SymbolCodec
 
getEncoderClass() - 类 中的方法org.bson.codecs.UuidCodec
 
getEncodingHooks(Class<?>) - 类 中的静态方法org.bson.BSON
Returns the encoding hook(s) associated with the specified class.
getError() - 类 中的方法com.mongodb.connection.BulkWriteBatchCombiner
Gets the combined errors as an exception
getError() - 异常错误 中的方法com.mongodb.MongoWriteException
Gets the error.
getErrorCode() - 异常错误 中的方法com.mongodb.MongoCommandException
Gets the error code associated with the command failure.
getErrorCode() - 异常错误 中的方法com.mongodb.MongoQueryException
Gets the error code for this query failure.
getErrorCode() - 异常错误 中的方法com.mongodb.WriteConcernException
Gets the error code associated with the write concern failure.
getErrorCode() - 异常错误 中的方法org.bson.BSONException
Returns the error code.
getErrorMessage() - 类 中的方法com.mongodb.CommandResult
Gets the error message associated with a failed command.
getErrorMessage() - 异常错误 中的方法com.mongodb.MongoCommandException
Gets the error message associated with the command failure.
getErrorMessage() - 异常错误 中的方法com.mongodb.MongoQueryException
Gets the error message for this query failure.
getErrorMessage() - 异常错误 中的方法com.mongodb.WriteConcernException
Gets the error message associated with the write concern failure.
getException() - 类 中的方法com.mongodb.CommandResult
Utility method to create an exception from a failed command.
getException() - 类 中的方法com.mongodb.connection.ServerDescription
Gets the exception thrown while attempting to determine the server description.
getExpireAfter(TimeUnit) - 类 中的方法com.mongodb.bulk.IndexRequest
Gets the time to live for documents in the collection
getExpireAfter(TimeUnit) - 类 中的方法com.mongodb.client.model.IndexOptions
Gets the time to live for documents in the collection
getExterior() - 类 中的方法com.mongodb.client.model.geojson.Polygon
Gets the exterior coordinates.
getExterior() - 类 中的方法com.mongodb.client.model.geojson.PolygonCoordinates
Gets the exterior of the polygon.
getExtraElements() - 类 中的方法com.mongodb.client.gridfs.model.GridFSFile
已过时。
any extra information should be stored in the metadata document.
getFileId() - 类 中的方法com.mongodb.client.gridfs.GridFSUploadStream
已过时。
getFileList() - 类 中的方法com.mongodb.gridfs.GridFS
Gets the list of files stored in this gridfs, sorted by filename.
getFileList(DBObject) - 类 中的方法com.mongodb.gridfs.GridFS
Gets a filtered list of files stored in this gridfs, sorted by filename.
getFileList(DBObject, DBObject) - 类 中的方法com.mongodb.gridfs.GridFS
Gets a sorted, filtered list of files stored in this gridfs.
getFilename() - 类 中的方法com.mongodb.client.gridfs.model.GridFSFile
The filename
getFilename() - 类 中的方法com.mongodb.gridfs.GridFSFile
Gets the filename.
getFilesCollection() - 类 中的方法com.mongodb.gridfs.GridFS
Gets the DBCollection in which the file's metadata is stored.
getFilter() - 类 中的方法com.mongodb.bulk.DeleteRequest
Gets the query Object filter.
getFilter() - 类 中的方法com.mongodb.bulk.UpdateRequest
Gets the query filter for the update.
getFilter() - 类 中的方法com.mongodb.client.model.DeleteManyModel
Gets the query filter.
getFilter() - 类 中的方法com.mongodb.client.model.DeleteOneModel
Gets the query filter.
getFilter() - 类 中的方法com.mongodb.client.model.ReplaceOneModel
Gets the query filter.
getFilter() - 类 中的方法com.mongodb.client.model.UpdateManyModel
Gets the query filter.
getFilter() - 类 中的方法com.mongodb.client.model.UpdateOneModel
Gets the query filter.
getFilter() - 类 中的方法com.mongodb.operation.CountOperation
Gets the query filter.
getFilter() - 类 中的方法com.mongodb.operation.DistinctOperation
Gets the query filter.
getFilter() - 类 中的方法com.mongodb.operation.FindAndDeleteOperation
Gets the query filter.
getFilter() - 类 中的方法com.mongodb.operation.FindAndReplaceOperation
Gets the query filter.
getFilter() - 类 中的方法com.mongodb.operation.FindAndUpdateOperation
Gets the query filter.
getFilter() - 类 中的方法com.mongodb.operation.FindOperation
Gets the query filter.
getFilter() - 类 中的方法com.mongodb.operation.GroupOperation
Gets the query filter to determine which documents in the collection to process.
getFilter() - 类 中的方法com.mongodb.operation.ListCollectionsOperation
Gets the query filter.
getFilter() - 类 中的方法com.mongodb.operation.MapReduceToCollectionOperation
Gets the query filter.
getFilter() - 类 中的方法com.mongodb.operation.MapReduceWithInlineResultsOperation
Gets the query filter.
getFinalize() - 类 中的方法com.mongodb.MapReduceCommand
Gets the Finalize JS Function
getFinalizeFunction() - 类 中的方法com.mongodb.operation.GroupOperation
Gets the function that runs each item in the result before returning the final value.
getFinalizeFunction() - 类 中的方法com.mongodb.operation.MapReduceToCollectionOperation
Gets the JavaScript function that follows the reduce method and modifies the output.
getFinalizeFunction() - 类 中的方法com.mongodb.operation.MapReduceWithInlineResultsOperation
Gets the JavaScript function that follows the reduce method and modifies the output.
getFsync() - 类 中的方法com.mongodb.WriteConcern
已过时。
getFullName() - 类 中的方法com.mongodb.DBCollection
Get the full name of a collection, with the database name as a prefix.
getFullName() - 类 中的方法com.mongodb.MongoNamespace
Gets the full name, which is the database name and the collection name, separated by a period.
getGeneratedMachineIdentifier() - 类 中的静态方法org.bson.types.ObjectId
Gets the generated machine identifier.
getGeneratedProcessIdentifier() - 类 中的静态方法org.bson.types.ObjectId
Gets the generated process identifier.
getGeometries() - 类 中的方法com.mongodb.client.model.geojson.GeometryCollection
Gets the list of Geometry objects in this collection.
getGridFS() - 类 中的方法com.mongodb.gridfs.GridFSFile
Gets the GridFS associated with this file
getGridFSFile() - 类 中的方法com.mongodb.client.gridfs.GridFSDownloadStream
Gets the corresponding GridFSFile for the file being downloaded
getHeartbeatConnectTimeout() - 类 中的方法com.mongodb.MongoClientOptions
Gets the connect timeout for connections used for the cluster heartbeat.
getHeartbeatFrequency(TimeUnit) - 类 中的方法com.mongodb.connection.ServerSettings
Gets the frequency that the cluster monitor attempts to reach each server.
getHeartbeatFrequency() - 类 中的方法com.mongodb.ConnectionString
 
getHeartbeatFrequency() - 类 中的方法com.mongodb.MongoClientOptions
Gets the heartbeat frequency.
getHeartbeatSocketTimeout() - 类 中的方法com.mongodb.MongoClientOptions
Gets the socket timeout for connections used for the cluster heartbeat.
getHint() - 类 中的方法com.mongodb.client.model.CountOptions
Gets the hint to apply.
getHint() - 类 中的方法com.mongodb.operation.CountOperation
Gets the hint to apply.
getHintFields() - 类 中的方法com.mongodb.DBCollection
Get hint fields for this collection (used to optimize queries).
getHintString() - 类 中的方法com.mongodb.client.model.CountOptions
Gets the hint string to apply.
getHoles() - 类 中的方法com.mongodb.client.model.geojson.Polygon
Get the holes in this polygon.
getHoles() - 类 中的方法com.mongodb.client.model.geojson.PolygonCoordinates
Gets the holes in the polygon.
getHost() - 接口 中的方法com.mongodb.management.ConnectionPoolStatisticsMBean
Gets the host that this connection pool is connecting to.
getHost() - 类 中的方法com.mongodb.ServerAddress
Gets the hostname
getHosts() - 类 中的方法com.mongodb.connection.ClusterSettings
Gets the seed list of hosts for the cluster.
getHosts() - 类 中的方法com.mongodb.connection.ServerDescription
Get a Set of strings in the format of "[hostname]:[port]" that contains all members of the replica set that are neither hidden, passive, nor arbiters.
getHosts() - 类 中的方法com.mongodb.ConnectionString
Gets the list of hosts
getHosts() - 类 中的方法com.mongodb.MongoClientURI
Gets the list of hosts
getHosts() - 类 中的方法com.mongodb.MongoURI
已过时。
Gets the list of hosts.
getId() - 类 中的方法com.mongodb.bulk.BulkWriteUpsert
Gets the id of the upserted item.
getId() - 类 中的方法com.mongodb.BulkWriteUpsert
Gets the id of the upserted item.
getId() - 类 中的方法com.mongodb.client.gridfs.GridFSUploadStream
Gets the BsonValue for the file to be uploaded
getId() - 类 中的方法com.mongodb.client.gridfs.model.GridFSFile
The BsonValue id for this file.
getId() - 类 中的方法com.mongodb.DBRef
Gets the _id of the referenced document
getId() - 类 中的方法com.mongodb.gridfs.GridFSFile
Gets the id.
getId() - 类 中的方法com.mongodb.ServerCursor
Gets the cursor id that the server uses to uniquely identify the cursor.
getId() - 类 中的方法org.bson.BsonDbPointer
Gets the id.
getInc() - 类 中的方法org.bson.BsonTimestamp
Gets the increment value.
getInc() - 类 中的方法org.bson.types.BSONTimestamp
Gets the incrementing ordinal for operations within a given second.
getIncludeArrayIndex() - 类 中的方法com.mongodb.client.model.UnwindOptions
Gets the includeArrayIndex field if set or null
getIndentCharacters() - 类 中的方法org.bson.json.JsonWriterSettings
The indent characters to use if indent mode is enabled.
getIndex() - 类 中的方法com.mongodb.bulk.BulkWriteError
The index of the item in the bulk write operation with this error.
getIndex() - 类 中的方法com.mongodb.bulk.BulkWriteUpsert
Gets the index of the upserted item based on the order it was added to the bulk write operation.
getIndex() - 类 中的方法com.mongodb.BulkWriteError
The index of the item in the bulk write operation with this error.
getIndex() - 类 中的方法com.mongodb.BulkWriteUpsert
Gets the index of the upserted item based on the order it was added to the bulk write operation.
getIndexInfo() - 类 中的方法com.mongodb.DBCollection
Return a list of the indexes for this collection.
getIndexNames() - 类 中的方法com.mongodb.operation.CreateIndexesOperation
Gets the index names.
getIndexOptionDefaults() - 类 中的方法com.mongodb.client.model.CreateCollectionOptions
Gets the index option defaults for the collection.
getIndexOptionDefaults() - 类 中的方法com.mongodb.operation.CreateCollectionOperation
Gets the index option defaults for the collection.
getInitial() - 类 中的方法com.mongodb.operation.GroupOperation
Gets the initial the aggregation result document.
getInput() - 类 中的方法com.mongodb.MapReduceCommand
Get the name of the collection the MapReduce will read from
getInputCount() - 类 中的方法com.mongodb.MapReduceOutput
Get the number of documents that were input into the map reduce operation
getInputCount() - 类 中的方法com.mongodb.operation.MapReduceStatistics
Get the number of documents that were input into the map reduce operation
getInputStream() - 类 中的方法com.mongodb.gridfs.GridFSDBFile
Returns an InputStream from which data can be read.
getInsertedCount() - 类 中的方法com.mongodb.bulk.BulkWriteResult
Returns the number of documents inserted by the write operation.
getInsertedCount() - 类 中的方法com.mongodb.BulkWriteResult
Returns the number of documents inserted by the write operation.
getInsertRequests() - 类 中的方法com.mongodb.operation.InsertOperation
Gets the list of insert requests.
getInt(String) - 类 中的方法org.bson.BasicBSONObject
Returns the value of a field as an int.
getInt(String, int) - 类 中的方法org.bson.BasicBSONObject
Returns the value of a field as an int.
getInt() - 接口 中的方法org.bson.ByteBuf
Relative get method for reading an int value.
getInt(int) - 接口 中的方法org.bson.ByteBuf
Absolute get method for reading an int value.
getInt() - 类 中的方法org.bson.ByteBufNIO
 
getInt(int) - 类 中的方法org.bson.ByteBufNIO
 
getInt32(Object) - 类 中的方法org.bson.BsonDocument
Gets the value of the key if it is a BsonInt32, or throws if not.
getInt32(Object, BsonInt32) - 类 中的方法org.bson.BsonDocument
If the document does not contain the given key, return the given default value.
getInt64(Object) - 类 中的方法org.bson.BsonDocument
Gets the value of the key if it is a BsonInt64, or throws if not.
getInt64(Object, BsonInt64) - 类 中的方法org.bson.BsonDocument
If the document does not contain the given key, return the given default value.
getInteger(Object) - 类 中的方法org.bson.Document
Gets the value of the given key as an Integer.
getInteger(Object, int) - 类 中的方法org.bson.Document
Gets the value of the given key as a primitive int.
getInternalBuffer() - 类 中的方法org.bson.io.BasicOutputBuffer
Gets the internal buffer.
getInternalClass(String) - 类 中的方法com.mongodb.DBCollection
Gets the internal class for the given path in the document hierarchy
getIntRepresentation() - 枚举 中的方法com.mongodb.operation.OrderBy
The integer representation of the order.
getJ() - 类 中的方法com.mongodb.WriteConcern
已过时。
getJournal() - 类 中的方法com.mongodb.WriteConcern
Gets the journal property.
getJsMode() - 类 中的方法com.mongodb.MapReduceCommand
Gets the (optional) JavaScript mode
getKey() - 类 中的方法com.mongodb.operation.GroupOperation
Gets the document containing the field or fields to group.
getKeyFunction() - 类 中的方法com.mongodb.operation.GroupOperation
Gets the function that creates a "key object" for use as the grouping key.
getKeys() - 类 中的方法com.mongodb.bulk.IndexRequest
Gets the index keys
getKeys() - 类 中的方法com.mongodb.client.model.IndexModel
Gets the index keys.
getKeysWanted() - 类 中的方法com.mongodb.DBCursor
Gets the fields to be returned.
getLanguage() - 类 中的方法com.mongodb.client.model.TextSearchOptions
Returns the language to be used with the text search
getLanguageOverride() - 类 中的方法com.mongodb.bulk.IndexRequest
Gets the name of the field that contains the language string.
getLanguageOverride() - 类 中的方法com.mongodb.client.model.IndexOptions
Gets the name of the field that contains the language string.
getLegacy() - 类 中的静态方法com.mongodb.util.JSONSerializers
Returns an ObjectSerializer that mostly conforms to the strict JSON format defined in extended JSON, but with a few differences to keep compatibility with previous versions of the driver.
getLength() - 类 中的方法com.mongodb.client.gridfs.model.GridFSFile
The length, in bytes of this file
getLength() - 类 中的方法com.mongodb.gridfs.GridFSFile
Gets the file's length.
getLimit() - 类 中的方法com.mongodb.client.model.CountOptions
Gets the limit to apply.
getLimit() - 类 中的方法com.mongodb.client.model.FindOptions
Gets the limit to apply.
getLimit() - 类 中的方法com.mongodb.DBCursor
Gets the query limit.
getLimit() - 类 中的方法com.mongodb.MapReduceCommand
Gets the (optional) limit on input
getLimit() - 类 中的方法com.mongodb.operation.CountOperation
Gets the limit to apply.
getLimit() - 类 中的方法com.mongodb.operation.FindOperation
Gets the limit to apply.
getLimit() - 类 中的方法com.mongodb.operation.MapReduceToCollectionOperation
Gets the limit to apply.
getLimit() - 类 中的方法com.mongodb.operation.MapReduceWithInlineResultsOperation
Gets the limit to apply.
getLocalThreshold() - 类 中的方法com.mongodb.ConnectionString
 
getLocalThreshold() - 类 中的方法com.mongodb.MongoClientOptions
Gets the local threshold.
getLocalValue() - 类 中的方法com.mongodb.connection.ConnectionId
Gets the locally created id value for the connection
getLogger(String) - 类 中的静态方法com.mongodb.diagnostics.logging.Loggers
Gets a logger with the given suffix appended on to PREFIX, separated by a '.'.
getLogger(String) - 类 中的静态方法org.bson.diagnostics.Loggers
Gets a logger with the given suffix appended on to PREFIX, separated by a '.'.
getLong(String) - 类 中的方法org.bson.BasicBSONObject
Returns the value of a field as a long.
getLong(String, long) - 类 中的方法org.bson.BasicBSONObject
Returns the value of a field as an long.
getLong() - 接口 中的方法org.bson.ByteBuf
Relative get method for reading a long value.
getLong(int) - 接口 中的方法org.bson.ByteBuf
Absolute get method for reading a long value.
getLong() - 类 中的方法org.bson.ByteBufNIO
 
getLong(int) - 类 中的方法org.bson.ByteBufNIO
 
getLong(Object) - 类 中的方法org.bson.Document
Gets the value of the given key as a Long.
getMachineIdentifier() - 类 中的方法org.bson.types.ObjectId
Gets the machine identifier.
getMaintenanceFrequency(TimeUnit) - 类 中的方法com.mongodb.connection.ConnectionPoolSettings
Returns the time period between runs of the maintenance job.
getMaintenanceInitialDelay(TimeUnit) - 类 中的方法com.mongodb.connection.ConnectionPoolSettings
Returns the period of time to wait before running the first maintenance job on the connection pool.
getMap() - 类 中的方法com.mongodb.MapReduceCommand
Get the map function, as a JS String
getMapFunction() - 类 中的方法com.mongodb.operation.MapReduceToCollectionOperation
Gets the JavaScript function that associates or "maps" a value with a key and emits the key and value pair.
getMapFunction() - 类 中的方法com.mongodb.operation.MapReduceWithInlineResultsOperation
Gets the JavaScript function that associates or "maps" a value with a key and emits the key and value pair.
getMaster() - 类 中的方法com.mongodb.ReplicaSetStatus
Gets the ServerAddress of the master server in this replica set.
getMatchedCount() - 类 中的方法com.mongodb.bulk.BulkWriteResult
Returns the number of documents matched by updates or replacements in the write operation.
getMatchedCount() - 类 中的方法com.mongodb.BulkWriteResult
Returns the number of documents matched by updates or replacements in the write operation.
getMatchedCount() - 类 中的方法com.mongodb.client.result.UpdateResult
Gets the number of documents matched by the query.
getMax() - 类 中的方法com.mongodb.bulk.IndexRequest
Gets the upper inclusive boundary for the longitude and latitude values for 2d indexes..
getMax() - 类 中的方法com.mongodb.client.model.IndexOptions
Gets the upper inclusive boundary for the longitude and latitude values for 2d indexes..
getMaxAwaitTime(TimeUnit) - 类 中的方法com.mongodb.client.model.FindOptions
The maximum amount of time for the server to wait on new documents to satisfy a tailable cursor query.
getMaxAwaitTime(TimeUnit) - 类 中的方法com.mongodb.operation.FindOperation
The maximum amount of time for the server to wait on new documents to satisfy a tailable cursor query.
getMaxBatchCount() - 类 中的方法com.mongodb.connection.ConnectionDescription
Gets the max batch count for bulk write operations.
getMaxBsonObjectSize() - 类 中的方法com.mongodb.Mongo
Gets the maximum size for a BSON object supported by the current master server.
getMaxBsonObjectSize() - 类 中的方法com.mongodb.ReplicaSetStatus
Gets the maximum size for a BSON object supported by the current master server.
getMaxConnectionIdleTime(TimeUnit) - 类 中的方法com.mongodb.connection.ConnectionPoolSettings
Returns the maximum idle time of a pooled connection.
getMaxConnectionIdleTime() - 类 中的方法com.mongodb.ConnectionString
Gets the maximum connection idle time specified in the connection string.
getMaxConnectionIdleTime() - 类 中的方法com.mongodb.MongoClientOptions
The maximum idle time of a pooled connection.
getMaxConnectionLifeTime(TimeUnit) - 类 中的方法com.mongodb.connection.ConnectionPoolSettings
The maximum time a pooled connection can live for.
getMaxConnectionLifeTime() - 类 中的方法com.mongodb.ConnectionString
Gets the maximum connection life time specified in the connection string.
getMaxConnectionLifeTime() - 类 中的方法com.mongodb.MongoClientOptions
The maximum life time of a pooled connection.
getMaxConnectionPoolSize() - 类 中的方法com.mongodb.ConnectionString
Gets the maximum connection pool size specified in the connection string.
getMaxDocuments() - 类 中的方法com.mongodb.client.model.CreateCollectionOptions
Gets the maximum number of documents allowed in a capped collection.
getMaxDocuments() - 类 中的方法com.mongodb.operation.CreateCollectionOperation
Gets the maximum number of documents allowed in the collection.
getMaxDocumentSize() - 类 中的方法com.mongodb.connection.ConnectionDescription
Gets the max document size in bytes for documents to be stored in collections.
getMaxDocumentSize() - 类 中的方法com.mongodb.connection.ServerDescription
The maximum permitted size of a BSON object in bytes for this mongod process.
getMaxDocumentSize() - 类 中的方法org.bson.BsonBinaryWriterSettings
Gets the maximum size for BSON documents.
getMaxMessageSize() - 类 中的方法com.mongodb.connection.ConnectionDescription
Gets the max message size in bytes for wire protocol messages to be sent to the server.
getMaxSerializationDepth() - 类 中的方法org.bson.BsonWriterSettings
Gets the maximum nuber of levels of depth defined by this settings object.
getMaxSize() - 类 中的方法com.mongodb.connection.ConnectionPoolSettings
The maximum number of connections allowed.
getMaxSize() - 接口 中的方法com.mongodb.management.ConnectionPoolStatisticsMBean
Gets the maximum allowed size of the pool, including idle and in-use members.
getMaxTime(TimeUnit) - 类 中的方法com.mongodb.AggregationOptions
Gets the maximum execution time for the aggregation command.
getMaxTime(TimeUnit) - 类 中的方法com.mongodb.client.model.CountOptions
Gets the maximum execution time on the server for this operation.
getMaxTime(TimeUnit) - 类 中的方法com.mongodb.client.model.FindOneAndDeleteOptions
Gets the maximum execution time for the find one and delete operation.
getMaxTime(TimeUnit) - 类 中的方法com.mongodb.client.model.FindOneAndReplaceOptions
Gets the maximum execution time for the find one and replace operation.
getMaxTime(TimeUnit) - 类 中的方法com.mongodb.client.model.FindOneAndUpdateOptions
Gets the maximum execution time for the find one and update operation.
getMaxTime(TimeUnit) - 类 中的方法com.mongodb.client.model.FindOptions
Gets the maximum execution time on the server for this operation.
getMaxTime(TimeUnit) - 类 中的方法com.mongodb.MapReduceCommand
Gets the max execution time for this command, in the given time unit.
getMaxTime(TimeUnit) - 类 中的方法com.mongodb.operation.AggregateOperation
Gets the maximum execution time on the server for this operation.
getMaxTime(TimeUnit) - 类 中的方法com.mongodb.operation.AggregateToCollectionOperation
Gets the maximum execution time on the server for this operation.
getMaxTime(TimeUnit) - 类 中的方法com.mongodb.operation.CountOperation
Gets the maximum execution time on the server for this operation.
getMaxTime(TimeUnit) - 类 中的方法com.mongodb.operation.DistinctOperation
Gets the maximum execution time on the server for this operation.
getMaxTime(TimeUnit) - 类 中的方法com.mongodb.operation.FindAndDeleteOperation
Gets the maximum execution time on the server for this operation.
getMaxTime(TimeUnit) - 类 中的方法com.mongodb.operation.FindAndReplaceOperation
Gets the maximum execution time on the server for this operation.
getMaxTime(TimeUnit) - 类 中的方法com.mongodb.operation.FindAndUpdateOperation
Gets the maximum execution time on the server for this operation.
getMaxTime(TimeUnit) - 类 中的方法com.mongodb.operation.FindOperation
Gets the maximum execution time on the server for this operation.
getMaxTime(TimeUnit) - 类 中的方法com.mongodb.operation.ListCollectionsOperation
Gets the maximum execution time on the server for this operation.
getMaxTime(TimeUnit) - 类 中的方法com.mongodb.operation.ListDatabasesOperation
Gets the maximum execution time on the server for this operation.
getMaxTime(TimeUnit) - 类 中的方法com.mongodb.operation.ListIndexesOperation
Gets the maximum execution time on the server for this operation.
getMaxTime(TimeUnit) - 类 中的方法com.mongodb.operation.MapReduceToCollectionOperation
Gets the maximum execution time on the server for this operation.
getMaxTime(TimeUnit) - 类 中的方法com.mongodb.operation.MapReduceWithInlineResultsOperation
Gets the maximum execution time on the server for this operation.
getMaxWaitQueueSize() - 类 中的方法com.mongodb.connection.ClusterSettings
This is the maximum number of threads that may be waiting for a connection to become available from the pool.
getMaxWaitQueueSize() - 类 中的方法com.mongodb.connection.ConnectionPoolSettings
This is the maximum number of operations that may be waiting for a connection to become available from the pool.
getMaxWaitTime(TimeUnit) - 类 中的方法com.mongodb.connection.ConnectionPoolSettings
The maximum time that a thread may wait for a connection to become available.
getMaxWaitTime() - 类 中的方法com.mongodb.ConnectionString
Gets the maximum wait time of a thread waiting for a connection specified in the connection string.
getMaxWaitTime() - 类 中的方法com.mongodb.MongoClientOptions
The maximum wait time in milliseconds that a thread may wait for a connection to become available.
getMaxWaitTime() - 类 中的方法com.mongodb.MongoOptions
已过时。
Gets the maximum wait time in milliseconds that a thread may wait for a connection to become available.
getMaxWireVersion() - 类 中的方法com.mongodb.connection.ServerDescription
The latest version of the wire protocol that this MongoDB server is capable of using to communicate with clients.
getMBeanServer() - 类 中的静态方法com.mongodb.management.MBeanServerFactory
Gets the MBeanServer for registering or unregistering MBeans.
getMD5() - 类 中的方法com.mongodb.client.gridfs.model.GridFSFile
The hash of the contents of the stored file
getMD5() - 类 中的方法com.mongodb.gridfs.GridFSFile
Gets the observed MD5 during transfer
getMechanism() - 类 中的方法com.mongodb.MongoCredential
Gets the mechanism
getMechanismName() - 枚举 中的方法com.mongodb.AuthenticationMechanism
Get the mechanism name.
getMechanismProperty(String, T) - 类 中的方法com.mongodb.MongoCredential
Get the value of the given key to a mechanism property, or defaultValue if there is no mapping.
getMessage() - 类 中的方法com.mongodb.bulk.WriteConcernError
Gets the message associated with this error.
getMessage() - 类 中的方法com.mongodb.BulkWriteError
Gets the message associated with this error.
getMessage() - 异常错误 中的方法com.mongodb.util.JSONParseException
 
getMessage() - 类 中的方法com.mongodb.WriteConcernError
Gets the message associated with this error.
getMessage() - 类 中的方法com.mongodb.WriteError
Gets the message associated with this error.
getMetadata() - 类 中的方法com.mongodb.client.gridfs.model.GridFSFile
Any additional metadata stored along with the file
getMetadata() - 类 中的方法com.mongodb.client.gridfs.model.GridFSUploadOptions
Returns any user provided data for the 'metadata' field of the files collection document.
getMetaData() - 类 中的方法com.mongodb.gridfs.GridFSFile
Gets the file metadata.
getMin() - 类 中的方法com.mongodb.bulk.IndexRequest
Gets the lower inclusive boundary for the longitude and latitude values for 2d indexes..
getMin() - 类 中的方法com.mongodb.client.model.IndexOptions
Gets the lower inclusive boundary for the longitude and latitude values for 2d indexes..
getMinConnectionPoolSize() - 类 中的方法com.mongodb.ConnectionString
Gets the minimum connection pool size specified in the connection string.
getMinConnectionsPerHost() - 类 中的方法com.mongodb.MongoClientOptions
The minimum number of connections per host for this MongoClient instance.
getMinHeartbeatFrequency(TimeUnit) - 类 中的方法com.mongodb.connection.ServerSettings
Gets the minimum heartbeat frequency.
getMinHeartbeatFrequency() - 类 中的方法com.mongodb.MongoClientOptions
Gets the minimum heartbeat frequency.
getMinSize() - 类 中的方法com.mongodb.connection.ConnectionPoolSettings
The minimum number of connections.
getMinSize() - 接口 中的方法com.mongodb.management.ConnectionPoolStatisticsMBean
Gets the minimum allowed size of the pool, including idle and in-use members.
getMinWireVersion() - 类 中的方法com.mongodb.connection.ServerDescription
The earliest version of the wire protocol that this MongoDB server is capable of using to communicate with clients.
getMode() - 类 中的方法com.mongodb.connection.ClusterSettings
Gets the mode.
getModifiedCount() - 类 中的方法com.mongodb.bulk.BulkWriteResult
Returns the number of documents modified by the write operation.
getModifiedCount() - 类 中的方法com.mongodb.BulkWriteResult
Returns the number of documents modified by the write operation.
getModifiedCount() - 类 中的方法com.mongodb.client.result.UpdateResult
Gets the number of documents modified by the update.
getModifiers() - 类 中的方法com.mongodb.client.model.FindOptions
Gets the query modifiers to apply to this operation.
getModifiers() - 类 中的方法com.mongodb.operation.FindOperation
Gets the query modifiers to apply to this operation.
getMongo() - 类 中的方法com.mongodb.DB
Gets the Mongo instance
getMongoClientOptions() - 类 中的方法com.mongodb.MongoClient
Gets the options that this client uses to connect to server.
getMongoOptions() - 类 中的方法com.mongodb.Mongo
已过时。
Please use MongoClient class to connect to server and corresponding MongoClient.getMongoClientOptions()
getMore(MongoNamespace, long, int, Decoder<T>) - 接口 中的方法com.mongodb.connection.Connection
Get more result documents from a cursor.
getMoreAsync(MongoNamespace, long, int, Decoder<T>, SingleResultCallback<QueryResult<T>>) - 接口 中的方法com.mongodb.connection.AsyncConnection
Get more result documents from a cursor asynchronously.
getN() - 类 中的方法com.mongodb.WriteResult
Gets the "n" field, which contains the number of documents affected in the write operation.
getName() - 类 中的方法com.mongodb.bulk.IndexRequest
Gets the name of the index.
getName() - 类 中的方法com.mongodb.client.model.BsonField
Gets the field name
getName() - 类 中的方法com.mongodb.client.model.geojson.NamedCoordinateReferenceSystem
Gets the name of this Coordinate Reference System.
getName() - 类 中的方法com.mongodb.client.model.IndexOptions
Gets the name of the index.
getName() - 接口 中的方法com.mongodb.client.MongoDatabase
Gets the name of the database.
getName() - 类 中的方法com.mongodb.DB
Returns the name of this database.
getName() - 类 中的方法com.mongodb.DBCollection
Get the name of a collection.
getName() - 接口 中的方法com.mongodb.diagnostics.logging.Logger
Return the name of this Logger instance.
getName() - 类 中的方法com.mongodb.ReadPreference
Gets the name of this read preference.
getName() - 类 中的方法com.mongodb.ReplicaSetStatus
Get the name of the replica set.
getName() - 类 中的方法com.mongodb.Tag
Gets the name of the replica set tag.
getName() - 类 中的方法org.bson.AbstractBsonWriter
The name of the field being written.
getName() - 类 中的方法org.bson.BsonElement
Gets the name of the key/field.
getNamespace() - 接口 中的方法com.mongodb.client.MongoCollection
Gets the namespace of this collection.
getNamespace() - 类 中的方法com.mongodb.connection.QueryResult
Gets the namespace.
getNamespace() - 类 中的方法com.mongodb.operation.BaseWriteOperation
Gets the namespace of the collection to write to.
getNamespace() - 类 中的方法com.mongodb.operation.FindAndDeleteOperation
Gets the namespace.
getNamespace() - 类 中的方法com.mongodb.operation.FindAndReplaceOperation
Gets the namespace.
getNamespace() - 类 中的方法com.mongodb.operation.FindAndUpdateOperation
Gets the namespace.
getNamespace() - 类 中的方法com.mongodb.operation.FindOperation
Gets the namespace.
getNamespace() - 类 中的方法com.mongodb.operation.MixedBulkWriteOperation
Gets the namespace of the collection to write to.
getNamespace() - 类 中的方法org.bson.BsonDbPointer
Gets the namespace.
getNewDescription() - 类 中的方法com.mongodb.event.ClusterDescriptionChangedEvent
Gets the new cluster description.
getNewDescription() - 类 中的方法com.mongodb.event.ServerDescriptionChangedEvent
Gets the new server description.
getNewLineCharacters() - 类 中的方法org.bson.json.JsonWriterSettings
The new line character(s) to use if indent mode is enabled.
getNextElement() - 类 中的方法org.bson.BsonDocumentReader.Context
 
getNextState() - 类 中的方法org.bson.AbstractBsonReader
Returns the next State to transition to, based on the AbstractBsonReader.Context of this reader.
getNextState() - 类 中的方法org.bson.AbstractBsonWriter
Returns the next valid state for this writer.
getNextValue() - 类 中的方法org.bson.BsonDocumentReader.Context
 
getNumber(Object) - 类 中的方法org.bson.BsonDocument
Gets the value of the key if it is a BsonNumber, or throws if not.
getNumber(Object, BsonNumber) - 类 中的方法org.bson.BsonDocument
If the document does not contain the given key, return the given default value.
getNumCursors() - 类 中的方法com.mongodb.operation.ParallelCollectionScanOperation
Gets the number of cursors requested.
getNumCursors() - 类 中的方法com.mongodb.ParallelScanOptions
Gets the number of cursors requested.
getObjectClass() - 类 中的方法com.mongodb.DBCollection
Gets the default class for objects in the collection
getObjectId() - 类 中的方法com.mongodb.client.gridfs.GridFSUploadStream
Gets the ObjectId for the file to be uploaded or throws an error if an alternative BsonType has been used for the id.
getObjectId() - 类 中的方法com.mongodb.client.gridfs.model.GridFSFile
The ObjectId for this file.
getObjectId(String) - 类 中的方法org.bson.BasicBSONObject
Returns the object id or null if not set.
getObjectId(String, ObjectId) - 类 中的方法org.bson.BasicBSONObject
Returns the object id or def if not set.
getObjectId(Object) - 类 中的方法org.bson.BsonDocument
Gets the value of the key if it is a BsonObjectId, or throws if not.
getObjectId(Object, BsonObjectId) - 类 中的方法org.bson.BsonDocument
If the document does not contain the given key, return the given default value.
getObjectId(Object) - 类 中的方法org.bson.Document
Gets the value of the given key as an ObjectId.
getOffset() - 类 中的方法org.bson.LazyBSONObject
Gets the offset into the raw bytes representing the start of the document
getOptions() - 类 中的方法com.mongodb.client.model.IndexModel
Gets the index options.
getOptions() - 类 中的方法com.mongodb.client.model.ReplaceOneModel
Gets the options to apply.
getOptions() - 类 中的方法com.mongodb.client.model.UpdateManyModel
Gets the options to apply.
getOptions() - 类 中的方法com.mongodb.client.model.UpdateOneModel
Gets the options to apply.
getOptions() - 类 中的方法com.mongodb.DB
Gets the query options
getOptions() - 类 中的方法com.mongodb.DBCollection
Gets the default query options
getOptions() - 类 中的方法com.mongodb.DBCursor
Gets the query options.
getOptions() - 类 中的方法com.mongodb.Mongo
已过时。
Get options instead from instances of DBCursor
getOptions() - 类 中的方法com.mongodb.MongoClientURI
Gets the options
getOptions() - 类 中的方法com.mongodb.MongoURI
已过时。
Gets the options.
getOptions() - 类 中的方法org.bson.BsonRegularExpression
Gets the options for the regular expression
getOutputBuffer() - 类 中的方法org.bson.BasicBSONEncoder
Gets the buffer the BSON is being encoded into.
getOutputCollection() - 类 中的方法com.mongodb.MapReduceOutput
Gets the collection that holds the results (Will return null if results are Inline).
getOutputCount() - 类 中的方法com.mongodb.MapReduceOutput
Get the number of documents generated as a result of this map reduce
getOutputCount() - 类 中的方法com.mongodb.operation.MapReduceStatistics
Get the number of documents generated as a result of this map reduce
getOutputDB() - 类 中的方法com.mongodb.MapReduceCommand
Gets the (optional) database name where the output collection should reside
getOutputMode() - 类 中的方法com.mongodb.AggregationOptions
The mode of output for this configuration.
getOutputMode() - 类 中的方法org.bson.json.JsonWriterSettings
The output mode to use.
getOutputStream() - 类 中的方法com.mongodb.gridfs.GridFSInputFile
After retrieving this OutputStream, this object will be capable of accepting successively written data to the output stream.
getOutputTarget() - 类 中的方法com.mongodb.MapReduceCommand
Gets the output target (name of collection to save to) This value is nullable only if OutputType is set to INLINE
getOutputType() - 类 中的方法com.mongodb.MapReduceCommand
Gets the OutputType for this instance.
getParentContext() - 类 中的方法org.bson.AbstractBsonReader.Context
Returns the parent context.
getParentContext() - 类 中的方法org.bson.AbstractBsonReader.Mark
 
getParentContext() - 类 中的方法org.bson.AbstractBsonWriter.Context
Returns the parent context.
getParentContext() - 类 中的方法org.bson.BsonBinaryReader.Context
 
getParentContext() - 类 中的方法org.bson.BsonBinaryWriter.Context
 
getParentContext() - 类 中的方法org.bson.json.JsonReader.Context
 
getParentContext() - 类 中的方法org.bson.json.JsonWriter.Context
 
getPartialFilterExpression() - 类 中的方法com.mongodb.bulk.IndexRequest
Get the filter expression for the documents to be included in the index or null if not set
getPartialFilterExpression() - 类 中的方法com.mongodb.client.model.IndexOptions
Get the filter expression for the documents to be included in the index or null if not set
getPassives() - 类 中的方法com.mongodb.connection.ServerDescription
Gets the passive members of the replica set.
getPassword() - 类 中的方法com.mongodb.ConnectionString
Gets the password
getPassword() - 类 中的方法com.mongodb.MongoClientURI
Gets the password
getPassword() - 类 中的方法com.mongodb.MongoCredential
Gets the password.
getPassword() - 类 中的方法com.mongodb.MongoURI
已过时。
Gets the password.
getPattern() - 类 中的方法org.bson.BsonRegularExpression
Gets the regex pattern.
getPipeline() - 类 中的方法com.mongodb.operation.AggregateOperation
Gets the aggregation pipeline.
getPipeline() - 类 中的方法com.mongodb.operation.AggregateToCollectionOperation
Gets the aggregation pipeline.
getPort() - 接口 中的方法com.mongodb.management.ConnectionPoolStatisticsMBean
Gets the port that this connection pool is connecting to.
getPort() - 类 中的方法com.mongodb.ServerAddress
Gets the port number
getPosition() - 类 中的方法com.mongodb.client.model.geojson.Point
Gets the position of this point.
getPosition() - 类 中的方法com.mongodb.client.model.PushOptions
Gets the position at which to add the pushed values in the array.
getPosition() - 类 中的方法com.mongodb.connection.ByteBufferBsonOutput
 
getPosition() - 类 中的方法org.bson.io.BasicOutputBuffer
 
getPosition() - 接口 中的方法org.bson.io.BsonInput
Gets the current position in the stream
getPosition() - 接口 中的方法org.bson.io.BsonOutput
Gets the current position in the stream.
getPosition() - 类 中的方法org.bson.io.ByteBufferBsonInput
 
getPreviousDescription() - 类 中的方法com.mongodb.event.ClusterDescriptionChangedEvent
Gets the previous cluster description.
getPreviousDescription() - 类 中的方法com.mongodb.event.ServerDescriptionChangedEvent
Gets the previous server description.
getPrimaries() - 类 中的方法com.mongodb.connection.ClusterDescription
已过时。
Replace with a filter on ServerDescription in the caller
getPrimary() - 类 中的方法com.mongodb.connection.ServerDescription
Gets the address of the current primary in the replica set
getProcessIdentifier() - 类 中的方法org.bson.types.ObjectId
Gets the process identifier.
getProjection() - 类 中的方法com.mongodb.client.model.FindOneAndDeleteOptions
Gets a document describing the fields to return for all matching documents.
getProjection() - 类 中的方法com.mongodb.client.model.FindOneAndReplaceOptions
Gets a document describing the fields to return for all matching documents.
getProjection() - 类 中的方法com.mongodb.client.model.FindOneAndUpdateOptions
Gets a document describing the fields to return for all matching documents.
getProjection() - 类 中的方法com.mongodb.client.model.FindOptions
Gets a document describing the fields to return for all matching documents.
getProjection() - 类 中的方法com.mongodb.operation.FindAndDeleteOperation
Gets a document describing the fields to return for all matching documents.
getProjection() - 类 中的方法com.mongodb.operation.FindAndReplaceOperation
Gets a document describing the fields to return for all matching documents.
getProjection() - 类 中的方法com.mongodb.operation.FindAndUpdateOperation
Gets a document describing the fields to return for all matching documents.
getProjection() - 类 中的方法com.mongodb.operation.FindOperation
Gets a document describing the fields to return for all matching documents.
getQuery() - 类 中的方法com.mongodb.DBCursor
Gets the query.
getQuery() - 类 中的方法com.mongodb.MapReduceCommand
Gets the query to run for this MapReduce job
getReadConcern() - 接口 中的方法com.mongodb.client.gridfs.GridFSBucket
Get the read concern for the GridFSBucket.
getReadConcern() - 接口 中的方法com.mongodb.client.MongoCollection
Get the read concern for the MongoCollection.
getReadConcern() - 接口 中的方法com.mongodb.client.MongoDatabase
Get the read concern for the MongoDatabase.
getReadConcern() - 类 中的方法com.mongodb.ConnectionString
Gets the read concern specified in the connection string.
getReadConcern() - 类 中的方法com.mongodb.DB
Get the read concern for this database.
getReadConcern() - 类 中的方法com.mongodb.DBCollection
Get the read concern for this collection.
getReadConcern() - 类 中的方法com.mongodb.Mongo
Gets the read concern
getReadConcern() - 类 中的方法com.mongodb.MongoClientOptions
The read concern to use.
getReadConcern() - 类 中的方法com.mongodb.operation.AggregateOperation
Gets the read concern
getReadConcern() - 类 中的方法com.mongodb.operation.CountOperation
Gets the read concern
getReadConcern() - 类 中的方法com.mongodb.operation.DistinctOperation
Gets the read concern
getReadConcern() - 类 中的方法com.mongodb.operation.FindOperation
Gets the read concern
getReadConcern() - 类 中的方法com.mongodb.operation.MapReduceWithInlineResultsOperation
Gets the read concern
getReadConcern() - 类 中的方法com.mongodb.operation.ParallelCollectionScanOperation
Gets the read concern
getReadConnectionSource(SingleResultCallback<AsyncConnectionSource>) - 类 中的方法com.mongodb.binding.AsyncClusterBinding
 
getReadConnectionSource(SingleResultCallback<AsyncConnectionSource>) - 接口 中的方法com.mongodb.binding.AsyncReadBinding
Returns a connection source to a server that satisfies the specified read preference.
getReadConnectionSource(SingleResultCallback<AsyncConnectionSource>) - 类 中的方法com.mongodb.binding.AsyncSingleConnectionReadBinding
 
getReadConnectionSource() - 类 中的方法com.mongodb.binding.ClusterBinding
 
getReadConnectionSource() - 接口 中的方法com.mongodb.binding.ReadBinding
Returns a connection source to a server that satisfies the specified read preference.
getReadConnectionSource() - 类 中的方法com.mongodb.binding.SingleConnectionReadBinding
 
getReadConnectionSource() - 类 中的方法com.mongodb.binding.SingleServerBinding
 
getReadPreference() - 类 中的方法com.mongodb.binding.AsyncClusterBinding
 
getReadPreference() - 接口 中的方法com.mongodb.binding.AsyncReadBinding
The read preference that all connection sources returned by this instance will satisfy.
getReadPreference() - 类 中的方法com.mongodb.binding.AsyncSingleConnectionReadBinding
 
getReadPreference() - 类 中的方法com.mongodb.binding.ClusterBinding
 
getReadPreference() - 接口 中的方法com.mongodb.binding.ReadBinding
The read preference that all connection sources returned by this instance will satisfy.
getReadPreference() - 类 中的方法com.mongodb.binding.SingleConnectionReadBinding
 
getReadPreference() - 类 中的方法com.mongodb.binding.SingleServerBinding
 
getReadPreference() - 接口 中的方法com.mongodb.client.gridfs.GridFSBucket
Get the read preference for the GridFSBucket.
getReadPreference() - 接口 中的方法com.mongodb.client.MongoCollection
Get the read preference for the MongoCollection.
getReadPreference() - 接口 中的方法com.mongodb.client.MongoDatabase
Get the read preference for the MongoDatabase.
getReadPreference() - 类 中的方法com.mongodb.ConnectionString
Gets the read preference specified in the connection string.
getReadPreference() - 类 中的方法com.mongodb.DB
Gets the read preference for this database.
getReadPreference() - 类 中的方法com.mongodb.DBCollection
Gets the ReadPreference.
getReadPreference() - 类 中的方法com.mongodb.DBCursor
Gets the default read preference.
getReadPreference() - 类 中的方法com.mongodb.MapReduceCommand
Gets the read preference
getReadPreference() - 类 中的方法com.mongodb.Mongo
Gets the default read preference
getReadPreference() - 类 中的方法com.mongodb.MongoClientOptions
The read preference to use for queries, map-reduce, aggregation, and count.
getReadPreference() - 类 中的方法com.mongodb.MongoOptions
已过时。
Gets the read preference.
getReadPreference() - 类 中的方法com.mongodb.ParallelScanOptions
Gets the read preference to use.
getReadPreference() - 类 中的方法com.mongodb.selector.ReadPreferenceServerSelector
Gets the read preference.
getReadTimeout(TimeUnit) - 类 中的方法com.mongodb.connection.SocketSettings
Gets the timeout for socket reads.
getReceiveBufferSize() - 类 中的方法com.mongodb.connection.SocketSettings
Gets the receive buffer size.
getReduce() - 类 中的方法com.mongodb.MapReduceCommand
Gets the reduce function, as a JS String
getReduceFunction() - 类 中的方法com.mongodb.operation.GroupOperation
Gets the aggregation function that operates on the documents during the grouping operation.
getReduceFunction() - 类 中的方法com.mongodb.operation.MapReduceToCollectionOperation
Gets the JavaScript function that "reduces" to a single object all the values associated with a particular key.
getReduceFunction() - 类 中的方法com.mongodb.operation.MapReduceWithInlineResultsOperation
Gets the JavaScript function that "reduces" to a single object all the values associated with a particular key.
getReferenceCount() - 接口 中的方法org.bson.ByteBuf
Gets the current reference count, which starts at 0.
getReferenceCount() - 类 中的方法org.bson.ByteBufNIO
 
getRegularExpression(Object) - 类 中的方法org.bson.BsonDocument
Gets the value of the key if it is a BsonRegularExpression, or throws if not.
getRegularExpression(Object, BsonRegularExpression) - 类 中的方法org.bson.BsonDocument
If the document does not contain the given key, return the given default value.
getRemovedCount() - 类 中的方法com.mongodb.BulkWriteResult
Returns the number of documents removed by the write operation.
getReplacement() - 类 中的方法com.mongodb.client.model.ReplaceOneModel
Gets the document which will replace the document matching the query filter.
getReplacement() - 类 中的方法com.mongodb.operation.FindAndReplaceOperation
Gets the document which will replace the document matching the query filter.
getReplicaSetStatus() - 类 中的方法com.mongodb.Mongo
Get the status of the replica set cluster.
getReply() - 类 中的方法com.mongodb.event.ServerHeartbeatSucceededEvent
Gets the reply to the isMaster command executed for this heartbeat.
getRequestId() - 类 中的方法com.mongodb.event.CommandEvent
Gets the request identifier
getRequestId() - 类 中的方法com.mongodb.event.ConnectionMessagesSentEvent
Gets the request id of the message that was sent.
getRequests() - 类 中的方法com.mongodb.operation.CreateIndexesOperation
Gets the index requests.
getRequiredClusterType() - 类 中的方法com.mongodb.connection.ClusterSettings
Get
getRequiredReplicaSetName() - 类 中的方法com.mongodb.connection.ClusterSettings
Gets the required replica set name.
getRequiredReplicaSetName() - 类 中的方法com.mongodb.ConnectionString
Gets the required replica set name specified in the connection string.
getRequiredReplicaSetName() - 类 中的方法com.mongodb.MongoClientOptions
Gets the required replica set name.
getRequiredReplicaSetName() - 类 中的方法com.mongodb.MongoOptions
已过时。
Gets the required replica set name that this client should be connecting to.
getResponse() - 类 中的方法com.mongodb.event.CommandSucceededEvent
Gets the response document.
getResponse() - 异常错误 中的方法com.mongodb.MongoCommandException
For internal use only.
getResponse() - 异常错误 中的方法com.mongodb.WriteConcernException
Gets the response to the write operation.
getResponseTo() - 类 中的方法com.mongodb.event.ConnectionMessageReceivedEvent
The responseTo identifier of the message.
getResult() - 类 中的方法com.mongodb.connection.BulkWriteBatchCombiner
Gets the combined result.
getResults() - 类 中的方法com.mongodb.connection.QueryResult
Gets the results.
getReturnDocument() - 类 中的方法com.mongodb.client.model.FindOneAndReplaceOptions
Gets the ReturnDocument value indicating whether to return the document before it was replaced or after
getReturnDocument() - 类 中的方法com.mongodb.client.model.FindOneAndUpdateOptions
Gets the ReturnDocument value indicating whether to return the document before it was updated / inserted or after
getRevision() - 类 中的方法com.mongodb.client.gridfs.model.GridFSDownloadByNameOptions
已过时。
Gets the revision to download identifier
getRevision() - 类 中的方法com.mongodb.client.gridfs.model.GridFSDownloadOptions
Gets the revision to download identifier
getRoundTripTimeNanos() - 类 中的方法com.mongodb.connection.ServerDescription
Get the time it took to make the round trip for requesting this information from the server in nanoseconds.
getScope() - 类 中的方法com.mongodb.MapReduceCommand
Gets the (optional) JavaScript scope
getScope() - 类 中的方法com.mongodb.operation.MapReduceToCollectionOperation
Gets the global variables that are accessible in the map, reduce and finalize functions.
getScope() - 类 中的方法com.mongodb.operation.MapReduceWithInlineResultsOperation
Gets the global variables that are accessible in the map, reduce and finalize functions.
getScope() - 类 中的方法org.bson.BsonJavaScriptWithScope
Get the scope.
getScope() - 类 中的方法org.bson.types.CodeWithScope
Gets the scope, which is is a mapping from identifiers to values, representing the scope in which the code should be evaluated.
getScope() - 类 中的方法org.bson.types.CodeWScope
Gets the scope for this JavaScript
getSecondaries() - 类 中的方法com.mongodb.connection.ClusterDescription
已过时。
Replace with a filter on ServerDescription in the caller
getSecondaries(TagSet) - 类 中的方法com.mongodb.connection.ClusterDescription
已过时。
Replace with a filter on ServerDescription in the caller
getSendBufferSize() - 类 中的方法com.mongodb.connection.SocketSettings
Gets the send buffer size.
getServerAddress() - 接口 中的方法com.mongodb.client.MongoCursor
Returns the server address
getServerAddress() - 类 中的方法com.mongodb.connection.ConnectionDescription
Gets the server address.
getServerAddress() - 接口 中的方法com.mongodb.Cursor
Gets the address of the server that data is pulled from.
getServerAddress() - 类 中的方法com.mongodb.DBCursor
 
getServerAddress() - 异常错误 中的方法com.mongodb.MongoBulkWriteException
The address of the server which performed the bulk write operation.
getServerAddress() - 异常错误 中的方法com.mongodb.MongoCursorNotFoundException
The server address where the cursor is.
getServerAddress() - 异常错误 中的方法com.mongodb.MongoServerException
Gets the address of the server.
getServerAddress() - 异常错误 中的方法com.mongodb.MongoSocketException
Gets the server address for this exception.
getServerAddress() - 接口 中的方法com.mongodb.operation.BatchCursor
Returns the server address
getServerAddress() - 类 中的方法com.mongodb.selector.ServerAddressSelector
Gets the server address.
getServerAddressList() - 类 中的方法com.mongodb.Mongo
Gets the list of server addresses currently seen by this client.
getServerCursor() - 接口 中的方法com.mongodb.client.MongoCursor
Returns the server cursor, which can be null if the no cursor was created or if the cursor has been exhausted or killed.
getServerCursor() - 接口 中的方法com.mongodb.operation.BatchCursor
Returns the server cursor
getServerDescription() - 接口 中的方法com.mongodb.binding.AsyncConnectionSource
Gets the current description of this source.
getServerDescription() - 接口 中的方法com.mongodb.binding.ConnectionSource
Gets the current description of this source.
getServerDescriptions() - 类 中的方法com.mongodb.connection.ClusterDescription
Returns an unmodifiable list of the server descriptions in this cluster description.
getServerId() - 类 中的方法com.mongodb.connection.ConnectionId
Gets the server id.
getServerId() - 类 中的方法com.mongodb.event.ConnectionPoolClosedEvent
Gets the server id
getServerId() - 类 中的方法com.mongodb.event.ConnectionPoolOpenedEvent
Gets the server id
getServerId() - 类 中的方法com.mongodb.event.ConnectionPoolWaitQueueEnteredEvent
Gets the server id.
getServerId() - 类 中的方法com.mongodb.event.ConnectionPoolWaitQueueExitedEvent
Gets the server id.
getServerId() - 类 中的方法com.mongodb.event.ServerClosedEvent
Gets the serverId.
getServerId() - 类 中的方法com.mongodb.event.ServerDescriptionChangedEvent
Gets the serverId.
getServerId() - 类 中的方法com.mongodb.event.ServerOpeningEvent
Gets the serverId.
getServerListeners() - 类 中的方法com.mongodb.connection.ServerSettings
Gets the server listeners.
getServerListeners() - 类 中的方法com.mongodb.event.ServerEventMulticaster
Gets the server listeners.
getServerListeners() - 类 中的方法com.mongodb.MongoClientOptions
Gets the list of added ServerListener.
getServerMonitorListeners() - 类 中的方法com.mongodb.connection.ServerSettings
Gets the server monitor listeners.
getServerMonitorListeners() - 类 中的方法com.mongodb.event.ServerMonitorEventMulticaster
Gets the server monitor listeners.
getServerMonitorListeners() - 类 中的方法com.mongodb.MongoClientOptions
Gets the list of added ServerMonitorListener.
getServerSelectionTimeout(TimeUnit) - 类 中的方法com.mongodb.connection.ClusterSettings
Gets the timeout to apply when selecting a server.
getServerSelectionTimeout() - 类 中的方法com.mongodb.ConnectionString
 
getServerSelectionTimeout() - 类 中的方法com.mongodb.MongoClientOptions
Gets the server selection timeout in milliseconds, which defines how long the driver will wait for server selection to succeed before throwing an exception.
getServerSelector() - 类 中的方法com.mongodb.connection.ClusterSettings
Gets the ServerSelector that will be uses as the final server selector that is applied in calls to Cluster.selectServer.
getServerType() - 类 中的方法com.mongodb.connection.ConnectionDescription
Gets the server type.
getServerValue() - 类 中的方法com.mongodb.connection.ConnectionId
Gets the server generated id value for the connection or null if not set.
getServerVersion() - 类 中的方法com.mongodb.connection.ConnectionDescription
Gets the version of the server.
getSetName() - 类 中的方法com.mongodb.connection.ServerDescription
Gets the name of the replica set
getSettings() - 类 中的方法com.mongodb.event.ConnectionPoolOpenedEvent
Gets the connection pool settings.
getSetVersion() - 类 中的方法com.mongodb.connection.ServerDescription
The replica set setVersion reported by this MongoDB server.
getShortDescription() - 类 中的方法com.mongodb.connection.ClusterDescription
Returns a short, pretty description for this ClusterDescription.
getShortDescription() - 类 中的方法com.mongodb.connection.ClusterSettings
Returns a short, pretty description for these ClusterSettings.
getShortDescription() - 类 中的方法com.mongodb.connection.ServerDescription
Returns a short, pretty description for this ServerDescription.
getSister(String) - 类 中的方法com.mongodb.DBAddress
已过时。
Creates a DBAddress pointing to a different database on the same server.
getSisterDB(String) - 类 中的方法com.mongodb.DB
Gets another database on same server
getSize() - 类 中的方法com.mongodb.connection.ByteBufferBsonOutput
 
getSize() - 类 中的方法com.mongodb.event.ConnectionMessageReceivedEvent
Gets the size of the received message.
getSize() - 类 中的方法com.mongodb.event.ConnectionMessagesSentEvent
Gets the size of the sent message.
getSize() - 接口 中的方法com.mongodb.management.ConnectionPoolStatisticsMBean
Gets the current size of the pool, including idle and and in-use members.
getSize() - 类 中的方法org.bson.io.BasicOutputBuffer
 
getSize() - 接口 中的方法org.bson.io.BsonOutput
Gets the current size of the stream in number of bytes.
getSizeInBytes() - 类 中的方法com.mongodb.client.model.CreateCollectionOptions
Gets the maximum size in bytes of a capped collection.
getSizeInBytes() - 类 中的方法com.mongodb.operation.CreateCollectionOperation
Gets the maximum size of the collection in bytes.
getSkip() - 类 中的方法com.mongodb.client.model.CountOptions
Gets the number of documents to skip.
getSkip() - 类 中的方法com.mongodb.client.model.FindOptions
Gets the number of documents to skip.
getSkip() - 类 中的方法com.mongodb.operation.CountOperation
Gets the number of documents to skip.
getSkip() - 类 中的方法com.mongodb.operation.FindOperation
Gets the number of documents to skip.
getSlice() - 类 中的方法com.mongodb.client.model.PushOptions
Gets the slice value, which is the limit on the number of array elements allowed.
getSocketAddress() - 类 中的方法com.mongodb.ServerAddress
Gets the underlying socket address
getSocketFactory() - 类 中的方法com.mongodb.MongoClientOptions
The socket factory for creating sockets to the mongo server.
getSocketFactory() - 类 中的方法com.mongodb.MongoOptions
已过时。
Gets the socket factory for creating sockets to mongod.
getSocketTimeout() - 类 中的方法com.mongodb.ConnectionString
Gets the socket timeout specified in the connection string.
getSocketTimeout() - 类 中的方法com.mongodb.MongoClientOptions
The socket timeout in milliseconds.
getSocketTimeout() - 类 中的方法com.mongodb.MongoOptions
已过时。
Gets the socket timeout in milliseconds. 0 means no timeout.
getSort() - 类 中的方法com.mongodb.client.model.FindOneAndDeleteOptions
Gets the sort criteria to apply to the query.
getSort() - 类 中的方法com.mongodb.client.model.FindOneAndReplaceOptions
Gets the sort criteria to apply to the query.
getSort() - 类 中的方法com.mongodb.client.model.FindOneAndUpdateOptions
Gets the sort criteria to apply to the query.
getSort() - 类 中的方法com.mongodb.client.model.FindOptions
Gets the sort criteria to apply to the query.
getSort() - 类 中的方法com.mongodb.client.model.PushOptions
Gets the sort direction for sorting array elements that are not documents.
getSort() - 类 中的方法com.mongodb.MapReduceCommand
Gets the (optional) sort specification object
getSort() - 类 中的方法com.mongodb.operation.FindAndDeleteOperation
Gets the sort criteria to apply to the query.
getSort() - 类 中的方法com.mongodb.operation.FindAndReplaceOperation
Gets the sort criteria to apply to the query.
getSort() - 类 中的方法com.mongodb.operation.FindAndUpdateOperation
Gets the sort criteria to apply to the query.
getSort() - 类 中的方法com.mongodb.operation.FindOperation
Gets the sort criteria to apply to the query.
getSort() - 类 中的方法com.mongodb.operation.MapReduceToCollectionOperation
Gets the sort criteria to apply to the query.
getSort() - 类 中的方法com.mongodb.operation.MapReduceWithInlineResultsOperation
Gets the sort criteria to apply to the query.
getSortDocument() - 类 中的方法com.mongodb.client.model.PushOptions
Gets the sort direction for sorting array elements that are documents.
getSource() - 类 中的方法com.mongodb.MongoCredential
Gets the source of the user name, typically the name of the database where the user is defined.
getSphereVersion() - 类 中的方法com.mongodb.bulk.IndexRequest
Gets the 2dsphere index version number.
getSphereVersion() - 类 中的方法com.mongodb.client.model.IndexOptions
Gets the 2dsphere index version number.
getSslEnabled() - 类 中的方法com.mongodb.ConnectionString
Gets the SSL enabled value specified in the connection string.
getSslInvalidHostnameAllowed() - 类 中的方法com.mongodb.ConnectionString
Gets the SSL invalidHostnameAllowed value specified in the connection string.
getState() - 类 中的方法com.mongodb.connection.ServerDescription
Gets the current state of the connection to the server.
getState() - 类 中的方法org.bson.AbstractBsonReader
 
getState() - 类 中的方法org.bson.AbstractBsonWriter
Gets the current state of this writer.
getStatistics() - 接口 中的方法com.mongodb.operation.MapReduceAsyncBatchCursor
Get the statistics for this map-reduce operation
getStatistics() - 接口 中的方法com.mongodb.operation.MapReduceBatchCursor
Get the statistics for this map-reduce operation
getStats() - 类 中的方法com.mongodb.DB
Helper method for calling a 'dbStats' command.
getStats() - 类 中的方法com.mongodb.DBCollection
The collStats command returns a variety of storage statistics for a given collection
getStorageEngine() - 类 中的方法com.mongodb.bulk.IndexRequest
Gets the storage engine options document for this index.
getStorageEngine() - 类 中的方法com.mongodb.client.model.IndexOptionDefaults
Gets the default storage engine options document for indexes.
getStorageEngine() - 类 中的方法com.mongodb.client.model.IndexOptions
Gets the storage engine options document for this index.
getStorageEngineOptions() - 类 中的方法com.mongodb.client.model.CreateCollectionOptions
Gets the storage engine options document for the collection.
getStorageEngineOptions() - 类 中的方法com.mongodb.operation.CreateCollectionOperation
Gets the storage engine options document for this collection.
getStreamType() - 类 中的方法com.mongodb.ConnectionString
Gets the stream type value specified in the connection string.
getStrict() - 类 中的静态方法com.mongodb.util.JSONSerializers
Returns an ObjectSerializer that conforms to the strict JSON format defined in extended JSON.
getString(String) - 类 中的方法org.bson.BasicBSONObject
Returns the value of a field as a string
getString(String, String) - 类 中的方法org.bson.BasicBSONObject
Returns the value of a field as a string
getString(Object) - 类 中的方法org.bson.BsonDocument
Gets the value of the key if it is a BsonString, or throws if not.
getString(Object, BsonString) - 类 中的方法org.bson.BsonDocument
If the document does not contain the given key, return the given default value.
getString(Object) - 类 中的方法org.bson.Document
Gets the value of the given key as a String.
getSymbol() - 类 中的方法org.bson.BsonSymbol
Gets the symbol value
getSymbol() - 类 中的方法org.bson.types.Symbol
Gets the symbol.
getTagSet() - 类 中的方法com.mongodb.connection.ServerDescription
A set of all tags assigned to this member.
getTagSetList() - 类 中的方法com.mongodb.TaggableReadPreference
Gets the list of tag sets as a list of TagSet instances.
getTextVersion() - 类 中的方法com.mongodb.bulk.IndexRequest
The text index version number.
getTextVersion() - 类 中的方法com.mongodb.client.model.IndexOptions
The text index version number.
getThreadId() - 类 中的方法com.mongodb.event.ConnectionPoolWaitQueueEnteredEvent
Gets the thread id
getThreadId() - 类 中的方法com.mongodb.event.ConnectionPoolWaitQueueExitedEvent
Gets the thread id
getThreadsAllowedToBlockForConnectionMultiplier() - 类 中的方法com.mongodb.ConnectionString
Gets the multiplier for the number of threads allowed to block waiting for a connection specified in the connection string.
getThreadsAllowedToBlockForConnectionMultiplier() - 类 中的方法com.mongodb.MongoClientOptions
This multiplier, multiplied with the connectionsPerHost setting, gives the maximum number of threads that may be waiting for a connection to become available from the pool.
getThreadsAllowedToBlockForConnectionMultiplier() - 类 中的方法com.mongodb.MongoOptions
已过时。
Gets the multiplier which, when multiplied with the connectionsPerHost setting, gives the maximum number of threads that may be waiting for a connection to become available from the pool.
getThrowable() - 类 中的方法com.mongodb.event.CommandFailedEvent
Gets the throwable cause of the failure
getThrowable() - 类 中的方法com.mongodb.event.ServerHeartbeatFailedEvent
Gets the exceptions that caused the failure
getTime() - 类 中的方法org.bson.BsonTimestamp
Gets the time in seconds since epoch.
getTime() - 类 中的方法org.bson.types.BSONTimestamp
Gets the time in seconds since epoch
getTime() - 类 中的方法org.bson.types.ObjectId
已过时。
Use #getDate instead
getTimeSecond() - 类 中的方法org.bson.types.ObjectId
已过时。
Use #getTimestamp instead
getTimestamp(Object) - 类 中的方法org.bson.BsonDocument
Gets the value of the key if it is a BsonTimestamp, or throws if not.
getTimestamp(Object, BsonTimestamp) - 类 中的方法org.bson.BsonDocument
If the document does not contain the given key, return the given default value.
getTimestamp() - 类 中的方法org.bson.types.ObjectId
Gets the timestamp (number of seconds since the Unix epoch).
getType() - 类 中的方法com.mongodb.bulk.DeleteRequest
 
getType() - 类 中的方法com.mongodb.bulk.InsertRequest
 
getType() - 类 中的方法com.mongodb.bulk.UpdateRequest
 
getType() - 类 中的方法com.mongodb.bulk.WriteRequest
Gets the type of the write.
getType(Object) - 类 中的静态方法com.mongodb.Bytes
Gets the type byte for a given object.
getType() - 类 中的方法com.mongodb.client.model.geojson.CoordinateReferenceSystem
Gets the type of this Coordinate Reference System.
getType() - 类 中的方法com.mongodb.client.model.geojson.Geometry
Gets the GeoJSON object type.
getType() - 类 中的方法com.mongodb.client.model.geojson.GeometryCollection
 
getType() - 类 中的方法com.mongodb.client.model.geojson.LineString
 
getType() - 类 中的方法com.mongodb.client.model.geojson.MultiLineString
 
getType() - 类 中的方法com.mongodb.client.model.geojson.MultiPoint
 
getType() - 类 中的方法com.mongodb.client.model.geojson.MultiPolygon
 
getType() - 类 中的方法com.mongodb.client.model.geojson.NamedCoordinateReferenceSystem
 
getType() - 类 中的方法com.mongodb.client.model.geojson.Point
 
getType() - 类 中的方法com.mongodb.client.model.geojson.Polygon
 
getType() - 类 中的方法com.mongodb.connection.ClusterDescription
Gets the specific type of this cluster
getType() - 类 中的方法com.mongodb.connection.ServerDescription
Gets the type of the server, for example whether it's a standalone or in a replica set.
getType() - 类 中的方法com.mongodb.operation.BaseWriteOperation
 
getType() - 类 中的方法com.mongodb.operation.DeleteOperation
 
getType() - 类 中的方法com.mongodb.operation.InsertOperation
 
getType() - 类 中的方法com.mongodb.operation.UpdateOperation
 
getType() - 类 中的方法org.bson.BsonBinary
Gets the type of this Binary.
getType() - 类 中的方法org.bson.types.Binary
Get the binary sub type as a byte.
getTypeName() - 枚举 中的方法com.mongodb.client.model.geojson.CoordinateReferenceSystemType
Gets the GeoJSON-defined name for the type.
getTypeName() - 枚举 中的方法com.mongodb.client.model.geojson.GeoJsonObjectType
Gets the GeoJSON-defined name for the object type.
getUpdate() - 类 中的方法com.mongodb.bulk.UpdateRequest
Gets the update.
getUpdate() - 类 中的方法com.mongodb.client.model.UpdateManyModel
Gets the document specifying the updates to apply to the matching document.
getUpdate() - 类 中的方法com.mongodb.client.model.UpdateOneModel
Gets the document specifying the updates to apply to the matching document.
getUpdate() - 类 中的方法com.mongodb.operation.FindAndUpdateOperation
Gets the document containing update operators
getUpdatedExisting(BulkWriteResult) - 类 中的方法com.mongodb.operation.BaseWriteOperation
 
getUpdatedExisting(BulkWriteResult) - 类 中的方法com.mongodb.operation.UpdateOperation
 
getUpdateRequests() - 类 中的方法com.mongodb.operation.UpdateOperation
Gets the list of update requests.
getUploadDate() - 类 中的方法com.mongodb.client.gridfs.model.GridFSFile
The date and time this file was added to GridFS
getUploadDate() - 类 中的方法com.mongodb.gridfs.GridFSFile
Gets the upload date.
getUpsertedId() - 类 中的方法com.mongodb.client.result.UpdateResult
If the replace resulted in an inserted document, gets the _id of the inserted document, otherwise null.
getUpsertedId() - 类 中的方法com.mongodb.WriteConcernResult
Returns the value of _id if this write resulted in an upsert.
getUpsertedId() - 类 中的方法com.mongodb.WriteResult
Gets the _id value of an upserted document that resulted from this write.
getUpserts() - 类 中的方法com.mongodb.bulk.BulkWriteResult
Gets an unmodifiable list of upserted items, or the empty list if there were none.
getUpserts() - 类 中的方法com.mongodb.BulkWriteResult
Gets an unmodifiable list of upserted items, or the empty list if there were none.
getURI() - 类 中的方法com.mongodb.ConnectionString
已过时。
getURI() - 类 中的方法com.mongodb.MongoClientURI
Get the unparsed URI.
getUseCursor() - 类 中的方法com.mongodb.operation.AggregateOperation
Gets whether the server should use a cursor to return results.
getUsedDatabases() - 类 中的方法com.mongodb.Mongo
Returns the list of databases used by the driver since this Mongo instance was created.
getUsername() - 类 中的方法com.mongodb.ConnectionString
Gets the username
getUsername() - 类 中的方法com.mongodb.MongoClientURI
Gets the username
getUserName() - 类 中的方法com.mongodb.MongoCredential
Gets the user name
getUsername() - 类 中的方法com.mongodb.MongoURI
已过时。
Gets the username.
getValidationAction() - 类 中的方法com.mongodb.client.model.ValidationOptions
getValidationAction() - 类 中的方法com.mongodb.operation.CreateCollectionOperation
getValidationLevel() - 类 中的方法com.mongodb.client.model.ValidationOptions
Gets the ValidationLevel that determines how strictly MongoDB applies the validation rules to existing documents during an insert or update.
getValidationLevel() - 类 中的方法com.mongodb.operation.CreateCollectionOperation
Gets the ValidationLevel that determines how strictly MongoDB applies the validation rules to existing documents during an insert or update.
getValidationOptions() - 类 中的方法com.mongodb.client.model.CreateCollectionOptions
Gets the validation options for documents being inserted or updated in a collection
getValidator() - 类 中的方法com.mongodb.client.model.ValidationOptions
Gets the validation rules if set or null.
getValidator() - 类 中的方法com.mongodb.operation.CreateCollectionOperation
Gets the validation rules for inserting or updating documents
getValidatorForField(String) - 接口 中的方法org.bson.FieldNameValidator
Gets a new validator to use for the value of the field with the given name.
getValue() - 类 中的方法com.mongodb.client.model.BsonField
Gets the field value
getValue() - 枚举 中的方法com.mongodb.client.model.MapReduceAction
 
getValue() - 枚举 中的方法com.mongodb.client.model.ValidationAction
 
getValue() - 枚举 中的方法com.mongodb.client.model.ValidationLevel
 
getValue() - 类 中的方法com.mongodb.connection.ClusterId
Gets the value of the identifier.
getValue() - 枚举 中的方法com.mongodb.ReadConcernLevel
 
getValue() - 类 中的方法com.mongodb.Tag
Gets the value of the replica set tag.
getValue() - 枚举 中的方法org.bson.BsonBinarySubType
Gets the byte representation of this subtype.
getValue() - 类 中的方法org.bson.BsonBoolean
Gets the boolean value.
getValue() - 类 中的方法org.bson.BsonDateTime
Gets the DateTime value as a long
getValue() - 类 中的方法org.bson.BsonDouble
Gets the double value.
getValue() - 类 中的方法org.bson.BsonElement
Gets the value of this element.
getValue() - 类 中的方法org.bson.BsonInt32
Gets the integer value.
getValue() - 类 中的方法org.bson.BsonInt64
Gets the long value.
getValue() - 类 中的方法org.bson.BsonObjectId
Get the ObjectId value.
getValue() - 类 中的方法org.bson.BsonString
Gets the String value.
getValue() - 枚举 中的方法org.bson.BsonType
Get the int value of this BSON type.
getValues() - 类 中的方法com.mongodb.client.model.geojson.Position
Gets the values of this position
getValues() - 类 中的方法org.bson.BsonArray
Gets the values in this array as a list of BsonValue objects.
getVersion() - 类 中的方法com.mongodb.bulk.IndexRequest
Gets the index version number.
getVersion() - 类 中的方法com.mongodb.client.model.IndexOptions
Gets the index version number.
getVersion() - 类 中的方法com.mongodb.connection.ServerDescription
Gets the server version
getVersionList() - 类 中的方法com.mongodb.connection.ServerVersion
Gets the version list.
getW() - 类 中的方法com.mongodb.MongoOptions
已过时。
Gets the "w" value, (number of writes), of the global WriteConcern.
getW() - 类 中的方法com.mongodb.WriteConcern
Gets the w value as an integer.
getWaitQueueSize() - 接口 中的方法com.mongodb.management.ConnectionPoolStatisticsMBean
Gets the size of the wait queue for a connection from this pool
getWeights() - 类 中的方法com.mongodb.bulk.IndexRequest
Gets the weighting object for use with a text index A document that represents field and weight pairs.
getWeights() - 类 中的方法com.mongodb.client.model.IndexOptions
Gets the weighting object for use with a text index A document that represents field and weight pairs.
getWObject() - 类 中的方法com.mongodb.WriteConcern
Gets the w value.
getWrappedDocument() - 类 中的方法org.bson.BsonDocumentWrapper
Get the wrapped document.
getWrapper(Class) - 类 中的静态方法com.mongodb.ReflectionDBObject
Returns an existing Wrapper instance associated with a class, or creates a new one.
getWrapperIfReflectionObject(Class) - 类 中的静态方法com.mongodb.ReflectionDBObject
Returns the wrapper if this object can be assigned from this class.
getWriteConcern() - 接口 中的方法com.mongodb.client.gridfs.GridFSBucket
Get the write concern for the GridFSBucket.
getWriteConcern() - 接口 中的方法com.mongodb.client.MongoCollection
Get the write concern for the MongoCollection.
getWriteConcern() - 接口 中的方法com.mongodb.client.MongoDatabase
Get the write concern for the MongoDatabase.
getWriteConcern() - 类 中的方法com.mongodb.ConnectionString
Gets the write concern specified in the connection string.
getWriteConcern() - 类 中的方法com.mongodb.DB
Gets the write concern for this database.
getWriteConcern() - 类 中的方法com.mongodb.DBCollection
Get the WriteConcern for this collection.
getWriteConcern() - 类 中的方法com.mongodb.InsertOptions
The write concern to use for the insertion.
getWriteConcern() - 类 中的方法com.mongodb.Mongo
Gets the write concern
getWriteConcern() - 类 中的方法com.mongodb.MongoClientOptions
The write concern to use.
getWriteConcern() - 类 中的方法com.mongodb.MongoOptions
已过时。
Helper method to return the appropriate WriteConcern instance based on the current related options settings.
getWriteConcern() - 类 中的方法com.mongodb.operation.BaseWriteOperation
Gets the write concern to apply
getWriteConcern() - 类 中的方法com.mongodb.operation.FindAndDeleteOperation
Get the write concern for this operation
getWriteConcern() - 类 中的方法com.mongodb.operation.FindAndReplaceOperation
Get the write concern for this operation
getWriteConcern() - 类 中的方法com.mongodb.operation.FindAndUpdateOperation
Get the write concern for this operation
getWriteConcern() - 类 中的方法com.mongodb.operation.MixedBulkWriteOperation
Gets the write concern to apply
getWriteConcernError() - 异常错误 中的方法com.mongodb.BulkWriteException
The write concern error, which may be null (in which case the list of errors will not be empty).
getWriteConcernError() - 异常错误 中的方法com.mongodb.MongoBulkWriteException
The write concern error, which may be null (in which case the list of errors will not be empty).
getWriteConcernError() - 异常错误 中的方法com.mongodb.MongoWriteConcernException
Gets the write concern error.
getWriteConcernResult() - 异常错误 中的方法com.mongodb.WriteConcernException
Gets the write result.
getWriteConnectionSource(SingleResultCallback<AsyncConnectionSource>) - 类 中的方法com.mongodb.binding.AsyncClusterBinding
 
getWriteConnectionSource(SingleResultCallback<AsyncConnectionSource>) - 接口 中的方法com.mongodb.binding.AsyncWriteBinding
Supply a connection source to a server that can be written to
getWriteConnectionSource() - 类 中的方法com.mongodb.binding.ClusterBinding
 
getWriteConnectionSource() - 类 中的方法com.mongodb.binding.SingleServerBinding
 
getWriteConnectionSource() - 接口 中的方法com.mongodb.binding.WriteBinding
Supply a connection source to a server that can be written to
getWriteErrors() - 异常错误 中的方法com.mongodb.BulkWriteException
The list of errors, which will not be null, but may be empty (if the write concern error is not null).
getWriteErrors() - 异常错误 中的方法com.mongodb.MongoBulkWriteException
The list of errors, which will not be null, but may be empty (if the write concern error is not null).
getWriter() - 类 中的方法org.bson.json.JsonWriter
Gets the Writer.
getWriteRequests() - 类 中的方法com.mongodb.operation.MixedBulkWriteOperation
Gets the list of write requests to execute.
getWriteResult() - 异常错误 中的方法com.mongodb.BulkWriteException
The result of all successfully processed write operations.
getWriteResult() - 异常错误 中的方法com.mongodb.MongoBulkWriteException
The result of all successfully processed write operations.
getWriteResult() - 异常错误 中的方法com.mongodb.MongoWriteConcernException
Gets the write result.
getWString() - 类 中的方法com.mongodb.WriteConcern
Gets the w parameter as a String.
getWtimeout() - 类 中的方法com.mongodb.MongoOptions
已过时。
Gets the "wtimeout" value of the global WriteConcern.
getWTimeout(TimeUnit) - 类 中的方法com.mongodb.WriteConcern
Gets the wTimeout in the given time unit.
getWtimeout() - 类 中的方法com.mongodb.WriteConcern
gotBinary(String, byte, byte[]) - 类 中的方法org.bson.BasicBSONCallback
 
gotBinary(String, byte, byte[]) - 接口 中的方法org.bson.BSONCallback
Called when reading a field with a BsonType.BINARY value.
gotBinary(String, byte, byte[]) - 类 中的方法org.bson.EmptyBSONCallback
 
gotBinary(String, byte, byte[]) - 类 中的方法org.bson.LazyBSONCallback
 
gotBinaryArray(String, byte[]) - 类 中的方法org.bson.BasicBSONCallback
已过时。
gotBinaryArray(String, byte[]) - 接口 中的方法org.bson.BSONCallback
已过时。 
gotBinaryArray(String, byte[]) - 类 中的方法org.bson.EmptyBSONCallback
已过时。
gotBoolean(String, boolean) - 类 中的方法org.bson.BasicBSONCallback
 
gotBoolean(String, boolean) - 接口 中的方法org.bson.BSONCallback
Called when reading a field with a BsonType.BOOLEAN value.
gotBoolean(String, boolean) - 类 中的方法org.bson.EmptyBSONCallback
 
gotCode(String, String) - 类 中的方法org.bson.BasicBSONCallback
 
gotCode(String, String) - 接口 中的方法org.bson.BSONCallback
Called when reading a field with a BsonType.JAVASCRIPT value.
gotCode(String, String) - 类 中的方法org.bson.EmptyBSONCallback
 
gotCodeWScope(String, String, Object) - 类 中的方法org.bson.BasicBSONCallback
 
gotCodeWScope(String, String, Object) - 接口 中的方法org.bson.BSONCallback
Called when reading a field with a BsonType.JAVASCRIPT_WITH_SCOPE value.
gotCodeWScope(String, String, Object) - 类 中的方法org.bson.EmptyBSONCallback
 
gotDate(String, long) - 类 中的方法org.bson.BasicBSONCallback
 
gotDate(String, long) - 接口 中的方法org.bson.BSONCallback
Called when reading a field with a BsonType.DATE_TIME value.
gotDate(String, long) - 类 中的方法org.bson.EmptyBSONCallback
 
gotDBRef(String, String, ObjectId) - 类 中的方法com.mongodb.DefaultDBCallback
 
gotDBRef(String, String, ObjectId) - 类 中的方法org.bson.BasicBSONCallback
 
gotDBRef(String, String, ObjectId) - 接口 中的方法org.bson.BSONCallback
Invoked when BSONDecoder encountered a BsonType.DB_POINTER type field in a byte sequence.
gotDBRef(String, String, ObjectId) - 类 中的方法org.bson.EmptyBSONCallback
 
gotDouble(String, double) - 类 中的方法org.bson.BasicBSONCallback
 
gotDouble(String, double) - 接口 中的方法org.bson.BSONCallback
Called when reading a field with a BsonType.DOUBLE value.
gotDouble(String, double) - 类 中的方法org.bson.EmptyBSONCallback
 
gotInt(String, int) - 类 中的方法org.bson.BasicBSONCallback
 
gotInt(String, int) - 接口 中的方法org.bson.BSONCallback
Called when reading a field with a BsonType.INT32 value.
gotInt(String, int) - 类 中的方法org.bson.EmptyBSONCallback
 
gotLong(String, long) - 类 中的方法org.bson.BasicBSONCallback
 
gotLong(String, long) - 接口 中的方法org.bson.BSONCallback
Called when reading a field with a BsonType.INT64 value.
gotLong(String, long) - 类 中的方法org.bson.EmptyBSONCallback
 
gotMaxKey(String) - 类 中的方法org.bson.BasicBSONCallback
 
gotMaxKey(String) - 接口 中的方法org.bson.BSONCallback
Called when reading a field with a BsonType.MAX_KEY value.
gotMaxKey(String) - 类 中的方法org.bson.EmptyBSONCallback
 
gotMinKey(String) - 类 中的方法org.bson.BasicBSONCallback
 
gotMinKey(String) - 接口 中的方法org.bson.BSONCallback
Called when reading a field with a BsonType.MIN_KEY value.
gotMinKey(String) - 类 中的方法org.bson.EmptyBSONCallback
 
gotNull(String) - 类 中的方法org.bson.BasicBSONCallback
 
gotNull(String) - 接口 中的方法org.bson.BSONCallback
Called when reading a BSON field that exists but has a null value.
gotNull(String) - 类 中的方法org.bson.EmptyBSONCallback
 
gotObjectId(String, ObjectId) - 类 中的方法org.bson.BasicBSONCallback
 
gotObjectId(String, ObjectId) - 接口 中的方法org.bson.BSONCallback
Called when reading a field with a BsonType.OBJECT_ID value.
gotObjectId(String, ObjectId) - 类 中的方法org.bson.EmptyBSONCallback
 
gotRegex(String, String, String) - 类 中的方法org.bson.BasicBSONCallback
 
gotRegex(String, String, String) - 接口 中的方法org.bson.BSONCallback
Called when reading a field with a BsonType.REGULAR_EXPRESSION value.
gotRegex(String, String, String) - 类 中的方法org.bson.EmptyBSONCallback
 
gotString(String, String) - 类 中的方法org.bson.BasicBSONCallback
 
gotString(String, String) - 接口 中的方法org.bson.BSONCallback
Called when reading a field with a BsonType.STRING value.
gotString(String, String) - 类 中的方法org.bson.EmptyBSONCallback
 
gotSymbol(String, String) - 类 中的方法org.bson.BasicBSONCallback
 
gotSymbol(String, String) - 接口 中的方法org.bson.BSONCallback
Called when reading a field with a BsonType.SYMBOL value.
gotSymbol(String, String) - 类 中的方法org.bson.EmptyBSONCallback
 
gotTimestamp(String, int, int) - 类 中的方法org.bson.BasicBSONCallback
 
gotTimestamp(String, int, int) - 接口 中的方法org.bson.BSONCallback
Called when reading a field with a BsonType.TIMESTAMP value.
gotTimestamp(String, int, int) - 类 中的方法org.bson.EmptyBSONCallback
 
gotUndefined(String) - 类 中的方法org.bson.BasicBSONCallback
 
gotUndefined(String) - 接口 中的方法org.bson.BSONCallback
Called when reading a field with a BsonType.UNDEFINED value.
gotUndefined(String) - 类 中的方法org.bson.EmptyBSONCallback
 
gotUUID(String, long, long) - 类 中的方法org.bson.BasicBSONCallback
 
gotUUID(String, long, long) - 接口 中的方法org.bson.BSONCallback
Called when reading a field with a UUID value.
gotUUID(String, long, long) - 类 中的方法org.bson.EmptyBSONCallback
 
greaterThan(Object) - 类 中的方法com.mongodb.QueryBuilder
Equivalent to the $gt operator
greaterThanEquals(Object) - 类 中的方法com.mongodb.QueryBuilder
Equivalent to the $gte operator
GridFS - com.mongodb.gridfs中的类
Implementation of GridFS - a specification for storing and retrieving files that exceed the BSON-document size limit of 16MB.
GridFS(DB) - 类 的构造器com.mongodb.gridfs.GridFS
Creates a GridFS instance for the default bucket "fs" in the given database.
GridFS(DB, String) - 类 的构造器com.mongodb.gridfs.GridFS
Creates a GridFS instance for the specified bucket in the given database.
GridFSBucket - com.mongodb.client.gridfs中的接口
Represents a GridFS Bucket
GridFSBuckets - com.mongodb.client.gridfs中的类
A factory for GridFSBucket instances.
GridFSDBFile - com.mongodb.gridfs中的类
This class enables retrieving a GridFS file metadata and content.
GridFSDBFile() - 类 的构造器com.mongodb.gridfs.GridFSDBFile
 
GridFSDownloadByNameOptions - com.mongodb.client.gridfs.model中的类
已过时。
GridFSDownloadByNameOptions() - 类 的构造器com.mongodb.client.gridfs.model.GridFSDownloadByNameOptions
已过时。
Download the most recent version of the file.
GridFSDownloadOptions - com.mongodb.client.gridfs.model中的类
The GridFS download by name options Controls the selection of the revision to download
GridFSDownloadOptions() - 类 的构造器com.mongodb.client.gridfs.model.GridFSDownloadOptions
Download the most recent version of the file.
GridFSDownloadStream - com.mongodb.client.gridfs中的类
A GridFS InputStream for downloading data from GridFS Provides the GridFSFile for the file to being downloaded as well as the read methods of a InputStream This implementation of a InputStream will not throw IOExceptions.
GridFSDownloadStream() - 类 的构造器com.mongodb.client.gridfs.GridFSDownloadStream
 
GridFSFile - com.mongodb.client.gridfs.model中的类
The GridFSFile
GridFSFile(BsonValue, String, long, int, Date, String, Document) - 类 的构造器com.mongodb.client.gridfs.model.GridFSFile
Creates a new GridFSFile
GridFSFile(BsonValue, String, long, int, Date, String, Document, Document) - 类 的构造器com.mongodb.client.gridfs.model.GridFSFile
Creates a legacy implementation of the GridFSFile For GridFS files created in older versions of the driver.
GridFSFile - com.mongodb.gridfs中的类
The abstract class representing a GridFS file.
GridFSFile() - 类 的构造器com.mongodb.gridfs.GridFSFile
 
GridFSFileCodec - com.mongodb.client.gridfs.codecs中的类
A codec for GridFS Files
GridFSFileCodec(CodecRegistry) - 类 的构造器com.mongodb.client.gridfs.codecs.GridFSFileCodec
Create a new instance
GridFSFileCodecProvider - com.mongodb.client.gridfs.codecs中的类
A provider of codecs for GridFSFiles.
GridFSFileCodecProvider() - 类 的构造器com.mongodb.client.gridfs.codecs.GridFSFileCodecProvider
 
GridFSFindIterable - com.mongodb.client.gridfs中的接口
Iterable for the GridFS Files Collection.
GridFSInputFile - com.mongodb.gridfs中的类
This class represents a GridFS file to be written to the database.
GridFSInputFile(GridFS, InputStream, String, boolean) - 类 的构造器com.mongodb.gridfs.GridFSInputFile
Default constructor setting the GridFS file name and providing an input stream containing data to be written to the file.
GridFSInputFile(GridFS, InputStream, String) - 类 的构造器com.mongodb.gridfs.GridFSInputFile
Default constructor setting the GridFS file name and providing an input stream containing data to be written to the file.
GridFSInputFile(GridFS, String) - 类 的构造器com.mongodb.gridfs.GridFSInputFile
Constructor that only provides a file name, but does not rely on the presence of an InputStream.
GridFSInputFile(GridFS) - 类 的构造器com.mongodb.gridfs.GridFSInputFile
Minimal constructor that does not rely on the presence of an InputStream.
GridFSUploadOptions - com.mongodb.client.gridfs.model中的类
GridFS upload options Customizable options used when uploading files into GridFS
GridFSUploadOptions() - 类 的构造器com.mongodb.client.gridfs.model.GridFSUploadOptions
Construct a new instance.
GridFSUploadStream - com.mongodb.client.gridfs中的类
A GridFS OutputStream for uploading data into GridFS Provides the id for the file to be uploaded as well as the write methods of a OutputStream This implementation of a OutputStream will not throw IOExceptions.
GridFSUploadStream() - 类 的构造器com.mongodb.client.gridfs.GridFSUploadStream
 
group(TExpression, BsonField...) - 类 中的静态方法com.mongodb.client.model.Aggregates
Creates a $group pipeline stage for the specified filter
group(TExpression, List<BsonField>) - 类 中的静态方法com.mongodb.client.model.Aggregates
Creates a $group pipeline stage for the specified filter
group(DBObject, DBObject, DBObject, String) - 类 中的方法com.mongodb.DBCollection
Group documents in a collection by the specified key and performs simple aggregation functions such as computing counts and sums.
group(DBObject, DBObject, DBObject, String, String) - 类 中的方法com.mongodb.DBCollection
Group documents in a collection by the specified key and performs simple aggregation functions such as computing counts and sums.
group(DBObject, DBObject, DBObject, String, String, ReadPreference) - 类 中的方法com.mongodb.DBCollection
Group documents in a collection by the specified key and performs simple aggregation functions such as computing counts and sums.
group(GroupCommand) - 类 中的方法com.mongodb.DBCollection
Group documents in a collection by the specified key and performs simple aggregation functions such as computing counts and sums.
group(GroupCommand, ReadPreference) - 类 中的方法com.mongodb.DBCollection
Group documents in a collection by the specified key and performs simple aggregation functions such as computing counts and sums.
GroupCommand - com.mongodb中的类
This class groups the argument for a group operation and can build the underlying command object
GroupCommand(DBCollection, DBObject, DBObject, DBObject, String, String) - 类 的构造器com.mongodb.GroupCommand
Creates a new group command.
GroupCommand(DBCollection, String, DBObject, DBObject, String, String) - 类 的构造器com.mongodb.GroupCommand
Creates a new group command.
GroupOperation<T> - com.mongodb.operation中的类
Groups documents in a collection by the specified key and performs simple aggregation functions, such as computing counts and sums.
GroupOperation(MongoNamespace, BsonJavaScript, BsonDocument, Decoder<T>) - 类 的构造器com.mongodb.operation.GroupOperation
Create an operation that will perform a Group on a given collection.
GSSAPI_MECHANISM - 类 中的静态变量com.mongodb.MongoCredential
The GSSAPI mechanism.
gt(String, TItem) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that matches all documents where the value of the given field is greater than the specified value.
GT - 类 中的静态变量com.mongodb.QueryOperators
 
gte(String, TItem) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that matches all documents where the value of the given field is greater than or equal to the specified value.
GTE - 类 中的静态变量com.mongodb.QueryOperators
 

H

hasDecodeHooks() - 类 中的静态方法org.bson.BSON
Gets whether any decoding transformers have been registered for any classes.
hasEncodeHooks() - 类 中的静态方法org.bson.BSON
Gets whether any encoding transformers have been registered for any classes.
hasErrorCode() - 异常错误 中的方法org.bson.BSONException
Returns if the error code is set (i.e., not null).
hasErrors() - 类 中的方法com.mongodb.connection.BulkWriteBatchCombiner
Gets whether there are errors in the combined result.
hashCode() - 类 中的方法com.mongodb.bulk.BulkWriteError
 
hashCode() - 类 中的方法com.mongodb.bulk.BulkWriteUpsert
 
hashCode() - 类 中的方法com.mongodb.bulk.WriteConcernError
 
hashCode() - 类 中的方法com.mongodb.BulkWriteError
 
hashCode() - 异常错误 中的方法com.mongodb.BulkWriteException
 
hashCode() - 类 中的方法com.mongodb.BulkWriteUpsert
 
hashCode() - 类 中的方法com.mongodb.client.gridfs.model.GridFSFile
 
hashCode() - 类 中的方法com.mongodb.client.model.geojson.Geometry
 
hashCode() - 类 中的方法com.mongodb.client.model.geojson.GeometryCollection
 
hashCode() - 类 中的方法com.mongodb.client.model.geojson.LineString
 
hashCode() - 类 中的方法com.mongodb.client.model.geojson.MultiLineString
 
hashCode() - 类 中的方法com.mongodb.client.model.geojson.MultiPoint
 
hashCode() - 类 中的方法com.mongodb.client.model.geojson.MultiPolygon
 
hashCode() - 类 中的方法com.mongodb.client.model.geojson.NamedCoordinateReferenceSystem
 
hashCode() - 类 中的方法com.mongodb.client.model.geojson.Point
 
hashCode() - 类 中的方法com.mongodb.client.model.geojson.Polygon
 
hashCode() - 类 中的方法com.mongodb.client.model.geojson.PolygonCoordinates
 
hashCode() - 类 中的方法com.mongodb.client.model.geojson.Position
 
hashCode() - 类 中的方法com.mongodb.connection.ClusterDescription
 
hashCode() - 类 中的方法com.mongodb.connection.ClusterId
 
hashCode() - 类 中的方法com.mongodb.connection.ClusterSettings
 
hashCode() - 类 中的方法com.mongodb.connection.ConnectionDescription
 
hashCode() - 类 中的方法com.mongodb.connection.ConnectionId
 
hashCode() - 类 中的方法com.mongodb.connection.ConnectionPoolSettings
 
hashCode() - 类 中的方法com.mongodb.connection.ServerDescription
 
hashCode() - 类 中的方法com.mongodb.connection.ServerId
 
hashCode() - 类 中的方法com.mongodb.connection.ServerSettings
 
hashCode() - 类 中的方法com.mongodb.connection.ServerVersion
 
hashCode() - 类 中的方法com.mongodb.connection.SocketSettings
 
hashCode() - 类 中的方法com.mongodb.connection.SslSettings
 
hashCode() - 类 中的方法com.mongodb.ConnectionString
 
hashCode() - 类 中的方法com.mongodb.DBAddress
已过时。
 
hashCode() - 类 中的方法com.mongodb.DBObjectCodecProvider
 
hashCode() - 类 中的方法com.mongodb.DBRef
 
hashCode() - 类 中的方法com.mongodb.DBRefCodecProvider
 
hashCode() - 异常错误 中的方法com.mongodb.MongoBulkWriteException
 
hashCode() - 类 中的方法com.mongodb.MongoClientOptions
 
hashCode() - 类 中的方法com.mongodb.MongoClientURI
 
hashCode() - 类 中的方法com.mongodb.MongoCredential
 
hashCode() - 类 中的方法com.mongodb.MongoNamespace
 
hashCode() - 类 中的方法com.mongodb.MongoOptions
已过时。
 
hashCode() - 类 中的方法com.mongodb.ReadConcern
 
hashCode() - 类 中的方法com.mongodb.ServerAddress
 
hashCode() - 类 中的方法com.mongodb.ServerCursor
 
hashCode() - 类 中的方法com.mongodb.Tag
 
hashCode() - 类 中的方法com.mongodb.TaggableReadPreference
 
hashCode() - 类 中的方法com.mongodb.TagSet
 
hashCode() - 类 中的方法com.mongodb.WriteConcern
 
hashCode() - 类 中的方法com.mongodb.WriteConcernError
 
hashCode() - 类 中的方法com.mongodb.WriteError
 
hashCode() - 类 中的方法org.bson.BasicBSONObject
 
hashCode() - 类 中的方法org.bson.BsonArray
 
hashCode() - 类 中的方法org.bson.BsonBinary
 
hashCode() - 类 中的方法org.bson.BsonBoolean
 
hashCode() - 类 中的方法org.bson.BsonDateTime
 
hashCode() - 类 中的方法org.bson.BsonDbPointer
 
hashCode() - 类 中的方法org.bson.BsonDocument
 
hashCode() - 类 中的方法org.bson.BsonDocumentWrapper
 
hashCode() - 类 中的方法org.bson.BsonDouble
 
hashCode() - 类 中的方法org.bson.BsonInt32
 
hashCode() - 类 中的方法org.bson.BsonInt64
 
hashCode() - 类 中的方法org.bson.BsonJavaScript
 
hashCode() - 类 中的方法org.bson.BsonJavaScriptWithScope
 
hashCode() - 类 中的方法org.bson.BsonMaxKey
 
hashCode() - 类 中的方法org.bson.BsonMinKey
 
hashCode() - 类 中的方法org.bson.BsonNull
 
hashCode() - 类 中的方法org.bson.BsonObjectId
 
hashCode() - 类 中的方法org.bson.BsonRegularExpression
 
hashCode() - 类 中的方法org.bson.BsonString
 
hashCode() - 类 中的方法org.bson.BsonSymbol
 
hashCode() - 类 中的方法org.bson.BsonTimestamp
 
hashCode() - 类 中的方法org.bson.BsonUndefined
 
hashCode() - 类 中的方法org.bson.codecs.BsonTypeClassMap
 
hashCode() - 类 中的方法org.bson.codecs.DocumentCodecProvider
 
hashCode() - 类 中的方法org.bson.codecs.IterableCodecProvider
 
hashCode() - 类 中的方法org.bson.codecs.ValueCodecProvider
 
hashCode() - 类 中的方法org.bson.Document
 
hashCode() - 类 中的方法org.bson.LazyBSONObject
 
hashCode() - 类 中的方法org.bson.RawBsonDocument
 
hashCode() - 类 中的方法org.bson.types.Binary
 
hashCode() - 类 中的方法org.bson.types.BSONTimestamp
 
hashCode() - 类 中的方法org.bson.types.Code
 
hashCode() - 类 中的方法org.bson.types.CodeWithScope
 
hashCode() - 类 中的方法org.bson.types.CodeWScope
 
hashCode() - 类 中的方法org.bson.types.MaxKey
 
hashCode() - 类 中的方法org.bson.types.MinKey
 
hashCode() - 类 中的方法org.bson.types.ObjectId
 
hashCode() - 类 中的方法org.bson.types.Symbol
 
hashed(String) - 类 中的静态方法com.mongodb.client.model.Indexes
Create an index key for a hashed index on the given field.
hasNext() - 接口 中的方法com.mongodb.client.MongoCursor
 
hasNext() - 类 中的方法com.mongodb.DBCursor
Checks if there is another object available.
hasNext() - 接口 中的方法com.mongodb.operation.BatchCursor
Returns true if another batch of results exists.
hasNext() - 类 中的方法org.bson.LazyBSONList.LazyBSONListIterator
 
hasReadableServer(ReadPreference) - 类 中的方法com.mongodb.connection.ClusterDescription
Returns true if this cluster has at least one server that satisfies the given read preference.
hasRemaining() - 接口 中的方法org.bson.ByteBuf
States whether there are any elements between the current position and the limit.
hasRemaining() - 类 中的方法org.bson.ByteBufNIO
 
hasRemaining() - 接口 中的方法org.bson.io.BsonInput
Returns true if there are more bytes left in the stream.
hasRemaining() - 类 中的方法org.bson.io.ByteBufferBsonInput
 
hasTags(TagSet) - 类 中的方法com.mongodb.connection.ServerDescription
Returns true if the server has the given tags.
hasWritableServer() - 类 中的方法com.mongodb.connection.ClusterDescription
Returns true if this cluster has at least one server that can be used for write operations.
heartbeatConnectTimeout(int) - 类 中的方法com.mongodb.MongoClientOptions.Builder
Sets the connect timeout for connections used for the cluster heartbeat.
heartbeatFrequency(long, TimeUnit) - 类 中的方法com.mongodb.connection.ServerSettings.Builder
Sets the frequency that the cluster monitor attempts to reach each server.
heartbeatFrequency(int) - 类 中的方法com.mongodb.MongoClientOptions.Builder
Sets the heartbeat frequency.
heartbeatSocketTimeout(int) - 类 中的方法com.mongodb.MongoClientOptions.Builder
Sets the socket timeout for connections used for the cluster heartbeat.
hexMD5(byte[]) - 类 中的静态方法com.mongodb.util.Util
Produce hex representation of the MD5 digest of a byte array.
hexMD5(ByteBuffer, int, int) - 类 中的静态方法com.mongodb.util.Util
Produce hex representation of the MD5 digest of a byte array.
hint(Bson) - 类 中的方法com.mongodb.client.model.CountOptions
Sets the hint to apply.
hint(DBObject) - 类 中的方法com.mongodb.DBCursor
Informs the database of indexed fields of the collection in order to improve performance.
hint(String) - 类 中的方法com.mongodb.DBCursor
Informs the database of an indexed field of the collection in order to improve performance.
hint(BsonValue) - 类 中的方法com.mongodb.operation.CountOperation
Sets the hint to apply.
HINT - 类 中的静态变量com.mongodb.QueryOperators
 
hintString(String) - 类 中的方法com.mongodb.client.model.CountOptions
Sets the hint to apply.
Holder() - 类 的构造器com.mongodb.Mongo.Holder
 
hosts(List<ServerAddress>) - 类 中的方法com.mongodb.connection.ClusterSettings.Builder
Sets the hosts for the cluster.
hosts(Set<String>) - 类 中的方法com.mongodb.connection.ServerDescription.Builder
Sets all members of the replica set that are neither hidden, passive, nor arbiters.

I

ID_FIELD_NAME - 类 中的静态变量com.mongodb.DBCollection
 
IdGenerator - org.bson.codecs中的接口
Classes that implement this interface define a way to create IDs for MongoDB documents.
Immutable - com.mongodb.annotations中的注释类型
The class to which this annotation is applied is immutable.
in(String, TItem...) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that matches all documents where the value of a field equals any value in the list of specified values.
in(String, Iterable<TItem>) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that matches all documents where the value of a field equals any value in the list of specified values.
in(Object) - 类 中的方法com.mongodb.QueryBuilder
Equivalent of the $in operand
IN - 类 中的静态变量com.mongodb.QueryOperators
 
inc(String, Number) - 类 中的静态方法com.mongodb.client.model.Updates
Creates an update that increments the value of the field with the given name by the given value.
include(String...) - 类 中的静态方法com.mongodb.client.model.Projections
Creates a projection that includes all of the given fields.
include(List<String>) - 类 中的静态方法com.mongodb.client.model.Projections
Creates a projection that includes all of the given fields.
includeArrayIndex(String) - 类 中的方法com.mongodb.client.model.UnwindOptions
Sets the field to be used to store the array index of the unwound item
Indexes - com.mongodb.client.model中的类
A factory for defining index keys.
IndexModel - com.mongodb.client.model中的类
A model describing the creation of a single index.
IndexModel(Bson) - 类 的构造器com.mongodb.client.model.IndexModel
Construct an instance with the given keys.
IndexModel(Bson, IndexOptions) - 类 的构造器com.mongodb.client.model.IndexModel
Construct an instance with the given keys and options.
indexOf(Object) - 类 中的方法org.bson.BsonArray
 
indexOf(Object) - 类 中的方法org.bson.LazyBSONList
 
indexOptionDefaults(IndexOptionDefaults) - 类 中的方法com.mongodb.client.model.CreateCollectionOptions
Sets the index option defaults for the collection.
IndexOptionDefaults - com.mongodb.client.model中的类
The default options for a collection to apply on the creation of indexes.
IndexOptionDefaults() - 类 的构造器com.mongodb.client.model.IndexOptionDefaults
 
indexOptionDefaults(BsonDocument) - 类 中的方法com.mongodb.operation.CreateCollectionOperation
Sets the index option defaults document for the collection.
IndexOptions - com.mongodb.client.model中的类
The options to apply to the creation of an index.
IndexOptions() - 类 的构造器com.mongodb.client.model.IndexOptions
 
IndexRequest - com.mongodb.bulk中的类
The settings to apply to the creation of an index.
IndexRequest(BsonDocument) - 类 的构造器com.mongodb.bulk.IndexRequest
Construct a new instance with the given keys
info(String) - 接口 中的方法com.mongodb.diagnostics.logging.Logger
Log a message at the INFO level.
info(String, Throwable) - 接口 中的方法com.mongodb.diagnostics.logging.Logger
Log an exception (throwable) at the INFO level with an accompanying message.
INITIAL_BUFFER_SIZE - 类 中的静态变量com.mongodb.connection.ByteBufferBsonOutput
 
initializeOrderedBulkOperation() - 类 中的方法com.mongodb.DBCollection
Creates a builder for an ordered bulk write operation, consisting of an ordered collection of write requests, which can be any combination of inserts, updates, replaces, or removes.
initializeUnorderedBulkOperation() - 类 中的方法com.mongodb.DBCollection
Creates a builder for an unordered bulk operation, consisting of an unordered collection of write requests, which can be any combination of inserts, updates, replaces, or removes.
innerLog(String, String, BsonDocument, long) - 类 中的静态方法com.mongodb.connection.MongoQueryAnalyzer
 
insert(DBObject) - 类 中的方法com.mongodb.BulkWriteOperation
Add an insert request to the bulk operation
insert(MongoNamespace, boolean, WriteConcern, List<InsertRequest>) - 接口 中的方法com.mongodb.connection.Connection
Insert the documents using the insert wire protocol and apply the write concern.
insert(DBObject, WriteConcern) - 类 中的方法com.mongodb.DBCollection
Insert a document into a collection.
insert(DBObject...) - 类 中的方法com.mongodb.DBCollection
Insert documents into a collection.
insert(WriteConcern, DBObject...) - 类 中的方法com.mongodb.DBCollection
Insert documents into a collection.
insert(DBObject[], WriteConcern) - 类 中的方法com.mongodb.DBCollection
Insert documents into a collection.
insert(List<? extends DBObject>) - 类 中的方法com.mongodb.DBCollection
Insert documents into a collection.
insert(List<? extends DBObject>, WriteConcern) - 类 中的方法com.mongodb.DBCollection
Insert documents into a collection.
insert(DBObject[], WriteConcern, DBEncoder) - 类 中的方法com.mongodb.DBCollection
Insert documents into a collection.
insert(List<? extends DBObject>, WriteConcern, DBEncoder) - 类 中的方法com.mongodb.DBCollection
Insert documents into a collection.
insert(List<? extends DBObject>, InsertOptions) - 类 中的方法com.mongodb.DBCollection
Insert documents into a collection.
insertAsync(MongoNamespace, boolean, WriteConcern, List<InsertRequest>, SingleResultCallback<WriteConcernResult>) - 接口 中的方法com.mongodb.connection.AsyncConnection
Insert the documents using the insert wire protocol and apply the write concern asynchronously.
insertCommand(MongoNamespace, boolean, WriteConcern, List<InsertRequest>) - 接口 中的方法com.mongodb.connection.Connection
insertCommand(MongoNamespace, boolean, WriteConcern, Boolean, List<InsertRequest>) - 接口 中的方法com.mongodb.connection.Connection
Insert the documents using the insert command.
insertCommandAsync(MongoNamespace, boolean, WriteConcern, List<InsertRequest>, SingleResultCallback<BulkWriteResult>) - 接口 中的方法com.mongodb.connection.AsyncConnection
insertCommandAsync(MongoNamespace, boolean, WriteConcern, Boolean, List<InsertRequest>, SingleResultCallback<BulkWriteResult>) - 接口 中的方法com.mongodb.connection.AsyncConnection
Insert the documents using the insert command asynchronously.
insertMany(List<? extends TDocument>) - 接口 中的方法com.mongodb.client.MongoCollection
Inserts one or more documents.
insertMany(List<? extends TDocument>, InsertManyOptions) - 接口 中的方法com.mongodb.client.MongoCollection
Inserts one or more documents.
InsertManyOptions - com.mongodb.client.model中的类
The options to apply to an operation that inserts multiple documents into a collection.
InsertManyOptions() - 类 的构造器com.mongodb.client.model.InsertManyOptions
 
insertOne(TDocument) - 接口 中的方法com.mongodb.client.MongoCollection
Inserts the provided document.
insertOne(TDocument, InsertOneOptions) - 接口 中的方法com.mongodb.client.MongoCollection
Inserts the provided document.
InsertOneModel<T> - com.mongodb.client.model中的类
A model describing an insert of a single document.
InsertOneModel(T) - 类 的构造器com.mongodb.client.model.InsertOneModel
Construct a new instance.
InsertOneOptions - com.mongodb.client.model中的类
The options to apply to an operation that inserts a single document into a collection.
InsertOneOptions() - 类 的构造器com.mongodb.client.model.InsertOneOptions
 
InsertOperation - com.mongodb.operation中的类
An operation that inserts one or more documents into a collection.
InsertOperation(MongoNamespace, boolean, WriteConcern, List<InsertRequest>) - 类 的构造器com.mongodb.operation.InsertOperation
Construct an instance.
InsertOptions - com.mongodb中的类
Options related to insertion of documents into MongoDB.
InsertOptions() - 类 的构造器com.mongodb.InsertOptions
 
InsertRequest - com.mongodb.bulk中的类
A representation of a document to insert.
InsertRequest(BsonDocument) - 类 的构造器com.mongodb.bulk.InsertRequest
Construct an instance with the given document.
IntegerCodec - org.bson.codecs中的类
Encodes and decodes Integer objects.
IntegerCodec() - 类 的构造器org.bson.codecs.IntegerCodec
 
into(A) - 接口 中的方法com.mongodb.client.MongoIterable
Iterates over all the documents, adding each to the given target.
intValue() - 类 中的方法org.bson.BsonDouble
 
intValue() - 类 中的方法org.bson.BsonInt32
 
intValue() - 类 中的方法org.bson.BsonInt64
 
intValue() - 类 中的方法org.bson.BsonNumber
Returns the value of the specified number as an int, which may involve rounding or truncation.
invalidHostNameAllowed(boolean) - 类 中的方法com.mongodb.connection.SslSettings.Builder
Define whether invalid host names should be allowed.
is(Object) - 类 中的方法com.mongodb.QueryBuilder
Equivalent of the find({key:value})
isAcknowledged() - 类 中的方法com.mongodb.BulkWriteResult
Returns true if the write was acknowledged.
isAcknowledged() - 类 中的方法com.mongodb.WriteConcern
Returns true if this write concern indicates that write operations must be acknowledged.
isAlwaysUseMBeans() - 类 中的方法com.mongodb.MongoClientOptions
Gets whether JMX beans registered by the driver should always be MBeans, regardless of whether the VM is Java 6 or greater.
isAlwaysUseMBeans() - 类 中的方法com.mongodb.MongoOptions
已过时。
Gets whether JMX beans registered by the driver should always be MBeans, regardless of whether the VM is Java 6 or greater.
isArray(Object) - 类 中的方法org.bson.BsonDocument
Returns true if the value of the key is a BsonArray, returns false if the document does not contain the key.
isArray() - 类 中的方法org.bson.BsonValue
Returns true if this is a BsonArray, false otherwise.
isAutoIndex() - 类 中的方法com.mongodb.client.model.CreateCollectionOptions
Gets if auto-index is enabled
isAutoIndex() - 类 中的方法com.mongodb.operation.CreateCollectionOperation
The auto index value.
isBackground() - 类 中的方法com.mongodb.bulk.IndexRequest
Create the index in the background
isBackground() - 类 中的方法com.mongodb.client.model.IndexOptions
Create the index in the background
isBinary(Object) - 类 中的方法org.bson.BsonDocument
Returns true if the value of the key is a BsonBinary, returns false if the document does not contain the key.
isBinary() - 类 中的方法org.bson.BsonValue
Returns true if this is a BsonBinary, false otherwise.
isBoolean(Object) - 类 中的方法org.bson.BsonDocument
Returns true if the value of the key is a BsonBoolean, returns false if the document does not contain the key.
isBoolean() - 类 中的方法org.bson.BsonValue
Returns true if this is a BsonBoolean, false otherwise.
isCapped() - 类 中的方法com.mongodb.client.model.CreateCollectionOptions
Gets whether the collection is capped.
isCapped() - 类 中的方法com.mongodb.DBCollection
Checks whether this collection is capped
isCapped() - 类 中的方法com.mongodb.operation.CreateCollectionOperation
Gets whether the collection is capped.
isClosed() - 接口 中的方法com.mongodb.async.AsyncBatchCursor
Return true if the AsyncBatchCursor has been closed
isClosed() - 接口 中的方法com.mongodb.connection.Cluster
Whether all the servers in the cluster are closed or not.
isClosed() - 接口 中的方法com.mongodb.connection.Stream
Returns the closed state of the connection
isClosed() - 类 中的方法org.bson.AbstractBsonReader
Return true if the reader has been closed.
isClosed() - 类 中的方法org.bson.AbstractBsonWriter
Returns whether this writer has been closed.
isCompatibleWithDriver() - 类 中的方法com.mongodb.connection.ClusterDescription
Return whether the cluster is compatible with the driver.
isCompatibleWithDriver() - 类 中的方法com.mongodb.connection.ServerDescription
Return whether the server is compatible with the driver.
isContainer() - 枚举 中的方法org.bson.BsonType
Returns whether this type is some sort of containing type, e.g. a document or array.
isContinueOnError() - 类 中的方法com.mongodb.InsertOptions
Whether documents will continue to be inserted after a failure to insert one (most commonly due to a duplicate key error).
isCursorFinalizerEnabled() - 类 中的方法com.mongodb.MongoClientOptions
Gets whether there is a a finalize method created that cleans up instances of DBCursor that the client does not close.
isCursorFinalizerEnabled() - 类 中的方法com.mongodb.MongoOptions
已过时。
Gets whether there is a a finalize method created that cleans up instances of DBCursor that the client does not close.
isDateTime(Object) - 类 中的方法org.bson.BsonDocument
Returns true if the value of the key is a BsonDateTime, returns false if the document does not contain the key.
isDateTime() - 类 中的方法org.bson.BsonValue
Returns true if this is a BsonDateTime, false otherwise.
isDBPointer() - 类 中的方法org.bson.BsonValue
Returns true if this is a BsonDbPointer, false otherwise.
isDebugEnabled() - 接口 中的方法com.mongodb.diagnostics.logging.Logger
Is the logger instance enabled for the DEBUG level?
isDocument(Object) - 类 中的方法org.bson.BsonDocument
Returns true if the value of the key is a BsonDocument, returns false if the document does not contain the key.
isDocument() - 类 中的方法org.bson.BsonValue
Returns true if this is a BsonDocument, false otherwise.
isDouble(Object) - 类 中的方法org.bson.BsonDocument
Returns true if the value of the key is a BsonDouble, returns false if the document does not contain the key.
isDouble() - 类 中的方法org.bson.BsonValue
Returns true if this is a BsonDouble, false otherwise.
isDropTarget() - 类 中的方法com.mongodb.client.model.RenameCollectionOptions
Gets if mongod should drop the target of renameCollection prior to renaming the collection.
isDropTarget() - 类 中的方法com.mongodb.operation.RenameCollectionOperation
Gets if mongod should drop the target of renameCollection prior to renaming the collection.
isEmpty() - 类 中的方法com.mongodb.BasicDBObjectBuilder
Returns true if no key/value was inserted into the top level document.
isEmpty() - 类 中的方法org.bson.BsonArray
 
isEmpty() - 类 中的方法org.bson.BsonDocument
 
isEmpty() - 类 中的方法org.bson.BsonDocumentWrapper
 
isEmpty() - 类 中的方法org.bson.Document
 
isEmpty() - 类 中的方法org.bson.LazyBSONObject
Gets whether this is an empty BSONObject.
isEmpty() - 类 中的方法org.bson.RawBsonDocument
 
isEmpty() - 类 中的方法org.bson.util.ClassMap
As per java.util.Map, returns true if this map contains no key-value mappings.
isEnabled() - 类 中的方法com.mongodb.connection.SslSettings
Returns whether SSL is enabled.
isEncodingCollectibleDocument(boolean) - 类 中的方法org.bson.codecs.EncoderContext.Builder
Set to true if the the value to be encoded is a document that will be put in a MongoDB collection.
isEncodingCollectibleDocument() - 类 中的方法org.bson.codecs.EncoderContext
Returns true if the the value to be encoded is a document that will be put in a MongoDB collection.
isErrorEnabled() - 接口 中的方法com.mongodb.diagnostics.logging.Logger
Is the logger instance enabled for the ERROR level?
isFsync() - 类 中的方法com.mongodb.MongoOptions
已过时。
Gets the "fsync" value of the global WriteConcern.
isIndent() - 类 中的方法org.bson.json.JsonWriterSettings
The indentation mode.
isInfoEnabled() - 接口 中的方法com.mongodb.diagnostics.logging.Logger
Is the logger instance enabled for the INFO level?
isInt32(Object) - 类 中的方法org.bson.BsonDocument
Returns true if the value of the key is a BsonInt32, returns false if the document does not contain the key.
isInt32() - 类 中的方法org.bson.BsonValue
Returns true if this is a BsonInt32, false otherwise.
isInt64(Object) - 类 中的方法org.bson.BsonDocument
Returns true if the value of the key is a BsonInt64, returns false if the document does not contain the key.
isInt64() - 类 中的方法org.bson.BsonValue
Returns true if this is a BsonInt64, false otherwise.
isInvalidHostNameAllowed() - 类 中的方法com.mongodb.connection.SslSettings
Returns whether invalid host names should be allowed.
isJ() - 类 中的方法com.mongodb.MongoOptions
已过时。
Gets the "j" value of the global WriteConcern.
isJavaScript() - 类 中的方法org.bson.BsonValue
Returns true if this is a BsonJavaScript, false otherwise.
isJavaScriptWithScope() - 类 中的方法org.bson.BsonValue
Returns true if this is a BsonJavaScriptWithScope, false otherwise.
isJsMode() - 类 中的方法com.mongodb.operation.MapReduceToCollectionOperation
Gets the flag that specifies whether to convert intermediate data into BSON format between the execution of the map and reduce functions.
isJsMode() - 类 中的方法com.mongodb.operation.MapReduceWithInlineResultsOperation
Gets the flag that specifies whether to convert intermediate data into BSON format between the execution of the map and reduce functions.
isKeepAlive() - 类 中的方法com.mongodb.connection.SocketSettings
Gets whether keep-alive is enabled.
isLocked() - 类 中的方法com.mongodb.Mongo
Returns true if the database is locked (read-only), false otherwise.
isMaster(ServerAddress) - 类 中的方法com.mongodb.ReplicaSetStatus
Checks to see if a given server is the primary server in this replica set.
isModifiedCountAvailable() - 类 中的方法com.mongodb.bulk.BulkWriteResult
Returns true if the server was able to provide a count of modified documents.
isModifiedCountAvailable() - 类 中的方法com.mongodb.BulkWriteResult
Returns true if the server was able to provide a count of modified documents.
isModifiedCountAvailable() - 类 中的方法com.mongodb.client.result.UpdateResult
Gets a value indicating whether the modified count is available.
isMulti() - 类 中的方法com.mongodb.bulk.DeleteRequest
Gets whether all documents matching the query filter will be removed.
isMulti() - 类 中的方法com.mongodb.bulk.UpdateRequest
Gets whether this update will update all documents matching the filter.
isNoCursorTimeout() - 类 中的方法com.mongodb.client.model.FindOptions
The server normally times out idle cursors after an inactivity period (10 minutes) to prevent excess memory use.
isNoCursorTimeout() - 类 中的方法com.mongodb.operation.FindOperation
Returns true if cursor timeout has been turned off.
isNonAtomic() - 类 中的方法com.mongodb.operation.MapReduceToCollectionOperation
True if the post-processing step will prevent MongoDB from locking the database.
isNull(Object) - 类 中的方法org.bson.BsonDocument
Returns true if the value of the key is a BsonNull, returns false if the document does not contain the key.
isNull() - 类 中的方法org.bson.BsonValue
Returns true if this is a BsonNull, false otherwise.
isNumber(Object) - 类 中的方法org.bson.BsonDocument
Returns true if the value of the key is a BsonNumber, returns false if the document does not contain the key.
isNumber() - 类 中的方法org.bson.BsonValue
Returns true if this is a BsonNumber, false otherwise.
isObjectId(Object) - 类 中的方法org.bson.BsonDocument
Returns true if the value of the key is a BsonObjectId, returns false if the document does not contain the key.
isObjectId() - 类 中的方法org.bson.BsonValue
Returns true if this is an BsonObjectId, false otherwise.
isOk() - 类 中的方法com.mongodb.connection.ServerDescription
The isOK() result from requesting this information from the server
isOplogReplay() - 类 中的方法com.mongodb.client.model.FindOptions
Users should not set this under normal circumstances.
isOplogReplay() - 类 中的方法com.mongodb.operation.FindOperation
Internal replication use only.
isOrdered() - 类 中的方法com.mongodb.BulkWriteOperation
Returns true if this is building an ordered bulk write request.
isOrdered() - 类 中的方法com.mongodb.client.model.BulkWriteOptions
If true, then when a write fails, return without performing the remaining writes.
isOrdered() - 类 中的方法com.mongodb.client.model.InsertManyOptions
Gets whether the documents should be inserted in the order provided, stopping on the first failed insertion.
isOrdered() - 类 中的方法com.mongodb.operation.BaseWriteOperation
Gets whether the writes are ordered.
isOrdered() - 类 中的方法com.mongodb.operation.MixedBulkWriteOperation
Gets whether the writes are ordered.
isPartial() - 类 中的方法com.mongodb.client.model.FindOptions
Get partial results from a sharded cluster if one or more shards are unreachable (instead of throwing an error).
isPartial() - 类 中的方法com.mongodb.operation.FindOperation
Returns true if can get partial results from a mongos if some shards are down.
isPartialObject() - 类 中的方法com.mongodb.BasicDBList
 
isPartialObject() - 类 中的方法com.mongodb.BasicDBObject
Whether BasicDBObject.markAsPartialObject() was ever called only matters if you are going to upsert and do not want to risk losing fields.
isPartialObject() - 接口 中的方法com.mongodb.DBObject
Whether DBObject.markAsPartialObject() was ever called only matters if you are going to upsert and do not want to risk losing fields.
isPartialObject() - 类 中的方法com.mongodb.gridfs.GridFSFile
 
isPartialObject() - 类 中的方法com.mongodb.LazyDBList
 
isPartialObject() - 类 中的方法com.mongodb.LazyDBObject
 
isPartialObject() - 类 中的方法com.mongodb.ReflectionDBObject
 
isPreserveNullAndEmptyArrays() - 类 中的方法com.mongodb.client.model.UnwindOptions
If true the unwind stage will include documents that have null values or empty arrays
isPrimary() - 类 中的方法com.mongodb.connection.ServerDescription
Returns whether this can be treated as a primary server.
isReadOnly() - 类 中的方法com.mongodb.operation.CreateUserOperation
Returns true if the user is a readOnly user.
isReadOnly() - 类 中的方法com.mongodb.operation.UpdateUserOperation
Returns true if the user is a readOnly user.
isRegularExpression() - 类 中的方法org.bson.BsonValue
Returns true if this is a BsonRegularExpression, false otherwise.
isReplicaSetMember() - 类 中的方法com.mongodb.connection.ServerDescription
Gets whether this server is a replica set member.
isReturnOriginal() - 类 中的方法com.mongodb.operation.FindAndReplaceOperation
When false, returns the replaced document rather than the original.
isReturnOriginal() - 类 中的方法com.mongodb.operation.FindAndUpdateOperation
When false, returns the updated document rather than the original.
isSafe() - 类 中的方法com.mongodb.MongoOptions
已过时。
Returns whether the driver will use a WriteConcern of WriteConcern.ACKNOWLEDGED for all operations.
isSecondary() - 类 中的方法com.mongodb.connection.ServerDescription
Returns whether this can be treated as a secondary server.
isServerDefault() - 类 中的方法com.mongodb.ReadConcern
 
isServerDefault() - 类 中的方法com.mongodb.WriteConcern
Gets whether this write concern indicates that the server's default write concern will be used.
isSharded() - 类 中的方法com.mongodb.operation.MapReduceToCollectionOperation
True if the output database is sharded
isShardRouter() - 类 中的方法com.mongodb.connection.ServerDescription
Gets whether this is a server that is the entry point to a sharded instance of MongoDB.
isSlaveOk() - 类 中的方法com.mongodb.operation.FindOperation
Returns true if set to allowed to query non-primary replica set members.
isSlaveOk() - 类 中的方法com.mongodb.ReadPreference
True if this read preference allows reading from a secondary member of a replica set.
isSlaveOk() - 类 中的方法com.mongodb.TaggableReadPreference
 
isSocketKeepAlive() - 类 中的方法com.mongodb.MongoClientOptions
This flag controls the socket keep alive feature that keeps a connection alive through firewalls Socket.setKeepAlive(boolean) Default is false.
isSocketKeepAlive() - 类 中的方法com.mongodb.MongoOptions
已过时。
Gets the flag that controls the socket keep alive feature that keeps a connection alive through firewalls.
isSparse() - 类 中的方法com.mongodb.bulk.IndexRequest
If true, the index only references documents with the specified field
isSparse() - 类 中的方法com.mongodb.client.model.IndexOptions
If true, the index only references documents with the specified field
isSslEnabled() - 类 中的方法com.mongodb.MongoClientOptions
Whether to use SSL.
isSslInvalidHostNameAllowed() - 类 中的方法com.mongodb.MongoClientOptions
Returns whether invalid host names should be allowed if SSL is enabled.
isStackEmpty() - 类 中的方法org.bson.BasicBSONCallback
Returns whether this is the top level or not
isStandAlone() - 类 中的方法com.mongodb.connection.ServerDescription
Gets whether this is part of a replica set/sharded system, or is a single server.
isString(Object) - 类 中的方法org.bson.BsonDocument
Returns true if the value of the key is a BsonString, returns false if the document does not contain the key.
isString() - 类 中的方法org.bson.BsonValue
Returns true if this is a BsonString, false otherwise.
isSymbol() - 类 中的方法org.bson.BsonValue
Returns true if this is a BsonSymbol, false otherwise.
isTailable() - 枚举 中的方法com.mongodb.CursorType
True if the cursor type is tailable.
isTimestamp(Object) - 类 中的方法org.bson.BsonDocument
Returns true if the value of the key is a BsonTimestamp, returns false if the document does not contain the key.
isTimestamp() - 类 中的方法org.bson.BsonValue
Returns true if this is a BsonTimestamp, false otherwise.
isTraceEnabled() - 接口 中的方法com.mongodb.diagnostics.logging.Logger
Is the logger instance enabled for the TRACE level?
isTrue(String, boolean) - 类 中的静态方法com.mongodb.assertions.Assertions
Throw IllegalStateException if the condition if false.
isTrue(String, boolean, SingleResultCallback<?>) - 类 中的静态方法com.mongodb.assertions.Assertions
Throw IllegalStateException if the condition if false.
isTrue(String, boolean) - 类 中的静态方法org.bson.assertions.Assertions
Throw IllegalStateException if the condition if false.
isTrueArgument(String, boolean) - 类 中的静态方法com.mongodb.assertions.Assertions
Throw IllegalArgumentException if the condition if false.
isTrueArgument(String, boolean) - 类 中的静态方法org.bson.assertions.Assertions
Throw IllegalArgumentException if the condition if false.
isUnique() - 类 中的方法com.mongodb.bulk.IndexRequest
Gets if the index should be unique.
isUnique() - 类 中的方法com.mongodb.client.model.IndexOptions
Gets if the index should be unique.
isUnwrapped() - 类 中的方法org.bson.BsonDocumentWrapper
Determine whether the document has been unwrapped already.
isUpdateOfExisting() - 类 中的方法com.mongodb.WriteConcernResult
Returns true if the write was an update of an existing document.
isUpdateOfExisting() - 类 中的方法com.mongodb.WriteResult
Returns true if this write resulted in an update of an existing document.
isUpsert() - 类 中的方法com.mongodb.bulk.UpdateRequest
Gets whether this update will insert a new document if no documents match the filter.
isUpsert() - 类 中的方法com.mongodb.client.model.FindOneAndReplaceOptions
Returns true if a new document should be inserted if there are no matches to the query filter.
isUpsert() - 类 中的方法com.mongodb.client.model.FindOneAndUpdateOptions
Returns true if a new document should be inserted if there are no matches to the query filter.
isUpsert() - 类 中的方法com.mongodb.client.model.UpdateOptions
Returns true if a new document should be inserted if there are no matches to the query filter.
isUpsert() - 类 中的方法com.mongodb.operation.FindAndReplaceOperation
Returns true if a new document should be inserted if there are no matches to the query filter.
isUpsert() - 类 中的方法com.mongodb.operation.FindAndUpdateOperation
Returns true if a new document should be inserted if there are no matches to the query filter.
isUsePowerOf2Sizes() - 类 中的方法com.mongodb.client.model.CreateCollectionOptions
Gets whether the usePowerOf2Sizes allocation strategy is turned on for this collection.
isUsePowerOf2Sizes() - 类 中的方法com.mongodb.operation.CreateCollectionOperation
Gets whether usePowerOf2Sizes should be used foe the allocation strategy.
isValid(String) - 类 中的静态方法org.bson.types.ObjectId
Checks if a string could be an ObjectId.
isVerbose() - 类 中的方法com.mongodb.MapReduceCommand
Gets the verbosity of the MapReduce job.
isVerbose() - 类 中的方法com.mongodb.operation.MapReduceToCollectionOperation
Gets whether to include the timing information in the result information.
isVerbose() - 类 中的方法com.mongodb.operation.MapReduceWithInlineResultsOperation
Gets whether to include the timing information in the result information.
isWarnEnabled() - 接口 中的方法com.mongodb.diagnostics.logging.Logger
Is the logger instance enabled for the WARN level?
itcount() - 类 中的方法com.mongodb.DBCursor
For testing only!
IterableCodec - org.bson.codecs中的类
Encodes and decodes Iterable objects.
IterableCodec(CodecRegistry, BsonTypeClassMap) - 类 的构造器org.bson.codecs.IterableCodec
Construct a new instance with the given CodecRegistry and BsonTypeClassMap.
IterableCodec(CodecRegistry, BsonTypeClassMap, Transformer) - 类 的构造器org.bson.codecs.IterableCodec
Construct a new instance with the given CodecRegistry and BsonTypeClassMap.
IterableCodecProvider - org.bson.codecs中的类
A CodecProvider for classes than implement the Iterable interface.
IterableCodecProvider() - 类 的构造器org.bson.codecs.IterableCodecProvider
Construct a new instance with a default BsonTypeClassMap and no Transformer.
IterableCodecProvider(Transformer) - 类 的构造器org.bson.codecs.IterableCodecProvider
Construct a new instance with a default BsonTypeClassMap and the given Transformer.
IterableCodecProvider(BsonTypeClassMap) - 类 的构造器org.bson.codecs.IterableCodecProvider
Construct a new instance with the given instance of BsonTypeClassMap and no Transformer.
IterableCodecProvider(BsonTypeClassMap, Transformer) - 类 的构造器org.bson.codecs.IterableCodecProvider
Construct a new instance with the given instance of BsonTypeClassMap and Transformer.
iterator() - 接口 中的方法com.mongodb.client.MongoIterable
 
iterator() - 类 中的方法com.mongodb.DBCursor
Creates a copy of this cursor object that can be iterated.
iterator() - 类 中的方法com.mongodb.TagSet
 
iterator() - 类 中的方法org.bson.BsonArray
 
iterator() - 类 中的方法org.bson.LazyBSONList
 

J

j - 类 中的变量com.mongodb.MongoOptions
已过时。
The "j" value of the global WriteConcern. true indicates writes should wait for a journaling group commit Default is false.
JAVA_SASL_CLIENT_PROPERTIES_KEY - 类 中的静态变量com.mongodb.MongoCredential
 
JAVA_SUBJECT_KEY - 类 中的静态变量com.mongodb.MongoCredential
 
JMXConnectionPoolListener - com.mongodb.management中的类
A connection pool listener that manages a set of JMX MBeans, one for each connection pool.
JMXConnectionPoolListener() - 类 的构造器com.mongodb.management.JMXConnectionPoolListener
 
joinString(Object[], char) - 类 中的静态方法com.mongodb.connection.MongoQueryAnalyzer
 
JOURNAL_SAFE - 类 中的静态变量com.mongodb.WriteConcern
已过时。
JOURNALED - 类 中的静态变量com.mongodb.WriteConcern
Write operations wait for the server to group commit to the journal file on disk.
jsMode(boolean) - 接口 中的方法com.mongodb.client.MapReduceIterable
Sets the flag that specifies whether to convert intermediate data into BSON format between the execution of the map and reduce functions.
jsMode(boolean) - 类 中的方法com.mongodb.operation.MapReduceToCollectionOperation
Sets the flag that specifies whether to convert intermediate data into BSON format between the execution of the map and reduce functions.
jsMode(boolean) - 类 中的方法com.mongodb.operation.MapReduceWithInlineResultsOperation
Sets the flag that specifies whether to convert intermediate data into BSON format between the execution of the map and reduce functions.
JSON - com.mongodb.util中的类
Helper methods for JSON serialization and de-serialization
JSON() - 类 的构造器com.mongodb.util.JSON
 
JSONCallback - com.mongodb.util中的类
Converts JSON to DBObjects and vice versa.
JSONCallback() - 类 的构造器com.mongodb.util.JSONCallback
 
JsonMode - org.bson.json中的枚举
An enumeration of the supported output modes of JSONWriter.
JSONParseException - com.mongodb.util中的异常错误
Exception that is thrown when invalid JSON is encountered by the parser.
JSONParseException(String, int) - 异常错误 的构造器com.mongodb.util.JSONParseException
Creates a new instance.
JSONParseException(String, int, Throwable) - 异常错误 的构造器com.mongodb.util.JSONParseException
Creates a new instance.
JsonParseException - org.bson.json中的异常错误
JSONParseException indicates some exception happened during JSON processing.
JsonParseException() - 异常错误 的构造器org.bson.json.JsonParseException
Constructs a new runtime exception with null as its detail message.
JsonParseException(String) - 异常错误 的构造器org.bson.json.JsonParseException
Constructs a new runtime exception with the specified detail message.
JsonParseException(String, Object...) - 异常错误 的构造器org.bson.json.JsonParseException
Constructs a new runtime exception with string formatted using specified pattern and arguments.
JsonParseException(Throwable) - 异常错误 的构造器org.bson.json.JsonParseException
Create a JSONParseException with the given Throwable cause.
JsonReader - org.bson.json中的类
Reads a JSON in one of the following modes: Strict mode that conforms to the JSON RFC specifications.
JsonReader(String) - 类 的构造器org.bson.json.JsonReader
Constructs a new instance with the given JSON string.
JsonReader.Context - org.bson.json中的类
 
JsonReader.Mark - org.bson.json中的类
 
JSONSerializers - com.mongodb.util中的类
Defines static methods for getting ObjectSerializer instances that produce various flavors of JSON.
JsonWriter - org.bson.json中的类
A BsonWriter implementation that outputs a JSON representation of BSON.
JsonWriter(Writer) - 类 的构造器org.bson.json.JsonWriter
Creates a new instance which uses writer to write JSON to.
JsonWriter(Writer, JsonWriterSettings) - 类 的构造器org.bson.json.JsonWriter
Creates a new instance which uses writer to write JSON to and uses the given settings.
JsonWriter.Context - org.bson.json中的类
The context for the writer, inheriting all the values from AbstractBsonWriter.Context, and additionally providing settings for the indentation level and whether there are any child elements at this level.
JsonWriterSettings - org.bson.json中的类
Settings to control the behavior of a JSONWriter instance.
JsonWriterSettings() - 类 的构造器org.bson.json.JsonWriterSettings
Creates a new instance with default values for all properties.
JsonWriterSettings(JsonMode) - 类 的构造器org.bson.json.JsonWriterSettings
Creates a new instance with the given output mode and default values for all other properties.
JsonWriterSettings(boolean) - 类 的构造器org.bson.json.JsonWriterSettings
Creates a new instance with indent mode enabled, and the default value for all other properties.
JsonWriterSettings(JsonMode, boolean) - 类 的构造器org.bson.json.JsonWriterSettings
Creates a new instance with the given output mode, indent mode enabled, and the default value for all other properties.
JsonWriterSettings(JsonMode, String) - 类 的构造器org.bson.json.JsonWriterSettings
Creates a new instance with the given values for all properties, indent mode enabled and the default value of newLineCharacters.
JsonWriterSettings(JsonMode, String, String) - 类 的构造器org.bson.json.JsonWriterSettings
Creates a new instance with the given values for all properties and indent mode enabled.

K

keepAlive(boolean) - 类 中的方法com.mongodb.connection.SocketSettings.Builder
Sets keep-alive.
key(BsonDocument) - 类 中的方法com.mongodb.operation.GroupOperation
Sets the document containing the field or fields to group.
keyFunction(BsonJavaScript) - 类 中的方法com.mongodb.operation.GroupOperation
Sets the function that creates a "key object" for use as the grouping key.
keySet() - 类 中的方法com.mongodb.gridfs.GridFSFile
 
keySet() - 类 中的方法com.mongodb.ReflectionDBObject.JavaWrapper
Gets all the fields on this object.
keySet() - 类 中的方法com.mongodb.ReflectionDBObject
 
keySet() - 类 中的方法org.bson.BsonDocument
 
keySet() - 类 中的方法org.bson.BsonDocumentWrapper
 
keySet() - 接口 中的方法org.bson.BSONObject
Returns this object's fields' names
keySet() - 类 中的方法org.bson.Document
 
keySet() - 类 中的方法org.bson.LazyBSONObject
 
keySet() - 类 中的方法org.bson.RawBsonDocument
 
keySet() - 类 中的方法org.bson.types.BasicBSONList
 
killCursor(List<Long>) - 接口 中的方法com.mongodb.connection.Connection
killCursor(MongoNamespace, List<Long>) - 接口 中的方法com.mongodb.connection.Connection
Kills the given list of cursors.
killCursorAsync(List<Long>, SingleResultCallback<Void>) - 接口 中的方法com.mongodb.connection.AsyncConnection
killCursorAsync(MongoNamespace, List<Long>, SingleResultCallback<Void>) - 接口 中的方法com.mongodb.connection.AsyncConnection
Asynchronously Kills the given list of cursors.

L

language(String) - 类 中的方法com.mongodb.client.model.TextSearchOptions
Set the language for the text search
LANGUAGE - 类 中的静态变量com.mongodb.QueryOperators
 
languageOverride(String) - 类 中的方法com.mongodb.bulk.IndexRequest
Sets the name of the field that contains the language string.
languageOverride(String) - 类 中的方法com.mongodb.client.model.IndexOptions
Sets the name of the field that contains the language string.
last(String, TExpression) - 类 中的静态方法com.mongodb.client.model.Accumulators
Gets a field name for a $group operation representing the value of the given expression when applied to the last member of the group.
lastIndexOf(Object) - 类 中的方法org.bson.BsonArray
 
lastIndexOf(Object) - 类 中的方法org.bson.LazyBSONList
 
LatencyMinimizingServerSelector - com.mongodb.selector中的类
A server selector that accepts only servers within the given ping-time latency difference from the faster of the servers.
LatencyMinimizingServerSelector(long, TimeUnit) - 类 的构造器com.mongodb.selector.LatencyMinimizingServerSelector
 
LazyBSONCallback - org.bson中的类
A BSONCallback for creation of LazyBSONObject and LazyBSONList instances.
LazyBSONCallback() - 类 的构造器org.bson.LazyBSONCallback
 
LazyBSONDecoder - org.bson中的类
A decoder for LazyBSONObject instances.
LazyBSONDecoder() - 类 的构造器org.bson.LazyBSONDecoder
 
LazyBSONList - org.bson中的类
A LazyBSONObject representing a BSON array.
LazyBSONList(byte[], LazyBSONCallback) - 类 的构造器org.bson.LazyBSONList
Construct an instance with the given raw bytes and offset.
LazyBSONList(byte[], int, LazyBSONCallback) - 类 的构造器org.bson.LazyBSONList
Construct an instance with the given raw bytes and offset.
LazyBSONList.LazyBSONListIterator - org.bson中的类
An iterator over the values in a LazyBsonList.
LazyBSONListIterator() - 类 的构造器org.bson.LazyBSONList.LazyBSONListIterator
Construct an instance
LazyBSONObject - org.bson中的类
An immutable BSONObject backed by a byte buffer that lazily provides keys and values on request.
LazyBSONObject(byte[], LazyBSONCallback) - 类 的构造器org.bson.LazyBSONObject
Construct an instance.
LazyBSONObject(byte[], int, LazyBSONCallback) - 类 的构造器org.bson.LazyBSONObject
Construct an instance.
LazyDBCallback - com.mongodb中的类
A BSONCallback for the creation of LazyDBObject and LazyDBList instances.
LazyDBCallback(DBCollection) - 类 的构造器com.mongodb.LazyDBCallback
Construct an instance.
LazyDBDecoder - com.mongodb中的类
A decoder for LazyDBObject instances.
LazyDBDecoder() - 类 的构造器com.mongodb.LazyDBDecoder
 
LazyDBEncoder - com.mongodb中的类
Encoder that only knows how to encode BSONObject instances of type LazyDBObject.
LazyDBEncoder() - 类 的构造器com.mongodb.LazyDBEncoder
 
LazyDBList - com.mongodb中的类
A LazyDBObject representing a BSON array.
LazyDBList(byte[], LazyBSONCallback) - 类 的构造器com.mongodb.LazyDBList
Construct an instance with the given raw bytes and offset.
LazyDBList(byte[], int, LazyBSONCallback) - 类 的构造器com.mongodb.LazyDBList
Construct an instance with the given raw bytes and offset.
LazyDBObject - com.mongodb中的类
An immutable DBObject backed by a byte buffer that lazily provides keys and values on request.
LazyDBObject(byte[], LazyBSONCallback) - 类 的构造器com.mongodb.LazyDBObject
Construct an instance.
LazyDBObject(byte[], int, LazyBSONCallback) - 类 的构造器com.mongodb.LazyDBObject
Construct an instance.
legacyDefaults() - 类 中的方法com.mongodb.MongoClientOptions.Builder
Sets defaults to be what they are in MongoOptions.
length() - 类 中的方法com.mongodb.DBCursor
Pulls back all items into an array and returns the number of objects.
length() - 类 中的方法org.bson.types.Binary
Get the length of the data.
lessThan(Object) - 类 中的方法com.mongodb.QueryBuilder
Equivalent to the $lt operand
lessThanEquals(Object) - 类 中的方法com.mongodb.QueryBuilder
Equivalent to the $lte operand
limit(int) - 接口 中的方法com.mongodb.client.FindIterable
Sets the limit to apply.
limit(int) - 接口 中的方法com.mongodb.client.gridfs.GridFSFindIterable
Sets the limit to apply.
limit(int) - 接口 中的方法com.mongodb.client.MapReduceIterable
Sets the limit to apply.
limit(int) - 类 中的静态方法com.mongodb.client.model.Aggregates
Creates a $limit pipeline stage for the specified filter
limit(int) - 类 中的方法com.mongodb.client.model.CountOptions
Sets the limit to apply.
limit(int) - 类 中的方法com.mongodb.client.model.FindOptions
Sets the limit to apply.
limit(int) - 类 中的方法com.mongodb.DBCursor
Limits the number of elements returned.
limit(long) - 类 中的方法com.mongodb.operation.CountOperation
Sets the limit to apply.
limit(int) - 类 中的方法com.mongodb.operation.FindOperation
Sets the limit to apply.
limit(int) - 类 中的方法com.mongodb.operation.MapReduceToCollectionOperation
Sets the limit to apply.
limit(int) - 类 中的方法com.mongodb.operation.MapReduceWithInlineResultsOperation
Sets the limit to apply.
limit() - 接口 中的方法org.bson.ByteBuf
Returns this buffer's limit.
limit(int) - 接口 中的方法org.bson.ByteBuf
Sets this buffer's limit.
limit() - 类 中的方法org.bson.ByteBufNIO
 
limit(int) - 类 中的方法org.bson.ByteBufNIO
 
LineString - com.mongodb.client.model.geojson中的类
A representation of a GeoJSON LineString.
LineString(List<Position>) - 类 的构造器com.mongodb.client.model.geojson.LineString
Construct an instance with the given coordinates.
LineString(CoordinateReferenceSystem, List<Position>) - 类 的构造器com.mongodb.client.model.geojson.LineString
Construct an instance with the given coordinates and coordinate reference system.
LineStringCodec - com.mongodb.client.model.geojson.codecs中的类
A Codec for a GeoJSON LineString.
LineStringCodec(CodecRegistry) - 类 的构造器com.mongodb.client.model.geojson.codecs.LineStringCodec
Constructs an instance.
listCollectionNames() - 接口 中的方法com.mongodb.client.MongoDatabase
Gets the names of all the collections in this database.
listCollections() - 接口 中的方法com.mongodb.client.MongoDatabase
Finds all the collections in this database.
listCollections(Class<TResult>) - 接口 中的方法com.mongodb.client.MongoDatabase
Finds all the collections in this database.
ListCollectionsIterable<TResult> - com.mongodb.client中的接口
Iterable for ListCollections.
ListCollectionsOperation<T> - com.mongodb.operation中的类
An operation that provides a cursor allowing iteration through the metadata of all the collections in a database.
ListCollectionsOperation(String, Decoder<T>) - 类 的构造器com.mongodb.operation.ListCollectionsOperation
Construct a new instance.
listDatabaseNames() - 类 中的方法com.mongodb.MongoClient
Get a list of the database names
listDatabases() - 类 中的方法com.mongodb.MongoClient
Gets the list of databases
listDatabases(Class<T>) - 类 中的方法com.mongodb.MongoClient
Gets the list of databases
ListDatabasesIterable<TResult> - com.mongodb.client中的接口
Iterable for ListDatabases.
ListDatabasesOperation<T> - com.mongodb.operation中的类
An operation that provides a cursor allowing iteration through the metadata of all the databases for a MongoClient.
ListDatabasesOperation(Decoder<T>) - 类 的构造器com.mongodb.operation.ListDatabasesOperation
Construct a new instance.
listIndexes() - 接口 中的方法com.mongodb.client.MongoCollection
Get all the indexes in this collection.
listIndexes(Class<TResult>) - 接口 中的方法com.mongodb.client.MongoCollection
Get all the indexes in this collection.
ListIndexesIterable<TResult> - com.mongodb.client中的接口
Iterable for ListIndexes.
ListIndexesOperation<T> - com.mongodb.operation中的类
An operation that lists the indexes that have been created on a collection.
ListIndexesOperation(MongoNamespace, Decoder<T>) - 类 的构造器com.mongodb.operation.ListIndexesOperation
Construct a new instance.
listIterator() - 类 中的方法org.bson.BsonArray
 
listIterator(int) - 类 中的方法org.bson.BsonArray
 
listIterator() - 类 中的方法org.bson.LazyBSONList
 
listIterator(int) - 类 中的方法org.bson.LazyBSONList
 
LOCAL - 类 中的静态变量com.mongodb.ReadConcern
Return the node's most recent copy of data.
localThreshold(int) - 类 中的方法com.mongodb.MongoClientOptions.Builder
Sets the local threshold.
Logger - com.mongodb.diagnostics.logging中的接口
This class is not part of the public API.
Loggers - com.mongodb.diagnostics.logging中的类
This class is not part of the public API.
Loggers - org.bson.diagnostics中的类
This class is not part of the public API.
logQuery(String, String, BsonDocument, long) - 类 中的静态方法com.mongodb.connection.MongoQueryAnalyzer
 
LongCodec - org.bson.codecs中的类
Encodes and decodes Long objects.
LongCodec() - 类 的构造器org.bson.codecs.LongCodec
 
longValue() - 类 中的方法org.bson.BsonDouble
 
longValue() - 类 中的方法org.bson.BsonInt32
 
longValue() - 类 中的方法org.bson.BsonInt64
 
longValue() - 类 中的方法org.bson.BsonNumber
Returns the value of the specified number as an long, which may involve rounding or truncation.
lookup(String, String, String, String) - 类 中的静态方法com.mongodb.client.model.Aggregates
Creates a $lookup pipeline stage for the specified filter
lt(String, TItem) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that matches all documents where the value of the given field is less than the specified value.
LT - 类 中的静态变量com.mongodb.QueryOperators
 
lte(String, TItem) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that matches all documents where the value of the given field is less than or equal to the specified value.
LTE - 类 中的静态变量com.mongodb.QueryOperators
 

M

main(String[]) - 类 中的静态方法com.mongodb.connection.MongoQueryAnalyzer
 
main(String[]) - 类 中的静态方法com.mongodb.gridfs.CLI
 
maintenanceFrequency(long, TimeUnit) - 类 中的方法com.mongodb.connection.ConnectionPoolSettings.Builder
The time period between runs of the maintenance job.
maintenanceInitialDelay(long, TimeUnit) - 类 中的方法com.mongodb.connection.ConnectionPoolSettings.Builder
The period of time to wait before running the first maintenance job on the connection pool.
MAJORITY - 类 中的静态变量com.mongodb.ReadConcern
Return the node's most recent copy of the data confirmed as having been written to a majority of the nodes.
MAJORITY - 类 中的静态变量com.mongodb.WriteConcern
Exceptions are raised for network issues, and server errors; waits on a majority of servers for the write operation.
Majority() - 类 的构造器com.mongodb.WriteConcern.Majority
已过时。
Create a new Majority WriteConcern.
Majority(int, boolean, boolean) - 类 的构造器com.mongodb.WriteConcern.Majority
已过时。
Create a new WriteConcern with the given configuration.
majorityWriteConcern(int, boolean, boolean) - 类 中的静态方法com.mongodb.WriteConcern
map(Function<TResult, U>) - 接口 中的方法com.mongodb.client.MongoIterable
Maps this iterable from the source document type to the target document type.
mapReduce(String, String) - 接口 中的方法com.mongodb.client.MongoCollection
Aggregates documents according to the specified map-reduce function.
mapReduce(String, String, Class<TResult>) - 接口 中的方法com.mongodb.client.MongoCollection
Aggregates documents according to the specified map-reduce function.
mapReduce(String, String, String, DBObject) - 类 中的方法com.mongodb.DBCollection
Allows you to run map-reduce aggregation operations over a collection.
mapReduce(String, String, String, MapReduceCommand.OutputType, DBObject) - 类 中的方法com.mongodb.DBCollection
Allows you to run map-reduce aggregation operations over a collection and saves to a named collection.
mapReduce(String, String, String, MapReduceCommand.OutputType, DBObject, ReadPreference) - 类 中的方法com.mongodb.DBCollection
Allows you to run map-reduce aggregation operations over a collection and saves to a named collection.
mapReduce(MapReduceCommand) - 类 中的方法com.mongodb.DBCollection
Allows you to run map-reduce aggregation operations over a collection.
MapReduceAction - com.mongodb.client.model中的枚举
The map reduce to collection actions.
MapReduceAsyncBatchCursor<T> - com.mongodb.operation中的接口
Represents the future results of a map-reduce operation as a cursor.
MapReduceBatchCursor<T> - com.mongodb.operation中的接口
Represents the results of a map-reduce operation as a cursor.
MapReduceCommand - com.mongodb中的类
This class groups the argument for a map/reduce operation and can build the underlying command object
MapReduceCommand(DBCollection, String, String, String, MapReduceCommand.OutputType, DBObject) - 类 的构造器com.mongodb.MapReduceCommand
Represents the command for a map reduce operation Runs the command in REPLACE output type to a named collection
MapReduceCommand.OutputType - com.mongodb中的枚举
Represents the different options available for outputting the results of a map-reduce operation.
MapReduceIterable<TResult> - com.mongodb.client中的接口
Iterable for map-reduce.
MapReduceOutput - com.mongodb中的类
Represents the result of a map/reduce operation.
MapReduceStatistics - com.mongodb.operation中的类
Common statistics returned by running all types of map-reduce operations.
MapReduceStatistics(int, int, int, int) - 类 的构造器com.mongodb.operation.MapReduceStatistics
Construct a new instance.
MapReduceToCollectionOperation - com.mongodb.operation中的类
Operation that runs a Map Reduce against a MongoDB instance.
MapReduceToCollectionOperation(MongoNamespace, BsonJavaScript, BsonJavaScript, String) - 类 的构造器com.mongodb.operation.MapReduceToCollectionOperation
Construct a MapReduceOperation with all the criteria it needs to execute
MapReduceWithInlineResultsOperation<T> - com.mongodb.operation中的类
Operation that runs a Map Reduce against a MongoDB instance.
MapReduceWithInlineResultsOperation(MongoNamespace, BsonJavaScript, BsonJavaScript, Decoder<T>) - 类 的构造器com.mongodb.operation.MapReduceWithInlineResultsOperation
Construct a MapReduceOperation with all the criteria it needs to execute.
mark() - 类 中的方法com.mongodb.client.gridfs.GridFSDownloadStream
Marks the current position in this input stream.
Mark() - 类 的构造器org.bson.AbstractBsonReader.Mark
 
Mark() - 类 的构造器org.bson.AbstractBsonWriter.Mark
Creates a new snapshopt of the current state.
mark() - 类 中的方法org.bson.BsonBinaryReader
 
Mark() - 类 的构造器org.bson.BsonBinaryReader.Mark
 
mark() - 类 中的方法org.bson.BsonBinaryWriter
Create a snapshot of this writer's context at a point in time.
Mark() - 类 的构造器org.bson.BsonBinaryWriter.Mark
Creates a new instance storing the current position of the BsonOutput.
mark() - 类 中的方法org.bson.BsonDocumentReader.Context
 
mark() - 类 中的方法org.bson.BsonDocumentReader
 
Mark() - 类 的构造器org.bson.BsonDocumentReader.Mark
 
mark() - 接口 中的方法org.bson.BsonReader
Creates a bookmark in the BsonReader's input The previous mark must be cleared before creating a new one
mark(int) - 接口 中的方法org.bson.io.BsonInput
Marks the current position in the stream.
mark(int) - 类 中的方法org.bson.io.ByteBufferBsonInput
 
mark() - 类 中的方法org.bson.json.JsonReader
 
Mark() - 类 的构造器org.bson.json.JsonReader.Mark
 
markAsPartialObject() - 类 中的方法com.mongodb.BasicDBList
 
markAsPartialObject() - 类 中的方法com.mongodb.BasicDBObject
If this object was retrieved with only some fields (using a field filter) this method will be called to mark it as such.
markAsPartialObject() - 接口 中的方法com.mongodb.DBObject
If this object was retrieved with only some fields (using a field filter) this method will be called to mark it as such.
markAsPartialObject() - 类 中的方法com.mongodb.gridfs.GridFSFile
 
markAsPartialObject() - 类 中的方法com.mongodb.LazyDBList
 
markAsPartialObject() - 类 中的方法com.mongodb.LazyDBObject
 
markAsPartialObject() - 类 中的方法com.mongodb.ReflectionDBObject
ReflectionDBObjects can't be partial.
match(Bson) - 类 中的静态方法com.mongodb.client.model.Aggregates
Creates a $match pipeline stage for the specified filter
max(Double) - 类 中的方法com.mongodb.bulk.IndexRequest
Sets the upper inclusive boundary for the longitude and latitude values for 2d indexes..
max(String, TExpression) - 类 中的静态方法com.mongodb.client.model.Accumulators
Gets a field name for a $group operation representing the maximum of the values of the given expression when applied to all members of the group.
max(Double) - 类 中的方法com.mongodb.client.model.IndexOptions
Sets the upper inclusive boundary for the longitude and latitude values for 2d indexes..
max(String, TItem) - 类 中的静态方法com.mongodb.client.model.Updates
Creates an update that sets the value of the field to the given value if the given value is greater than the current value of the field.
max(DBObject) - 类 中的方法com.mongodb.DBCursor
Specifies an exclusive upper limit for the index to use in a query.
MAX - 类 中的静态变量com.mongodb.QueryOperators
 
MAX_BUFFER_SIZE - 类 中的静态变量com.mongodb.connection.ByteBufferBsonOutput
 
MAX_CHUNKSIZE - 类 中的静态变量com.mongodb.gridfs.GridFS
已过时。
You can calculate max chunkSize with a similar formula Mongo.getMaxBsonObjectSize() - 500*1000. Please ensure that you left enough space for metadata (500kb is enough).
MAX_DISTANCE - 类 中的静态变量com.mongodb.QueryOperators
 
MAX_SCAN - 类 中的静态变量com.mongodb.QueryOperators
 
maxAwaitTime(long, TimeUnit) - 接口 中的方法com.mongodb.client.FindIterable
The maximum amount of time for the server to wait on new documents to satisfy a tailable cursor query.
maxAwaitTime(long, TimeUnit) - 类 中的方法com.mongodb.client.model.FindOptions
Sets the maximum await execution time on the server for this operation.
maxAwaitTime(long, TimeUnit) - 类 中的方法com.mongodb.operation.FindOperation
Sets the maximum await execution time on the server for this operation.
maxConnectionIdleTime(long, TimeUnit) - 类 中的方法com.mongodb.connection.ConnectionPoolSettings.Builder
The maximum idle time of a pooled connection.
maxConnectionIdleTime(int) - 类 中的方法com.mongodb.MongoClientOptions.Builder
Sets the maximum idle time for a pooled connection.
maxConnectionLifeTime(long, TimeUnit) - 类 中的方法com.mongodb.connection.ConnectionPoolSettings.Builder
The maximum time a pooled connection can live for.
maxConnectionLifeTime(int) - 类 中的方法com.mongodb.MongoClientOptions.Builder
Sets the maximum life time for a pooled connection.
maxDocuments(long) - 类 中的方法com.mongodb.client.model.CreateCollectionOptions
Sets the maximum number of documents allowed in a capped collection.
maxDocuments(long) - 类 中的方法com.mongodb.operation.CreateCollectionOperation
Set the maximum number of documents in the collection.
maxDocumentSize(int) - 类 中的方法com.mongodb.connection.ServerDescription.Builder
The maximum permitted size of a BSON object in bytes for this mongod process.
MAXKEY - 类 中的静态变量org.bson.BSON
 
MaxKey - org.bson.types中的类
Represent the maximum key value regardless of the key's type
MaxKey() - 类 的构造器org.bson.types.MaxKey
 
MaxKeyCodec - org.bson.codecs中的类
Encodes and decodes instances of type MaxKey.
MaxKeyCodec() - 类 的构造器org.bson.codecs.MaxKeyCodec
 
maxScan(int) - 类 中的方法com.mongodb.DBCursor
Limits the number of documents a cursor will return for a query.
maxSize(int) - 类 中的方法com.mongodb.connection.ConnectionPoolSettings.Builder
The maximum number of connections allowed.
maxTime(long, TimeUnit) - 类 中的方法com.mongodb.AggregationOptions.Builder
Sets the maximum execution time for the aggregation command.
maxTime(long, TimeUnit) - 接口 中的方法com.mongodb.client.AggregateIterable
Sets the maximum execution time on the server for this operation.
maxTime(long, TimeUnit) - 接口 中的方法com.mongodb.client.DistinctIterable
Sets the maximum execution time on the server for this operation.
maxTime(long, TimeUnit) - 接口 中的方法com.mongodb.client.FindIterable
Sets the maximum execution time on the server for this operation.
maxTime(long, TimeUnit) - 接口 中的方法com.mongodb.client.gridfs.GridFSFindIterable
Sets the maximum execution time on the server for this operation.
maxTime(long, TimeUnit) - 接口 中的方法com.mongodb.client.ListCollectionsIterable
Sets the maximum execution time on the server for this operation.
maxTime(long, TimeUnit) - 接口 中的方法com.mongodb.client.ListDatabasesIterable
Sets the maximum execution time on the server for this operation.
maxTime(long, TimeUnit) - 接口 中的方法com.mongodb.client.ListIndexesIterable
Sets the maximum execution time on the server for this operation.
maxTime(long, TimeUnit) - 接口 中的方法com.mongodb.client.MapReduceIterable
Sets the maximum execution time on the server for this operation.
maxTime(long, TimeUnit) - 类 中的方法com.mongodb.client.model.CountOptions
Sets the maximum execution time on the server for this operation.
maxTime(long, TimeUnit) - 类 中的方法com.mongodb.client.model.FindOneAndDeleteOptions
Sets the maximum execution time on the server for this operation.
maxTime(long, TimeUnit) - 类 中的方法com.mongodb.client.model.FindOneAndReplaceOptions
Sets the maximum execution time on the server for this operation.
maxTime(long, TimeUnit) - 类 中的方法com.mongodb.client.model.FindOneAndUpdateOptions
Sets the maximum execution time on the server for this operation.
maxTime(long, TimeUnit) - 类 中的方法com.mongodb.client.model.FindOptions
Sets the maximum execution time on the server for this operation.
maxTime(long, TimeUnit) - 类 中的方法com.mongodb.DBCursor
Set the maximum execution time for operations on this cursor.
maxTime(long, TimeUnit) - 类 中的方法com.mongodb.operation.AggregateOperation
Sets the maximum execution time on the server for this operation.
maxTime(long, TimeUnit) - 类 中的方法com.mongodb.operation.AggregateToCollectionOperation
Sets the maximum execution time on the server for this operation.
maxTime(long, TimeUnit) - 类 中的方法com.mongodb.operation.CountOperation
Sets the maximum execution time on the server for this operation.
maxTime(long, TimeUnit) - 类 中的方法com.mongodb.operation.DistinctOperation
Sets the maximum execution time on the server for this operation.
maxTime(long, TimeUnit) - 类 中的方法com.mongodb.operation.FindAndDeleteOperation
Sets the maximum execution time on the server for this operation.
maxTime(long, TimeUnit) - 类 中的方法com.mongodb.operation.FindAndReplaceOperation
Sets the maximum execution time on the server for this operation.
maxTime(long, TimeUnit) - 类 中的方法com.mongodb.operation.FindAndUpdateOperation
Sets the maximum execution time on the server for this operation.
maxTime(long, TimeUnit) - 类 中的方法com.mongodb.operation.FindOperation
Sets the maximum execution time on the server for this operation.
maxTime(long, TimeUnit) - 类 中的方法com.mongodb.operation.ListCollectionsOperation
Sets the maximum execution time on the server for this operation.
maxTime(long, TimeUnit) - 类 中的方法com.mongodb.operation.ListDatabasesOperation
Sets the maximum execution time on the server for this operation.
maxTime(long, TimeUnit) - 类 中的方法com.mongodb.operation.ListIndexesOperation
Sets the maximum execution time on the server for this operation.
maxTime(long, TimeUnit) - 类 中的方法com.mongodb.operation.MapReduceToCollectionOperation
Sets the maximum execution time on the server for this operation.
maxTime(long, TimeUnit) - 类 中的方法com.mongodb.operation.MapReduceWithInlineResultsOperation
Sets the maximum execution time on the server for this operation.
maxWaitQueueSize(int) - 类 中的方法com.mongodb.connection.ClusterSettings.Builder
This is the maximum number of concurrent operations allowed to wait for a server to become available.
maxWaitQueueSize(int) - 类 中的方法com.mongodb.connection.ConnectionPoolSettings.Builder
This is the maximum number of waiters for a connection to become available from the pool.
maxWaitTime(long, TimeUnit) - 类 中的方法com.mongodb.connection.ConnectionPoolSettings.Builder
The maximum time that a thread may wait for a connection to become available.
maxWaitTime(int) - 类 中的方法com.mongodb.MongoClientOptions.Builder
Sets the maximum time that a thread will block waiting for a connection.
maxWaitTime - 类 中的变量com.mongodb.MongoOptions
已过时。
The maximum wait time in milliseconds that a thread may wait for a connection to become available.
maxWireVersion(int) - 类 中的方法com.mongodb.connection.ServerDescription.Builder
The latest version of the wire protocol that this MongoDB server is capable of using to communicate with clients.
MBeanServer - com.mongodb.management中的接口
This class is NOT part of the public API.
MBeanServerFactory - com.mongodb.management中的类
This class is NOT part of the public API.
messageReceived(ConnectionMessageReceivedEvent) - 类 中的方法com.mongodb.event.ConnectionEventMulticaster
 
messageReceived(ConnectionMessageReceivedEvent) - 接口 中的方法com.mongodb.event.ConnectionListener
Publish a connection message received event.
messageReceived(ConnectionMessageReceivedEvent) - 类 中的方法com.mongodb.event.ConnectionListenerAdapter
 
messagesSent(ConnectionMessagesSentEvent) - 类 中的方法com.mongodb.event.ConnectionEventMulticaster
 
messagesSent(ConnectionMessagesSentEvent) - 接口 中的方法com.mongodb.event.ConnectionListener
Publish a connection messages sent event.
messagesSent(ConnectionMessagesSentEvent) - 类 中的方法com.mongodb.event.ConnectionListenerAdapter
 
metadata(Document) - 类 中的方法com.mongodb.client.gridfs.model.GridFSUploadOptions
Sets metadata to stored alongside the filename in the files collection
metaTextScore(String) - 类 中的静态方法com.mongodb.client.model.Projections
Creates a projection to the given field name of the textScore, for use with text queries.
metaTextScore(String) - 类 中的静态方法com.mongodb.client.model.Sorts
Create a sort specification for the text score meta projection on the given field.
min(Double) - 类 中的方法com.mongodb.bulk.IndexRequest
Sets the lower inclusive boundary for the longitude and latitude values for 2d indexes..
min(String, TExpression) - 类 中的静态方法com.mongodb.client.model.Accumulators
Gets a field name for a $group operation representing the minimum of the values of the given expression when applied to all members of the group.
min(Double) - 类 中的方法com.mongodb.client.model.IndexOptions
Sets the lower inclusive boundary for the longitude and latitude values for 2d indexes..
min(String, TItem) - 类 中的静态方法com.mongodb.client.model.Updates
Creates an update that sets the value of the field to the given value if the given value is less than the current value of the field.
min(DBObject) - 类 中的方法com.mongodb.DBCursor
Specifies an inclusive lower limit for the index to use in a query.
MIN - 类 中的静态变量com.mongodb.QueryOperators
 
minConnectionsPerHost(int) - 类 中的方法com.mongodb.MongoClientOptions.Builder
Sets the minimum number of connections per host.
minHeartbeatFrequency(long, TimeUnit) - 类 中的方法com.mongodb.connection.ServerSettings.Builder
Sets the minimum heartbeat frequency.
minHeartbeatFrequency(int) - 类 中的方法com.mongodb.MongoClientOptions.Builder
Sets the minimum heartbeat frequency.
MINKEY - 类 中的静态变量org.bson.BSON
 
MinKey - org.bson.types中的类
Represent the minimum key value regardless of the key's type
MinKey() - 类 的构造器org.bson.types.MinKey
 
MinKeyCodec - org.bson.codecs中的类
Encodes and decodes instances of type MinKey.
MinKeyCodec() - 类 的构造器org.bson.codecs.MinKeyCodec
 
minSize(int) - 类 中的方法com.mongodb.connection.ConnectionPoolSettings.Builder
The minimum number of connections.
minWireVersion(int) - 类 中的方法com.mongodb.connection.ServerDescription.Builder
The earliest version of the wire protocol that this MongoDB server is capable of using to communicate with clients.
MixedBulkWriteOperation - com.mongodb.operation中的类
An operation to execute a series of write operations in bulk.
MixedBulkWriteOperation(MongoNamespace, List<? extends WriteRequest>, boolean, WriteConcern) - 类 的构造器com.mongodb.operation.MixedBulkWriteOperation
Construct a new instance.
mod(String, long, long) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that matches all documents where the value of a field divided by a divisor has the specified remainder (i.e. perform a modulo operation to select documents).
mod(Object) - 类 中的方法com.mongodb.QueryBuilder
Equivalent of the $mod operand
MOD - 类 中的静态变量com.mongodb.QueryOperators
 
mode(ClusterConnectionMode) - 类 中的方法com.mongodb.connection.ClusterSettings.Builder
Sets the mode for this cluster.
modifiers(Bson) - 接口 中的方法com.mongodb.client.FindIterable
Sets the query modifiers to apply to this operation.
modifiers(Bson) - 类 中的方法com.mongodb.client.model.FindOptions
Sets the query modifiers to apply to this operation.
modifiers(BsonDocument) - 类 中的方法com.mongodb.operation.FindOperation
Sets the query modifiers to apply to this operation.
Mongo - com.mongodb中的类
A database connection with internal connection pooling.
Mongo() - 类 的构造器com.mongodb.Mongo
已过时。
Mongo(String) - 类 的构造器com.mongodb.Mongo
已过时。
Mongo(String, MongoOptions) - 类 的构造器com.mongodb.Mongo
Mongo(String, int) - 类 的构造器com.mongodb.Mongo
已过时。
Mongo(ServerAddress) - 类 的构造器com.mongodb.Mongo
已过时。
Mongo(ServerAddress, MongoOptions) - 类 的构造器com.mongodb.Mongo
Mongo(ServerAddress, ServerAddress) - 类 的构造器com.mongodb.Mongo
已过时。
Mongo(ServerAddress, ServerAddress, MongoOptions) - 类 的构造器com.mongodb.Mongo
Mongo(List<ServerAddress>) - 类 的构造器com.mongodb.Mongo
已过时。
Mongo(List<ServerAddress>, MongoOptions) - 类 的构造器com.mongodb.Mongo
Mongo(MongoURI) - 类 的构造器com.mongodb.Mongo
已过时。
Mongo.Holder - com.mongodb中的类
Mongo.Holder can be used as a static place to hold several instances of Mongo.
MongoBulkWriteException - com.mongodb中的异常错误
An exception that represents all errors associated with a bulk write operation.
MongoBulkWriteException(BulkWriteResult, List<BulkWriteError>, WriteConcernError, ServerAddress) - 异常错误 的构造器com.mongodb.MongoBulkWriteException
Constructs a new instance.
MongoClient - com.mongodb中的类
A MongoDB client with internal connection pooling.
MongoClient() - 类 的构造器com.mongodb.MongoClient
Creates an instance based on a (single) mongodb node (localhost, default port).
MongoClient(String) - 类 的构造器com.mongodb.MongoClient
Creates a Mongo instance based on a (single) mongodb node.
MongoClient(String, MongoClientOptions) - 类 的构造器com.mongodb.MongoClient
Creates a Mongo instance based on a (single) mongodb node (default port).
MongoClient(String, int) - 类 的构造器com.mongodb.MongoClient
Creates a Mongo instance based on a (single) mongodb node.
MongoClient(ServerAddress) - 类 的构造器com.mongodb.MongoClient
Creates a Mongo instance based on a (single) mongodb node
MongoClient(ServerAddress, List<MongoCredential>) - 类 的构造器com.mongodb.MongoClient
Creates a Mongo instance based on a (single) mongodb node and a list of credentials
MongoClient(ServerAddress, MongoClientOptions) - 类 的构造器com.mongodb.MongoClient
Creates a Mongo instance based on a (single) mongo node using a given ServerAddress and default options.
MongoClient(ServerAddress, List<MongoCredential>, MongoClientOptions) - 类 的构造器com.mongodb.MongoClient
Creates a Mongo instance based on a (single) mongo node using a given ServerAddress and default options.
MongoClient(List<ServerAddress>) - 类 的构造器com.mongodb.MongoClient
Creates an instance based on a list of replica set members or mongos servers.
MongoClient(List<ServerAddress>, List<MongoCredential>) - 类 的构造器com.mongodb.MongoClient
Creates an instance based on a list of replica set members or mongos servers.
MongoClient(List<ServerAddress>, MongoClientOptions) - 类 的构造器com.mongodb.MongoClient
Construct an instance based on a list of replica set members or mongos servers.
MongoClient(List<ServerAddress>, List<MongoCredential>, MongoClientOptions) - 类 的构造器com.mongodb.MongoClient
Creates an instance based on a list of replica set members or mongos servers.
MongoClient(MongoClientURI) - 类 的构造器com.mongodb.MongoClient
Creates a Mongo described by a URI.
MongoClientException - com.mongodb中的异常错误
A base class for exceptions indicating a failure condition with the MongoClient.
MongoClientException(String) - 异常错误 的构造器com.mongodb.MongoClientException
Constructs a new instance.
MongoClientException(String, Throwable) - 异常错误 的构造器com.mongodb.MongoClientException
Constructs a new instance.
MongoClientOptions - com.mongodb中的类
Various settings to control the behavior of a MongoClient.
MongoClientOptions.Builder - com.mongodb中的类
A builder for MongoClientOptions so that MongoClientOptions can be immutable, and to support easier construction through chaining.
MongoClientURI - com.mongodb中的类
Represents a URI which can be used to create a MongoClient instance.
MongoClientURI(String) - 类 的构造器com.mongodb.MongoClientURI
Creates a MongoURI from the given string.
MongoClientURI(String, MongoClientOptions.Builder) - 类 的构造器com.mongodb.MongoClientURI
Creates a MongoURI from the given URI string, and MongoClientOptions.Builder.
MongoCollection<TDocument> - com.mongodb.client中的接口
The MongoCollection interface.
MongoCommandException - com.mongodb中的异常错误
An exception indicating that a command sent to a MongoDB server returned a failure.
MongoCommandException(BsonDocument, ServerAddress) - 异常错误 的构造器com.mongodb.MongoCommandException
Construct a new instance with the CommandResult from a failed command
MongoCredential - com.mongodb中的类
Represents credentials to authenticate to a mongo server,as well as the source of the credentials and the authentication mechanism to use.
MongoCursor<TResult> - com.mongodb.client中的接口
The Mongo Cursor interface implementing the iterator protocol
MongoCursorNotFoundException - com.mongodb中的异常错误
Subclass of MongoException representing a cursor-not-found exception.
MongoCursorNotFoundException(long, ServerAddress) - 异常错误 的构造器com.mongodb.MongoCursorNotFoundException
Construct a new instance.
MongoDatabase - com.mongodb.client中的接口
The MongoDatabase interface.
MONGODB_CR_MECHANISM - 类 中的静态变量com.mongodb.MongoCredential
The MongoDB Challenge Response mechanism.
MONGODB_PREFIX - 类 中的静态变量com.mongodb.MongoURI
已过时。
The prefix for mongodb URIs.
MONGODB_X509_MECHANISM - 类 中的静态变量com.mongodb.MongoCredential
The MongoDB X.509
MongoException - com.mongodb中的异常错误
Top level Exception for all Exceptions, server-side or client-side, that come from the driver.
MongoException(String) - 异常错误 的构造器com.mongodb.MongoException
 
MongoException(int, String) - 异常错误 的构造器com.mongodb.MongoException
 
MongoException(String, Throwable) - 异常错误 的构造器com.mongodb.MongoException
 
MongoException(int, String, Throwable) - 异常错误 的构造器com.mongodb.MongoException
 
MongoExecutionTimeoutException - com.mongodb中的异常错误
Exception indicating that the execution of the current operation timed out as a result of the maximum operation time being exceeded.
MongoExecutionTimeoutException(int, String) - 异常错误 的构造器com.mongodb.MongoExecutionTimeoutException
Construct a new instance.
MongoGridFSException - com.mongodb中的异常错误
An exception indicating that a failure occurred in GridFS.
MongoGridFSException(String) - 异常错误 的构造器com.mongodb.MongoGridFSException
Constructs a new instance.
MongoGridFSException(String, Throwable) - 异常错误 的构造器com.mongodb.MongoGridFSException
Constructs a new instance.
MongoIncompatibleDriverException - com.mongodb中的异常错误
An exception indicating that this version of the driver is not compatible with at least one of the servers that it is currently connected to.
MongoIncompatibleDriverException(String, ClusterDescription) - 异常错误 的构造器com.mongodb.MongoIncompatibleDriverException
Construct a new instance.
MongoInternalException - com.mongodb中的异常错误
A Mongo exception internal to the driver, not carrying any error code.
MongoInternalException(String) - 异常错误 的构造器com.mongodb.MongoInternalException
 
MongoInternalException(String, Throwable) - 异常错误 的构造器com.mongodb.MongoInternalException
 
MongoInterruptedException - com.mongodb中的异常错误
A non-checked exception indicating that the driver has been interrupted by a call to Thread.interrupt.
MongoInterruptedException(String, Exception) - 异常错误 的构造器com.mongodb.MongoInterruptedException
Construct a new instance.
MongoIterable<TResult> - com.mongodb.client中的接口
The MongoIterable is the results from an operation, such as a query.
MongoNamespace - com.mongodb中的类
A MongoDB namespace, which includes a database name and collection name.
MongoNamespace(String) - 类 的构造器com.mongodb.MongoNamespace
Construct an instance.
MongoNamespace(String, String) - 类 的构造器com.mongodb.MongoNamespace
Construct an instance.
MongoNodeIsRecoveringException - com.mongodb中的异常错误
An exception indicating that the server is a member of a replica set but is in recovery mode, and therefore refused to execute the operation.
MongoNodeIsRecoveringException(ServerAddress) - 异常错误 的构造器com.mongodb.MongoNodeIsRecoveringException
Construct an instance.
MongoNotPrimaryException - com.mongodb中的异常错误
An exception indicating that the server is a member of a replica set but is not the primary, and therefore refused to execute either a write operation or a read operation that required a primary.
MongoNotPrimaryException(ServerAddress) - 异常错误 的构造器com.mongodb.MongoNotPrimaryException
Construct an instance.
MongoOptions - com.mongodb中的类
已过时。
Please use MongoClientOptions instead.
MongoOptions() - 类 的构造器com.mongodb.MongoOptions
已过时。
MongoOptions(MongoClientOptions) - 类 的构造器com.mongodb.MongoOptions
已过时。
MongoQueryAnalyzer - com.mongodb.connection中的类
 
MongoQueryAnalyzer() - 类 的构造器com.mongodb.connection.MongoQueryAnalyzer
 
MongoQueryAnalyzer.ConnectionLimitException - com.mongodb.connection中的异常错误
 
MongoQueryException - com.mongodb中的异常错误
An exception indicating that a query operation failed on the server.
MongoQueryException(ServerAddress, int, String) - 异常错误 的构造器com.mongodb.MongoQueryException
Construct an instance.
MongoSecurityException - com.mongodb中的异常错误
This exception is thrown when there is an error reported by the underlying client authentication mechanism.
MongoSecurityException(MongoCredential, String, Throwable) - 异常错误 的构造器com.mongodb.MongoSecurityException
Construct an instance
MongoSecurityException(MongoCredential, String) - 异常错误 的构造器com.mongodb.MongoSecurityException
Construct an instance
MongoServerException - com.mongodb中的异常错误
An exception indicating that some error has been raised by a MongoDB server in response to an operation.
MongoServerException(String, ServerAddress) - 异常错误 的构造器com.mongodb.MongoServerException
Construct a new instance.
MongoServerException(int, String, ServerAddress) - 异常错误 的构造器com.mongodb.MongoServerException
Construct a new instance.
MongoSocketClosedException - com.mongodb中的异常错误
This exception is thrown when trying to read or write from a closed socket.
MongoSocketClosedException(String, ServerAddress) - 异常错误 的构造器com.mongodb.MongoSocketClosedException
Construct an instance.
MongoSocketException - com.mongodb中的异常错误
Subclass of MongoException representing a network-related exception
MongoSocketException(String, ServerAddress) - 异常错误 的构造器com.mongodb.MongoSocketException
Construct a new instance.
MongoSocketOpenException - com.mongodb中的异常错误
This exception is thrown when there is an exception opening a Socket.
MongoSocketOpenException(String, ServerAddress, Throwable) - 异常错误 的构造器com.mongodb.MongoSocketOpenException
Construct an instance.
MongoSocketReadException - com.mongodb中的异常错误
This exception is thrown when there is an exception reading a response from a Socket.
MongoSocketReadException(String, ServerAddress) - 异常错误 的构造器com.mongodb.MongoSocketReadException
Construct a new instance.
MongoSocketReadException(String, ServerAddress, Throwable) - 异常错误 的构造器com.mongodb.MongoSocketReadException
Construct a new instance.
MongoSocketReadTimeoutException - com.mongodb中的异常错误
This exception is thrown when there is a timeout reading a response from the socket.
MongoSocketReadTimeoutException(String, ServerAddress, Throwable) - 异常错误 的构造器com.mongodb.MongoSocketReadTimeoutException
Construct a new instance
MongoSocketWriteException - com.mongodb中的异常错误
This exception is thrown when there is an exception writing a response to a Socket.
MongoSocketWriteException(String, ServerAddress, Throwable) - 异常错误 的构造器com.mongodb.MongoSocketWriteException
Construct a new instance.
MongoTimeoutException - com.mongodb中的异常错误
An exception indicating that the driver has timed out waiting for either a server or a connection to become available.
MongoTimeoutException(String) - 异常错误 的构造器com.mongodb.MongoTimeoutException
Construct a new instance.
MongoURI - com.mongodb中的类
已过时。
Replaced by MongoClientURI
MongoURI(String) - 类 的构造器com.mongodb.MongoURI
已过时。
MongoURI(MongoClientURI) - 类 的构造器com.mongodb.MongoURI
已过时。
MongoWaitQueueFullException - com.mongodb中的异常错误
An exception indicating that the queue for waiting for a pooled connection is full.
MongoWaitQueueFullException(String) - 异常错误 的构造器com.mongodb.MongoWaitQueueFullException
Constructs a new instance with the given message.
MongoWriteConcernException - com.mongodb中的异常错误
An exception indicating a failure to apply the write concern to the requested write operation
MongoWriteConcernException(WriteConcernError, ServerAddress) - 异常错误 的构造器com.mongodb.MongoWriteConcernException
Construct an instance.
MongoWriteConcernException(WriteConcernError, WriteConcernResult, ServerAddress) - 异常错误 的构造器com.mongodb.MongoWriteConcernException
Construct an instance.
MongoWriteException - com.mongodb中的异常错误
An exception indicating the failure of a write operation.
MongoWriteException(WriteError, ServerAddress) - 异常错误 的构造器com.mongodb.MongoWriteException
Construct an instance
mul(String, Number) - 类 中的静态方法com.mongodb.client.model.Updates
Creates an update that multiplies the value of the field with the given name by the given number.
multi(boolean) - 类 中的方法com.mongodb.bulk.DeleteRequest
Sets whether all documents matching the query filter will be removed.
multi(boolean) - 类 中的方法com.mongodb.bulk.UpdateRequest
Sets whether this will update all documents matching the query filter.
MultiLineString - com.mongodb.client.model.geojson中的类
A representation of a GeoJSON MultiLineString.
MultiLineString(List<List<Position>>) - 类 的构造器com.mongodb.client.model.geojson.MultiLineString
Construct an instance with the given coordinates.
MultiLineString(CoordinateReferenceSystem, List<List<Position>>) - 类 的构造器com.mongodb.client.model.geojson.MultiLineString
Construct an instance with the given coordinates and coordinate reference system.
MultiLineStringCodec - com.mongodb.client.model.geojson.codecs中的类
A Codec for a GeoJSON MultiLineString.
MultiLineStringCodec(CodecRegistry) - 类 的构造器com.mongodb.client.model.geojson.codecs.MultiLineStringCodec
Constructs an instance.
MultiPoint - com.mongodb.client.model.geojson中的类
A representation of a GeoJSON MultiPoint.
MultiPoint(List<Position>) - 类 的构造器com.mongodb.client.model.geojson.MultiPoint
Construct an instance with the given coordinates.
MultiPoint(CoordinateReferenceSystem, List<Position>) - 类 的构造器com.mongodb.client.model.geojson.MultiPoint
Construct an instance with the given coordinates and coordinate reference system.
MultiPointCodec - com.mongodb.client.model.geojson.codecs中的类
A Codec for a GeoJSON MultiPoint.
MultiPointCodec(CodecRegistry) - 类 的构造器com.mongodb.client.model.geojson.codecs.MultiPointCodec
Constructs an instance.
MultiPolygon - com.mongodb.client.model.geojson中的类
A representation of a GeoJSON MultiPolygon.
MultiPolygon(List<PolygonCoordinates>) - 类 的构造器com.mongodb.client.model.geojson.MultiPolygon
Construct an instance.
MultiPolygon(CoordinateReferenceSystem, List<PolygonCoordinates>) - 类 的构造器com.mongodb.client.model.geojson.MultiPolygon
Construct an instance.
MultiPolygonCodec - com.mongodb.client.model.geojson.codecs中的类
A Codec for a GeoJSON MultiPolygon.
MultiPolygonCodec(CodecRegistry) - 类 的构造器com.mongodb.client.model.geojson.codecs.MultiPolygonCodec
Constructs an instance.

N

name(String) - 类 中的方法com.mongodb.bulk.IndexRequest
Sets the name of the index.
name(String) - 类 中的方法com.mongodb.client.model.IndexOptions
Sets the name of the index.
NamedCoordinateReferenceSystem - com.mongodb.client.model.geojson中的类
A GeoJSON named Coordinate Reference System.
NamedCoordinateReferenceSystem(String) - 类 的构造器com.mongodb.client.model.geojson.NamedCoordinateReferenceSystem
Construct an instance
NamedCoordinateReferenceSystemCodec - com.mongodb.client.model.geojson.codecs中的类
Codec for a GeoJson Coordinate Reference System of type name.
NamedCoordinateReferenceSystemCodec() - 类 的构造器com.mongodb.client.model.geojson.codecs.NamedCoordinateReferenceSystemCodec
 
ne(String, TItem) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that matches all documents where the value of the field name does not equal the specified value.
NE - 类 中的静态变量com.mongodb.QueryOperators
 
near(String, Point, Double, Double) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that matches all documents containing a field with geospatial data that is near the specified GeoJSON point.
near(String, Bson, Double, Double) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that matches all documents containing a field with geospatial data that is near the specified GeoJSON point.
near(String, double, double, Double, Double) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that matches all documents containing a field with geospatial data that is near the specified point.
near(double, double) - 类 中的方法com.mongodb.QueryBuilder
Equivalent of the $near operand
near(double, double, double) - 类 中的方法com.mongodb.QueryBuilder
Equivalent of the $near operand
NEAR - 类 中的静态变量com.mongodb.QueryOperators
 
NEAR_SPHERE - 类 中的静态变量com.mongodb.QueryOperators
 
nearest() - 类 中的静态方法com.mongodb.ReadPreference
Gets a read preference that forces reads to a primary or a secondary.
nearest(TagSet) - 类 中的静态方法com.mongodb.ReadPreference
Gets a read preference that forces reads to the primary or a secondary with the given set of tags.
nearest(List<TagSet>) - 类 中的静态方法com.mongodb.ReadPreference
Gets a read preference that forces reads to the primary or a secondary with one of the given sets of tags.
nearSphere(String, Point, Double, Double) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that matches all documents containing a field with geospatial data that is near the specified GeoJSON point using spherical geometry.
nearSphere(String, Bson, Double, Double) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that matches all documents containing a field with geospatial data that is near the specified GeoJSON point using spherical geometry.
nearSphere(String, double, double, Double, Double) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that matches all documents containing a field with geospatial data that is near the specified point using spherical geometry.
nearSphere(double, double) - 类 中的方法com.mongodb.QueryBuilder
Equivalent of the $nearSphere operand
nearSphere(double, double, double) - 类 中的方法com.mongodb.QueryBuilder
Equivalent of the $nearSphere operand
NettyStreamFactory - com.mongodb.connection.netty中的类
A StreamFactory for Streams based on Netty 4.0
NettyStreamFactory(SocketSettings, SslSettings, EventLoopGroup, Class<? extends SocketChannel>, ByteBufAllocator) - 类 的构造器com.mongodb.connection.netty.NettyStreamFactory
Construct a new instance of the factory.
NettyStreamFactory(SocketSettings, SslSettings, EventLoopGroup, ByteBufAllocator) - 类 的构造器com.mongodb.connection.netty.NettyStreamFactory
Construct a new instance of the factory.
NettyStreamFactory(SocketSettings, SslSettings) - 类 的构造器com.mongodb.connection.netty.NettyStreamFactory
Construct a new instance of the factory with a default allocator, nio event loop group and nio socket channel.
NettyStreamFactoryFactory - com.mongodb.connection.netty中的类
A StreamFactoryFactory implementation for Netty-based streams.
NettyStreamFactoryFactory() - 类 的构造器com.mongodb.connection.netty.NettyStreamFactoryFactory
已过时。
Use NettyStreamFactoryFactory.builder() instead to construct the NettyStreamFactoryFactory.
NettyStreamFactoryFactory(EventLoopGroup, ByteBufAllocator) - 类 的构造器com.mongodb.connection.netty.NettyStreamFactoryFactory
已过时。
Use NettyStreamFactoryFactory.builder() instead to construct the NettyStreamFactoryFactory.
NettyStreamFactoryFactory.Builder - com.mongodb.connection.netty中的类
A builder for an instance of NettyStreamFactoryFactory.
next(SingleResultCallback<List<T>>) - 接口 中的方法com.mongodb.async.AsyncBatchCursor
Returns the next batch of results.
next() - 接口 中的方法com.mongodb.client.MongoCursor
 
next() - 类 中的方法com.mongodb.DBCursor
Returns the object the cursor is at and moves the cursor ahead by one.
next() - 接口 中的方法com.mongodb.operation.BatchCursor
Returns the next batch of results.
next() - 类 中的方法org.bson.LazyBSONList.LazyBSONListIterator
 
nin(String, TItem...) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that matches all documents where the value of a field does not equal any of the specified values or does not exist.
nin(String, Iterable<TItem>) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that matches all documents where the value of a field does not equal any of the specified values or does not exist.
NIN - 类 中的静态变量com.mongodb.QueryOperators
 
noCursorTimeout(boolean) - 接口 中的方法com.mongodb.client.FindIterable
The server normally times out idle cursors after an inactivity period (10 minutes) to prevent excess memory use.
noCursorTimeout(boolean) - 接口 中的方法com.mongodb.client.gridfs.GridFSFindIterable
The server normally times out idle cursors after an inactivity period (10 minutes) to prevent excess memory use.
noCursorTimeout(boolean) - 类 中的方法com.mongodb.client.model.FindOptions
The server normally times out idle cursors after an inactivity period (10 minutes) to prevent excess memory use.
noCursorTimeout(boolean) - 类 中的方法com.mongodb.operation.FindOperation
Sets if the cursor timeout should be turned off.
nonAtomic(boolean) - 接口 中的方法com.mongodb.client.MapReduceIterable
Sets if the post-processing step will prevent MongoDB from locking the database.
nonAtomic(boolean) - 类 中的方法com.mongodb.operation.MapReduceToCollectionOperation
Sets if the post-processing step will prevent MongoDB from locking the database.
nor(Bson...) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that performs a logical NOR operation on all the specified filters.
nor(Iterable<Bson>) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that performs a logical NOR operation on all the specified filters.
NOR - 类 中的静态变量com.mongodb.QueryOperators
 
NORMAL - 类 中的静态变量com.mongodb.WriteConcern
已过时。
not(Bson) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that matches all documents that do not match the passed in filter.
not() - 类 中的方法com.mongodb.QueryBuilder
Equivalent to $not meta operator.
NOT - 类 中的静态变量com.mongodb.QueryOperators
 
notEquals(Object) - 类 中的方法com.mongodb.QueryBuilder
Equivalent of the $ne operand
notIn(Object) - 类 中的方法com.mongodb.QueryBuilder
Equivalent of the $nin operand
notNull(String, T) - 类 中的静态方法com.mongodb.assertions.Assertions
Throw IllegalArgumentException if the value is null.
notNull(String, T, SingleResultCallback<?>) - 类 中的静态方法com.mongodb.assertions.Assertions
Throw IllegalArgumentException if the value is null.
notNull(String, T) - 类 中的静态方法org.bson.assertions.Assertions
Throw IllegalArgumentException if the value is null.
NotThreadSafe - com.mongodb.annotations中的注释类型
The class to which this annotation is applied is not thread-safe.
NULL - 类 中的静态变量org.bson.BSON
 
NullMBeanServer - com.mongodb.management中的类
This class is NOT part of the public API.
NullMBeanServer() - 类 的构造器com.mongodb.management.NullMBeanServer
 
NUMBER - 类 中的静态变量org.bson.BSON
 
NUMBER_INT - 类 中的静态变量org.bson.BSON
 
NUMBER_LONG - 类 中的静态变量org.bson.BSON
 
numChunks() - 类 中的方法com.mongodb.gridfs.GridFSFile
Returns the number of chunks that store the file data.
numCursors(int) - 类 中的方法com.mongodb.ParallelScanOptions.Builder
Set the requested number of cursors to iterate in parallel.
numSeen() - 类 中的方法com.mongodb.DBCursor
Returns the number of objects through which the cursor has iterated.

O

OBJECT - 类 中的静态变量org.bson.BSON
 
objectDone() - 类 中的方法com.mongodb.DefaultDBCallback
 
objectDone() - 类 中的方法com.mongodb.util.JSONCallback
 
objectDone() - 类 中的方法org.bson.BasicBSONCallback
 
objectDone() - 接口 中的方法org.bson.BSONCallback
Called at the end of the document/array, and returns this object.
objectDone() - 类 中的方法org.bson.EmptyBSONCallback
 
ObjectId - org.bson.types中的类
A globally unique identifier for objects.
ObjectId() - 类 的构造器org.bson.types.ObjectId
Create a new object id.
ObjectId(Date) - 类 的构造器org.bson.types.ObjectId
Constructs a new instance using the given date.
ObjectId(Date, int) - 类 的构造器org.bson.types.ObjectId
Constructs a new instances using the given date and counter.
ObjectId(Date, int, short, int) - 类 的构造器org.bson.types.ObjectId
Constructs a new instances using the given date, machine identifier, process identifier, and counter.
ObjectId(int, int, short, int) - 类 的构造器org.bson.types.ObjectId
Creates an ObjectId using the given time, machine identifier, process identifier, and counter.
ObjectId(String) - 类 的构造器org.bson.types.ObjectId
Constructs a new instance from a 24-byte hexadecimal string representation.
ObjectId(byte[]) - 类 的构造器org.bson.types.ObjectId
Constructs a new instance from the given byte array
ObjectIdCodec - org.bson.codecs中的类
A Codec for ObjectId instances.
ObjectIdCodec() - 类 的构造器org.bson.codecs.ObjectIdCodec
 
ObjectIdGenerator - org.bson.codecs中的类
Creates new ObjectId instances as IDs for MongoDB Documents.
ObjectIdGenerator() - 类 的构造器org.bson.codecs.ObjectIdGenerator
 
ObjectSerializer - com.mongodb.util中的接口
Interface describing methods for serializing an object to a string.
objectStart(String) - 类 中的方法com.mongodb.util.JSONCallback
 
objectStart() - 类 中的方法org.bson.BasicBSONCallback
 
objectStart(String) - 类 中的方法org.bson.BasicBSONCallback
 
objectStart() - 接口 中的方法org.bson.BSONCallback
Signals the start of a BSON document, which usually maps onto some Java object.
objectStart(String) - 接口 中的方法org.bson.BSONCallback
Signals the start of a BSON document, which usually maps onto some Java object.
objectStart() - 类 中的方法org.bson.EmptyBSONCallback
 
objectStart(String) - 类 中的方法org.bson.EmptyBSONCallback
 
OID - 类 中的静态变量org.bson.BSON
 
ok() - 类 中的方法com.mongodb.CommandResult
Gets the "ok" field, which is whether this command executed correctly or not.
ok(boolean) - 类 中的方法com.mongodb.connection.ServerDescription.Builder
The isOK() result from requesting this information from MongoDB
one() - 类 中的方法com.mongodb.DBCursor
Returns the first document that matches the query.
onResult(T, Throwable) - 接口 中的方法com.mongodb.async.SingleResultCallback
Called when the operation completes.
open() - 接口 中的方法com.mongodb.connection.Stream
Open the stream.
openAsync(AsyncCompletionHandler<Void>) - 接口 中的方法com.mongodb.connection.Stream
Open the stream asynchronously.
openDownloadStream(ObjectId) - 接口 中的方法com.mongodb.client.gridfs.GridFSBucket
Opens a Stream from which the application can read the contents of the stored file specified by id.
openDownloadStream(BsonValue) - 接口 中的方法com.mongodb.client.gridfs.GridFSBucket
Opens a Stream from which the application can read the contents of the stored file specified by id.
openDownloadStream(String) - 接口 中的方法com.mongodb.client.gridfs.GridFSBucket
Opens a Stream from which the application can read the contents of the latest version of the stored file specified by the filename.
openDownloadStream(String, GridFSDownloadOptions) - 接口 中的方法com.mongodb.client.gridfs.GridFSBucket
Opens a Stream from which the application can read the contents of the stored file specified by filename and the revision in options.
openDownloadStreamByName(String) - 接口 中的方法com.mongodb.client.gridfs.GridFSBucket
已过时。
openDownloadStreamByName(String, GridFSDownloadByNameOptions) - 接口 中的方法com.mongodb.client.gridfs.GridFSBucket
openUploadStream(String) - 接口 中的方法com.mongodb.client.gridfs.GridFSBucket
Opens a Stream that the application can write the contents of the file to.
openUploadStream(String, GridFSUploadOptions) - 接口 中的方法com.mongodb.client.gridfs.GridFSBucket
Opens a Stream that the application can write the contents of the file to.
openUploadStream(BsonValue, String) - 接口 中的方法com.mongodb.client.gridfs.GridFSBucket
Opens a Stream that the application can write the contents of the file to.
openUploadStream(BsonValue, String, GridFSUploadOptions) - 接口 中的方法com.mongodb.client.gridfs.GridFSBucket
Opens a Stream that the application can write the contents of the file to.
OperationExecutor - com.mongodb.operation中的接口
An interface describing the execution of a read or a write operation.
oplogReplay(boolean) - 接口 中的方法com.mongodb.client.FindIterable
Users should not set this under normal circumstances.
oplogReplay(boolean) - 类 中的方法com.mongodb.client.model.FindOptions
Users should not set this under normal circumstances.
oplogReplay(boolean) - 类 中的方法com.mongodb.operation.FindOperation
Internal replication use only.
or(Iterable<Bson>) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that preforms a logical OR of the provided list of filters.
or(Bson...) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that preforms a logical OR of the provided list of filters.
or(DBObject...) - 类 中的方法com.mongodb.QueryBuilder
Equivalent to an $or operand
OR - 类 中的静态变量com.mongodb.QueryOperators
 
ORDER - 类 中的静态变量com.mongodb.Bytes
Little-endian
order(ByteOrder) - 接口 中的方法org.bson.ByteBuf
Modifies this buffer's byte order.
order(ByteOrder) - 类 中的方法org.bson.ByteBufNIO
 
ORDER_BY - 类 中的静态变量com.mongodb.QueryOperators
 
orderBy(Bson...) - 类 中的静态方法com.mongodb.client.model.Sorts
Combine multiple sort specifications.
orderBy(List<Bson>) - 类 中的静态方法com.mongodb.client.model.Sorts
Combine multiple sort specifications.
OrderBy - com.mongodb.operation中的枚举
Enumeration of possible index orders
ordered(boolean) - 类 中的方法com.mongodb.client.model.BulkWriteOptions
If true, then when a write fails, return without performing the remaining writes.
ordered(boolean) - 类 中的方法com.mongodb.client.model.InsertManyOptions
Sets whether the server should insert the documents in the order provided.
org.bson - 程序包 org.bson
Contains the base BSON classes.
org.bson.assertions - 程序包 org.bson.assertions
This package contains design by contract assertions
org.bson.codecs - 程序包 org.bson.codecs
This package contains all the default BSON codecs.
org.bson.codecs.configuration - 程序包 org.bson.codecs.configuration
This package contains codec configurations and the codec registry helper
org.bson.conversions - 程序包 org.bson.conversions
This package contains the Bson interface
org.bson.diagnostics - 程序包 org.bson.diagnostics
Contains the classes for visibility of the BSON layer, for example Logging.
org.bson.io - 程序包 org.bson.io
Contains classes implementing I/O operations used by BSON objects.
org.bson.json - 程序包 org.bson.json
JSON serialization and deserialization.
org.bson.types - 程序包 org.bson.types
Contains classes implementing various BSON types.
org.bson.util - 程序包 org.bson.util
Contains helper classes for working with the BSON protocol.
out(String) - 类 中的静态方法com.mongodb.client.model.Aggregates
Creates a $out pipeline stage for the specified filter
OutputBuffer - org.bson.io中的类
An abstract base class for classes implementing BsonOutput.
OutputBuffer() - 类 的构造器org.bson.io.OutputBuffer
 
outputMode(AggregationOptions.OutputMode) - 类 中的方法com.mongodb.AggregationOptions.Builder
The mode of output for this configuration.

P

ParallelCollectionScanOperation<T> - com.mongodb.operation中的类
Return a list of cursors over the collection that can be used to scan it in parallel.
ParallelCollectionScanOperation(MongoNamespace, int, Decoder<T>) - 类 的构造器com.mongodb.operation.ParallelCollectionScanOperation
Construct a new instance.
ParallelCollectionScanOptions - com.mongodb.client.model中的类
已过时。
this is an unused class and there should be no reason to use it
ParallelCollectionScanOptions() - 类 的构造器com.mongodb.client.model.ParallelCollectionScanOptions
已过时。
 
parallelScan(ParallelScanOptions) - 类 中的方法com.mongodb.DBCollection
Return a list of cursors over the collection that can be used to scan it in parallel.
ParallelScanOptions - com.mongodb中的类
The options to use for a parallel collection scan.
ParallelScanOptions.Builder - com.mongodb中的类
A builder for the options
parse(String) - 类 中的静态方法com.mongodb.BasicDBObject
Parses a string in MongoDB Extended JSON format to a BasicDBObject.
parse(String, Decoder<BasicDBObject>) - 类 中的静态方法com.mongodb.BasicDBObject
Parses a string in MongoDB Extended JSON format to a BasicDBObject.
parse(String) - 类 中的静态方法com.mongodb.util.JSON
Parses a JSON string and returns a corresponding Java object.
parse(String, BSONCallback) - 类 中的静态方法com.mongodb.util.JSON
Parses a JSON string and constructs a corresponding Java object by calling the methods of a BSONCallback during parsing.
parse(String) - 类 中的静态方法org.bson.BsonDocument
Parses a string in MongoDB Extended JSON format to a BsonDocument
parse(String) - 类 中的静态方法org.bson.Document
Parses a string in MongoDB Extended JSON format to a Document
parse(String, Decoder<Document>) - 类 中的静态方法org.bson.Document
Parses a string in MongoDB Extended JSON format to a Document
parse(String) - 类 中的静态方法org.bson.RawBsonDocument
Parses a string in MongoDB Extended JSON format to a RawBsonDocument
partial(boolean) - 接口 中的方法com.mongodb.client.FindIterable
Get partial results from a sharded cluster if one or more shards are unreachable (instead of throwing an error).
partial(boolean) - 类 中的方法com.mongodb.client.model.FindOptions
Get partial results from a sharded cluster if one or more shards are unreachable (instead of throwing an error).
partial(boolean) - 类 中的方法com.mongodb.operation.FindOperation
Sets if partial results from a mongos if some shards are down are allowed
partialFilterExpression(BsonDocument) - 类 中的方法com.mongodb.bulk.IndexRequest
Sets the filter expression for the documents to be included in the index
partialFilterExpression(Bson) - 类 中的方法com.mongodb.client.model.IndexOptions
Sets the filter expression for the documents to be included in the index
passives(Set<String>) - 类 中的方法com.mongodb.connection.ServerDescription.Builder
Sets the passive members of the replica set.
PatternCodec - org.bson.codecs中的类
A codec for Pattern instances.
PatternCodec() - 类 的构造器org.bson.codecs.PatternCodec
 
peekBinarySubType() - 类 中的方法org.bson.AbstractBsonReader
 
peekBinarySubType() - 接口 中的方法org.bson.BsonReader
Peeks the subtype of the binary data that the reader is positioned at.
pipe(OutputStream) - 类 中的方法com.mongodb.connection.ByteBufferBsonOutput
 
pipe(BsonReader) - 类 中的方法org.bson.AbstractBsonWriter
 
pipe(BsonReader) - 类 中的方法org.bson.BsonBinaryWriter
 
pipe(BsonReader) - 接口 中的方法org.bson.BsonWriter
Reads a single document from a BsonReader and writes it to this.
pipe(OutputStream) - 类 中的方法org.bson.io.BasicOutputBuffer
 
pipe(OutputStream) - 类 中的方法org.bson.io.OutputBuffer
Pipe the contents of this output buffer into the given output stream
pipe(OutputStream) - 类 中的方法org.bson.LazyBSONObject
Pipe the raw bytes into the given output stream.
PLAIN_MECHANISM - 类 中的静态变量com.mongodb.MongoCredential
The PLAIN mechanism.
Point - com.mongodb.client.model.geojson中的类
A representation of a GeoJSON Point.
Point(Position) - 类 的构造器com.mongodb.client.model.geojson.Point
Construct an instance with the given coordinate.
Point(CoordinateReferenceSystem, Position) - 类 的构造器com.mongodb.client.model.geojson.Point
Construct an instance with the given coordinate and coordinate reference system.
PointCodec - com.mongodb.client.model.geojson.codecs中的类
A Codec for a GeoJSON point.
PointCodec(CodecRegistry) - 类 的构造器com.mongodb.client.model.geojson.codecs.PointCodec
Constructs a new instance.
Polygon - com.mongodb.client.model.geojson中的类
A representation of a GeoJSON Polygon.
Polygon(List<Position>, List<Position>...) - 类 的构造器com.mongodb.client.model.geojson.Polygon
Construct an instance with the given coordinates.
Polygon(PolygonCoordinates) - 类 的构造器com.mongodb.client.model.geojson.Polygon
Construct an instance with the given coordinates.
Polygon(CoordinateReferenceSystem, PolygonCoordinates) - 类 的构造器com.mongodb.client.model.geojson.Polygon
Construct an instance with the given coordinates and coordinate reference system.
POLYGON - 类 中的静态变量com.mongodb.QueryOperators
 
PolygonCodec - com.mongodb.client.model.geojson.codecs中的类
A Codec for a GeoJSON polygon.
PolygonCodec(CodecRegistry) - 类 的构造器com.mongodb.client.model.geojson.codecs.PolygonCodec
Constructs an instance.
PolygonCoordinates - com.mongodb.client.model.geojson中的类
Coordinates for a GeoJSON Polygon.
PolygonCoordinates(List<Position>, List<Position>...) - 类 的构造器com.mongodb.client.model.geojson.PolygonCoordinates
Construct an instance.
pop() - 类 中的方法com.mongodb.BasicDBObjectBuilder
Pops the active object, which means that the parent object becomes active
popFirst(String) - 类 中的静态方法com.mongodb.client.model.Updates
Creates an update that pops the first element of an array that is the value of the field with the given name.
popLast(String) - 类 中的静态方法com.mongodb.client.model.Updates
Creates an update that pops the last element of an array that is the value of the field with the given name.
popMaxDocumentSize() - 类 中的方法org.bson.BsonBinaryWriter
Reset the maximum document size to its previous value.
Position - com.mongodb.client.model.geojson中的类
A representation of a GeoJSON Position.
Position(List<Double>) - 类 的构造器com.mongodb.client.model.geojson.Position
Construct an instance.
Position(double, double, double...) - 类 的构造器com.mongodb.client.model.geojson.Position
Construct an instance.
position(Integer) - 类 中的方法com.mongodb.client.model.PushOptions
Sets the position at which to add the pushed values in the array.
position(int) - 接口 中的方法org.bson.ByteBuf
Sets this buffer's position.
position() - 接口 中的方法org.bson.ByteBuf
Returns this buffer's position.
position(int) - 类 中的方法org.bson.ByteBufNIO
 
position() - 类 中的方法org.bson.ByteBufNIO
 
PREFIX - 类 中的静态变量com.mongodb.diagnostics.logging.Loggers
The prefix for all logger names.
PREFIX - 类 中的静态变量org.bson.diagnostics.Loggers
The prefix for all logger names.
preserveNullAndEmptyArrays(Boolean) - 类 中的方法com.mongodb.client.model.UnwindOptions
Sets true if the unwind stage should include documents that have null values or empty arrays
primary(String) - 类 中的方法com.mongodb.connection.ServerDescription.Builder
Sets the address of the current primary in the replica set
primary() - 类 中的静态方法com.mongodb.ReadPreference
Gets a read preference that forces read to the primary.
primaryPreferred() - 类 中的静态方法com.mongodb.ReadPreference
Gets a read preference that forces reads to the primary if available, otherwise to a secondary.
primaryPreferred(TagSet) - 类 中的静态方法com.mongodb.ReadPreference
Gets a read preference that forces reads to the primary if available, otherwise to a secondary with the given set of tags.
primaryPreferred(List<TagSet>) - 类 中的静态方法com.mongodb.ReadPreference
Gets a read preference that forces reads to the primary if available, otherwise to a secondary with one of the given sets of tags.
PrimaryServerSelector - com.mongodb.selector中的类
已过时。
Use either ReadPreferenceServerSelector or WritableServerSelector, depending on your requirements
PrimaryServerSelector() - 类 的构造器com.mongodb.selector.PrimaryServerSelector
已过时。
 
project(Bson) - 类 中的静态方法com.mongodb.client.model.Aggregates
Creates a $project pipeline stage for the specified projection
projection(Bson) - 接口 中的方法com.mongodb.client.FindIterable
Sets a document describing the fields to return for all matching documents.
projection(Bson) - 类 中的方法com.mongodb.client.model.FindOneAndDeleteOptions
Sets a document describing the fields to return for all matching documents.
projection(Bson) - 类 中的方法com.mongodb.client.model.FindOneAndReplaceOptions
Sets a document describing the fields to return for all matching documents.
projection(Bson) - 类 中的方法com.mongodb.client.model.FindOneAndUpdateOptions
Sets a document describing the fields to return for all matching documents.
projection(Bson) - 类 中的方法com.mongodb.client.model.FindOptions
Sets a document describing the fields to return for all matching documents.
projection(BsonDocument) - 类 中的方法com.mongodb.operation.FindAndDeleteOperation
Sets a document describing the fields to return for all matching documents.
projection(BsonDocument) - 类 中的方法com.mongodb.operation.FindAndReplaceOperation
Sets a document describing the fields to return for all matching documents.
projection(BsonDocument) - 类 中的方法com.mongodb.operation.FindAndUpdateOperation
Sets a document describing the fields to return for all matching documents.
projection(BsonDocument) - 类 中的方法com.mongodb.operation.FindOperation
Sets a document describing the fields to return for all matching documents.
Projections - com.mongodb.client.model中的类
A factory for projections.
pull(String, TItem) - 类 中的静态方法com.mongodb.client.model.Updates
Creates an update that removes all instances of the given value from the array value of the field with the given name.
pullAll(String, List<TItem>) - 类 中的静态方法com.mongodb.client.model.Updates
Creates an update that removes all instances of the given values from the array value of the field with the given name.
pullByFilter(Bson) - 类 中的静态方法com.mongodb.client.model.Updates
Creates an update that removes from an array all elements that match the given filter.
push(String) - 类 中的方法com.mongodb.BasicDBObjectBuilder
Creates an new empty object and inserts it into the current object with the given key.
push(String, TExpression) - 类 中的静态方法com.mongodb.client.model.Accumulators
Gets a field name for a $group operation representing an array of all values that results from applying an expression to each document in a group of documents that share the same group by key.
push(String, TItem) - 类 中的静态方法com.mongodb.client.model.Updates
Creates an update that adds the given value to the array value of the field with the given name.
pushEach(String, List<TItem>) - 类 中的静态方法com.mongodb.client.model.Updates
Creates an update that adds each of the given values to the array value of the field with the given name.
pushEach(String, List<TItem>, PushOptions) - 类 中的静态方法com.mongodb.client.model.Updates
Creates an update that adds each of the given values to the array value of the field with the given name, applying the given options for positioning the pushed values, and then slicing and/or sorting the array.
pushMaxDocumentSize(int) - 类 中的方法org.bson.BsonBinaryWriter
Sets a maximum size for documents from this point.
PushOptions - com.mongodb.client.model中的类
The options to apply to a $push update operator.
PushOptions() - 类 的构造器com.mongodb.client.model.PushOptions
 
put(String, Object) - 类 中的方法com.mongodb.gridfs.GridFSFile
 
put(String) - 类 中的方法com.mongodb.QueryBuilder
Adds a new key to the query if not present yet.
put(String, Object) - 类 中的方法com.mongodb.ReflectionDBObject
 
put(String, BsonValue) - 类 中的方法org.bson.BsonDocument
 
put(String, BsonValue) - 类 中的方法org.bson.BsonDocumentWrapper
 
put(String, Object) - 接口 中的方法org.bson.BSONObject
Sets a name/value pair in this object.
put(int, byte) - 接口 中的方法org.bson.ByteBuf
Absolute put method (optional operation).
put(byte[], int, int) - 接口 中的方法org.bson.ByteBuf
Relative bulk put method  (optional operation).
put(byte) - 接口 中的方法org.bson.ByteBuf
Relative put method (optional operation).
put(int, byte) - 类 中的方法org.bson.ByteBufNIO
 
put(byte[], int, int) - 类 中的方法org.bson.ByteBufNIO
 
put(byte) - 类 中的方法org.bson.ByteBufNIO
 
put(String, Object) - 类 中的方法org.bson.Document
 
put(String, Object) - 类 中的方法org.bson.LazyBSONObject
Always throws UnsupportedOperationException.
put(String, BsonValue) - 类 中的方法org.bson.RawBsonDocument
 
put(String, Object) - 类 中的方法org.bson.types.BasicBSONList
Puts a value at an index.
put(int, Object) - 类 中的方法org.bson.types.BasicBSONList
Puts a value at an index.
put(Class<?>, T) - 类 中的方法org.bson.util.ClassMap
As per java.util.Map, associates the specified value with the specified key in this map.
putAll(BSONObject) - 类 中的方法com.mongodb.gridfs.GridFSFile
 
putAll(Map) - 类 中的方法com.mongodb.gridfs.GridFSFile
 
putAll(Map) - 类 中的方法com.mongodb.ReflectionDBObject
 
putAll(BSONObject) - 类 中的方法com.mongodb.ReflectionDBObject
 
putAll(Map) - 类 中的方法org.bson.BasicBSONObject
 
putAll(BSONObject) - 类 中的方法org.bson.BasicBSONObject
 
putAll(Map<? extends String, ? extends BsonValue>) - 类 中的方法org.bson.BsonDocument
 
putAll(Map<? extends String, ? extends BsonValue>) - 类 中的方法org.bson.BsonDocumentWrapper
 
putAll(BSONObject) - 接口 中的方法org.bson.BSONObject
Sets all key/value pairs from an object into this object
putAll(Map) - 接口 中的方法org.bson.BSONObject
Sets all key/value pairs from a map into this object
putAll(Map<? extends String, ?>) - 类 中的方法org.bson.Document
 
putAll(BSONObject) - 类 中的方法org.bson.LazyBSONObject
Always throws UnsupportedOperationException.
putAll(Map) - 类 中的方法org.bson.LazyBSONObject
Always throws UnsupportedOperationException.
putAll(Map<? extends String, ? extends BsonValue>) - 类 中的方法org.bson.RawBsonDocument
 
putAll(Map) - 类 中的方法org.bson.types.BasicBSONList
 
putAll(BSONObject) - 类 中的方法org.bson.types.BasicBSONList
 
putArray(String, Object) - 类 中的方法org.bson.BasicBSONEncoder
Encodes an array field.
putBinary(String, byte[]) - 类 中的方法org.bson.BasicBSONEncoder
Encodes a byte array field
putBinary(String, Binary) - 类 中的方法org.bson.BasicBSONEncoder
Encodes a Binary field
putBoolean(String, Boolean) - 类 中的方法org.bson.BasicBSONEncoder
Encodes a field with a Boolean or boolean value
putCode(String, Code) - 类 中的方法org.bson.BasicBSONEncoder
Encodes a field to a BsonType.JAVASCRIPT value.
putCodeWScope(String, CodeWScope) - 类 中的方法org.bson.BasicBSONEncoder
Encodes a field to a BsonType.JAVASCRIPT_WITH_SCOPE value.
putDate(String, Date) - 类 中的方法org.bson.BasicBSONEncoder
Encodes a field with data and time value.
putDBRef(String, DBRef) - 类 中的方法com.mongodb.DefaultDBEncoder
Deals with encoding database references.
putIterable(String, Iterable) - 类 中的方法org.bson.BasicBSONEncoder
Encodes an Iterable, for example List values
putMap(String, Map) - 类 中的方法org.bson.BasicBSONEncoder
Encodes a map, as a BSON document
putMaxKey(String) - 类 中的方法org.bson.BasicBSONEncoder
Encodes a field to a BsonType.MAX_KEY value.
putMinKey(String) - 类 中的方法org.bson.BasicBSONEncoder
Encodes a field to a BsonType.MIN_KEY value.
putName(String) - 类 中的方法org.bson.BasicBSONEncoder
Writes a field name
putNull(String) - 类 中的方法org.bson.BasicBSONEncoder
Encodes a null value
putNumber(String, Number) - 类 中的方法org.bson.BasicBSONEncoder
Encodes any number field.
putObject(BSONObject) - 类 中的方法org.bson.BasicBSONEncoder
Encodes a BSONObject.
putObject(String, BSONObject) - 类 中的方法org.bson.BasicBSONEncoder
Encodes any BSONObject, as a document
putObject(BSONObject) - 接口 中的方法org.bson.BSONEncoder
Encoder and write a document into underlying buffer.
putObjectId(String, ObjectId) - 类 中的方法org.bson.BasicBSONEncoder
Encodes an ObjectId field to a BsonType.OBJECT_ID.
putPattern(String, Pattern) - 类 中的方法org.bson.BasicBSONEncoder
Encodes a Pattern field to a BsonType.REGULAR_EXPRESSION.
putSpecial(String, Object) - 类 中的方法com.mongodb.DefaultDBEncoder
 
putSpecial(String, Object) - 类 中的方法org.bson.BasicBSONEncoder
Special values are not encoded into documents.
putString(String, String) - 类 中的方法org.bson.BasicBSONEncoder
Encodes a String field
putSymbol(String, Symbol) - 类 中的方法org.bson.BasicBSONEncoder
Encodes a Symbol field
putTimestamp(String, BSONTimestamp) - 类 中的方法org.bson.BasicBSONEncoder
Encodes a BSON timestamp
putUndefined(String) - 类 中的方法org.bson.BasicBSONEncoder
Encodes an undefined value
putUUID(String, UUID) - 类 中的方法org.bson.BasicBSONEncoder
Encodes a field with a UUID value.

Q

query(MongoNamespace, BsonDocument, BsonDocument, int, int, boolean, boolean, boolean, boolean, boolean, boolean, Decoder<T>) - 接口 中的方法com.mongodb.connection.Connection
query(MongoNamespace, BsonDocument, BsonDocument, int, int, int, boolean, boolean, boolean, boolean, boolean, boolean, Decoder<T>) - 接口 中的方法com.mongodb.connection.Connection
Execute the query.
queryAsync(MongoNamespace, BsonDocument, BsonDocument, int, int, boolean, boolean, boolean, boolean, boolean, boolean, Decoder<T>, SingleResultCallback<QueryResult<T>>) - 接口 中的方法com.mongodb.connection.AsyncConnection
queryAsync(MongoNamespace, BsonDocument, BsonDocument, int, int, int, boolean, boolean, boolean, boolean, boolean, boolean, Decoder<T>, SingleResultCallback<QueryResult<T>>) - 接口 中的方法com.mongodb.connection.AsyncConnection
Execute the query asynchronously.
QueryBuilder - com.mongodb中的类
Utility for creating DBObject queries
QueryBuilder() - 类 的构造器com.mongodb.QueryBuilder
Creates a builder with an empty query
QueryOperators - com.mongodb中的类
MongoDB keywords for various query operations.
QUERYOPTION_AWAITDATA - 类 中的静态变量com.mongodb.Bytes
Use with TailableCursor.
QUERYOPTION_EXHAUST - 类 中的静态变量com.mongodb.Bytes
Stream the data down full blast in multiple "more" packages, on the assumption that the client will fully read all data queried.
QUERYOPTION_NOTIMEOUT - 类 中的静态变量com.mongodb.Bytes
The server normally times out idle cursors after an inactivity period (10 minutes) to prevent excess memory use.
QUERYOPTION_OPLOGREPLAY - 类 中的静态变量com.mongodb.Bytes
Internal replication use only - driver should not set
QUERYOPTION_PARTIAL - 类 中的静态变量com.mongodb.Bytes
Use with sharding (mongos).
QUERYOPTION_SLAVEOK - 类 中的静态变量com.mongodb.Bytes
When turned on, read queries will be directed to slave servers instead of the primary server.
QUERYOPTION_TAILABLE - 类 中的静态变量com.mongodb.Bytes
Tailable means cursor is not closed when the last data is retrieved.
QueryResult<T> - com.mongodb.connection中的类
A batch of query results.
QueryResult(MongoNamespace, List<T>, long, ServerAddress) - 类 的构造器com.mongodb.connection.QueryResult
Construct an instance.

R

RawBsonDocument - org.bson中的类
An immutable BSON document that is represented using only the raw bytes.
RawBsonDocument(byte[]) - 类 的构造器org.bson.RawBsonDocument
Constructs a new instance with the given byte array.
RawBsonDocument(byte[], int, int) - 类 的构造器org.bson.RawBsonDocument
Constructs a new instance with the given byte array, offset, and length.
RawBsonDocument(T, Codec<T>) - 类 的构造器org.bson.RawBsonDocument
Construct a new instance from the given document and codec for the document type.
RawBsonDocumentCodec - org.bson.codecs中的类
A simple BSONDocumentBuffer codec.
RawBsonDocumentCodec() - 类 的构造器org.bson.codecs.RawBsonDocumentCodec
Constructs a new instance.
read() - 类 中的方法com.mongodb.client.gridfs.GridFSDownloadStream
 
read(byte[]) - 类 中的方法com.mongodb.client.gridfs.GridFSDownloadStream
 
read(byte[], int, int) - 类 中的方法com.mongodb.client.gridfs.GridFSDownloadStream
 
read(int) - 接口 中的方法com.mongodb.connection.Stream
Read from the stream, blocking until the requested number of bytes have been read.
readAsync(int, AsyncCompletionHandler<ByteBuf>) - 接口 中的方法com.mongodb.connection.Stream
Read from the stream, asynchronously.
readBinaryData() - 类 中的方法org.bson.AbstractBsonReader
 
readBinaryData(String) - 类 中的方法org.bson.AbstractBsonReader
 
readBinaryData() - 接口 中的方法org.bson.BsonReader
Reads BSON Binary data from the reader.
readBinaryData(String) - 接口 中的方法org.bson.BsonReader
Reads a BSON Binary data element from the reader.
ReadBinding - com.mongodb.binding中的接口
A factory of connection sources to servers that can be read from and that satisfy the specified read preference.
readBoolean() - 类 中的方法org.bson.AbstractBsonReader
 
readBoolean(String) - 类 中的方法org.bson.AbstractBsonReader
 
readBoolean() - 接口 中的方法org.bson.BsonReader
Reads a BSON Boolean from the reader.
readBoolean(String) - 接口 中的方法org.bson.BsonReader
Reads a BSON Boolean element from the reader.
readBsonType() - 类 中的方法org.bson.AbstractBsonReader
 
readBsonType() - 类 中的方法org.bson.BsonBinaryReader
 
readBsonType() - 类 中的方法org.bson.BsonDocumentReader
 
readBsonType() - 接口 中的方法org.bson.BsonReader
Reads a BSONType from the reader.
readBsonType() - 类 中的方法org.bson.json.JsonReader
 
readByte() - 接口 中的方法org.bson.io.BsonInput
Reads a single byte from the stream
readByte() - 类 中的方法org.bson.io.ByteBufferBsonInput
 
readBytes(byte[]) - 接口 中的方法org.bson.io.BsonInput
Reads the specified number of bytes into the given byte array.
readBytes(byte[], int, int) - 接口 中的方法org.bson.io.BsonInput
Reads the specified number of bytes into the given byte array starting at the specified offset.
readBytes(byte[]) - 类 中的方法org.bson.io.ByteBufferBsonInput
 
readBytes(byte[], int, int) - 类 中的方法org.bson.io.ByteBufferBsonInput
 
readConcern(ReadConcern) - 类 中的方法com.mongodb.MongoClientOptions.Builder
Sets the read concern.
readConcern(ReadConcern) - 类 中的方法com.mongodb.operation.AggregateOperation
Sets the read concern
readConcern(ReadConcern) - 类 中的方法com.mongodb.operation.CountOperation
Sets the read concern
readConcern(ReadConcern) - 类 中的方法com.mongodb.operation.DistinctOperation
Sets the read concern
readConcern(ReadConcern) - 类 中的方法com.mongodb.operation.FindOperation
Sets the read concern
readConcern(ReadConcern) - 类 中的方法com.mongodb.operation.MapReduceWithInlineResultsOperation
Sets the read concern
readConcern(ReadConcern) - 类 中的方法com.mongodb.operation.ParallelCollectionScanOperation
Sets the read concern
ReadConcern - com.mongodb中的类
The readConcern option allows clients to choose a level of isolation for their reads.
ReadConcern(ReadConcernLevel) - 类 的构造器com.mongodb.ReadConcern
Construct a new read concern
ReadConcernLevel - com.mongodb中的枚举
The readConcern option allows clients to choose a level of isolation for their reads.
readCString() - 接口 中的方法org.bson.io.BsonInput
Reads a BSON CString value from the stream.
readCString() - 类 中的方法org.bson.io.ByteBufferBsonInput
 
readDateTime() - 类 中的方法org.bson.AbstractBsonReader
 
readDateTime(String) - 类 中的方法org.bson.AbstractBsonReader
 
readDateTime() - 接口 中的方法org.bson.BsonReader
Reads a BSON DateTime from the reader.
readDateTime(String) - 接口 中的方法org.bson.BsonReader
Reads a BSON DateTime element from the reader.
readDBPointer() - 类 中的方法org.bson.AbstractBsonReader
 
readDBPointer(String) - 类 中的方法org.bson.AbstractBsonReader
 
readDBPointer() - 接口 中的方法org.bson.BsonReader
Reads a BSON DBPointer from the reader.
readDBPointer(String) - 接口 中的方法org.bson.BsonReader
Reads a BSON DBPointer element from the reader.
readDouble() - 类 中的方法org.bson.AbstractBsonReader
 
readDouble(String) - 类 中的方法org.bson.AbstractBsonReader
 
readDouble() - 接口 中的方法org.bson.BsonReader
Reads a BSON Double from the reader.
readDouble(String) - 接口 中的方法org.bson.BsonReader
Reads a BSON Double element from the reader.
readDouble() - 接口 中的方法org.bson.io.BsonInput
Reads a BSON Double value from the stream.
readDouble() - 类 中的方法org.bson.io.ByteBufferBsonInput
 
readEndArray() - 类 中的方法org.bson.AbstractBsonReader
 
readEndArray() - 接口 中的方法org.bson.BsonReader
Reads the end of a BSON array from the reader.
readEndDocument() - 类 中的方法org.bson.AbstractBsonReader
 
readEndDocument() - 接口 中的方法org.bson.BsonReader
Reads the end of a BSON document from the reader.
readFully(InputStream, byte[]) - 类 中的静态方法org.bson.io.Bits
Reads bytes from the input stream and puts them into the given byte buffer.
readFully(InputStream, byte[], int) - 类 中的静态方法org.bson.io.Bits
Reads bytes from the input stream and puts them into the given byte buffer.
readFully(InputStream, byte[], int, int) - 类 中的静态方法org.bson.io.Bits
Reads bytes from the input stream and puts them into the given byte buffer.
readInt(InputStream) - 类 中的静态方法org.bson.io.Bits
Reads and returns a single integer value from the input stream.
readInt(InputStream, byte[]) - 类 中的静态方法org.bson.io.Bits
Reads and returns a single integer value from the input stream.
readInt(byte[]) - 类 中的静态方法org.bson.io.Bits
Reads and returns a single integer value from the buffer.
readInt(byte[], int) - 类 中的静态方法org.bson.io.Bits
Reads and returns a single integer value from the buffer.
readInt32() - 类 中的方法org.bson.AbstractBsonReader
 
readInt32(String) - 类 中的方法org.bson.AbstractBsonReader
 
readInt32() - 接口 中的方法org.bson.BsonReader
Reads a BSON Int32 from the reader.
readInt32(String) - 接口 中的方法org.bson.BsonReader
Reads a BSON Int32 element from the reader.
readInt32() - 接口 中的方法org.bson.io.BsonInput
Reads a BSON Int32 value from the stream.
readInt32() - 类 中的方法org.bson.io.ByteBufferBsonInput
 
readInt64() - 类 中的方法org.bson.AbstractBsonReader
 
readInt64(String) - 类 中的方法org.bson.AbstractBsonReader
 
readInt64() - 接口 中的方法org.bson.BsonReader
Reads a BSON Int64 from the reader.
readInt64(String) - 接口 中的方法org.bson.BsonReader
Reads a BSON Int64 element from the reader.
readInt64() - 接口 中的方法org.bson.io.BsonInput
Reads a BSON Int64 value from the stream.
readInt64() - 类 中的方法org.bson.io.ByteBufferBsonInput
 
readIntBE(byte[], int) - 类 中的静态方法org.bson.io.Bits
Reads and returns a single big-endian integer value
readJavaScript() - 类 中的方法org.bson.AbstractBsonReader
 
readJavaScript(String) - 类 中的方法org.bson.AbstractBsonReader
 
readJavaScript() - 接口 中的方法org.bson.BsonReader
Reads a BSON JavaScript from the reader.
readJavaScript(String) - 接口 中的方法org.bson.BsonReader
Reads a BSON JavaScript element from the reader.
readJavaScriptWithScope() - 类 中的方法org.bson.AbstractBsonReader
 
readJavaScriptWithScope(String) - 类 中的方法org.bson.AbstractBsonReader
 
readJavaScriptWithScope() - 接口 中的方法org.bson.BsonReader
Reads a BSON JavaScript with scope from the reader (call readStartDocument next to read the scope).
readJavaScriptWithScope(String) - 接口 中的方法org.bson.BsonReader
Reads a BSON JavaScript with scope element from the reader (call readStartDocument next to read the scope).
readLong(InputStream) - 类 中的静态方法org.bson.io.Bits
Reads and returns a single long value from the input stream.
readLong(InputStream, byte[]) - 类 中的静态方法org.bson.io.Bits
Reads and returns a single long value from the input stream.
readLong(byte[]) - 类 中的静态方法org.bson.io.Bits
Reads and returns a single long value from the buffer.
readLong(byte[], int) - 类 中的静态方法org.bson.io.Bits
Reads and returns a single long value from the buffer.
readMaxKey() - 类 中的方法org.bson.AbstractBsonReader
 
readMaxKey(String) - 类 中的方法org.bson.AbstractBsonReader
 
readMaxKey() - 接口 中的方法org.bson.BsonReader
Reads a BSON MaxKey from the reader.
readMaxKey(String) - 接口 中的方法org.bson.BsonReader
Reads a BSON MaxKey element from the reader.
readMinKey() - 类 中的方法org.bson.AbstractBsonReader
 
readMinKey(String) - 类 中的方法org.bson.AbstractBsonReader
 
readMinKey() - 接口 中的方法org.bson.BsonReader
Reads a BSON MinKey from the reader.
readMinKey(String) - 接口 中的方法org.bson.BsonReader
Reads a BSON MinKey element from the reader.
readName() - 类 中的方法org.bson.AbstractBsonReader
 
readName(String) - 类 中的方法org.bson.AbstractBsonReader
 
readName() - 接口 中的方法org.bson.BsonReader
Reads the name of an element from the reader.
readName(String) - 接口 中的方法org.bson.BsonReader
Reads the name of an element from the reader.
readNull() - 类 中的方法org.bson.AbstractBsonReader
 
readNull(String) - 类 中的方法org.bson.AbstractBsonReader
 
readNull() - 接口 中的方法org.bson.BsonReader
Reads a BSON null from the reader.
readNull(String) - 接口 中的方法org.bson.BsonReader
Reads a BSON null element from the reader.
readObject(InputStream) - 类 中的方法com.mongodb.LazyDBDecoder
 
readObject(byte[]) - 类 中的方法org.bson.BasicBSONDecoder
 
readObject(InputStream) - 类 中的方法org.bson.BasicBSONDecoder
 
readObject(byte[]) - 接口 中的方法org.bson.BSONDecoder
Read a single BSON object from the given bytes.
readObject(InputStream) - 接口 中的方法org.bson.BSONDecoder
Read a single BSON object from the given input stream.
readObject(byte[]) - 类 中的方法org.bson.LazyBSONDecoder
 
readObject(InputStream) - 类 中的方法org.bson.LazyBSONDecoder
 
readObjectId() - 类 中的方法org.bson.AbstractBsonReader
 
readObjectId(String) - 类 中的方法org.bson.AbstractBsonReader
 
readObjectId() - 接口 中的方法org.bson.BsonReader
Reads a BSON ObjectId from the reader.
readObjectId(String) - 接口 中的方法org.bson.BsonReader
Reads a BSON ObjectId element from the reader.
readObjectId() - 接口 中的方法org.bson.io.BsonInput
Reads a BSON ObjectId value from the stream.
readObjectId() - 类 中的方法org.bson.io.ByteBufferBsonInput
 
ReadOperation<T> - com.mongodb.operation中的接口
An operation that reads from a MongoDB server.
readPreference(ReadPreference) - 类 中的方法com.mongodb.MongoClientOptions.Builder
Sets the read preference.
readPreference - 类 中的变量com.mongodb.MongoOptions
已过时。
Specifies the read preference.
readPreference(ReadPreference) - 类 中的方法com.mongodb.ParallelScanOptions.Builder
The read preference to use.
ReadPreference - com.mongodb中的类
A class that represents preferred replica set members to which a query or command can be sent.
ReadPreferenceServerSelector - com.mongodb.selector中的类
A server selector that chooses based on a read preference.
ReadPreferenceServerSelector(ReadPreference) - 类 的构造器com.mongodb.selector.ReadPreferenceServerSelector
Gets the read preference.
readRegularExpression() - 类 中的方法org.bson.AbstractBsonReader
 
readRegularExpression(String) - 类 中的方法org.bson.AbstractBsonReader
 
readRegularExpression() - 接口 中的方法org.bson.BsonReader
Reads a BSON regular expression from the reader.
readRegularExpression(String) - 接口 中的方法org.bson.BsonReader
Reads a BSON regular expression element from the reader.
readStartArray() - 类 中的方法org.bson.AbstractBsonReader
 
readStartArray() - 接口 中的方法org.bson.BsonReader
Reads the start of a BSON array.
readStartDocument() - 类 中的方法org.bson.AbstractBsonReader
 
readStartDocument() - 接口 中的方法org.bson.BsonReader
Reads the start of a BSON document.
readString() - 类 中的方法org.bson.AbstractBsonReader
 
readString(String) - 类 中的方法org.bson.AbstractBsonReader
 
readString() - 接口 中的方法org.bson.BsonReader
Reads a BSON String from the reader.
readString(String) - 接口 中的方法org.bson.BsonReader
Reads a BSON string element from the reader.
readString() - 接口 中的方法org.bson.io.BsonInput
Reads a BSON String value from the stream.
readString() - 类 中的方法org.bson.io.ByteBufferBsonInput
 
readSymbol() - 类 中的方法org.bson.AbstractBsonReader
 
readSymbol(String) - 类 中的方法org.bson.AbstractBsonReader
 
readSymbol() - 接口 中的方法org.bson.BsonReader
Reads a BSON symbol from the reader.
readSymbol(String) - 接口 中的方法org.bson.BsonReader
Reads a BSON symbol element from the reader.
readTimeout(int, TimeUnit) - 类 中的方法com.mongodb.connection.SocketSettings.Builder
Sets the socket read timeout.
readTimestamp() - 类 中的方法org.bson.AbstractBsonReader
 
readTimestamp(String) - 类 中的方法org.bson.AbstractBsonReader
 
readTimestamp() - 接口 中的方法org.bson.BsonReader
Reads a BSON timestamp from the reader.
readTimestamp(String) - 接口 中的方法org.bson.BsonReader
Reads a BSON timestamp element from the reader.
readUndefined() - 类 中的方法org.bson.AbstractBsonReader
 
readUndefined(String) - 类 中的方法org.bson.AbstractBsonReader
 
readUndefined() - 接口 中的方法org.bson.BsonReader
Reads a BSON undefined from the reader.
readUndefined(String) - 接口 中的方法org.bson.BsonReader
Reads a BSON undefined element from the reader.
readValue(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.BsonArrayCodec
This method may be overridden to change the behavior of reading the current value from the given BsonReader.
readValue(BsonReader, DecoderContext) - 类 中的方法org.bson.codecs.BsonDocumentCodec
This method may be overridden to change the behavior of reading the current value from the given BsonReader.
ReadWriteBinding - com.mongodb.binding中的接口
A factory of connection sources to servers that can be read from or written to.
receiveBufferSize(int) - 类 中的方法com.mongodb.connection.SocketSettings.Builder
Sets the receive buffer size.
REF - 类 中的静态变量org.bson.BSON
 
ReferenceCounted - com.mongodb.binding中的接口
An interface for reference-counted objects.
ReflectionDBObject - com.mongodb中的类
This class enables to map simple Class fields to a BSON object fields
ReflectionDBObject() - 类 的构造器com.mongodb.ReflectionDBObject
 
ReflectionDBObject.JavaWrapper - com.mongodb中的类
Represents a wrapper around the DBObject to interface with the Class fields
regex(String, String) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that matches all documents where the value of the field matches the given regular expression pattern with the given options applied.
regex(String, String, String) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that matches all documents where the value of the field matches the given regular expression pattern with the given options applied.
regex(String, Pattern) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that matches all documents where the value of the field matches the given regular expression pattern with the given options applied.
regex(Pattern) - 类 中的方法com.mongodb.QueryBuilder
Passes a regular expression for a query
REGEX - 类 中的静态变量org.bson.BSON
 
regexFlag(char) - 类 中的静态方法org.bson.BSON
Converts a regular expression modifier from the database into Java regular expression flags.
regexFlags(String) - 类 中的静态方法org.bson.BSON
Converts a sequence of regular expression modifiers from the database into Java regular expression flags.
regexFlags(int) - 类 中的静态方法org.bson.BSON
Converts Java regular expression flags into regular expression modifiers from the database.
registerMBean(Object, String) - 接口 中的方法com.mongodb.management.MBeanServer
Register the given mBean with the given name.
registerMBean(Object, String) - 类 中的方法com.mongodb.management.NullMBeanServer
 
release() - 类 中的方法com.mongodb.binding.AsyncSingleConnectionReadBinding
 
release() - 接口 中的方法com.mongodb.binding.ReferenceCounted
Release a reference to this object.
release() - 类 中的方法com.mongodb.binding.SingleConnectionReadBinding
 
release() - 接口 中的方法org.bson.ByteBuf
Release a reference to this object.
release() - 类 中的方法org.bson.ByteBufNIO
 
remaining() - 接口 中的方法org.bson.ByteBuf
Returns the number of elements between the current position and the limit.
remaining() - 类 中的方法org.bson.ByteBufNIO
 
remove() - 类 中的方法com.mongodb.BulkWriteRequestBuilder
Adds a request to remove all documents in the collection that match the query with which this builder was created.
remove(DBObject) - 类 中的方法com.mongodb.DBCollection
Remove documents from a collection.
remove(DBObject, WriteConcern) - 类 中的方法com.mongodb.DBCollection
Remove documents from a collection.
remove(DBObject, WriteConcern, DBEncoder) - 类 中的方法com.mongodb.DBCollection
Remove documents from a collection.
remove() - 类 中的方法com.mongodb.DBCursor
 
remove(ConnectionListener) - 类 中的方法com.mongodb.event.ConnectionEventMulticaster
Removes the given connection listener from the list of listeners to invoke on connection events.
remove(ConnectionPoolListener) - 类 中的方法com.mongodb.event.ConnectionPoolEventMulticaster
Removes the given connection pool listener from the list of listeners to invoke on connection pool events.
remove(ObjectId) - 类 中的方法com.mongodb.gridfs.GridFS
Removes the file matching the given id.
remove(String) - 类 中的方法com.mongodb.gridfs.GridFS
Removes all files matching the given filename.
remove(DBObject) - 类 中的方法com.mongodb.gridfs.GridFS
Removes all files matching the given query.
remove(Object) - 类 中的方法org.bson.BsonArray
 
remove(int) - 类 中的方法org.bson.BsonArray
 
remove(Object) - 类 中的方法org.bson.BsonDocument
 
remove(Object) - 类 中的方法org.bson.BsonDocumentWrapper
 
remove(Object) - 类 中的方法org.bson.Document
 
remove() - 类 中的方法org.bson.LazyBSONList.LazyBSONListIterator
 
remove(Object) - 类 中的方法org.bson.LazyBSONList
 
remove(int) - 类 中的方法org.bson.LazyBSONList
 
remove(Object) - 类 中的方法org.bson.RawBsonDocument
 
remove(Object) - 类 中的方法org.bson.util.ClassMap
As per java.util.Map, removes the mapping for a key from this map if it is present
removeAll(Collection<?>) - 类 中的方法org.bson.BsonArray
 
removeAll(Collection) - 类 中的方法org.bson.LazyBSONList
 
removeDecodingHook(Class<?>, Transformer) - 类 中的静态方法org.bson.BSON
Remove a specific encoding hook for a specific class.
removeDecodingHooks(Class<?>) - 类 中的静态方法org.bson.BSON
Remove all decoding hooks for a specific class.
removeEncodingHook(Class<?>, Transformer) - 类 中的静态方法org.bson.BSON
Remove a specific encoding hook for a specific class.
removeEncodingHooks(Class<?>) - 类 中的静态方法org.bson.BSON
Remove all encoding hooks for a specific class.
removeField(String) - 类 中的方法com.mongodb.gridfs.GridFSFile
 
removeField(String) - 类 中的方法com.mongodb.ReflectionDBObject
This operation is not supported.
removeField(String) - 类 中的方法org.bson.BasicBSONObject
Deletes a field from this object.
removeField(String) - 接口 中的方法org.bson.BSONObject
Removes a field with a given name from this object.
removeField(String) - 类 中的方法org.bson.LazyBSONObject
Always throws UnsupportedOperationException.
removeField(String) - 类 中的方法org.bson.types.BasicBSONList
 
removeOne() - 类 中的方法com.mongodb.BulkWriteRequestBuilder
Adds a request to remove one document in the collection that matches the query with which this builder was created.
removeUser(String) - 类 中的方法com.mongodb.DB
已过时。
Use DB.command to call the dropUser command
rename(ObjectId, String) - 接口 中的方法com.mongodb.client.gridfs.GridFSBucket
Renames the stored file with the specified id.
rename(BsonValue, String) - 接口 中的方法com.mongodb.client.gridfs.GridFSBucket
Renames the stored file with the specified id.
rename(String, String) - 类 中的静态方法com.mongodb.client.model.Updates
Creates an update that renames a field.
rename(String) - 类 中的方法com.mongodb.DBCollection
Change the name of an existing collection.
rename(String, boolean) - 类 中的方法com.mongodb.DBCollection
Change the name of an existing collection.
renameCollection(MongoNamespace) - 接口 中的方法com.mongodb.client.MongoCollection
Rename the collection with oldCollectionName to the newCollectionName.
renameCollection(MongoNamespace, RenameCollectionOptions) - 接口 中的方法com.mongodb.client.MongoCollection
Rename the collection with oldCollectionName to the newCollectionName.
RenameCollectionOperation - com.mongodb.operation中的类
An operation that renames the given collection to the new name.
RenameCollectionOperation(MongoNamespace, MongoNamespace) - 类 的构造器com.mongodb.operation.RenameCollectionOperation
 
RenameCollectionOptions - com.mongodb.client.model中的类
The options to apply when renaming a collection.
RenameCollectionOptions() - 类 的构造器com.mongodb.client.model.RenameCollectionOptions
 
replaceOne(DBObject) - 类 中的方法com.mongodb.BulkUpdateRequestBuilder
Adds a request to replace one document in the collection that matches the query with which this builder was created.
replaceOne(DBObject) - 类 中的方法com.mongodb.BulkWriteRequestBuilder
Adds a request to replace one document in the collection that matches the query with which this builder was created.
replaceOne(Bson, TDocument) - 接口 中的方法com.mongodb.client.MongoCollection
Replace a document in the collection according to the specified arguments.
replaceOne(Bson, TDocument, UpdateOptions) - 接口 中的方法com.mongodb.client.MongoCollection
Replace a document in the collection according to the specified arguments.
ReplaceOneModel<T> - com.mongodb.client.model中的类
A model describing the replacement of at most one document that matches the query filter.
ReplaceOneModel(Bson, T) - 类 的构造器com.mongodb.client.model.ReplaceOneModel
Construct a new instance.
ReplaceOneModel(Bson, T, UpdateOptions) - 类 的构造器com.mongodb.client.model.ReplaceOneModel
Construct a new instance.
REPLICA_ACKNOWLEDGED - 类 中的静态变量com.mongodb.WriteConcern
已过时。
Prefer WriteConcern#W2
REPLICAS_SAFE - 类 中的静态变量com.mongodb.WriteConcern
已过时。
ReplicaSetStatus - com.mongodb中的类
Keeps replica set status.
requiredClusterType(ClusterType) - 类 中的方法com.mongodb.connection.ClusterSettings.Builder
Sets the required cluster type for the cluster.
requiredReplicaSetName(String) - 类 中的方法com.mongodb.connection.ClusterSettings.Builder
Sets the required replica set name for the cluster.
requiredReplicaSetName(String) - 类 中的方法com.mongodb.MongoClientOptions.Builder
Sets the required replica set name for the cluster.
reset() - 类 中的方法com.mongodb.client.gridfs.GridFSDownloadStream
 
reset() - 类 中的方法com.mongodb.MongoOptions
已过时。
Reset all settings to the default.
reset() - 类 中的方法org.bson.AbstractBsonReader.Mark
 
reset() - 类 中的方法org.bson.AbstractBsonWriter.Mark
Resets the AbstractBsonWriter instance that contains this Mark to the state the writer was in when the Mark was created.
reset() - 类 中的方法org.bson.BasicBSONCallback
 
reset() - 类 中的方法org.bson.BsonBinaryReader.Mark
 
reset() - 类 中的方法org.bson.BsonBinaryReader
 
reset() - 类 中的方法org.bson.BsonBinaryWriter.Mark
 
reset() - 类 中的方法org.bson.BsonBinaryWriter
Resets this writer to the last BsonBinaryWriter.mark() saved.
reset() - 接口 中的方法org.bson.BSONCallback
Resets the callback, clearing all state.
reset() - 类 中的方法org.bson.BsonDocumentReader.Context
 
reset() - 类 中的方法org.bson.BsonDocumentReader.Mark
 
reset() - 类 中的方法org.bson.BsonDocumentReader
 
reset() - 接口 中的方法org.bson.BsonReader
Go back to the state at the last mark and removes the mark
reset() - 类 中的方法org.bson.EmptyBSONCallback
 
reset() - 接口 中的方法org.bson.io.BsonInput
Resets the stream to the current mark.
reset() - 类 中的方法org.bson.io.ByteBufferBsonInput
 
reset() - 类 中的方法org.bson.json.JsonReader.Mark
 
reset() - 类 中的方法org.bson.json.JsonReader
 
reset() - 类 中的方法org.bson.LazyBSONCallback
 
resetOptions() - 类 中的方法com.mongodb.DB
Resets the query options.
resetOptions() - 类 中的方法com.mongodb.DBCollection
Resets the default query options
resetOptions() - 类 中的方法com.mongodb.DBCursor
Resets the query options.
resetOptions() - 类 中的方法com.mongodb.Mongo
已过时。
Reset options instead on instances of DBCursor
RESULTFLAG_AWAITCAPABLE - 类 中的静态变量com.mongodb.Bytes
Set when the server supports the AwaitData Query option.
RESULTFLAG_CURSORNOTFOUND - 类 中的静态变量com.mongodb.Bytes
Set when getMore is called but the cursor id is not valid at the server.
RESULTFLAG_ERRSET - 类 中的静态变量com.mongodb.Bytes
Set when query failed.
RESULTFLAG_SHARDCONFIGSTALE - 类 中的静态变量com.mongodb.Bytes
Drivers should ignore this.
results() - 类 中的方法com.mongodb.AggregationOutput
Returns the results of the aggregation.
results() - 类 中的方法com.mongodb.MapReduceOutput
Returns an iterable containing the results of the operation.
retain() - 类 中的方法com.mongodb.binding.AsyncClusterBinding
 
retain() - 接口 中的方法com.mongodb.binding.AsyncConnectionSource
 
retain() - 接口 中的方法com.mongodb.binding.AsyncReadBinding
 
retain() - 接口 中的方法com.mongodb.binding.AsyncReadWriteBinding
 
retain() - 类 中的方法com.mongodb.binding.AsyncSingleConnectionReadBinding
 
retain() - 接口 中的方法com.mongodb.binding.AsyncWriteBinding
 
retain() - 类 中的方法com.mongodb.binding.ClusterBinding
 
retain() - 接口 中的方法com.mongodb.binding.ConnectionSource
 
retain() - 接口 中的方法com.mongodb.binding.ReadBinding
 
retain() - 接口 中的方法com.mongodb.binding.ReadWriteBinding
 
retain() - 接口 中的方法com.mongodb.binding.ReferenceCounted
Retain an additional reference to this object.
retain() - 类 中的方法com.mongodb.binding.SingleConnectionReadBinding
 
retain() - 类 中的方法com.mongodb.binding.SingleServerBinding
 
retain() - 接口 中的方法com.mongodb.binding.WriteBinding
 
retain() - 接口 中的方法com.mongodb.connection.AsyncConnection
 
retain() - 接口 中的方法com.mongodb.connection.Connection
 
retain() - 接口 中的方法org.bson.ByteBuf
Retain an additional reference to this object.
retain() - 类 中的方法org.bson.ByteBufNIO
 
retainAll(Collection<?>) - 类 中的方法org.bson.BsonArray
 
retainAll(Collection) - 类 中的方法org.bson.LazyBSONList
 
RETURN_KEY - 类 中的静态变量com.mongodb.QueryOperators
 
returnDocument(ReturnDocument) - 类 中的方法com.mongodb.client.model.FindOneAndReplaceOptions
Set whether to return the document before it was replaced or after
returnDocument(ReturnDocument) - 类 中的方法com.mongodb.client.model.FindOneAndUpdateOptions
Set whether to return the document before it was updated / inserted or after
ReturnDocument - com.mongodb.client.model中的枚举
Indicates which document to return, the original document before change or the document after the change
returnKey() - 类 中的方法com.mongodb.DBCursor
Forces the cursor to only return fields included in the index.
returnOriginal(boolean) - 类 中的方法com.mongodb.operation.FindAndReplaceOperation
Set to false to return the replaced document rather than the original.
returnOriginal(boolean) - 类 中的方法com.mongodb.operation.FindAndUpdateOperation
Set to false if the updated document rather than the original should be returned.
revision(int) - 类 中的方法com.mongodb.client.gridfs.model.GridFSDownloadByNameOptions
已过时。
Set the revision of the file to retrieve.
revision(int) - 类 中的方法com.mongodb.client.gridfs.model.GridFSDownloadOptions
Set the revision of the file to retrieve.
roundTripTime(long, TimeUnit) - 类 中的方法com.mongodb.connection.ServerDescription.Builder
Set the time it took to make the round trip for requesting this information from the server
runCommand(Bson) - 接口 中的方法com.mongodb.client.MongoDatabase
Executes the given command in the context of the current database with a read preference of ReadPreference.primary().
runCommand(Bson, ReadPreference) - 接口 中的方法com.mongodb.client.MongoDatabase
Executes the given command in the context of the current database with the given read preference.
runCommand(Bson, Class<TResult>) - 接口 中的方法com.mongodb.client.MongoDatabase
Executes the given command in the context of the current database with a read preference of ReadPreference.primary().
runCommand(Bson, ReadPreference, Class<TResult>) - 接口 中的方法com.mongodb.client.MongoDatabase
Executes the given command in the context of the current database with the given read preference.

S

safe - 类 中的变量com.mongodb.MongoOptions
已过时。
If true the driver will use a WriteConcern of WriteConcern.SAFE for all operations.
SAFE - 类 中的静态变量com.mongodb.WriteConcern
已过时。
sameHost(String) - 类 中的方法com.mongodb.ServerAddress
Determines whether this address is the same as a given host.
sample(int) - 类 中的静态方法com.mongodb.client.model.Aggregates
Creates a $sample pipeline stage with the specified sample size
save(DBObject) - 类 中的方法com.mongodb.DBCollection
Update an existing document or insert a document depending on the parameter.
save(DBObject, WriteConcern) - 类 中的方法com.mongodb.DBCollection
Update an existing document or insert a document depending on the parameter.
save() - 类 中的方法com.mongodb.gridfs.GridFSFile
Saves the file entry to the files collection
save() - 类 中的方法com.mongodb.gridfs.GridFSInputFile
Calls GridFSInputFile.save(long) with the existing chunk size.
save(long) - 类 中的方法com.mongodb.gridfs.GridFSInputFile
This method first calls saveChunks(long) if the file data has not been saved yet.
saveChunks() - 类 中的方法com.mongodb.gridfs.GridFSInputFile
Saves all data into chunks from configured InputStream input stream to GridFS.
saveChunks(long) - 类 中的方法com.mongodb.gridfs.GridFSInputFile
Saves all data into chunks from configured InputStream input stream to GridFS.
scope(Bson) - 接口 中的方法com.mongodb.client.MapReduceIterable
Sets the global variables that are accessible in the map, reduce and finalize functions.
scope(BsonDocument) - 类 中的方法com.mongodb.operation.MapReduceToCollectionOperation
Sets the global variables that are accessible in the map, reduce and finalize functions.
scope(BsonDocument) - 类 中的方法com.mongodb.operation.MapReduceWithInlineResultsOperation
Sets the global variables that are accessible in the map, reduce and finalize functions.
SCRAM_SHA_1_MECHANISM - 类 中的静态变量com.mongodb.MongoCredential
The SCRAM-SHA-1 Mechanism.
SEARCH - 类 中的静态变量com.mongodb.QueryOperators
 
secondary() - 类 中的静态方法com.mongodb.ReadPreference
Gets a read preference that forces reads to a secondary.
secondary(TagSet) - 类 中的静态方法com.mongodb.ReadPreference
Gets a read preference that forces reads to a secondary with the given set of tags.
secondary(List<TagSet>) - 类 中的静态方法com.mongodb.ReadPreference
Gets a read preference that forces reads to a secondary with one of the given sets of tags.
secondaryPreferred() - 类 中的静态方法com.mongodb.ReadPreference
Gets a read preference that forces reads to a secondary if one is available, otherwise to the primary.
secondaryPreferred(TagSet) - 类 中的静态方法com.mongodb.ReadPreference
Gets a read preference that forces reads to a secondary with the given set of tags, or the primary is none are available.
secondaryPreferred(List<TagSet>) - 类 中的静态方法com.mongodb.ReadPreference
Gets a read preference that forces reads to a secondary with one of the given sets of tags.
select(ClusterDescription) - 类 中的方法com.mongodb.selector.CompositeServerSelector
 
select(ClusterDescription) - 类 中的方法com.mongodb.selector.LatencyMinimizingServerSelector
 
select(ClusterDescription) - 类 中的方法com.mongodb.selector.PrimaryServerSelector
已过时。
 
select(ClusterDescription) - 类 中的方法com.mongodb.selector.ReadPreferenceServerSelector
 
select(ClusterDescription) - 类 中的方法com.mongodb.selector.ServerAddressSelector
 
select(ClusterDescription) - 接口 中的方法com.mongodb.selector.ServerSelector
Select a list of server descriptions from the given cluster description according to some criteria.
select(ClusterDescription) - 类 中的方法com.mongodb.selector.WritableServerSelector
 
selectServer(ServerSelector) - 接口 中的方法com.mongodb.connection.Cluster
Get a MongoDB server that matches the criteria defined by the serverSelector
selectServerAsync(ServerSelector, SingleResultCallback<Server>) - 接口 中的方法com.mongodb.connection.Cluster
Asynchronously gets a MongoDB server that matches the criteria defined by the serverSelector.
sendBufferSize(int) - 类 中的方法com.mongodb.connection.SocketSettings.Builder
Sets the send buffer size.
serialize(Object) - 类 中的静态方法com.mongodb.util.JSON
Serializes an object into its JSON form.
serialize(Object, StringBuilder) - 类 中的静态方法com.mongodb.util.JSON
Serializes an object into its JSON form.
serialize(Object, StringBuilder) - 接口 中的方法com.mongodb.util.ObjectSerializer
Serializes obj into buf.
serialize(Object) - 接口 中的方法com.mongodb.util.ObjectSerializer
Serializes obj.
Server - com.mongodb.connection中的接口
A logical connection to a MongoDB server.
ServerAddress - com.mongodb中的类
Represents the location of a Mongo server - i.e. server name and port number
ServerAddress() - 类 的构造器com.mongodb.ServerAddress
Creates a ServerAddress with default host and port
ServerAddress(String) - 类 的构造器com.mongodb.ServerAddress
Creates a ServerAddress with default port
ServerAddress(InetAddress) - 类 的构造器com.mongodb.ServerAddress
Creates a ServerAddress with default port
ServerAddress(InetAddress, int) - 类 的构造器com.mongodb.ServerAddress
Creates a ServerAddress
ServerAddress(InetSocketAddress) - 类 的构造器com.mongodb.ServerAddress
Creates a ServerAddress
ServerAddress(String, int) - 类 的构造器com.mongodb.ServerAddress
Creates a ServerAddress
ServerAddressSelector - com.mongodb.selector中的类
A server selector that chooses a server that matches the server address.
ServerAddressSelector(ServerAddress) - 类 的构造器com.mongodb.selector.ServerAddressSelector
Constructs a new instance.
serverClosed(ServerClosedEvent) - 类 中的方法com.mongodb.event.ServerEventMulticaster
 
serverClosed(ServerClosedEvent) - 接口 中的方法com.mongodb.event.ServerListener
Listener for server closed events.
ServerClosedEvent - com.mongodb.event中的类
A server opening event.
ServerClosedEvent(ServerId) - 类 的构造器com.mongodb.event.ServerClosedEvent
Construct an instance.
ServerConnectionState - com.mongodb.connection中的枚举
Enum of the current state of attempting to connect to a server.
ServerCursor - com.mongodb中的类
A class representing a cursor id associated with a server address (host/port) Since cursor ids are only useful in the context of a single MongoDB server process, you need both values to do a getMore on the cursor.
ServerCursor(long, ServerAddress) - 类 的构造器com.mongodb.ServerCursor
Construct an instance.
ServerDescription - com.mongodb.connection中的类
Immutable snapshot state of a server.
ServerDescription.Builder - com.mongodb.connection中的类
A builder for creating ServerDescription.
serverDescriptionChanged(ServerDescriptionChangedEvent) - 类 中的方法com.mongodb.event.ServerEventMulticaster
 
serverDescriptionChanged(ServerDescriptionChangedEvent) - 接口 中的方法com.mongodb.event.ServerListener
Listener for server description changed events.
ServerDescriptionChangedEvent - com.mongodb.event中的类
An event for changes to the description of a server.
ServerDescriptionChangedEvent(ServerId, ServerDescription, ServerDescription) - 类 的构造器com.mongodb.event.ServerDescriptionChangedEvent
Construct an instance.
ServerEventMulticaster - com.mongodb.event中的类
A multicaster for server events.
ServerEventMulticaster(List<ServerListener>) - 类 的构造器com.mongodb.event.ServerEventMulticaster
Construct an instance with the given list of server listeners
serverHearbeatStarted(ServerHeartbeatStartedEvent) - 类 中的方法com.mongodb.event.ServerMonitorEventMulticaster
 
serverHearbeatStarted(ServerHeartbeatStartedEvent) - 接口 中的方法com.mongodb.event.ServerMonitorListener
Listener for server heartbeat started events.
serverHeartbeatFailed(ServerHeartbeatFailedEvent) - 类 中的方法com.mongodb.event.ServerMonitorEventMulticaster
 
serverHeartbeatFailed(ServerHeartbeatFailedEvent) - 接口 中的方法com.mongodb.event.ServerMonitorListener
Listener for server heartbeat failed events.
ServerHeartbeatFailedEvent - com.mongodb.event中的类
An event for server heartbeat failures.
ServerHeartbeatFailedEvent(ConnectionId, long, Throwable) - 类 的构造器com.mongodb.event.ServerHeartbeatFailedEvent
Construct an instance.
ServerHeartbeatStartedEvent - com.mongodb.event中的类
An event for the start of a server heartbeat.
ServerHeartbeatStartedEvent(ConnectionId) - 类 的构造器com.mongodb.event.ServerHeartbeatStartedEvent
Construct an instance.
serverHeartbeatSucceeded(ServerHeartbeatSucceededEvent) - 类 中的方法com.mongodb.event.ServerMonitorEventMulticaster
 
serverHeartbeatSucceeded(ServerHeartbeatSucceededEvent) - 接口 中的方法com.mongodb.event.ServerMonitorListener
Listener for server heartbeat succeeded events.
ServerHeartbeatSucceededEvent - com.mongodb.event中的类
An event for successful completion of a server heartbeat.
ServerHeartbeatSucceededEvent(ConnectionId, BsonDocument, long) - 类 的构造器com.mongodb.event.ServerHeartbeatSucceededEvent
Construct an instance.
ServerId - com.mongodb.connection中的类
A client-generated identifier that uniquely identifies a MongoDB server.
ServerId(ClusterId, ServerAddress) - 类 的构造器com.mongodb.connection.ServerId
Construct an instance.
ServerListener - com.mongodb.event中的接口
A listener for server-related events
ServerMonitorEventMulticaster - com.mongodb.event中的类
A multicaster for server events.
ServerMonitorEventMulticaster(List<ServerMonitorListener>) - 类 的构造器com.mongodb.event.ServerMonitorEventMulticaster
Construct an instance with the given list of server monitor listeners
ServerMonitorListener - com.mongodb.event中的接口
A listener for server monitor-related events
serverOpening(ServerOpeningEvent) - 类 中的方法com.mongodb.event.ServerEventMulticaster
 
serverOpening(ServerOpeningEvent) - 接口 中的方法com.mongodb.event.ServerListener
Listener for server opening events.
ServerOpeningEvent - com.mongodb.event中的类
A server opening event.
ServerOpeningEvent(ServerId) - 类 的构造器com.mongodb.event.ServerOpeningEvent
Construct an instance.
serverSelectionTimeout(long, TimeUnit) - 类 中的方法com.mongodb.connection.ClusterSettings.Builder
Sets the timeout to apply when selecting a server.
serverSelectionTimeout(int) - 类 中的方法com.mongodb.MongoClientOptions.Builder
Sets the server selection timeout in milliseconds, which defines how long the driver will wait for server selection to succeed before throwing an exception.
serverSelector(ServerSelector) - 类 中的方法com.mongodb.connection.ClusterSettings.Builder
Sets the final server selector for the cluster to apply before selecting a server
ServerSelector - com.mongodb.selector中的接口
An interface for selecting a server from a cluster according some preference.
ServerSettings - com.mongodb.connection中的类
Settings relating to monitoring of each server.
ServerSettings.Builder - com.mongodb.connection中的类
A builder for the settings.
ServerType - com.mongodb.connection中的枚举
The type of the server.
ServerVersion - com.mongodb.connection中的类
Holds an array of three integers representing the server version, e.g. [2, 4, 1].
ServerVersion() - 类 的构造器com.mongodb.connection.ServerVersion
Creates a server version which will compare as less than all other valid versions
ServerVersion(List<Integer>) - 类 的构造器com.mongodb.connection.ServerVersion
Constructs a new instance with the given version list of integers.
ServerVersion(int, int) - 类 的构造器com.mongodb.connection.ServerVersion
Constructs a new instance with the given major and minor versions and a patch version of 0.
SERVICE_NAME_KEY - 类 中的静态变量com.mongodb.MongoCredential
Mechanism property key for overriding the service name for GSSAPI authentication.
set(String, TItem) - 类 中的静态方法com.mongodb.client.model.Updates
Creates an update that sets the value of the field with the given name to the given value.
set(ReflectionDBObject, String, Object) - 类 中的方法com.mongodb.ReflectionDBObject.JavaWrapper
Adds or sets the given field to the given value on the document.
set(OutputBuffer) - 类 中的方法org.bson.BasicBSONEncoder
 
set(int, BsonValue) - 类 中的方法org.bson.BsonArray
 
set(OutputBuffer) - 接口 中的方法org.bson.BSONEncoder
Sets the buffer to wrich the result of encoding will be written.
set(int, Object) - 类 中的方法org.bson.LazyBSONList
 
set_id(Object) - 类 中的方法com.mongodb.ReflectionDBObject
Sets the _id
setAlwaysUseMBeans(boolean) - 类 中的方法com.mongodb.MongoOptions
已过时。
Sets whether JMX beans registered by the driver should always be MBeans, regardless of whether the VM is Java 6 or greater.
setBatchSize(int) - 接口 中的方法com.mongodb.async.AsyncBatchCursor
Sets the batch size to use when requesting the next batch.
setBatchSize(int) - 接口 中的方法com.mongodb.operation.BatchCursor
Sets the batch size to use when requesting the next batch.
setBypassDocumentValidation(Boolean) - 类 中的方法com.mongodb.BulkWriteOperation
Sets whether to bypass document validation.
setBypassDocumentValidation(Boolean) - 类 中的方法com.mongodb.MapReduceCommand
Sets whether to bypass document validation.
setBytes(long) - 类 中的方法com.mongodb.connection.QueryResult
 
setBytes(long) - 类 中的方法org.bson.BsonDocument
 
setBytes(long) - 接口 中的方法org.bson.CountedBytes
 
setChunkSize(long) - 类 中的方法com.mongodb.gridfs.GridFSInputFile
Set the chunk size.
setConnectionsPerHost(int) - 类 中的方法com.mongodb.MongoOptions
已过时。
Sets the maximum number of connections allowed per host for this Mongo instance.
setConnectTimeout(int) - 类 中的方法com.mongodb.MongoOptions
已过时。
Sets the connection timeout in milliseconds.
setContentType(String) - 类 中的方法com.mongodb.gridfs.GridFSInputFile
Sets the content type (MIME type) on the GridFS entry.
setContext(AbstractBsonReader.Context) - 类 中的方法org.bson.AbstractBsonReader
Set the context, which will indicate which state the reader is in, for example which part of a document it's currently reading.
setContext(AbstractBsonWriter.Context) - 类 中的方法org.bson.AbstractBsonWriter
Set the context, which will indicate which state the writer is in, for example which part of a document it's currently writing.
setCurrentBsonType(BsonType) - 类 中的方法org.bson.AbstractBsonReader
Sets the type of the current value being read.
setCurrentName(String) - 类 中的方法org.bson.AbstractBsonReader
Sets the field name for the key/value pair being read.
setCursorFinalizerEnabled(boolean) - 类 中的方法com.mongodb.MongoOptions
已过时。
Sets whether there is a a finalize method created that cleans up instances of DBCursor that the client does not close.
setDBDecoderFactory(DBDecoderFactory) - 类 中的方法com.mongodb.DBCollection
Set a custom decoder factory for this collection.
setDbDecoderFactory(DBDecoderFactory) - 类 中的方法com.mongodb.MongoOptions
已过时。
Override the DBCallback factory.
setDBEncoderFactory(DBEncoderFactory) - 类 中的方法com.mongodb.DBCollection
Set a custom encoder factory for this collection.
setDbEncoderFactory(DBEncoderFactory) - 类 中的方法com.mongodb.MongoOptions
已过时。
Override the encoding factory.
setDecoderFactory(DBDecoderFactory) - 类 中的方法com.mongodb.DBCursor
Sets the factory that will be used create a DBDecoder that will be used to decode BSON documents into DBObject instances.
setDescription(String) - 类 中的方法com.mongodb.MongoOptions
已过时。
Sets the description for Mongo instances created with these options.
setFilename(String) - 类 中的方法com.mongodb.gridfs.GridFSInputFile
Sets the file name on the GridFS entry.
setFinalize(String) - 类 中的方法com.mongodb.MapReduceCommand
Sets the Finalize JS Function
setFsync(boolean) - 类 中的方法com.mongodb.MongoOptions
已过时。
Sets the "fsync" value of the global WriteConcern.
setGridFS(GridFS) - 类 中的方法com.mongodb.gridfs.GridFSFile
Sets the GridFS associated with this file.
setHintFields(List<? extends DBObject>) - 类 中的方法com.mongodb.DBCollection
Override MongoDB's default index selection and query optimization process.
setId(Object) - 类 中的方法com.mongodb.gridfs.GridFSInputFile
Sets the ID of this GridFS file.
setInternalClass(String, Class<? extends DBObject>) - 类 中的方法com.mongodb.DBCollection
Sets the internal class for the given path in the document hierarchy
setJ(boolean) - 类 中的方法com.mongodb.MongoOptions
已过时。
Sets the "j" value of the global WriteConcern.
setJsMode(Boolean) - 类 中的方法com.mongodb.MapReduceCommand
Sets the (optional) JavaScript Mode
setLimit(int) - 类 中的方法com.mongodb.MapReduceCommand
Sets the (optional) limit on input
setMaxTime(long, TimeUnit) - 类 中的方法com.mongodb.MapReduceCommand
Sets the max execution time for this command, in the given time unit.
setMaxWaitTime(int) - 类 中的方法com.mongodb.MongoOptions
已过时。
Sets the maximum wait time in milliseconds that a thread may wait for a connection to become available.
setMetaData(DBObject) - 类 中的方法com.mongodb.gridfs.GridFSFile
Gets the file metadata.
setName(String) - 类 中的方法com.mongodb.connection.ServerDescription.Builder
Sets the name of the replica set
setObjectClass(Class<? extends DBObject>) - 类 中的方法com.mongodb.DBCollection
Sets a default class for objects in this collection; null resets the class to nothing.
setOnInsert(String, TItem) - 类 中的静态方法com.mongodb.client.model.Updates
Creates an update that sets the value of the field with the given name to the given value, but only if the update is an upsert that results in an insert of a document.
setOptions(int) - 类 中的方法com.mongodb.DB
Sets the query options, overwriting previous value.
setOptions(int) - 类 中的方法com.mongodb.DBCollection
Sets the default query options, overwriting previous value.
setOptions(int) - 类 中的方法com.mongodb.DBCursor
Sets the query option - see Bytes.QUERYOPTION_* for list.
setOptions(int) - 类 中的方法com.mongodb.Mongo
已过时。
Set options on instances of DBCursor
setOutputDB(String) - 类 中的方法com.mongodb.MapReduceCommand
Sets the (optional) database name where the output collection should reside
setReadConcern(ReadConcern) - 类 中的方法com.mongodb.DB
Sets the read concern for this database.
setReadConcern(ReadConcern) - 类 中的方法com.mongodb.DBCollection
Sets the read concern for this collection.
setReadPreference(ReadPreference) - 类 中的方法com.mongodb.DB
Sets the read preference for this database.
setReadPreference(ReadPreference) - 类 中的方法com.mongodb.DBCollection
Sets the ReadPreference for this collection.
setReadPreference(ReadPreference) - 类 中的方法com.mongodb.DBCursor
Sets the read preference for this cursor.
setReadPreference(ReadPreference) - 类 中的方法com.mongodb.MapReduceCommand
Sets the read preference for this command.
setReadPreference(ReadPreference) - 类 中的方法com.mongodb.Mongo
已过时。
Set the default read preference with either MongoClientURI or MongoClientOptions
setReadPreference(ReadPreference) - 类 中的方法com.mongodb.MongoOptions
已过时。
Specifies the read preference.
setRoot(Object) - 类 中的方法org.bson.BasicBSONCallback
Sets the root document for this position
setSafe(boolean) - 类 中的方法com.mongodb.MongoOptions
已过时。
If true the driver will use a WriteConcern of WriteConcern.SAFE for all operations.
setScope(Map<String, Object>) - 类 中的方法com.mongodb.MapReduceCommand
Sets the (optional) JavaScript scope
setSocketFactory(SocketFactory) - 类 中的方法com.mongodb.MongoOptions
已过时。
Sets the socket factory for creating sockets to mongod.
setSocketKeepAlive(boolean) - 类 中的方法com.mongodb.MongoOptions
已过时。
Sets the flag that controls the socket keep alive feature that keeps a connection alive through firewalls Socket.setKeepAlive(boolean) Default is false.
setSocketTimeout(int) - 类 中的方法com.mongodb.MongoOptions
已过时。
Sets the socket timeout in milliseconds It is used for I/O socket read and write operations (int) Default is 0 and means no timeout.
setSort(DBObject) - 类 中的方法com.mongodb.MapReduceCommand
Sets the (optional) sort specification object
setState(AbstractBsonReader.State) - 类 中的方法org.bson.AbstractBsonReader
Sets the new current state of this reader.
setState(AbstractBsonWriter.State) - 类 中的方法org.bson.AbstractBsonWriter
Sets the current state of the writer.
setThreadsAllowedToBlockForConnectionMultiplier(int) - 类 中的方法com.mongodb.MongoOptions
已过时。
Sets the multiplier which, when multiplied with the connectionsPerHost setting, gives the maximum number of threads that may be waiting for a connection to become available from the pool.
setVerbose(Boolean) - 类 中的方法com.mongodb.MapReduceCommand
Sets the verbosity of the MapReduce job, defaults to 'true'
setVersion(Integer) - 类 中的方法com.mongodb.connection.ServerDescription.Builder
Sets the setVersion reported by this server.
setW(int) - 类 中的方法com.mongodb.MongoOptions
已过时。
Sets the "w" value, (number of writes), of the global WriteConcern.
setWriteConcern(WriteConcern) - 类 中的方法com.mongodb.DB
Sets the write concern for this database.
setWriteConcern(WriteConcern) - 类 中的方法com.mongodb.DBCollection
Set the WriteConcern for this collection.
setWriteConcern(WriteConcern) - 类 中的方法com.mongodb.Mongo
已过时。
Set the default write concern with either MongoClientURI or MongoClientOptions
setWriteConcern(WriteConcern) - 类 中的方法com.mongodb.MongoOptions
已过时。
Sets the write concern.
setWtimeout(int) - 类 中的方法com.mongodb.MongoOptions
已过时。
Sets the "wtimeout" value of the global WriteConcern.
sharded(boolean) - 接口 中的方法com.mongodb.client.MapReduceIterable
Sets if the output database is sharded
sharded(boolean) - 类 中的方法com.mongodb.operation.MapReduceToCollectionOperation
Sets if the output database is sharded
ShortCodec - org.bson.codecs中的类
Encodes and decodes Short objects.
ShortCodec() - 类 的构造器org.bson.codecs.ShortCodec
 
shouldStopSendingMoreBatches() - 类 中的方法com.mongodb.connection.BulkWriteBatchCombiner
True if ordered and has write errors.
SHOW_DISK_LOC - 类 中的静态变量com.mongodb.QueryOperators
 
showDiskLoc() - 类 中的方法com.mongodb.DBCursor
Modifies the documents returned to include references to the on-disk location of each document.
SingleConnectionReadBinding - com.mongodb.binding中的类
A read binding that is bound to a single connection.
SingleConnectionReadBinding(ReadPreference, ServerDescription, Connection) - 类 的构造器com.mongodb.binding.SingleConnectionReadBinding
Construct an instance.
SingleResultCallback<T> - com.mongodb.async中的接口
An interface to describe the completion of an asynchronous operation.
SingleServerBinding - com.mongodb.binding中的类
A simple binding where all connection sources are bound to the server specified in the constructor.
SingleServerBinding(Cluster, ServerAddress) - 类 的构造器com.mongodb.binding.SingleServerBinding
Creates an instance, defaulting to ReadPreference.primary() for reads.
SingleServerBinding(Cluster, ServerAddress, ReadPreference) - 类 的构造器com.mongodb.binding.SingleServerBinding
Creates an instance.
singleton() - 类 中的静态方法com.mongodb.Mongo.Holder
Get the only instance of Holder.
size(String, int) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that matches all documents where the value of a field is an array of the specified size.
size() - 类 中的方法com.mongodb.DBCursor
Counts the number of objects matching the query this does take limit/skip into consideration
size(Object) - 类 中的方法com.mongodb.QueryBuilder
Equivalent of the $size operand
SIZE - 类 中的静态变量com.mongodb.QueryOperators
 
size() - 类 中的方法org.bson.BsonArray
 
size() - 类 中的方法org.bson.BsonDocument
 
size() - 类 中的方法org.bson.BsonDocumentWrapper
 
size() - 类 中的方法org.bson.Document
 
size() - 类 中的方法org.bson.io.OutputBuffer
Gets the output size in bytes.
size() - 类 中的方法org.bson.LazyBSONList
 
size() - 类 中的方法org.bson.RawBsonDocument
 
size() - 类 中的方法org.bson.util.ClassMap
As per java.util.Map, returns the number of key-value mappings in this map.
sizeInBytes(long) - 类 中的方法com.mongodb.client.model.CreateCollectionOptions
Gets the maximum size of in bytes of a capped collection.
sizeInBytes(long) - 类 中的方法com.mongodb.operation.CreateCollectionOperation
Sets the maximum size of the collection in bytes.
skip(int) - 接口 中的方法com.mongodb.client.FindIterable
Sets the number of documents to skip.
skip(long) - 类 中的方法com.mongodb.client.gridfs.GridFSDownloadStream
 
skip(int) - 接口 中的方法com.mongodb.client.gridfs.GridFSFindIterable
Sets the number of documents to skip.
skip(int) - 类 中的静态方法com.mongodb.client.model.Aggregates
Creates a $skip pipeline stage
skip(int) - 类 中的方法com.mongodb.client.model.CountOptions
Sets the number of documents to skip.
skip(int) - 类 中的方法com.mongodb.client.model.FindOptions
Sets the number of documents to skip.
skip(int) - 类 中的方法com.mongodb.DBCursor
Discards a given number of elements at the beginning of the cursor.
skip(long) - 类 中的方法com.mongodb.operation.CountOperation
Sets the number of documents to skip.
skip(int) - 类 中的方法com.mongodb.operation.FindOperation
Sets the number of documents to skip.
skip(int) - 接口 中的方法org.bson.io.BsonInput
Skips the specified number of bytes in the stream.
skip(int) - 类 中的方法org.bson.io.ByteBufferBsonInput
 
skipCString() - 接口 中的方法org.bson.io.BsonInput
Skips a BSON CString value from the stream.
skipCString() - 类 中的方法org.bson.io.ByteBufferBsonInput
 
skipName() - 类 中的方法org.bson.AbstractBsonReader
 
skipName() - 接口 中的方法org.bson.BsonReader
Skips the name (reader must be positioned on a name).
skipValue() - 类 中的方法org.bson.AbstractBsonReader
 
skipValue() - 接口 中的方法org.bson.BsonReader
Skips the value (reader must be positioned on a value).
slaveOk() - 类 中的方法com.mongodb.DB
已过时。
Replaced with ReadPreference.secondaryPreferred()
slaveOk() - 类 中的方法com.mongodb.DBCollection
已过时。
slaveOk() - 类 中的方法com.mongodb.DBCursor
已过时。
slaveOk() - 类 中的方法com.mongodb.Mongo
已过时。
Replaced with ReadPreference.secondaryPreferred()
slaveOk(boolean) - 类 中的方法com.mongodb.operation.FindOperation
Sets if allowed to query non-primary replica set members.
slice(String, int) - 类 中的静态方法com.mongodb.client.model.Projections
Creates a projection to the given field name of a slice of the array value of that field.
slice(String, int, int) - 类 中的静态方法com.mongodb.client.model.Projections
Creates a projection to the given field name of a slice of the array value of that field.
slice(Integer) - 类 中的方法com.mongodb.client.model.PushOptions
Sets the limit on the number of array elements allowed.
snapshot() - 类 中的方法com.mongodb.DBCursor
Use snapshot mode for the query.
SNAPSHOT - 类 中的静态变量com.mongodb.QueryOperators
 
socketChannelClass(Class<? extends SocketChannel>) - 类 中的方法com.mongodb.connection.netty.NettyStreamFactoryFactory.Builder
Sets the socket channel class
socketFactory(SocketFactory) - 类 中的方法com.mongodb.MongoClientOptions.Builder
Sets the socket factory.
socketFactory - 类 中的变量com.mongodb.MongoOptions
已过时。
Sets the socket factory for creating sockets to mongod Default is SocketFactory.getDefault()
socketKeepAlive(boolean) - 类 中的方法com.mongodb.MongoClientOptions.Builder
Sets whether socket keep alive is enabled.
socketKeepAlive - 类 中的变量com.mongodb.MongoOptions
已过时。
This flag controls the socket keep alive feature that keeps a connection alive through firewalls Socket.setKeepAlive(boolean) Default is false.
SocketSettings - com.mongodb.connection中的类
An immutable class representing socket settings used for connections to a MongoDB server.
SocketSettings.Builder - com.mongodb.connection中的类
A builder for an instance of SocketSettings.
SocketStreamFactory - com.mongodb.connection中的类
Factory for creating instances of SocketStream.
SocketStreamFactory(SocketSettings, SslSettings) - 类 的构造器com.mongodb.connection.SocketStreamFactory
Creates a new factory with the given settings for connecting to servers and the given SSL settings
SocketStreamFactory(SocketSettings, SslSettings, SocketFactory) - 类 的构造器com.mongodb.connection.SocketStreamFactory
Creates a new factory with the given settings for connecting to servers and a factory for creating connections.
socketTimeout(int) - 类 中的方法com.mongodb.MongoClientOptions.Builder
Sets the socket timeout.
socketTimeout - 类 中的变量com.mongodb.MongoOptions
已过时。
The socket timeout in milliseconds It is used for I/O socket read and write operations Socket.setSoTimeout(int) Default is 0 and means no timeout.
sort(Bson) - 接口 中的方法com.mongodb.client.FindIterable
Sets the sort criteria to apply to the query.
sort(Bson) - 接口 中的方法com.mongodb.client.gridfs.GridFSFindIterable
Sets the sort criteria to apply to the query.
sort(Bson) - 接口 中的方法com.mongodb.client.MapReduceIterable
Sets the sort criteria to apply to the query.
sort(Bson) - 类 中的静态方法com.mongodb.client.model.Aggregates
Creates a $sort pipeline stage for the specified sort specification
sort(Bson) - 类 中的方法com.mongodb.client.model.FindOneAndDeleteOptions
Sets the sort criteria to apply to the query.
sort(Bson) - 类 中的方法com.mongodb.client.model.FindOneAndReplaceOptions
Sets the sort criteria to apply to the query.
sort(Bson) - 类 中的方法com.mongodb.client.model.FindOneAndUpdateOptions
Sets the sort criteria to apply to the query.
sort(Bson) - 类 中的方法com.mongodb.client.model.FindOptions
Sets the sort criteria to apply to the query.
sort(Integer) - 类 中的方法com.mongodb.client.model.PushOptions
Sets the sort direction for sorting array elements that are not documents.
sort(DBObject) - 类 中的方法com.mongodb.DBCursor
Sorts this cursor's elements.
sort(BsonDocument) - 类 中的方法com.mongodb.operation.FindAndDeleteOperation
Sets the sort criteria to apply to the query.
sort(BsonDocument) - 类 中的方法com.mongodb.operation.FindAndReplaceOperation
Sets the sort criteria to apply to the query.
sort(BsonDocument) - 类 中的方法com.mongodb.operation.FindAndUpdateOperation
Sets the sort criteria to apply to the query.
sort(BsonDocument) - 类 中的方法com.mongodb.operation.FindOperation
Sets the sort criteria to apply to the query.
sort(BsonDocument) - 类 中的方法com.mongodb.operation.MapReduceToCollectionOperation
Sets the sort criteria to apply to the query.
sort(BsonDocument) - 类 中的方法com.mongodb.operation.MapReduceWithInlineResultsOperation
Sets the sort criteria to apply to the query.
sortDocument(Bson) - 类 中的方法com.mongodb.client.model.PushOptions
Sets the sort direction for sorting array elements that are documents.
Sorts - com.mongodb.client.model中的类
A factory for sort specifications.
SPACE - 类 中的静态变量com.mongodb.connection.MongoQueryAnalyzer
 
sparse(boolean) - 类 中的方法com.mongodb.bulk.IndexRequest
Should the index only references documents with the specified field
sparse(boolean) - 类 中的方法com.mongodb.client.model.IndexOptions
Should the index only references documents with the specified field
sphereVersion(Integer) - 类 中的方法com.mongodb.bulk.IndexRequest
Sets the 2dsphere index version number.
sphereVersion(Integer) - 类 中的方法com.mongodb.client.model.IndexOptions
Sets the 2dsphere index version number.
sslEnabled(boolean) - 类 中的方法com.mongodb.MongoClientOptions.Builder
Sets whether to use SSL.
sslInvalidHostNameAllowed(boolean) - 类 中的方法com.mongodb.MongoClientOptions.Builder
Define whether invalid host names should be allowed.
SslSettings - com.mongodb.connection中的类
Settings for connecting to MongoDB via SSL.
SslSettings.Builder - com.mongodb.connection中的类
A builder for creating SSLSettings.
start() - 类 中的静态方法com.mongodb.BasicDBObjectBuilder
Creates a builder intialized with an empty document.
start(String, Object) - 类 中的静态方法com.mongodb.BasicDBObjectBuilder
Creates a builder initialized with the given key/value.
start(Map) - 类 中的静态方法com.mongodb.BasicDBObjectBuilder
Creates an object builder from an existing map of key value pairs.
start() - 类 中的静态方法com.mongodb.QueryBuilder
Returns a new QueryBuilder.
start(String) - 类 中的静态方法com.mongodb.QueryBuilder
Creates a new query with a document key
state(ServerConnectionState) - 类 中的方法com.mongodb.connection.ServerDescription.Builder
The current state of the connection to the server.
stdDevPop(String, TExpression) - 类 中的静态方法com.mongodb.client.model.Accumulators
Gets a field name for a $group operation representing the sample standard deviation of the values of the given expression when applied to all members of the group.
stdDevSamp(String, TExpression) - 类 中的静态方法com.mongodb.client.model.Accumulators
Gets a field name for a $group operation representing the sample standard deviation of the values of the given expression when applied to all members of the group.
storageEngine(BsonDocument) - 类 中的方法com.mongodb.bulk.IndexRequest
Sets the storage engine options document for this index.
storageEngine(Bson) - 类 中的方法com.mongodb.client.model.IndexOptionDefaults
Sets the default storage engine options document for indexes.
storageEngine(Bson) - 类 中的方法com.mongodb.client.model.IndexOptions
Sets the storage engine options document for this index.
storageEngineOptions(Bson) - 类 中的方法com.mongodb.client.model.CreateCollectionOptions
Sets the storage engine options document defaults for the collection
storageEngineOptions(BsonDocument) - 类 中的方法com.mongodb.operation.CreateCollectionOperation
Sets the storage engine options document for this collection.
Stream - com.mongodb.connection中的接口
A full duplex stream of bytes.
StreamFactory - com.mongodb.connection中的接口
A factory for streams.
StreamFactoryFactory - com.mongodb.connection中的接口
A factory of StreamFactory instances.
STRING - 类 中的静态变量org.bson.BSON
 
StringCodec - org.bson.codecs中的类
Encodes and decodes String objects.
StringCodec() - 类 的构造器org.bson.codecs.StringCodec
 
subList(int, int) - 类 中的方法org.bson.BsonArray
 
subList(int, int) - 类 中的方法org.bson.LazyBSONList
 
sum(String, TExpression) - 类 中的静态方法com.mongodb.client.model.Accumulators
Gets a field name for a $group operation representing the sum of the values of the given expression when applied to all members of the group.
SYMBOL - 类 中的静态变量org.bson.BSON
 
Symbol - org.bson.types中的类
Class to hold an instance of the BSON symbol type.
Symbol(String) - 类 的构造器org.bson.types.Symbol
Construct a new instance with the given symbol.
SymbolCodec - org.bson.codecs中的类
A codec for BSON symbol type.
SymbolCodec() - 类 的构造器org.bson.codecs.SymbolCodec
 
SystemTimer - com.mongodb.utils中的类
 
SystemTimer() - 类 的构造器com.mongodb.utils.SystemTimer
 

T

Tag - com.mongodb中的类
A replica set tag.
Tag(String, String) - 类 的构造器com.mongodb.Tag
Construct a new instance.
TaggableReadPreference - com.mongodb中的类
Abstract class for all preference which can be combined with tags
tagSet(TagSet) - 类 中的方法com.mongodb.connection.ServerDescription.Builder
A set of any tags assigned to this member.
TagSet - com.mongodb中的类
An immutable set of tags, used to select members of a replica set to use for read operations.
TagSet() - 类 的构造器com.mongodb.TagSet
An empty set of tags.
TagSet(Tag) - 类 的构造器com.mongodb.TagSet
A set of tags contain the single given tag
TagSet(List<Tag>) - 类 的构造器com.mongodb.TagSet
A set of tags containing the given list of tags.
text(String) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that matches all documents matching the given search term.
text(String, String) - 类 中的静态方法com.mongodb.client.model.Filters
text(String, TextSearchOptions) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that matches all documents matching the given the search term with the given text search options.
text(String) - 类 中的静态方法com.mongodb.client.model.Indexes
Create an index key for a text index on the given field.
text(String) - 类 中的方法com.mongodb.QueryBuilder
Equivalent to a $text operand.
text(String, String) - 类 中的方法com.mongodb.QueryBuilder
Equivalent to a $text operand.
TEXT - 类 中的静态变量com.mongodb.QueryOperators
 
TextSearchOptions - com.mongodb.client.model中的类
Text search options for the Filters.text(String, TextSearchOptions) helper
TextSearchOptions() - 类 的构造器com.mongodb.client.model.TextSearchOptions
 
textVersion(Integer) - 类 中的方法com.mongodb.bulk.IndexRequest
Set the text index version number.
textVersion(Integer) - 类 中的方法com.mongodb.client.model.IndexOptions
Set the text index version number.
ThreadSafe - com.mongodb.annotations中的注释类型
The class to which this annotation is applied is thread-safe.
threadsAllowedToBlockForConnectionMultiplier(int) - 类 中的方法com.mongodb.MongoClientOptions.Builder
Sets the multiplier for number of threads allowed to block waiting for a connection.
threadsAllowedToBlockForConnectionMultiplier - 类 中的变量com.mongodb.MongoOptions
已过时。
This multiplier, multiplied with the connectionsPerHost setting, gives the maximum number of threads that may be waiting for a connection to become available from the pool.
throwInvalidContextType(String, BsonContextType, BsonContextType...) - 类 中的方法org.bson.AbstractBsonReader
Throws an InvalidOperationException when the method called is not valid for the current ContextType.
throwInvalidContextType(String, BsonContextType, BsonContextType...) - 类 中的方法org.bson.AbstractBsonWriter
Throws an InvalidOperationException when the method called is not valid for the current ContextType.
throwInvalidState(String, AbstractBsonReader.State...) - 类 中的方法org.bson.AbstractBsonReader
Throws an InvalidOperationException when the method called is not valid for the current state.
throwInvalidState(String, AbstractBsonWriter.State...) - 类 中的方法org.bson.AbstractBsonWriter
Throws a BsonInvalidOperationException when the method called is not valid for the current state.
throwOnError() - 类 中的方法com.mongodb.CommandResult
Throws a CommandFailureException if the command failed.
TIMESTAMP - 类 中的静态变量org.bson.BSON
 
toArray() - 类 中的方法com.mongodb.DBCursor
Converts this cursor to an array.
toArray(int) - 类 中的方法com.mongodb.DBCursor
Converts this cursor to an array.
toArray() - 类 中的方法org.bson.BsonArray
 
toArray(T[]) - 类 中的方法org.bson.BsonArray
 
toArray() - 类 中的方法org.bson.LazyBSONList
 
toArray(Object[]) - 类 中的方法org.bson.LazyBSONList
 
toBsonDocument(Class<TDocument>, CodecRegistry) - 类 中的方法com.mongodb.BasicDBObject
 
toBsonDocument(Class<C>, CodecRegistry) - 类 中的方法org.bson.BsonDocument
 
toBsonDocument(Class<TDocument>, CodecRegistry) - 接口 中的方法org.bson.conversions.Bson
Render the filter into a BsonDocument.
toBsonDocument(Class<C>, CodecRegistry) - 类 中的方法org.bson.Document
 
toByteArray() - 类 中的方法org.bson.io.OutputBuffer
Gets a copy of the buffered bytes.
toByteArray() - 类 中的方法org.bson.types.ObjectId
Convert to a byte array.
toDBObject() - 类 中的方法com.mongodb.GroupCommand
Turns this group command into the DBObject format of the command.
toDBObject() - 类 中的方法com.mongodb.MapReduceCommand
Turns this command into a DBObject representation of this map reduce command.
toDocument() - 类 中的方法com.mongodb.ReadPreference
Gets a document representing this read preference in the wire protocol.
toDocument() - 类 中的方法com.mongodb.TaggableReadPreference
 
toHex(byte[]) - 类 中的静态方法com.mongodb.util.Util
Converts the given byte buffer to a hexadecimal string using Integer.toHexString(int).
toHexString() - 类 中的方法org.bson.types.ObjectId
Converts this instance into a 24-byte hexadecimal string representation.
toInt(Object) - 类 中的静态方法org.bson.BSON
Provides an integer representation of Boolean or Number.
toJson() - 类 中的方法com.mongodb.BasicDBObject
Gets a JSON representation of this document With the default JsonWriterSettings and DBObjectCodec.
toJson(JsonWriterSettings) - 类 中的方法com.mongodb.BasicDBObject
Gets a JSON representation of this document With the default DBObjectCodec.
toJson(Encoder<BasicDBObject>) - 类 中的方法com.mongodb.BasicDBObject
Gets a JSON representation of this document With the default JsonWriterSettings.
toJson(JsonWriterSettings, Encoder<BasicDBObject>) - 类 中的方法com.mongodb.BasicDBObject
Gets a JSON representation of this document
toJson() - 类 中的方法com.mongodb.client.model.geojson.Geometry
Converts to GeoJSON representation
toJson() - 类 中的方法org.bson.BsonDocument
Gets a JSON representation of this document using the default settings of JsonWriterSettings.
toJson(JsonWriterSettings) - 类 中的方法org.bson.BsonDocument
Gets a JSON representation of this document using the given JsonWriterSettings.
toJson() - 类 中的方法org.bson.Document
Gets a JSON representation of this document With the default JsonWriterSettings and DocumentCodec.
toJson(JsonWriterSettings) - 类 中的方法org.bson.Document
Gets a JSON representation of this document With the default DocumentCodec.
toJson(Encoder<Document>) - 类 中的方法org.bson.Document
Gets a JSON representation of this document With the default JsonWriterSettings.
toJson(JsonWriterSettings, Encoder<Document>) - 类 中的方法org.bson.Document
Gets a JSON representation of this document
toJson() - 类 中的方法org.bson.RawBsonDocument
 
toJson(JsonWriterSettings) - 类 中的方法org.bson.RawBsonDocument
 
toMap() - 类 中的方法com.mongodb.gridfs.GridFSFile
 
toMap() - 类 中的方法com.mongodb.ReflectionDBObject
 
toMap() - 类 中的方法org.bson.BasicBSONObject
Converts a DBObject to a map.
toMap() - 接口 中的方法org.bson.BSONObject
Returns a map representing this BSONObject.
toMap() - 类 中的方法org.bson.LazyBSONObject
 
toMap() - 类 中的方法org.bson.types.BasicBSONList
 
toString() - 类 中的方法com.mongodb.AggregationOptions
 
toString() - 枚举 中的方法com.mongodb.AuthenticationMechanism
 
toString() - 类 中的方法com.mongodb.BasicDBList
Returns a JSON serialization of this object
toString() - 类 中的方法com.mongodb.BasicDBObject
Returns a JSON serialization of this object The output will look like: {"a":1, "b":["x","y","z"]}
toString() - 类 中的方法com.mongodb.bulk.BulkWriteError
 
toString() - 类 中的方法com.mongodb.bulk.BulkWriteUpsert
 
toString() - 类 中的方法com.mongodb.bulk.WriteConcernError
 
toString() - 类 中的方法com.mongodb.BulkWriteUpsert
 
toString() - 类 中的方法com.mongodb.client.gridfs.model.GridFSFile
 
toString() - 类 中的方法com.mongodb.client.model.BsonField
 
toString() - 类 中的方法com.mongodb.client.model.FindOptions
 
toString() - 类 中的方法com.mongodb.client.model.geojson.GeometryCollection
 
toString() - 类 中的方法com.mongodb.client.model.geojson.LineString
 
toString() - 类 中的方法com.mongodb.client.model.geojson.MultiLineString
 
toString() - 类 中的方法com.mongodb.client.model.geojson.MultiPoint
 
toString() - 类 中的方法com.mongodb.client.model.geojson.MultiPolygon
 
toString() - 类 中的方法com.mongodb.client.model.geojson.NamedCoordinateReferenceSystem
 
toString() - 类 中的方法com.mongodb.client.model.geojson.Point
 
toString() - 类 中的方法com.mongodb.client.model.geojson.Polygon
 
toString() - 类 中的方法com.mongodb.client.model.geojson.PolygonCoordinates
 
toString() - 类 中的方法com.mongodb.client.model.geojson.Position
 
toString() - 类 中的方法com.mongodb.client.model.PushOptions
 
toString() - 类 中的方法com.mongodb.client.model.TextSearchOptions
 
toString() - 类 中的方法com.mongodb.connection.ClusterDescription
 
toString() - 类 中的方法com.mongodb.connection.ClusterId
 
toString() - 类 中的方法com.mongodb.connection.ClusterSettings
 
toString() - 类 中的方法com.mongodb.connection.ConnectionId
 
toString() - 类 中的方法com.mongodb.connection.ConnectionPoolSettings
 
toString() - 类 中的方法com.mongodb.connection.netty.NettyStreamFactoryFactory
 
toString() - 类 中的方法com.mongodb.connection.ServerDescription
 
toString() - 类 中的方法com.mongodb.connection.ServerId
 
toString() - 类 中的方法com.mongodb.connection.ServerSettings
 
toString() - 类 中的方法com.mongodb.connection.ServerVersion
 
toString() - 类 中的方法com.mongodb.connection.SocketSettings
 
toString() - 类 中的方法com.mongodb.connection.SslSettings
 
toString() - 类 中的方法com.mongodb.ConnectionString
 
toString() - 类 中的方法com.mongodb.DB
 
toString() - 类 中的方法com.mongodb.DBAddress
已过时。
Gets a String representation of address as host:port/databaseName.
toString() - 类 中的方法com.mongodb.DBCollection
 
toString() - 类 中的方法com.mongodb.DBCursor
 
toString() - 类 中的方法com.mongodb.DBRef
 
toString() - 类 中的方法com.mongodb.DefaultDBDecoder
 
toString() - 类 中的方法com.mongodb.DefaultDBEncoder
 
toString() - 类 中的方法com.mongodb.event.ClusterClosedEvent
 
toString() - 类 中的方法com.mongodb.event.ClusterDescriptionChangedEvent
 
toString() - 类 中的方法com.mongodb.event.ClusterOpeningEvent
 
toString() - 类 中的方法com.mongodb.event.ConnectionAddedEvent
 
toString() - 类 中的方法com.mongodb.event.ConnectionCheckedInEvent
 
toString() - 类 中的方法com.mongodb.event.ConnectionCheckedOutEvent
 
toString() - 类 中的方法com.mongodb.event.ConnectionClosedEvent
 
toString() - 类 中的方法com.mongodb.event.ConnectionMessageReceivedEvent
 
toString() - 类 中的方法com.mongodb.event.ConnectionMessagesSentEvent
 
toString() - 类 中的方法com.mongodb.event.ConnectionOpenedEvent
 
toString() - 类 中的方法com.mongodb.event.ConnectionPoolClosedEvent
 
toString() - 类 中的方法com.mongodb.event.ConnectionPoolOpenedEvent
 
toString() - 类 中的方法com.mongodb.event.ConnectionPoolWaitQueueEnteredEvent
 
toString() - 类 中的方法com.mongodb.event.ConnectionPoolWaitQueueExitedEvent
 
toString() - 类 中的方法com.mongodb.event.ConnectionRemovedEvent
 
toString() - 类 中的方法com.mongodb.event.ServerClosedEvent
 
toString() - 类 中的方法com.mongodb.event.ServerDescriptionChangedEvent
 
toString() - 类 中的方法com.mongodb.event.ServerHeartbeatFailedEvent
 
toString() - 类 中的方法com.mongodb.event.ServerHeartbeatStartedEvent
 
toString() - 类 中的方法com.mongodb.event.ServerHeartbeatSucceededEvent
 
toString() - 类 中的方法com.mongodb.event.ServerOpeningEvent
 
toString() - 类 中的方法com.mongodb.gridfs.GridFSFile
 
toString() - 类 中的方法com.mongodb.MapReduceCommand
 
toString() - 类 中的方法com.mongodb.MapReduceOutput
 
toString() - 类 中的方法com.mongodb.Mongo
 
toString() - 类 中的方法com.mongodb.MongoClientOptions
 
toString() - 类 中的方法com.mongodb.MongoClientURI
 
toString() - 类 中的方法com.mongodb.MongoCredential
 
toString() - 类 中的方法com.mongodb.MongoNamespace
Returns the standard MongoDB representation of a namespace, which is {@code <database>.
toString() - 类 中的方法com.mongodb.MongoOptions
已过时。
 
toString() - 类 中的方法com.mongodb.MongoURI
已过时。
 
toString() - 类 中的方法com.mongodb.ReplicaSetStatus
 
toString() - 类 中的方法com.mongodb.selector.CompositeServerSelector
 
toString() - 类 中的方法com.mongodb.selector.LatencyMinimizingServerSelector
 
toString() - 类 中的方法com.mongodb.selector.PrimaryServerSelector
已过时。
 
toString() - 类 中的方法com.mongodb.selector.ReadPreferenceServerSelector
 
toString() - 类 中的方法com.mongodb.selector.ServerAddressSelector
 
toString() - 类 中的方法com.mongodb.selector.WritableServerSelector
 
toString() - 类 中的方法com.mongodb.ServerAddress
 
toString() - 类 中的方法com.mongodb.ServerCursor
 
toString() - 类 中的方法com.mongodb.Tag
 
toString() - 类 中的方法com.mongodb.TaggableReadPreference
 
toString() - 类 中的方法com.mongodb.TagSet
 
toString() - 类 中的方法com.mongodb.WriteConcern
 
toString() - 类 中的方法com.mongodb.WriteConcernError
 
toString() - 类 中的方法com.mongodb.WriteError
 
toString() - 类 中的方法com.mongodb.WriteResult
 
toString() - 类 中的方法org.bson.BasicBSONObject
Returns a JSON serialization of this object
toString() - 类 中的方法org.bson.BsonArray
 
toString() - 类 中的方法org.bson.BsonBinary
 
toString() - 类 中的方法org.bson.BsonBoolean
 
toString() - 类 中的方法org.bson.BsonDateTime
 
toString() - 类 中的方法org.bson.BsonDbPointer
 
toString() - 类 中的方法org.bson.BsonDocument
 
toString() - 类 中的方法org.bson.BsonDocumentWrapper
 
toString() - 类 中的方法org.bson.BsonDouble
 
toString() - 类 中的方法org.bson.BsonInt32
 
toString() - 类 中的方法org.bson.BsonInt64
 
toString() - 类 中的方法org.bson.BsonJavaScript
 
toString() - 类 中的方法org.bson.BsonJavaScriptWithScope
 
toString() - 类 中的方法org.bson.BsonMaxKey
 
toString() - 类 中的方法org.bson.BsonMinKey
 
toString() - 类 中的方法org.bson.BsonNull
 
toString() - 类 中的方法org.bson.BsonObjectId
 
toString() - 类 中的方法org.bson.BsonRegularExpression
 
toString() - 类 中的方法org.bson.BsonString
 
toString() - 类 中的方法org.bson.BsonSymbol
 
toString() - 类 中的方法org.bson.BsonTimestamp
 
toString() - 类 中的方法org.bson.Document
 
toString() - 类 中的方法org.bson.io.OutputBuffer
 
toString() - 类 中的方法org.bson.LazyBSONObject
Returns a JSON serialization of this object
toString() - 类 中的方法org.bson.types.BSONTimestamp
 
toString() - 类 中的方法org.bson.types.Code
 
toString() - 类 中的方法org.bson.types.MaxKey
 
toString() - 类 中的方法org.bson.types.MinKey
 
toString() - 类 中的方法org.bson.types.ObjectId
 
toString() - 类 中的方法org.bson.types.Symbol
 
toStringMongod() - 类 中的方法org.bson.types.ObjectId
已过时。
trace(String) - 接口 中的方法com.mongodb.diagnostics.logging.Logger
Log a message at the TRACE level.
trace(String, Throwable) - 接口 中的方法com.mongodb.diagnostics.logging.Logger
Log an exception (throwable) at the TRACE level with an accompanying message.
transform(Object) - 接口 中的方法org.bson.Transformer
Turns the objectToTransform into some other Object.
Transformer - org.bson中的接口
Transforms objects that can be converted to BSON into other Java types, and vice versa.
TRUE - 类 中的静态变量org.bson.BsonBoolean
 
truncateToPosition(int) - 类 中的方法com.mongodb.connection.ByteBufferBsonOutput
 
truncateToPosition(int) - 类 中的方法org.bson.io.BasicOutputBuffer
 
truncateToPosition(int) - 接口 中的方法org.bson.io.BsonOutput
Truncates this stream to the new position.
truncateToPosition(int) - 类 中的方法org.bson.io.OutputBuffer
 
tryNext() - 接口 中的方法com.mongodb.client.MongoCursor
A special next() case that returns the next element in the iteration if available or null.
tryNext() - 类 中的方法com.mongodb.DBCursor
Non blocking check for tailable cursors to see if another object is available.
tryNext() - 接口 中的方法com.mongodb.operation.BatchCursor
A special next() case that returns the next batch if available or null.
type(String, BsonType) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that matches all documents where the value of the field is of the specified BSON type.
type(String, String) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that matches all documents where the value of the field is of the specified BSON type.
type(ServerType) - 类 中的方法com.mongodb.connection.ServerDescription.Builder
Sets the type of the server, for example whether it's a standalone or in a replica set.
TYPE - 类 中的静态变量com.mongodb.QueryOperators
 

U

unacknowledged() - 类 中的静态方法com.mongodb.bulk.BulkWriteResult
Create an unacknowledged BulkWriteResult
unacknowledged() - 类 中的静态方法com.mongodb.client.result.DeleteResult
Create an unacknowledged DeleteResult
unacknowledged() - 类 中的静态方法com.mongodb.client.result.UpdateResult
Create an unacknowledged UpdateResult
UNACKNOWLEDGED - 类 中的静态变量com.mongodb.WriteConcern
Write operations that use this write concern will return as soon as the message is written to the socket.
unacknowledged() - 类 中的静态方法com.mongodb.WriteConcernResult
Create an unacknowledged WriteConcernResult
unacknowledged() - 类 中的静态方法com.mongodb.WriteResult
Gets an instance representing an unacknowledged write.
UNDEFINED - 类 中的静态变量org.bson.BSON
 
unique(boolean) - 类 中的方法com.mongodb.bulk.IndexRequest
Should the index should be unique.
unique(boolean) - 类 中的方法com.mongodb.client.model.IndexOptions
Should the index should be unique.
UNIQUE_DOCS - 类 中的静态变量com.mongodb.QueryOperators
 
unlock() - 类 中的方法com.mongodb.Mongo
Unlocks the database, allowing the write operations to go through.
unregisterMBean(String) - 接口 中的方法com.mongodb.management.MBeanServer
Unregister the MBean with the given name.
unregisterMBean(String) - 类 中的方法com.mongodb.management.NullMBeanServer
 
unset(String) - 类 中的静态方法com.mongodb.client.model.Updates
Creates an update that deletes the field with the given name.
unwind(String) - 类 中的静态方法com.mongodb.client.model.Aggregates
Creates a $unwind pipeline stage for the specified field name, which must be prefixed by a '$' sign.
unwind(String, UnwindOptions) - 类 中的静态方法com.mongodb.client.model.Aggregates
Creates a $unwind pipeline stage for the specified field name, which must be prefixed by a '$' sign.
UnwindOptions - com.mongodb.client.model中的类
The options for an unwind aggregation pipeline stage
UnwindOptions() - 类 的构造器com.mongodb.client.model.UnwindOptions
 
update(DBObject) - 类 中的方法com.mongodb.BulkUpdateRequestBuilder
Adds a request to update all documents in the collection that match the query with which this builder was created.
update(DBObject) - 类 中的方法com.mongodb.BulkWriteRequestBuilder
Adds a request to update all documents in the collection that match the query with which this builder was created.
update(MongoNamespace, boolean, WriteConcern, List<UpdateRequest>) - 接口 中的方法com.mongodb.connection.Connection
Update the documents using the update wire protocol and apply the write concern.
update(DBObject, DBObject, boolean, boolean, WriteConcern) - 类 中的方法com.mongodb.DBCollection
Modify an existing document or documents in collection.
update(DBObject, DBObject, boolean, boolean, WriteConcern, DBEncoder) - 类 中的方法com.mongodb.DBCollection
Modify an existing document or documents in collection.
update(DBObject, DBObject, boolean, boolean, WriteConcern, boolean, DBEncoder) - 类 中的方法com.mongodb.DBCollection
Modify an existing document or documents in collection.
update(DBObject, DBObject, boolean, boolean) - 类 中的方法com.mongodb.DBCollection
Modify an existing document or documents in collection.
update(DBObject, DBObject) - 类 中的方法com.mongodb.DBCollection
Modify an existing document.
updateAsync(MongoNamespace, boolean, WriteConcern, List<UpdateRequest>, SingleResultCallback<WriteConcernResult>) - 接口 中的方法com.mongodb.connection.AsyncConnection
Update the documents using the update wire protocol and apply the write concern asynchronously.
updateCommand(MongoNamespace, boolean, WriteConcern, List<UpdateRequest>) - 接口 中的方法com.mongodb.connection.Connection
updateCommand(MongoNamespace, boolean, WriteConcern, Boolean, List<UpdateRequest>) - 接口 中的方法com.mongodb.connection.Connection
Update the documents using the update command.
updateCommandAsync(MongoNamespace, boolean, WriteConcern, List<UpdateRequest>, SingleResultCallback<BulkWriteResult>) - 接口 中的方法com.mongodb.connection.AsyncConnection
updateCommandAsync(MongoNamespace, boolean, WriteConcern, Boolean, List<UpdateRequest>, SingleResultCallback<BulkWriteResult>) - 接口 中的方法com.mongodb.connection.AsyncConnection
Update the documents using the update command asynchronously.
updateMany(Bson, Bson) - 接口 中的方法com.mongodb.client.MongoCollection
Update all documents in the collection according to the specified arguments.
updateMany(Bson, Bson, UpdateOptions) - 接口 中的方法com.mongodb.client.MongoCollection
Update all documents in the collection according to the specified arguments.
UpdateManyModel<T> - com.mongodb.client.model中的类
A model describing an update to all documents that matches the query filter.
UpdateManyModel(Bson, Bson) - 类 的构造器com.mongodb.client.model.UpdateManyModel
Construct a new instance.
UpdateManyModel(Bson, Bson, UpdateOptions) - 类 的构造器com.mongodb.client.model.UpdateManyModel
Construct a new instance.
updateMulti(DBObject, DBObject) - 类 中的方法com.mongodb.DBCollection
Modify documents in collection.
updateOne(DBObject) - 类 中的方法com.mongodb.BulkUpdateRequestBuilder
Adds a request to update one document in the collection that matches the query with which this builder was created.
updateOne(DBObject) - 类 中的方法com.mongodb.BulkWriteRequestBuilder
Adds a request to update one document in the collection that matches the query with which this builder was created.
updateOne(Bson, Bson) - 接口 中的方法com.mongodb.client.MongoCollection
Update a single document in the collection according to the specified arguments.
updateOne(Bson, Bson, UpdateOptions) - 接口 中的方法com.mongodb.client.MongoCollection
Update a single document in the collection according to the specified arguments.
UpdateOneModel<T> - com.mongodb.client.model中的类
A model describing an update to at most one document that matches the query filter.
UpdateOneModel(Bson, Bson) - 类 的构造器com.mongodb.client.model.UpdateOneModel
Construct a new instance.
UpdateOneModel(Bson, Bson, UpdateOptions) - 类 的构造器com.mongodb.client.model.UpdateOneModel
Construct a new instance.
UpdateOperation - com.mongodb.operation中的类
An operation that updates a document in a collection.
UpdateOperation(MongoNamespace, boolean, WriteConcern, List<UpdateRequest>) - 类 的构造器com.mongodb.operation.UpdateOperation
Construct an instance.
UpdateOptions - com.mongodb.client.model中的类
The options to apply when updating documents.
UpdateOptions() - 类 的构造器com.mongodb.client.model.UpdateOptions
 
UpdateRequest - com.mongodb.bulk中的类
An update to one or more documents.
UpdateRequest(BsonDocument, BsonDocument, WriteRequest.Type) - 类 的构造器com.mongodb.bulk.UpdateRequest
Construct a new instance.
UpdateResult - com.mongodb.client.result中的类
The result of an update operation.
UpdateResult() - 类 的构造器com.mongodb.client.result.UpdateResult
 
Updates - com.mongodb.client.model中的类
A factory for document updates.
UpdateUserOperation - com.mongodb.operation中的类
An operation that updates a user.
UpdateUserOperation(MongoCredential, boolean) - 类 的构造器com.mongodb.operation.UpdateUserOperation
Construct a new instance.
uploadFromStream(String, InputStream) - 接口 中的方法com.mongodb.client.gridfs.GridFSBucket
Uploads the contents of the given InputStream to a GridFS bucket.
uploadFromStream(String, InputStream, GridFSUploadOptions) - 接口 中的方法com.mongodb.client.gridfs.GridFSBucket
Uploads the contents of the given InputStream to a GridFS bucket.
uploadFromStream(BsonValue, String, InputStream) - 接口 中的方法com.mongodb.client.gridfs.GridFSBucket
Uploads the contents of the given InputStream to a GridFS bucket.
uploadFromStream(BsonValue, String, InputStream, GridFSUploadOptions) - 接口 中的方法com.mongodb.client.gridfs.GridFSBucket
Uploads the contents of the given InputStream to a GridFS bucket.
upsert(boolean) - 类 中的方法com.mongodb.bulk.UpdateRequest
Sets whether this update will insert a new document if no documents match the filter.
upsert() - 类 中的方法com.mongodb.BulkWriteRequestBuilder
Specifies that the request being built should be an upsert.
upsert(boolean) - 类 中的方法com.mongodb.client.model.FindOneAndReplaceOptions
Set to true if a new document should be inserted if there are no matches to the query filter.
upsert(boolean) - 类 中的方法com.mongodb.client.model.FindOneAndUpdateOptions
Set to true if a new document should be inserted if there are no matches to the query filter.
upsert(boolean) - 类 中的方法com.mongodb.client.model.UpdateOptions
Set to true if a new document should be inserted if there are no matches to the query filter.
upsert(boolean) - 类 中的方法com.mongodb.operation.FindAndReplaceOperation
Set to true if a new document should be inserted if there are no matches to the query filter.
upsert(boolean) - 类 中的方法com.mongodb.operation.FindAndUpdateOperation
Set to true if a new document should be inserted if there are no matches to the query filter.
useCursor(Boolean) - 接口 中的方法com.mongodb.client.AggregateIterable
Sets whether the server should use a cursor to return results.
useCursor(Boolean) - 类 中的方法com.mongodb.operation.AggregateOperation
Sets whether the server should use a cursor to return results.
usePowerOf2Sizes(Boolean) - 类 中的方法com.mongodb.client.model.CreateCollectionOptions
Sets whether the usePowerOf2Sizes allocation strategy is turned on for this collection.
usePowerOf2Sizes(Boolean) - 类 中的方法com.mongodb.operation.CreateCollectionOperation
Sets whether usePowerOf2Sizes should be used foe the allocation strategy.
UserExistsOperation - com.mongodb.operation中的类
An operation that determines if a user exists.
UserExistsOperation(String, String) - 类 的构造器com.mongodb.operation.UserExistsOperation
Construct a new instance.
Util - com.mongodb.util中的类
General utilities that are useful throughout the driver.
Util() - 类 的构造器com.mongodb.util.Util
 
UuidCodec - org.bson.codecs中的类
Encodes and decodes UUID objects.
UuidCodec(UuidRepresentation) - 类 的构造器org.bson.codecs.UuidCodec
The default UUIDRepresentation is JAVA_LEGACY to be compatible with existing documents
UuidCodec() - 类 的构造器org.bson.codecs.UuidCodec
The constructor for UUIDCodec, default is JAVA_LEGACY
UuidCodecProvider - org.bson.codecs中的类
A CodecProvider for UUID Codecs with custom UUID representations
UuidCodecProvider(UuidRepresentation) - 类 的构造器org.bson.codecs.UuidCodecProvider
Set the UUIDRepresentation to be used in the codec default is JAVA_LEGACY to be compatible with existing documents
UuidRepresentation - org.bson中的枚举
The representation to use when converting a UUID to a BSON binary value.

V

validate() - 类 中的方法com.mongodb.gridfs.GridFSFile
Verifies that the MD5 matches between the database and the local file.
validate(String) - 接口 中的方法org.bson.FieldNameValidator
Returns true if the field name is valid, false otherwise.
ValidationAction - com.mongodb.client.model中的枚举
Determines whether to error on invalid documents or just warn about the violations but allow invalid documents.
validationAction(ValidationAction) - 类 中的方法com.mongodb.client.model.ValidationOptions
Sets the ValidationAction that determines whether to error on invalid documents or just warn about the violations but allow invalid documents.
validationAction(ValidationAction) - 类 中的方法com.mongodb.operation.CreateCollectionOperation
Sets the ValidationAction that determines whether to error on invalid documents or just warn about the violations but allow invalid documents.
ValidationLevel - com.mongodb.client.model中的枚举
Determines how strictly MongoDB applies the validation rules to existing documents during an insert or update.
validationLevel(ValidationLevel) - 类 中的方法com.mongodb.client.model.ValidationOptions
Sets the validation level that determines how strictly MongoDB applies the validation rules to existing documents during an insert or update.
validationLevel(ValidationLevel) - 类 中的方法com.mongodb.operation.CreateCollectionOperation
Sets the validation level that determines how strictly MongoDB applies the validation rules to existing documents during an insert or update.
validationOptions(ValidationOptions) - 类 中的方法com.mongodb.client.model.CreateCollectionOptions
Sets the validation options for documents being inserted or updated in a collection
ValidationOptions - com.mongodb.client.model中的类
Validation options for documents being inserted or updated in a collection
ValidationOptions() - 类 的构造器com.mongodb.client.model.ValidationOptions
 
validator(Bson) - 类 中的方法com.mongodb.client.model.ValidationOptions
Sets the validation rules for all
validator(BsonDocument) - 类 中的方法com.mongodb.operation.CreateCollectionOperation
Sets the validation rules for inserting or updating documents
VALUE - 类 中的静态变量org.bson.BsonNull
 
ValueCodecProvider - org.bson.codecs中的类
A Codec provider for dynamically-typed value classes.
ValueCodecProvider() - 类 的构造器org.bson.codecs.ValueCodecProvider
A provider of Codecs for simple value types.
valueOf(String) - 枚举 中的静态方法com.mongodb.AggregationOptions.OutputMode
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.mongodb.AuthenticationMechanism
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.mongodb.bulk.WriteRequest.Type
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.mongodb.client.model.geojson.CoordinateReferenceSystemType
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.mongodb.client.model.geojson.GeoJsonObjectType
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.mongodb.client.model.MapReduceAction
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.mongodb.client.model.ReturnDocument
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.mongodb.client.model.ValidationAction
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.mongodb.client.model.ValidationLevel
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.mongodb.connection.ClusterConnectionMode
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.mongodb.connection.ClusterType
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.mongodb.connection.ServerConnectionState
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.mongodb.connection.ServerType
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.mongodb.CursorType
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.mongodb.ErrorCategory
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.mongodb.ExplainVerbosity
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.mongodb.MapReduceCommand.OutputType
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.mongodb.operation.OrderBy
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.mongodb.ReadConcernLevel
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 类 中的静态方法com.mongodb.ReadPreference
Creates a read preference from the given read preference name.
valueOf(String, List<TagSet>) - 类 中的静态方法com.mongodb.ReadPreference
Creates a taggable read preference from the given read preference name and list of tag sets.
valueOf(String) - 类 中的静态方法com.mongodb.WriteConcern
Gets the WriteConcern constants by name (matching is done case insensitively).
valueOf(String) - 枚举 中的静态方法org.bson.AbstractBsonReader.State
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法org.bson.AbstractBsonWriter.State
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法org.bson.BsonBinarySubType
返回带有指定名称的该类型的枚举常量。
valueOf(boolean) - 类 中的静态方法org.bson.BsonBoolean
Returns a BsonBoolean instance representing the specified boolean value.
valueOf(String) - 枚举 中的静态方法org.bson.BsonContextType
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法org.bson.BsonType
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法org.bson.json.JsonMode
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法org.bson.UuidRepresentation
返回带有指定名称的该类型的枚举常量。
values() - 枚举 中的静态方法com.mongodb.AggregationOptions.OutputMode
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.mongodb.AuthenticationMechanism
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.mongodb.bulk.WriteRequest.Type
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.mongodb.client.model.geojson.CoordinateReferenceSystemType
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.mongodb.client.model.geojson.GeoJsonObjectType
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.mongodb.client.model.MapReduceAction
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.mongodb.client.model.ReturnDocument
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.mongodb.client.model.ValidationAction
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.mongodb.client.model.ValidationLevel
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.mongodb.connection.ClusterConnectionMode
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.mongodb.connection.ClusterType
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.mongodb.connection.ServerConnectionState
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.mongodb.connection.ServerType
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.mongodb.CursorType
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.mongodb.ErrorCategory
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.mongodb.ExplainVerbosity
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.mongodb.MapReduceCommand.OutputType
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.mongodb.operation.OrderBy
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.mongodb.ReadConcernLevel
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法org.bson.AbstractBsonReader.State
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法org.bson.AbstractBsonWriter.State
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法org.bson.BsonBinarySubType
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法org.bson.BsonContextType
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 类 中的方法org.bson.BsonDocument
 
values() - 类 中的方法org.bson.BsonDocumentWrapper
 
values() - 枚举 中的静态方法org.bson.BsonType
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 类 中的方法org.bson.Document
 
values() - 枚举 中的静态方法org.bson.json.JsonMode
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 类 中的方法org.bson.RawBsonDocument
 
values() - 枚举 中的静态方法org.bson.UuidRepresentation
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
verbose(boolean) - 接口 中的方法com.mongodb.client.MapReduceIterable
Sets whether to include the timing information in the result information.
verbose(boolean) - 类 中的方法com.mongodb.operation.MapReduceToCollectionOperation
Sets whether to include the timing information in the result information.
verbose(boolean) - 类 中的方法com.mongodb.operation.MapReduceWithInlineResultsOperation
Sets whether to include the timing information in the result information.
verifyBSONType(String, BsonType) - 类 中的方法org.bson.AbstractBsonReader
Verifies the current state and BSONType of the reader.
verifyName(String) - 类 中的方法org.bson.AbstractBsonReader
Verifies the name of the current element.
version(Integer) - 类 中的方法com.mongodb.bulk.IndexRequest
Sets the index version number.
version(Integer) - 类 中的方法com.mongodb.client.model.IndexOptions
Sets the index version number.
version(ServerVersion) - 类 中的方法com.mongodb.connection.ServerDescription.Builder
Sets the server version

W

w - 类 中的变量com.mongodb.MongoOptions
已过时。
The "w" value, (number of writes), of the global WriteConcern.
W1 - 类 中的静态变量com.mongodb.WriteConcern
Write operations that use this write concern will wait for acknowledgement from a single member.
W2 - 类 中的静态变量com.mongodb.WriteConcern
Write operations that use this write concern will wait for acknowledgement from two members.
W3 - 类 中的静态变量com.mongodb.WriteConcern
Write operations that use this write concern will wait for acknowledgement from three members.
waitQueueEntered(ConnectionPoolWaitQueueEnteredEvent) - 类 中的方法com.mongodb.event.ConnectionPoolEventMulticaster
 
waitQueueEntered(ConnectionPoolWaitQueueEnteredEvent) - 接口 中的方法com.mongodb.event.ConnectionPoolListener
Invoked when a connection pool's wait queue is entered.
waitQueueEntered(ConnectionPoolWaitQueueEnteredEvent) - 类 中的方法com.mongodb.event.ConnectionPoolListenerAdapter
 
waitQueueEntered(ConnectionPoolWaitQueueEnteredEvent) - 类 中的方法com.mongodb.management.JMXConnectionPoolListener
 
waitQueueExited(ConnectionPoolWaitQueueExitedEvent) - 类 中的方法com.mongodb.event.ConnectionPoolEventMulticaster
 
waitQueueExited(ConnectionPoolWaitQueueExitedEvent) - 接口 中的方法com.mongodb.event.ConnectionPoolListener
Invoked when a connection pools wait queue is exited.
waitQueueExited(ConnectionPoolWaitQueueExitedEvent) - 类 中的方法com.mongodb.event.ConnectionPoolListenerAdapter
 
waitQueueExited(ConnectionPoolWaitQueueExitedEvent) - 类 中的方法com.mongodb.management.JMXConnectionPoolListener
 
warn(String) - 接口 中的方法com.mongodb.diagnostics.logging.Logger
Log a message at the WARN level.
warn(String, Throwable) - 接口 中的方法com.mongodb.diagnostics.logging.Logger
Log an exception (throwable) at the WARN level with an accompanying message.
wasAcknowledged() - 类 中的方法com.mongodb.bulk.BulkWriteResult
Returns true if the write was acknowledged.
wasAcknowledged() - 类 中的方法com.mongodb.client.result.DeleteResult
Returns true if the write was acknowledged.
wasAcknowledged() - 类 中的方法com.mongodb.client.result.UpdateResult
Returns true if the write was acknowledged.
wasAcknowledged() - 类 中的方法com.mongodb.WriteConcernResult
Returns true if the write was acknowledged.
wasAcknowledged() - 类 中的方法com.mongodb.WriteResult
Returns true if the write was acknowledged.
weights(BsonDocument) - 类 中的方法com.mongodb.bulk.IndexRequest
Sets the weighting object for use with a text index.
weights(Bson) - 类 中的方法com.mongodb.client.model.IndexOptions
Sets the weighting object for use with a text index.
where(String) - 类 中的静态方法com.mongodb.client.model.Filters
Creates a filter that matches all documents for which the given expression is true.
WHERE - 类 中的静态变量com.mongodb.QueryOperators
 
withChunkSizeBytes(int) - 接口 中的方法com.mongodb.client.gridfs.GridFSBucket
Create a new GridFSBucket instance with a new chunk size in bytes.
withCodecRegistry(CodecRegistry) - 接口 中的方法com.mongodb.client.MongoCollection
Create a new MongoCollection instance with a different codec registry.
withCodecRegistry(CodecRegistry) - 接口 中的方法com.mongodb.client.MongoDatabase
Create a new MongoDatabase instance with a different codec registry.
withDocumentClass(Class<NewTDocument>) - 接口 中的方法com.mongodb.client.MongoCollection
Create a new MongoCollection instance with a different default class to cast any documents returned from the database into..
withFsync(boolean) - 类 中的方法com.mongodb.WriteConcern
WITHIN - 类 中的静态变量com.mongodb.QueryOperators
 
withinBox(double, double, double, double) - 类 中的方法com.mongodb.QueryBuilder
Equivalent to a $within operand, based on a bounding box using represented by two corners
withinCenter(double, double, double) - 类 中的方法com.mongodb.QueryBuilder
Equivalent of the $within operand, used for geospatial operation
withinCenterSphere(double, double, double) - 类 中的方法com.mongodb.QueryBuilder
Equivalent of the $centerSphere operand mostly intended for queries up to a few hundred miles or km.
withinPolygon(List<Double[]>) - 类 中的方法com.mongodb.QueryBuilder
Equivalent to a $within operand, based on a bounding polygon represented by an array of points
withJ(boolean) - 类 中的方法com.mongodb.WriteConcern
withJournal(Boolean) - 类 中的方法com.mongodb.WriteConcern
Constructs a new WriteConcern from the current one and the specified journal value
withMechanismProperty(String, T) - 类 中的方法com.mongodb.MongoCredential
Creates a new MongoCredential as a copy of this instance, with the specified mechanism property added.
withReadConcern(ReadConcern) - 接口 中的方法com.mongodb.client.gridfs.GridFSBucket
Create a new MongoDatabase instance with a different read concern.
withReadConcern(ReadConcern) - 接口 中的方法com.mongodb.client.MongoCollection
Create a new MongoCollection instance with a different read concern.
withReadConcern(ReadConcern) - 接口 中的方法com.mongodb.client.MongoDatabase
Create a new MongoDatabase instance with a different read concern.
withReadPreference(ReadPreference) - 接口 中的方法com.mongodb.client.gridfs.GridFSBucket
Create a new GridFSBucket instance with a different read preference.
withReadPreference(ReadPreference) - 接口 中的方法com.mongodb.client.MongoCollection
Create a new MongoCollection instance with a different read preference.
withReadPreference(ReadPreference) - 接口 中的方法com.mongodb.client.MongoDatabase
Create a new MongoDatabase instance with a different read preference.
withW(int) - 类 中的方法com.mongodb.WriteConcern
Constructs a new WriteConcern from the current one and the specified integer-based value for w
withW(String) - 类 中的方法com.mongodb.WriteConcern
Constructs a new WriteConcern from the current one and the specified tag-set based value for w
withWriteConcern(WriteConcern) - 接口 中的方法com.mongodb.client.gridfs.GridFSBucket
Create a new GridFSBucket instance with a different write concern.
withWriteConcern(WriteConcern) - 接口 中的方法com.mongodb.client.MongoCollection
Create a new MongoCollection instance with a different write concern.
withWriteConcern(WriteConcern) - 接口 中的方法com.mongodb.client.MongoDatabase
Create a new MongoDatabase instance with a different write concern.
withWTimeout(long, TimeUnit) - 类 中的方法com.mongodb.WriteConcern
Constructs a new WriteConcern from the current one and the specified wTimeout in the given time unit.
WritableServerSelector - com.mongodb.selector中的类
A server selector that chooses servers that are writable.
WritableServerSelector() - 类 的构造器com.mongodb.selector.WritableServerSelector
 
write(int) - 类 中的方法com.mongodb.client.gridfs.GridFSUploadStream
 
write(byte[]) - 类 中的方法com.mongodb.client.gridfs.GridFSUploadStream
 
write(byte[], int, int) - 类 中的方法com.mongodb.client.gridfs.GridFSUploadStream
 
write(int, int) - 类 中的方法com.mongodb.connection.ByteBufferBsonOutput
 
write(List<ByteBuf>) - 接口 中的方法com.mongodb.connection.Stream
Write each buffer in the list to the stream in order, blocking until all are completely written.
write(byte[]) - 类 中的方法org.bson.io.BasicOutputBuffer
 
write(int, int) - 类 中的方法org.bson.io.BasicOutputBuffer
 
write(byte[]) - 类 中的方法org.bson.io.OutputBuffer
 
write(byte[], int, int) - 类 中的方法org.bson.io.OutputBuffer
 
write(int) - 类 中的方法org.bson.io.OutputBuffer
 
write(int, int) - 类 中的方法org.bson.io.OutputBuffer
Write the specified byte at the specified position.
writeAsync(List<ByteBuf>, AsyncCompletionHandler<Void>) - 接口 中的方法com.mongodb.connection.Stream
Write each buffer in the list to the stream in order, asynchronously.
writeBinaryData(String, BsonBinary) - 类 中的方法org.bson.AbstractBsonWriter
 
writeBinaryData(BsonBinary) - 类 中的方法org.bson.AbstractBsonWriter
 
writeBinaryData(BsonBinary) - 接口 中的方法org.bson.BsonWriter
Writes a BSON Binary data element to the writer.
writeBinaryData(String, BsonBinary) - 接口 中的方法org.bson.BsonWriter
Writes a BSON Binary data element to the writer.
WriteBinding - com.mongodb.binding中的接口
A factory of connection sources to servers that can be written to, e.g, a standalone, a mongos, or a replica set primary.
writeBoolean(String, boolean) - 类 中的方法org.bson.AbstractBsonWriter
 
writeBoolean(boolean) - 类 中的方法org.bson.AbstractBsonWriter
 
writeBoolean(boolean) - 接口 中的方法org.bson.BsonWriter
Writes a BSON Boolean to the writer.
writeBoolean(String, boolean) - 接口 中的方法org.bson.BsonWriter
Writes a BSON Boolean element to the writer.
writeByte(int) - 类 中的方法com.mongodb.connection.ByteBufferBsonOutput
 
writeByte(int) - 类 中的方法org.bson.io.BasicOutputBuffer
 
writeByte(int) - 接口 中的方法org.bson.io.BsonOutput
Write a single byte to the stream.
writeBytes(byte[], int, int) - 类 中的方法com.mongodb.connection.ByteBufferBsonOutput
 
writeBytes(byte[], int, int) - 类 中的方法org.bson.io.BasicOutputBuffer
 
writeBytes(byte[]) - 接口 中的方法org.bson.io.BsonOutput
Writes all the bytes in the byte array to the stream.
writeBytes(byte[], int, int) - 接口 中的方法org.bson.io.BsonOutput
Writes length bytes from the byte array, starting at offset.
writeBytes(byte[]) - 类 中的方法org.bson.io.OutputBuffer
 
writeConcern(WriteConcern) - 类 中的方法com.mongodb.InsertOptions
Set the write concern to use for the insert.
writeConcern(WriteConcern) - 类 中的方法com.mongodb.MongoClientOptions.Builder
Sets the write concern.
writeConcern - 类 中的变量com.mongodb.MongoOptions
已过时。
Sets the write concern.
WriteConcern - com.mongodb中的类
Controls the acknowledgment of write operations with various options.
WriteConcern() - 类 的构造器com.mongodb.WriteConcern
已过时。
WriteConcern(int) - 类 的构造器com.mongodb.WriteConcern
Construct an instance with the given integer-based value for w.
WriteConcern(String) - 类 的构造器com.mongodb.WriteConcern
Construct an instance with the given tag set-based value for w.
WriteConcern(int, int) - 类 的构造器com.mongodb.WriteConcern
Constructs an instance with the given integer-based value for w and the given value for wTimeoutMS.
WriteConcern(boolean) - 类 的构造器com.mongodb.WriteConcern
WriteConcern(int, int, boolean) - 类 的构造器com.mongodb.WriteConcern
WriteConcern(int, int, boolean, boolean) - 类 的构造器com.mongodb.WriteConcern
WriteConcern(String, int, boolean, boolean) - 类 的构造器com.mongodb.WriteConcern
WriteConcern.Majority - com.mongodb中的类
WriteConcernError - com.mongodb.bulk中的类
An error representing a failure by the server to apply the requested write concern to the bulk operation.
WriteConcernError(int, String, BsonDocument) - 类 的构造器com.mongodb.bulk.WriteConcernError
Constructs a new instance.
WriteConcernError - com.mongodb中的类
An error representing a failure by the server to apply the requested write concern to the bulk operation.
WriteConcernError(int, String, DBObject) - 类 的构造器com.mongodb.WriteConcernError
Constructs a new instance.
WriteConcernException - com.mongodb中的异常错误
An exception representing an error reported due to a write failure.
WriteConcernException(BsonDocument, ServerAddress, WriteConcernResult) - 异常错误 的构造器com.mongodb.WriteConcernException
Construct a new instance.
WriteConcernResult - com.mongodb中的类
The result of a successful write operation.
WriteConcernResult() - 类 的构造器com.mongodb.WriteConcernResult
 
writeCString(String) - 接口 中的方法org.bson.io.BsonOutput
Writes a BSON CString to the stream.
writeCString(String) - 类 中的方法org.bson.io.OutputBuffer
 
writeDateTime(String, long) - 类 中的方法org.bson.AbstractBsonWriter
 
writeDateTime(long) - 类 中的方法org.bson.AbstractBsonWriter
 
writeDateTime(long) - 接口 中的方法org.bson.BsonWriter
Writes a BSON DateTime to the writer.
writeDateTime(String, long) - 接口 中的方法org.bson.BsonWriter
Writes a BSON DateTime element to the writer.
writeDBPointer(String, BsonDbPointer) - 类 中的方法org.bson.AbstractBsonWriter
 
writeDBPointer(BsonDbPointer) - 类 中的方法org.bson.AbstractBsonWriter
 
writeDBPointer(BsonDbPointer) - 接口 中的方法org.bson.BsonWriter
Writes a BSON DBPointer to the writer.
writeDBPointer(String, BsonDbPointer) - 接口 中的方法org.bson.BsonWriter
Writes a BSON DBPointer element to the writer.
writeDouble(String, double) - 类 中的方法org.bson.AbstractBsonWriter
 
writeDouble(double) - 类 中的方法org.bson.AbstractBsonWriter
 
writeDouble(double) - 接口 中的方法org.bson.BsonWriter
Writes a BSON Double to the writer.
writeDouble(String, double) - 接口 中的方法org.bson.BsonWriter
Writes a BSON Double element to the writer.
writeDouble(double) - 接口 中的方法org.bson.io.BsonOutput
Writes a BSON double to the stream.
writeDouble(double) - 类 中的方法org.bson.io.OutputBuffer
 
writeEndArray() - 类 中的方法org.bson.AbstractBsonWriter
 
writeEndArray() - 接口 中的方法org.bson.BsonWriter
Writes the end of a BSON array to the writer.
writeEndDocument() - 类 中的方法org.bson.AbstractBsonWriter
 
writeEndDocument() - 接口 中的方法org.bson.BsonWriter
Writes the end of a BSON document to the writer.
WriteError - com.mongodb中的类
Represents the details of a write error , e.g. a duplicate key error
WriteError(int, String, BsonDocument) - 类 的构造器com.mongodb.WriteError
Constructs a new instance.
WriteError(WriteError) - 类 的构造器com.mongodb.WriteError
Construct an instance that is a shallow copy of the given instance.
writeInt(int) - 类 中的方法org.bson.io.OutputBuffer
Writes the given integer value to the buffer.
writeInt32(String, int) - 类 中的方法org.bson.AbstractBsonWriter
 
writeInt32(int) - 类 中的方法org.bson.AbstractBsonWriter
 
writeInt32(int) - 接口 中的方法org.bson.BsonWriter
Writes a BSON Int32 to the writer.
writeInt32(String, int) - 接口 中的方法org.bson.BsonWriter
Writes a BSON Int32 element to the writer.
writeInt32(int) - 接口 中的方法org.bson.io.BsonOutput
Writes a 32-bit BSON integer to the stream.
writeInt32(int, int) - 接口 中的方法org.bson.io.BsonOutput
Writes a 32-bit BSON integer to the stream at the given position.
writeInt32(int) - 类 中的方法org.bson.io.OutputBuffer
 
writeInt32(int, int) - 类 中的方法org.bson.io.OutputBuffer
 
writeInt64(String, long) - 类 中的方法org.bson.AbstractBsonWriter
 
writeInt64(long) - 类 中的方法org.bson.AbstractBsonWriter
 
writeInt64(long) - 接口 中的方法org.bson.BsonWriter
Writes a BSON Int64 to the writer.
writeInt64(String, long) - 接口 中的方法org.bson.BsonWriter
Writes a BSON Int64 element to the writer.
writeInt64(long) - 接口 中的方法org.bson.io.BsonOutput
Writes a 64-bit BSON integer to the stream.
writeInt64(long) - 类 中的方法org.bson.io.OutputBuffer
 
writeJavaScript(String, String) - 类 中的方法org.bson.AbstractBsonWriter
 
writeJavaScript(String) - 类 中的方法org.bson.AbstractBsonWriter
 
writeJavaScript(String) - 接口 中的方法org.bson.BsonWriter
Writes a BSON JavaScript to the writer.
writeJavaScript(String, String) - 接口 中的方法org.bson.BsonWriter
Writes a BSON JavaScript element to the writer.
writeJavaScriptWithScope(String, String) - 类 中的方法org.bson.AbstractBsonWriter
 
writeJavaScriptWithScope(String) - 类 中的方法org.bson.AbstractBsonWriter
 
writeJavaScriptWithScope(String) - 接口 中的方法org.bson.BsonWriter
Writes a BSON JavaScript to the writer (call WriteStartDocument to start writing the scope).
writeJavaScriptWithScope(String, String) - 接口 中的方法org.bson.BsonWriter
Writes a BSON JavaScript element to the writer (call WriteStartDocument to start writing the scope).
writeLong(long) - 类 中的方法org.bson.io.OutputBuffer
Writes the given long value to the buffer.
writeMaxKey(String) - 类 中的方法org.bson.AbstractBsonWriter
 
writeMaxKey() - 类 中的方法org.bson.AbstractBsonWriter
 
writeMaxKey() - 接口 中的方法org.bson.BsonWriter
Writes a BSON MaxKey to the writer.
writeMaxKey(String) - 接口 中的方法org.bson.BsonWriter
Writes a BSON MaxKey element to the writer.
writeMinKey(String) - 类 中的方法org.bson.AbstractBsonWriter
 
writeMinKey() - 类 中的方法org.bson.AbstractBsonWriter
 
writeMinKey() - 接口 中的方法org.bson.BsonWriter
Writes a BSON MinKey to the writer.
writeMinKey(String) - 接口 中的方法org.bson.BsonWriter
Writes a BSON MinKey element to the writer.
WriteModel<T> - com.mongodb.client.model中的类
A base class for models that can be used in a bulk write operations.
writeName(String) - 类 中的方法org.bson.AbstractBsonWriter
 
writeName(String) - 接口 中的方法org.bson.BsonWriter
Writes the name of an element to the writer.
writeNull(String) - 类 中的方法org.bson.AbstractBsonWriter
 
writeNull() - 类 中的方法org.bson.AbstractBsonWriter
 
writeNull() - 接口 中的方法org.bson.BsonWriter
Writes a BSON null to the writer.
writeNull(String) - 接口 中的方法org.bson.BsonWriter
Writes a BSON null element to the writer.
writeObject(OutputBuffer, BSONObject) - 接口 中的方法com.mongodb.DBEncoder
Encode the BSONObject.
writeObject(OutputBuffer, BSONObject) - 类 中的方法com.mongodb.DefaultDBEncoder
 
writeObject(OutputBuffer, BSONObject) - 类 中的方法com.mongodb.LazyDBEncoder
 
writeObjectId(String, ObjectId) - 类 中的方法org.bson.AbstractBsonWriter
 
writeObjectId(ObjectId) - 类 中的方法org.bson.AbstractBsonWriter
 
writeObjectId(ObjectId) - 接口 中的方法org.bson.BsonWriter
Writes a BSON ObjectId to the writer.
writeObjectId(String, ObjectId) - 接口 中的方法org.bson.BsonWriter
Writes a BSON ObjectId element to the writer.
writeObjectId(ObjectId) - 接口 中的方法org.bson.io.BsonOutput
Writes a BSON ObjectId to the stream.
writeObjectId(ObjectId) - 类 中的方法org.bson.io.OutputBuffer
 
WriteOperation<T> - com.mongodb.operation中的接口
An operation which writes to a MongoDB server.
writeRegularExpression(String, BsonRegularExpression) - 类 中的方法org.bson.AbstractBsonWriter
 
writeRegularExpression(BsonRegularExpression) - 类 中的方法org.bson.AbstractBsonWriter
 
writeRegularExpression(BsonRegularExpression) - 接口 中的方法org.bson.BsonWriter
Writes a BSON regular expression to the writer.
writeRegularExpression(String, BsonRegularExpression) - 接口 中的方法org.bson.BsonWriter
Writes a BSON regular expression element to the writer.
WriteRequest - com.mongodb.bulk中的类
An abstract base class for a write request.
WriteRequest.Type - com.mongodb.bulk中的枚举
The type of write.
WriteResult - com.mongodb中的类
This class lets you access the results of the previous acknowledged write.
WriteResult(int, boolean, Object) - 类 的构造器com.mongodb.WriteResult
Construct a new instance.
writeStartArray(String) - 类 中的方法org.bson.AbstractBsonWriter
 
writeStartArray() - 类 中的方法org.bson.AbstractBsonWriter
 
writeStartArray() - 接口 中的方法org.bson.BsonWriter
Writes the start of a BSON array to the writer.
writeStartArray(String) - 接口 中的方法org.bson.BsonWriter
Writes the start of a BSON array element to the writer.
writeStartDocument(String) - 类 中的方法org.bson.AbstractBsonWriter
 
writeStartDocument() - 类 中的方法org.bson.AbstractBsonWriter
 
writeStartDocument() - 接口 中的方法org.bson.BsonWriter
Writes the start of a BSON document to the writer.
writeStartDocument(String) - 接口 中的方法org.bson.BsonWriter
Writes the start of a BSON document element to the writer.
writeString(String, String) - 类 中的方法org.bson.AbstractBsonWriter
 
writeString(String) - 类 中的方法org.bson.AbstractBsonWriter
 
writeString(String) - 接口 中的方法org.bson.BsonWriter
Writes a BSON String to the writer.
writeString(String, String) - 接口 中的方法org.bson.BsonWriter
Writes a BSON String element to the writer.
writeString(String) - 接口 中的方法org.bson.io.BsonOutput
Writes a BSON String to the stream.
writeString(String) - 类 中的方法org.bson.io.OutputBuffer
 
writeSymbol(String, String) - 类 中的方法org.bson.AbstractBsonWriter
 
writeSymbol(String) - 类 中的方法org.bson.AbstractBsonWriter
 
writeSymbol(String) - 接口 中的方法org.bson.BsonWriter
Writes a BSON Symbol to the writer.
writeSymbol(String, String) - 接口 中的方法org.bson.BsonWriter
Writes a BSON Symbol element to the writer.
writeTimestamp(String, BsonTimestamp) - 类 中的方法org.bson.AbstractBsonWriter
 
writeTimestamp(BsonTimestamp) - 类 中的方法org.bson.AbstractBsonWriter
 
writeTimestamp(BsonTimestamp) - 接口 中的方法org.bson.BsonWriter
Writes a BSON Timestamp to the writer.
writeTimestamp(String, BsonTimestamp) - 接口 中的方法org.bson.BsonWriter
Writes a BSON Timestamp element to the writer.
writeTo(String) - 类 中的方法com.mongodb.gridfs.GridFSDBFile
Writes the file's data to a file on disk.
writeTo(File) - 类 中的方法com.mongodb.gridfs.GridFSDBFile
Writes the file's data to a file on disk.
writeTo(OutputStream) - 类 中的方法com.mongodb.gridfs.GridFSDBFile
Writes the file's data to an OutputStream.
writeUndefined(String) - 类 中的方法org.bson.AbstractBsonWriter
 
writeUndefined() - 类 中的方法org.bson.AbstractBsonWriter
 
writeUndefined() - 接口 中的方法org.bson.BsonWriter
Writes a BSON undefined to the writer.
writeUndefined(String) - 接口 中的方法org.bson.BsonWriter
Writes a BSON undefined element to the writer.
wtimeout - 类 中的变量com.mongodb.MongoOptions
已过时。
The "wtimeout" value of the global WriteConcern.

_

_msDateFormat - 类 中的静态变量com.mongodb.util.JSONCallback
 
_put(String, Object) - 类 中的方法org.bson.BasicBSONCallback
Puts a new value into the document.
_putObjectField(String, Object) - 类 中的方法org.bson.BasicBSONEncoder
Encodes any Object type
_secDateFormat - 类 中的静态变量com.mongodb.util.JSONCallback
 
A B C D E F G H I J K L M N O P Q R S T U V W _ 
跳过导航链接