Updated docs for node type strategy
This commit is contained in:
@@ -15,14 +15,6 @@
|
||||
<para>
|
||||
There are three available implementations to choose from.
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para><code>SubReferenceNodeTypeStrategy</code></para>
|
||||
<para>
|
||||
Stores entity types in a tree in the graph representing the type hierarchy. Each entity
|
||||
has a INSTANCE_OF relationship to a type node representing that entity's type. The type may or
|
||||
may not have a SUBCLASS_OF relationship to another type node.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para><code>IndexingNodeTypeStrategy</code></para>
|
||||
<para>
|
||||
@@ -32,6 +24,14 @@
|
||||
node has a property <code>__type__</code> with the type of that entity.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para><code>SubReferenceNodeTypeStrategy</code></para>
|
||||
<para>
|
||||
Stores entity types in a tree in the graph representing the type hierarchy. Each entity
|
||||
has a INSTANCE_OF relationship to a type node representing that entity's type. The type may or
|
||||
may not have a SUBCLASS_OF relationship to another type node.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para><code>NoopNodeTypeStrategy</code></para>
|
||||
<para>
|
||||
@@ -42,6 +42,7 @@
|
||||
</itemizedlist>
|
||||
</para>
|
||||
<para>
|
||||
The default implementation is <code>SubReferenceNodeTypeStrategy</code>.
|
||||
The default implementation is <code>IndexingNodeTypeStrategy</code> for new graphs. If using an existing
|
||||
graph, Spring Data Graph will default to the strategy first used when the graph was created.
|
||||
</para>
|
||||
</section>
|
||||
Reference in New Issue
Block a user