- 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中的类
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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中的类
-
- 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
-
- 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.
- 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
-
- getAliases() - 类 中的方法com.mongodb.gridfs.GridFSFile
-
- 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
-
- getAnyPrimaryOrSecondary() - 类 中的方法com.mongodb.connection.ClusterDescription
-
- getAnyPrimaryOrSecondary(TagSet) - 类 中的方法com.mongodb.connection.ClusterDescription
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- getSecondaries(TagSet) - 类 中的方法com.mongodb.connection.ClusterDescription
-
- 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
-
- getTimeSecond() - 类 中的方法org.bson.types.ObjectId
-
- 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
-
- 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
-
- 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
-
- gotBoolean(String, boolean) - 类 中的方法org.bson.EmptyBSONCallback
-
- gotCode(String, String) - 类 中的方法org.bson.BasicBSONCallback
-
- gotCode(String, String) - 接口 中的方法org.bson.BSONCallback
-
- gotCode(String, String) - 类 中的方法org.bson.EmptyBSONCallback
-
- gotCodeWScope(String, String, Object) - 类 中的方法org.bson.BasicBSONCallback
-
- gotCodeWScope(String, String, Object) - 接口 中的方法org.bson.BSONCallback
-
- gotCodeWScope(String, String, Object) - 类 中的方法org.bson.EmptyBSONCallback
-
- gotDate(String, long) - 类 中的方法org.bson.BasicBSONCallback
-
- gotDate(String, long) - 接口 中的方法org.bson.BSONCallback
-
- 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
-
- gotDBRef(String, String, ObjectId) - 类 中的方法org.bson.EmptyBSONCallback
-
- gotDouble(String, double) - 类 中的方法org.bson.BasicBSONCallback
-
- gotDouble(String, double) - 接口 中的方法org.bson.BSONCallback
-
- gotDouble(String, double) - 类 中的方法org.bson.EmptyBSONCallback
-
- gotInt(String, int) - 类 中的方法org.bson.BasicBSONCallback
-
- gotInt(String, int) - 接口 中的方法org.bson.BSONCallback
-
- gotInt(String, int) - 类 中的方法org.bson.EmptyBSONCallback
-
- gotLong(String, long) - 类 中的方法org.bson.BasicBSONCallback
-
- gotLong(String, long) - 接口 中的方法org.bson.BSONCallback
-
- gotLong(String, long) - 类 中的方法org.bson.EmptyBSONCallback
-
- gotMaxKey(String) - 类 中的方法org.bson.BasicBSONCallback
-
- gotMaxKey(String) - 接口 中的方法org.bson.BSONCallback
-
- gotMaxKey(String) - 类 中的方法org.bson.EmptyBSONCallback
-
- gotMinKey(String) - 类 中的方法org.bson.BasicBSONCallback
-
- gotMinKey(String) - 接口 中的方法org.bson.BSONCallback
-
- 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
-
- gotObjectId(String, ObjectId) - 类 中的方法org.bson.EmptyBSONCallback
-
- gotRegex(String, String, String) - 类 中的方法org.bson.BasicBSONCallback
-
- gotRegex(String, String, String) - 接口 中的方法org.bson.BSONCallback
-
- gotRegex(String, String, String) - 类 中的方法org.bson.EmptyBSONCallback
-
- gotString(String, String) - 类 中的方法org.bson.BasicBSONCallback
-
- gotString(String, String) - 接口 中的方法org.bson.BSONCallback
-
- gotString(String, String) - 类 中的方法org.bson.EmptyBSONCallback
-
- gotSymbol(String, String) - 类 中的方法org.bson.BasicBSONCallback
-
- gotSymbol(String, String) - 接口 中的方法org.bson.BSONCallback
-
- gotSymbol(String, String) - 类 中的方法org.bson.EmptyBSONCallback
-
- gotTimestamp(String, int, int) - 类 中的方法org.bson.BasicBSONCallback
-
- gotTimestamp(String, int, int) - 接口 中的方法org.bson.BSONCallback
-
- gotTimestamp(String, int, int) - 类 中的方法org.bson.EmptyBSONCallback
-
- gotUndefined(String) - 类 中的方法org.bson.BasicBSONCallback
-
- gotUndefined(String) - 接口 中的方法org.bson.BSONCallback
-
- 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中的类
-
- 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
-
- 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
-
- isPartialObject() - 接口 中的方法com.mongodb.DBObject
-
- 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
-
- 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
-
- 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中的异常错误
-
- 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中的类
-
- 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中的异常错误
-
- 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中的类
-
- 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.
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- setWriteConcern(WriteConcern) - 类 中的方法com.mongodb.Mongo
-
- 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
-
- 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
-
- slaveOk() - 类 中的方法com.mongodb.DBCollection
-
- slaveOk() - 类 中的方法com.mongodb.DBCursor
-
- slaveOk() - 类 中的方法com.mongodb.Mongo
-
- 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
-