Repositories

本章介绍了 Spring Data 存储库和 Elasticsearch 规范的基本基础。在继续 Elasticsearch 规范之前,请确保对基本概念有充分的了解。

This chapter explains the basic foundations of Spring Data repositories and Elasticsearch specifics. Before continuing to the Elasticsearch specifics, make sure you have a sound understanding of the basic concepts.

Spring Data 存储库抽象的目标是显著减少为各种持久性存储实现数据访问层所需的样板代码量。

The goal of the Spring Data repository abstraction is to significantly reduce the amount of boilerplate code required to implement data access layers for various persistence stores.