Your way through this document
此文档试图在广泛的可能用户之间架起桥梁:
This documentation tries to bridge between a broad spectrum of possible users:
-
People new to all the Spring ecosystem, including Spring Framework, Spring Data, the concrete module (in this case Spring Data Neo4j) and Neo4j.
-
Experienced Neo4j developers that are new to Spring Data and want to make best use of their Neo4j knowledge but are unfamiliar with declarative transactions for example and how to incorporate the latter with Neo4j cluster requirements.
-
Experienced Spring Data developers who are new to this specific module and Neo4j and need to learn how the building blocks interact together. While the programming paradigm of this module is very much in line with Spring Data JDBC, Mongo and others, the query language (Cypher), transactional and clustering behaviour is different and can’t be abstracted away.
我们如下满足这些不同的需求:
Here’s how we address those different needs:
可以在 Frequently Asked Questions 中找到许多与 Neo4j 相关的具体问题。对于非常了解 Neo4j 特定要求并希望了解如何通过 Spring Data Neo4j 来解决这些要求的人员来说,这些问题尤为重要。
A lot of Neo4j specific questions can be found in the Frequently Asked Questions. These questions are particular relevant for people who well aware of Neo4j specific requirements and want to know how to address them with Spring Data Neo4j.
如果您已经熟悉 Spring Data 的核心概念,请直接转到 getting-started。本章将指导您完成配置应用程序以连接到 Neo4j 实例的不同选项,以及如何对域进行建模。
If you are already familiar with the core concepts of Spring Data, head straight to getting-started. This chapter will walk you through different options of configuring an application to connect to a Neo4j instance and how to model your domain.
在大多数情况下,你需要一个域。请访问 mapping 以了解如何将节点和关系映射到域模型。
In most cases, you will need a domain. Go to mapping to learn about how to map nodes and relationships to your domain model.
之后,你需要一些查询域的方法。选择有 Neo4j repositories、Neo4j Template 或 Neo4j Client。所有这些也以反应性方式提供。除了分页机制之外,反应性变体还提供所有标准存储库的功能。
After that, you will need some means to query the domain. Choices are Neo4j repositories, the Neo4j Template or on a lower level, the Neo4j Client. All of them are available in a reactive fashion as well. Apart from the paging mechanism, all the features of standard repositories are available in the reactive variant.
如果你来自较早版本的 Spring Data Neo4j(通常缩写为 SDN+OGM 或 SDN5),你很可能会对 introduction to SDN 感兴趣,特别是对关系 between SDN+OGM and the current SDN 感兴趣。在同一章中,你将了解 SDN 的 building blocks。
If you come from older versions of Spring Data Neo4j - which are usually abbreviated SDN+OGM or SDN5 - you will most likely be interested in the introduction to SDN and especially in the relationship between SDN+OGM and the current SDN. In the same chapter, you will find out about the building blocks of SDN.
若要了解有关存储库一般概念的更多信息,请访问 repositories。
To learn more about the general concepts of repositories, head over to repositories.
你当然可以继续阅读,接着阅读序言和一个简明的入门指南。
You can of course read on, continuing with the preface, and a gentle getting started guide.