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.
    Cursor
    Interface for providing consistent behaviour between different Cursor implementations.
    DBCallback
    The DB callback interface.
    DBCallbackFactory
    Factory for creating concrete implementations of DBCallback.
    DBDecoder
    An interface for decoders of BSON into instances of DBObject that belong to a DBCollection.
    DBDecoderFactory
    Creates concrete DBDecoder instances.
    DBEncoder
    An interface for encoders of BSONObject to BSON.
    DBEncoderFactory
    Creates concrete DBEncoder instances.
    DBObject
    This interface adds some specific behaviour to BSONObject for MongoDB documents.
    Function<T,R>
    Apply a function to the input object yielding an appropriate result object.
  • Class Summary
    Class Description
    AggregationOptions
    The options to apply to an aggregate operation.
    AggregationOptions.Builder
    Builder for creating AggregationOptions.
    AggregationOutput
    Container for the result of aggregation operation.
    BasicDBList
    An implementation of List that reflects the way BSON lists work.
    BasicDBObject
    A basic implementation of BSON object that is MongoDB specific.
    BasicDBObjectBuilder
    Utility for building complex objects.
    BSONTimestampCodec
    Knows how to encode and decode BSON timestamps.
    BulkUpdateRequestBuilder
    A builder for a single update request.
    BulkWriteError
    Represents an error for an item included in a bulk write operation, e.g.
    BulkWriteOperation
    A bulk write operation.
    BulkWriteRequestBuilder
    A builder for a single write request.
    BulkWriteResult
    The result of a successful bulk write operation.
    BulkWriteUpsert
    Represents an upsert request in a bulk write operation that resulted in an insert.
    Bytes
    Class that hold definitions of the wire protocol
    CommandResult
    A simple wrapper to hold the result of a command.
    ConnectionString
    Represents a Connection String.
    DB
    A thread-safe client view of a logical database in a MongoDB cluster.
    DBAddress Deprecated

    This class is no longer needed, as the driver does not rely on it for anything anymore.
    DBCollection
    Implementation of a database collection.
    DBCursor
    An iterator over database results.
    DBObjectCodec
    A collectible codec for a DBObject.
    DBObjectCodecProvider
    A provider for a DBObjectCodec.
    DBRef
    A representation of a database reference.
    DBRefCodec
    A Codec for DBRef instances.
    DBRefCodecProvider
    A codec provider for DBRef.
    DefaultDBCallback
    An implementation of DBCallback that decodes into a DBObject.
    DefaultDBDecoder
    An implementation of DBDecoder
    DefaultDBEncoder
    The default BSON encoder for BSONObject instances.
    GroupCommand
    This class groups the argument for a group operation and can build the underlying command object
    InsertOptions
    Options related to insertion of documents into MongoDB.
    LazyDBCallback
    A BSONCallback for the creation of LazyDBObject and LazyDBList instances.
    LazyDBDecoder
    A decoder for LazyDBObject instances.
    LazyDBEncoder
    Encoder that only knows how to encode BSONObject instances of type LazyDBObject.
    LazyDBList
    A LazyDBObject representing a BSON array.
    LazyDBObject
    An immutable DBObject backed by a byte buffer that lazily provides keys and values on request.
    MapReduceCommand
    This class groups the argument for a map/reduce operation and can build the underlying command object
    MapReduceOutput
    Represents the result of a map/reduce operation.
    Mongo
    A database connection with internal connection pooling.
    Mongo.Holder
    Mongo.Holder can be used as a static place to hold several instances of Mongo.
    MongoClient
    A MongoDB client with internal connection pooling.
    MongoClientOptions
    Various settings to control the behavior of a MongoClient.
    MongoClientOptions.Builder
    A builder for MongoClientOptions so that MongoClientOptions can be immutable, and to support easier construction through chaining.
    MongoClientURI
    Represents a URI which can be used to create a MongoClient instance.
    MongoCredential
    Represents credentials to authenticate to a mongo server,as well as the source of the credentials and the authentication mechanism to use.
    MongoNamespace
    A MongoDB namespace, which includes a database name and collection name.
    MongoOptions Deprecated

    Please use MongoClientOptions instead.
    MongoURI Deprecated

    Replaced by MongoClientURI
    ParallelScanOptions
    The options to use for a parallel collection scan.
    ParallelScanOptions.Builder
    A builder for the options
    QueryBuilder
    Utility for creating DBObject queries
    QueryOperators
    MongoDB keywords for various query operations.
    ReadConcern
    The readConcern option allows clients to choose a level of isolation for their reads.
    ReadPreference
    A class that represents preferred replica set members to which a query or command can be sent.
    ReflectionDBObject
    This class enables to map simple Class fields to a BSON object fields
    ReflectionDBObject.JavaWrapper
    Represents a wrapper around the DBObject to interface with the Class fields
    ReplicaSetStatus
    Keeps replica set status.
    ServerAddress
    Represents the location of a Mongo server - i.e.
    ServerCursor
    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.
    Tag
    A replica set tag.
    TaggableReadPreference
    Abstract class for all preference which can be combined with tags
    TagSet
    An immutable set of tags, used to select members of a replica set to use for read operations.
    WriteConcern
    Controls the acknowledgment of write operations with various options.
    WriteConcern.Majority Deprecated

    Prefer WriteConcern.MAJORITY, WriteConcern.withWTimeout(long, TimeUnit), WriteConcern.withJournal(Boolean)
    WriteConcernError
    An error representing a failure by the server to apply the requested write concern to the bulk operation.
    WriteConcernResult
    The result of a successful write operation.
    WriteError
    Represents the details of a write error , e.g.
    WriteResult
    This class lets you access the results of the previous acknowledged write.
  • Enum Summary
    Enum Description
    AggregationOptions.OutputMode
    Enumeration to define where the results of the aggregation will be output.
    AuthenticationMechanism
    An enumeration of the MongodDB-supported authentication mechanisms.
    CursorType
    An enumeration of cursor types.
    ErrorCategory
    A categorization of errors returned by a MongoDB server command.
    ExplainVerbosity
    An enumeration of the verbosity levels available for explaining query execution.
    MapReduceCommand.OutputType
    Represents the different options available for outputting the results of a map-reduce operation.
    ReadConcernLevel
    The readConcern option allows clients to choose a level of isolation for their reads.
  • Exception Summary
    Exception Description
    BulkWriteException
    An exception that represents all errors associated with a bulk write operation.
    DuplicateKeyException
    Subclass of WriteConcernException representing a duplicate key exception
    MongoBulkWriteException
    An exception that represents all errors associated with a bulk write operation.
    MongoClientException
    A base class for exceptions indicating a failure condition with the MongoClient.
    MongoCommandException
    An exception indicating that a command sent to a MongoDB server returned a failure.
    MongoCursorNotFoundException
    Subclass of MongoException representing a cursor-not-found exception.
    MongoException
    Top level Exception for all Exceptions, server-side or client-side, that come from the driver.
    MongoExecutionTimeoutException
    Exception indicating that the execution of the current operation timed out as a result of the maximum operation time being exceeded.
    MongoGridFSException
    An exception indicating that a failure occurred in GridFS.
    MongoIncompatibleDriverException
    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.
    MongoInternalException
    A Mongo exception internal to the driver, not carrying any error code.
    MongoInterruptedException
    A non-checked exception indicating that the driver has been interrupted by a call to Thread.interrupt.
    MongoNodeIsRecoveringException
    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.
    MongoNotPrimaryException
    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.
    MongoQueryException
    An exception indicating that a query operation failed on the server.
    MongoSecurityException
    This exception is thrown when there is an error reported by the underlying client authentication mechanism.
    MongoServerException
    An exception indicating that some error has been raised by a MongoDB server in response to an operation.
    MongoSocketClosedException
    This exception is thrown when trying to read or write from a closed socket.
    MongoSocketException
    Subclass of MongoException representing a network-related exception
    MongoSocketOpenException
    This exception is thrown when there is an exception opening a Socket.
    MongoSocketReadException
    This exception is thrown when there is an exception reading a response from a Socket.
    MongoSocketReadTimeoutException
    This exception is thrown when there is a timeout reading a response from the socket.
    MongoSocketWriteException
    This exception is thrown when there is an exception writing a response to a Socket.
    MongoTimeoutException
    An exception indicating that the driver has timed out waiting for either a server or a connection to become available.
    MongoWaitQueueFullException
    An exception indicating that the queue for waiting for a pooled connection is full.
    MongoWriteConcernException
    An exception indicating a failure to apply the write concern to the requested write operation
    MongoWriteException
    An exception indicating the failure of a write operation.
    WriteConcernException
    An 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

mongodb API 官方资料相关推荐

  1. MongoDB API实现增删改查

    一,代码实现 1 import com.mongodb.DBCollection; 2 import com.mongodb.MongoClient; 3 import java.net.Unknow ...

  2. azure api 管理_Azure Cosmos DB和MongoDB API入门

    azure api 管理 In the previous article on Azure Cosmos DB, we reviewed NoSQL concepts and how to integ ...

  3. PHP操作Mongodb API 及使用类 封装好的MongoDB操作类

    来源:http://www.itokit.com/2012/0427/73656.html <?php /*** Mongodb类** examples: * $mongo = new HMon ...

  4. MongoDB是什么以及它如何满足您的应用需求

    NoSQL数据存储让数据管理方式更加灵活,彻底改变了软件开发的状况.MongoDB是知名的NoSQL解决方案之一,这是一种面向文档的数据存储系统.本文探讨MongoDB是什么以及它如何满足您的应用需求 ...

  5. MongoDB获得短暂的

    大约MongoDB该数据是现在比较少.和大多数英文网站.最上面的经笔者从官方网站翻译.请翻译或误解之处请作证.然后,我们将继续关注MongoDB,和翻译"Developer Zone&quo ...

  6. mongodb更新某个字段_直播 | MongoDB开源数据库的云上之路

    本文转自阿里巴巴数据库技术 来了来了!就在今天(11月26号)阿里云-MongoDB战略合作发布会真的来了!一直被模仿从未没超越的开源界大牛MongoDB与亚太区云数据库TOP 1 阿里云数据库要联手 ...

  7. MongoDB入门简单介绍

    有关于MongoDB的资料如今较少,且大多为英文站点,以上内容大多由笔者翻译自官网,请翻译或理解错误之处请指证.之后笔者会继续关注MongoDB,并翻译"Developer Zone&quo ...

  8. 百度地图API开发指南

    百度地图API开发指南 本文为百度地图API官方版本的开发指南,供各位51CTO的网友进行参考. 简介什么是百度地图API? 百度地图API是一套由JavaScript语言编写的应用程序接口,它能够帮 ...

  9. MongoDB 5.0新特性概览

    简介:MongoDB 5.0标志着一个新的发布周期的到来,以更快地交付新特性给到用户.版本化API与在线重新分片相结合,使用户不必担心未来的数据库升级以及业务变化问题:本地原生时间序列数据平台也使Mo ...

最新文章

  1. python字符串出栈方法_python字符串常用方法
  2. php include效率分析
  3. Sybase Anywhere 11 元数据[SQL Schema]
  4. Maven的pom.xml文件详解------Environment Settings
  5. 云原生数据仓库AnalyticDB支撑双11,大幅提升分析实时性和用户体验
  6. HMC支持管理服务器数量及适合POWER6服务器的HMC型号
  7. “腾讯持股比例提升”系误读!美团对外定增后腾讯持股比例降低
  8. 【Java】Synchronized解析以及多种用法
  9. ERP软件管理持续升级 抢占产业先机
  10. 图解50道sql编写题
  11. HBase跨版本数据迁移总结
  12. 李开复写给中国大学生的七封信(2/7)
  13. “苏宁SAP上线“有感(原)
  14. 线性代数知识点总结——矩阵乘法、矩阵运算与性质、矩阵微积分
  15. 每日英语(2021-2-27)
  16. Linux下载蓝奏云文件,蓝奏云CMD控制台
  17. 乐清高考2021成绩查询,2021年乐清高考状元名单公布,乐清文理科状元是谁多少分...
  18. 国产手机操作系统 COS 官方回应 7 大质疑
  19. 江苏省苏州市工业园与市区医保公积金合并线上操作指南
  20. 字符串加密后md5为 0exxxx 的字符串

热门文章

  1. XP定时自动开机/关机/启动
  2. 弟中弟的Leetcode总结——数组类(十)
  3. 移动端 - 搜索组件(suggest篇)
  4. 2017年工作学习计划(20170120、20170203)
  5. 电信笔试C语言,-中国电信笔试-中国电信C网应知应会题库基础分册(V1.0).doc
  6. php 自动关键词,基于Php实现自动获取关键词的分析
  7. 时尚达人第一季:全新iPad轻松玩(全彩)
  8. Android Java小知识点集锦
  9. 安卓手机安装Linux双系统,安卓+Win10双系统?这个可以有!
  10. MasterCAM二次开发