mongodb API 官方资料
来源:互联网 发布:fps游戏鼠标推荐 知乎 编辑:程序博客网 时间:2024/06/05 00:50
Package com.mongodb
原文地址: http://api.mongodb.com/java/current/com/mongodb/package-summary.html
The core mongodb package
See: Description
Interface Summary Interface Description Block<T>An interface for applying some logic against the given parameter.CursorInterface for providing consistent behaviour between different Cursor implementations.DBCallbackThe DB callback interface.DBCallbackFactoryFactory for creating concrete implementations of DBCallback.DBDecoderAn interface for decoders of BSON into instances of DBObject that belong to a DBCollection.DBDecoderFactoryCreates concrete DBDecoder instances.DBEncoderAn interface for encoders of BSONObject to BSON.DBEncoderFactoryCreates concrete DBEncoder instances.DBObjectThis interface adds some specific behaviour toFunction<T,R>BSONObject
for MongoDB documents.Apply a function to the input object yielding an appropriate result object.Class Summary Class Description AggregationOptionsThe options to apply to an aggregate operation.AggregationOptions.BuilderBuilder for creatingAggregationOutputAggregationOptions
.Container for the result of aggregation operation.BasicDBListAn implementation of List that reflects the way BSON lists work.BasicDBObjectA basic implementation of BSON object that is MongoDB specific.BasicDBObjectBuilderUtility for building complex objects.BSONTimestampCodecKnows how to encode and decode BSON timestamps.BulkUpdateRequestBuilderA builder for a single update request.BulkWriteErrorRepresents an error for an item included in a bulk write operation, e.g.BulkWriteOperationA bulk write operation.BulkWriteRequestBuilderA builder for a single write request.BulkWriteResultThe result of a successful bulk write operation.BulkWriteUpsertRepresents an upsert request in a bulk write operation that resulted in an insert.BytesClass that hold definitions of the wire protocolCommandResultA simple wrapper to hold the result of a command.ConnectionStringRepresents a Connection String.DBA thread-safe client view of a logical database in a MongoDB cluster.DBAddressDeprecatedThis class is no longer needed, as the driver does not rely on it for anything anymore.DBCollectionImplementation of a database collection.DBCursorAn iterator over database results.DBObjectCodecA collectible codec for a DBObject.DBObjectCodecProviderA provider for a DBObjectCodec.DBRefA representation of a database reference.DBRefCodecA Codec for DBRef instances.DBRefCodecProviderA codec provider for DBRef.DefaultDBCallbackAn implementation of DBCallback that decodes into a DBObject.DefaultDBDecoderAn implementation of DBDecoderDefaultDBEncoderThe default BSON encoder for BSONObject instances.GroupCommandThis class groups the argument for a group operation and can build the underlying command objectInsertOptionsOptions related to insertion of documents into MongoDB.LazyDBCallbackALazyDBDecoderBSONCallback
for the creation ofLazyDBObject
andLazyDBList
instances.A decoder forLazyDBEncoderLazyDBObject
instances.Encoder that only knows how to encode BSONObject instances of type LazyDBObject.LazyDBListALazyDBObjectLazyDBObject
representing a BSON array.An immutableMapReduceCommandDBObject
backed by a byte buffer that lazily provides keys and values on request.This class groups the argument for a map/reduce operation and can build the underlying command objectMapReduceOutputRepresents the result of a map/reduce operation.MongoA database connection with internal connection pooling.Mongo.HolderMongo.Holder can be used as a static place to hold several instances of Mongo.MongoClientA MongoDB client with internal connection pooling.MongoClientOptionsVarious settings to control the behavior of aMongoClientOptions.BuilderMongoClient
.A builder for MongoClientOptions so that MongoClientOptions can be immutable, and to support easier construction through chaining.MongoClientURIRepresents a URI which can be used to create a MongoClient instance.MongoCredentialRepresents credentials to authenticate to a mongo server,as well as the source of the credentials and the authentication mechanism to use.MongoNamespaceA MongoDB namespace, which includes a database name and collection name.MongoOptionsDeprecatedPlease useMongoURIDeprecatedMongoClientOptions
instead.Replaced byParallelScanOptionsMongoClientURI
The options to use for a parallel collection scan.ParallelScanOptions.BuilderA builder for the optionsQueryBuilderUtility for creating DBObject queriesQueryOperatorsMongoDB keywords for various query operations.ReadConcernThe readConcern option allows clients to choose a level of isolation for their reads.ReadPreferenceA class that represents preferred replica set members to which a query or command can be sent.ReflectionDBObjectThis class enables to map simple Class fields to a BSON object fieldsReflectionDBObject.JavaWrapperRepresents a wrapper around the DBObject to interface with the Class fieldsReplicaSetStatusKeeps replica set status.ServerAddressRepresents the location of a Mongo server - i.e.ServerCursorA 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.TagA replica set tag.TaggableReadPreferenceAbstract class for all preference which can be combined with tagsTagSetAn immutable set of tags, used to select members of a replica set to use for read operations.WriteConcernControls the acknowledgment of write operations with various options.WriteConcern.MajorityDeprecatedPreferWriteConcernErrorWriteConcern.MAJORITY
,WriteConcern.withWTimeout(long, TimeUnit)
,WriteConcern.withJournal(Boolean)
An error representing a failure by the server to apply the requested write concern to the bulk operation.WriteConcernResultThe result of a successful write operation.WriteErrorRepresents the details of a write error , e.g.WriteResultThis class lets you access the results of the previous acknowledged write.Enum Summary Enum Description AggregationOptions.OutputModeEnumeration to define where the results of the aggregation will be output.AuthenticationMechanismAn enumeration of the MongodDB-supported authentication mechanisms.CursorTypeAn enumeration of cursor types.ErrorCategoryA categorization of errors returned by a MongoDB server command.ExplainVerbosityAn enumeration of the verbosity levels available for explaining query execution.MapReduceCommand.OutputTypeRepresents the different options available for outputting the results of a map-reduce operation.ReadConcernLevelThe readConcern option allows clients to choose a level of isolation for their reads.Exception Summary Exception Description BulkWriteExceptionAn exception that represents all errors associated with a bulk write operation.DuplicateKeyExceptionSubclass ofMongoBulkWriteExceptionWriteConcernException
representing a duplicate key exceptionAn exception that represents all errors associated with a bulk write operation.MongoClientExceptionA base class for exceptions indicating a failure condition with the MongoClient.MongoCommandExceptionAn exception indicating that a command sent to a MongoDB server returned a failure.MongoCursorNotFoundExceptionSubclass ofMongoExceptionMongoException
representing a cursor-not-found exception.Top level Exception for all Exceptions, server-side or client-side, that come from the driver.MongoExecutionTimeoutExceptionException indicating that the execution of the current operation timed out as a result of the maximum operation time being exceeded.MongoGridFSExceptionAn exception indicating that a failure occurred in GridFS.MongoIncompatibleDriverExceptionAn exception indicating that this version of the driver is not compatible with at least one of the servers that it is currently connected to.MongoInternalExceptionA Mongo exception internal to the driver, not carrying any error code.MongoInterruptedExceptionA non-checked exception indicating that the driver has been interrupted by a call to Thread.interrupt.MongoNodeIsRecoveringExceptionAn exception indicating that the server is a member of a replica set but is in recovery mode, and therefore refused to execute the operation.MongoNotPrimaryExceptionAn 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.MongoQueryExceptionAn exception indicating that a query operation failed on the server.MongoSecurityExceptionThis exception is thrown when there is an error reported by the underlying client authentication mechanism.MongoServerExceptionAn exception indicating that some error has been raised by a MongoDB server in response to an operation.MongoSocketClosedExceptionThis exception is thrown when trying to read or write from a closed socket.MongoSocketExceptionSubclass ofMongoSocketOpenExceptionMongoException
representing a network-related exceptionThis exception is thrown when there is an exception opening a Socket.MongoSocketReadExceptionThis exception is thrown when there is an exception reading a response from a Socket.MongoSocketReadTimeoutExceptionThis exception is thrown when there is a timeout reading a response from the socket.MongoSocketWriteExceptionThis exception is thrown when there is an exception writing a response to a Socket.MongoTimeoutExceptionAn exception indicating that the driver has timed out waiting for either a server or a connection to become available.MongoWaitQueueFullExceptionAn exception indicating that the queue for waiting for a pooled connection is full.MongoWriteConcernExceptionAn exception indicating a failure to apply the write concern to the requested write operationMongoWriteExceptionAn exception indicating the failure of a write operation.WriteConcernExceptionAn exception representing an error reported due to a write failure.
Package com.mongodb Description
原文地址: http://api.mongodb.com/java/current/com/mongodb/package-summary.html
0 0
- mongodb API 官方资料
- MongoDB 3.x+Java 官方学习资料
- 学习MongoDB在java中使用的官方资料
- MongoDB资料
- mongodb资料
- Mongodb资料
- MongoDB资料
- mongoDB API
- mongodb api
- flex api 官方 api
- Resin官方中文资料
- Flex2 官方学习资料
- Flex2 官方学习资料
- CEGUI官方资料翻译
- redboot -官方资料
- hadoop资料官方位置
- TestNG官方中文资料
- window phone 官方资料
- 【面试题12】打印1到最大的n位数
- namespace
- C++上机实验3—(4)
- 常用命令汇总
- android 6.0以后的运行时权限申请及封装 相关记录
- mongodb API 官方资料
- ERROR [qtp-ambari-client-28] BaseManagementHandler:57
- 第三次实验:项目二
- js中substring和substr的用法
- C++的复习
- [AtCoder2045]Circle and Many Triangles二分答案
- Unity3D StrangeIoc框架类图
- 判断语句
- pcie的配置空间