到目前为止我们大部分时间是在查询一个已经存在的图。在下面的各节内,我们将一起探讨更广泛的话题。在熟悉小精灵的工作时,这些话题也相当重要。这些话题包括在您的查询中混合使用Groovy或者Java代码,增加顶点,增加边,增加属性到图中,删除它们。我们也将学习如何创建子图,如何把图保存到XML或者JSON文件,或者更多。现在让我们从查询的结构、保留字和数据模型开始吧。
So far we have looked mostly at querying an existing graph. In the following sections we will look
at many other topics that it is also important to be familiar with when working with Gremlin. These
topics include mixing in some Groovy or Java code with your queries, as well as adding vertices
(nodes), edges and properties to a graph and also deleting them. We will also look at how to create a
sub-graph and how to save a graph to an XML or JSON file and a lot more. Let’s start off with a short
discussion of query layout, reserved words and data modeling.
posted on 2022-04-21 06:45  bokeyuannicheng0000  阅读(16)  评论(0)    收藏  举报