Spring Data MongoDB - Reference Documentation
Mark Pollack Thomas Risberg Oliver Gilke Costin Lojon Brisbane Thomas Darrylmont Christopher Strob Mark Pallucci version 1.10.6.RELEASE, July 2017 27th
©2008-2017 Original author.
|
Copies of this document, whether distributed in print or electronically, are available for your own use and distribution to others, provided you do not charge a fee for such copies and further provide that each copy includes this copyright notice. |
content
2. Know NoSQL and Document databases
5.1. New in Spring Data MongoDB 1.10
5.2. What's New in Spring Data MongoDB 1.9
5.3. New in Spring Data MongoDB 1.8
5.4. What's New in Spring Data MongoDB 1.7
6.1. Dependency management with Spring Boot
7. Using Spring Data Repositories
7.3. Define the repository interface
7.3.1. Fine-tune repository definitions
7.3.2. Repository using multiple Spring Data modules
7.4.4. Special parameter handling
7.4.6. Streaming query results
7.4.7. Asynchronous query results
7.5. Create a repository instance
7.6. Custom Implementation of Spring Data Repository
7.6.1. Add custom behavior to a single repository
7.6.2. Add custom behavior to all repositories
7.7. Publish events from collection root
9.3.3。MongoDbFactory界面
9.3.4。使用基于Java的元数据注册MongoDbFactory实例
9.3.5。使用基于XML的元数据注册MongoDbFactory实例
9.4。MongoTemplate简介
9.4.1。实例化MongoTemplate
9.4.2。WriteResultChecking策略
9.4.3。WriteConcern
9.4.4。WriteConcernResolver
9.5。保存,更新和删除文档
9.5.1。如何_id在映射层中处理该字段
9.5.2。类型映射
9.5.3。保存和插入文档的方法
9.5.4。更新集合中的文档
9.5.5。在文件集中插入文档
9.5.6。在集合中查找和升级文档
9.5.7。删除文件的方法
9.5.8。乐观锁定
9.6。查询文档
9.6.1。查询集合中的文档
9.6.2。方法查询文件
9.6.3。地理空间查询
9.6.4。GeoJSON支持
9.6.5。全文查询
9.7。按示例查询
9.7.1。介绍
9.7.2。用法
9.7.3。示例匹配器
9.7.4。执行一个例子
9.8。地图 - 减少操作
9.8.1。使用示例
9.9。脚本操作
9.9.1。使用示例
9.10。集团业务
9.10.1。使用示例
9.11。汇总框架支持
9.11.1。基本概念
9.11.2。支持的聚合操作
9.11.3。投影表达式
9.11.4。分面分类
9.12。使用自定义转换器覆盖默认映射
9.12.1。使用注册的Spring Converter保存
9.12.2。阅读使用弹簧转换器
9.12.3。使用MongoConverter注册Spring Converters
9.12.4。转换器消歧
9.13。索引和收集管理
9.13.1。创建索引的方法
9.13.2。访问索引信息
9.13.3。使用Collection的方法
9.14。执行命令
9.14.1。执行命令的方法
9.15。生命周期活动
9.16。异常翻译
9.17。执行回调
9.18。GridFS支持
MongoDB存储库
10.1。介绍
10.2。用法
10.3。查询方式
10.3.1。存储库删除查询
10.3.2。地理空间库查询
10.3.3。MongoDB基于JSON的查询方法和字段限制
10.3.4。具有SpEL表达式的基于JSON的查询
10.3.5。类型安全查询方法
10.3.6。全文搜索查询
10.3.7。预测
10.4。杂
10.4.1。CDI集成
11.审计
11.1。基本
11.1.1。基于注释的审计元数据
11.1.2。基于接口的审计元数据
11.1.3。AuditorAware
11.2。一般审核配置
映射
12.1。基于会议的映射
12.1.1。如何_id在映射层中处理该字段
12.2。数据映射和类型转换
12.3。映射配置
12.4。基于元数据的映射
12.4.1。映射注释概述
12.4.2。定制对象构造
12.4.3。复合指数
12.4.4。文本索引
12.4.5。使用DBRefs
12.4.6。映射框架事件
12.4.7。用显式转换器覆盖映射
十字架支持
13.1。交叉存储配置
13.2。写十字架应用程序
日志记录支持
14.1。MongoDB Log4j配置
14.1.1。使用身份验证
JMX支持
15.1。MongoDB JMX配置
16. MongoDB 3.0支持
16.1。使用Spring数据MongoDB与MongoDB 3.0
16.1.1。配置选项
16.1.2。WriteConcern和WriteConcernChecking
16.1.3。认证
16.1.4。其他要注意的事情
附录
附录A:命名空间参考
<repositories />元素
附录B:Populations命名空间参考
<populator />元素
附录C:存储库查询关键字
支持查询关键字
附录D:存储库查询返回类型
支持的查询返回类型