spring mongodb Chinese documentation

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

foreword

know spring

2. Know NoSQL and Document databases

3. Requirements

4. Additional Help Resources

4.1. support

4.1.1. community forum

4.1.2. Professional support

4.2. after development

5. New and noteworthy

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

dependencies

6.1. Dependency management with Spring Boot

6.2. Spring Framework

7. Using Spring Data Repositories

7.1. Core idea

7.2. inquiry mode

7.3. Define the repository interface

7.3.1. Fine-tune repository definitions

7.3.2. Repository using multiple Spring Data modules

7.4. Define query method

7.4.1. query query strategy

7.4.2. query creation

7.4.3. property expression

7.4.4. Special parameter handling

7.4.5. Limit query results

7.4.6. Streaming query results

7.4.7. Asynchronous query results

7.5. Create a repository instance

7.5.1. XML placement

7.5.2。JavaConfig

7.5.3. Standalone use

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

7.8. Spring Data Extension

7.8.1. Querydsl extension

7.8.2. Web support

7.8.3. repository

7.8.4. Legacy Network Support

references

8. Introduction

8.1. file structure

9. MongoDB support

9.1. getting Started

9.2. example repository

9.3. Connect MongoDB with Spring

9.3.1. Register a Mongo instance with Java-based metadata

9.3.2. Register a Mongo instance with XML-based metadata

9.3.3. MongoDbFactory interface

9.3.4. Register a MongoDbFactory instance with Java-based metadata

9.3.5. Register a MongoDbFactory instance with XML-based metadata

9.4. Introduction to MongoTemplate

9.4.1. Instantiate MongoTemplate

9.4.2. WriteResultCheckingStrategy

9.4.3。WriteConcern

9.4.4。WriteConcernResolver

9.5. Save, update and delete documents

9.5.1. How to handle the _id field in the mapping layer

9.5.2. typemap

9.5.3. Methods of saving and inserting documents

9.5.4. Update documents in a collection

9.5.5. Insert a document into a collection

9.5.6. Find and upgrade documents in collections

9.5.7. How to delete files

9.5.8. optimistic locking

9.6. query document

9.6.1. Querying documents in a collection

9.6.2. method query file

9.6.3. Geospatial query

9.6.4. GeoJSON support

9.6.5. Full text query

9.7. query by example

9.7.1. introduce

9.7.2. usage

9.7.3. example matcher

9.7.4. execute an example

9.8. Maps - Reduce Actions

9.8.1. Example of use

9.9. script action

9.9.1. Example of use

9.10. Group business

9.10.1. Example of use

9.11. Rollup Framework Support

9.11.1. basic concept

9.11.2. Supported Aggregation Operations

9.11.3. projection expression

9.11.4. faceted classification

9.12. Override default mapping with custom converter

9.12.1. Save with registered Spring Converter

9.12.2. Read about using spring converters

9.12.3. Register Spring Converters with MongoConverter

9.12.4. Converter Disambiguation

9.13. Index and Collection Management

9.13.1. How to create an index

9.13.2. Access index information

9.13.3. Methods of using Collections

9.14. Excuting an order

9.14.1. How to execute a command

9.15. life cycle activities

9.16. abnormal translation

9.17. execute callback

9.18. GridFS support

MongoDB repository

10.1. introduce

10.2. usage

10.3. inquiry mode

10.3.1. Repository delete query

10.3.2. Geospatial database query

10.3.3. MongoDB JSON-based query methods and field restrictions

10.3.4. JSON based query with SpEL expressions

10.3.5. Type-safe query methods

10.3.6. Full text search query

10.3.7. predict

10.4. miscellaneous

10.4.1. CDI integration

11. Audit

11.1. basic

11.1.1. Annotation-based audit metadata

11.1.2. Interface-based audit metadata

11.1.3。AuditorAware

11.2. General Audit Configuration

map

12.1. Conference-Based Mapping

12.1.1. How to handle the _id field in the mapping layer

12.2. Data Mapping and Type Conversion

12.3. Mapping configuration

12.4. Metadata based mapping

12.4.1. Mapping annotation overview

12.4.2. custom object construction

12.4.3. Composite Index

12.4.4. text index

12.4.5. Using DBRefs

12.4.6. Mapping frame events

12.4.7. Override map with explicit converter

cross support

13.1. Cross-storage configuration

13.2. write cross app

logging support

14.1. MongoDB Log4j configuration

14.1.1. use authentication

JMX support

15.1。MongoDB JMX配置

16. MongoDB 3.0 support

16.1. Using Spring Data MongoDB with MongoDB 3.0

16.1.1. configuration options

16.1.2. WriteConcern and WriteConcernChecking

16.1.3. Certification

16.1.4. Other things to look out for

appendix

Appendix A: Namespace Reference

<repositories /> element

Appendix B: Populations Namespace Reference

<populator /> element

Appendix C: Repository Query Keywords

Support query keywords

Appendix D: Repository Query Return Types

Supported query return types

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326239367&siteId=291194637