Package | Description |
---|---|
org.springframework.data.neo4j.core.mapping |
The main mapping framework.
|
org.springframework.data.neo4j.core.schema |
This package contains the schema that is defined by a set of classes, representing nodes and relationships and their
properties.
|
org.springframework.data.neo4j.core.support |
This package provides a couple of support classes that might be helpful in your domain, for example a predicate
indicating that some transaction may be retried and additional converters and id generators
|
Modifier and Type | Method and Description |
---|---|
<T extends IdGenerator<?>> |
Neo4jMappingContext.getIdGenerator(String reference) |
<T extends IdGenerator<?>> |
Schema.getIdGenerator(String reference) |
<T extends IdGenerator<?>> |
Neo4jMappingContext.getOrCreateIdGeneratorOfType(Class<T> idGeneratorType) |
<T extends IdGenerator<?>> |
Schema.getOrCreateIdGeneratorOfType(Class<T> idGeneratorType)
Creates or retrieves an instance of the given id generator class.
|
Modifier and Type | Method and Description |
---|---|
Optional<Class<? extends IdGenerator<?>>> |
IdDescription.getIdGeneratorClass() |
Modifier and Type | Method and Description |
---|---|
static IdDescription |
IdDescription.forExternallyGeneratedIds(Class<? extends IdGenerator<?>> idGeneratorClass,
String idGeneratorRef,
String graphPropertyName) |
Modifier and Type | Class and Description |
---|---|
static class |
GeneratedValue.InternalIdGenerator
This
IdGenerator does nothing. |
static class |
GeneratedValue.UUIDGenerator
This generator is automatically applied when a field of type
UUID is annotated with
@Id and @GeneratedValue . |
Modifier and Type | Class and Description |
---|---|
class |
UUIDStringGenerator
A generator providing UUIDs.
|
Copyright © 2019–2021 Neo4j, Neo4j Sweden AB. All rights reserved.