| Package | Description |
|---|---|
| org.neo4j.ogm.context | |
| org.neo4j.ogm.metadata | |
| org.neo4j.ogm.metadata.reflect | |
| org.neo4j.ogm.session.request.strategy | |
| org.neo4j.ogm.session.request.strategy.impl |
| Modifier and Type | Method and Description |
|---|---|
Object |
MappingContext.getNodeEntityById(ClassInfo classInfo,
Object id)
Get a node entity from the MappingContext by its primary id
|
Object |
MappingContext.getRelationshipEntityById(ClassInfo classInfo,
Object id)
Get a relationship entity from MappingContext by primary id
|
| Modifier and Type | Method and Description |
|---|---|
ClassInfo |
MetaData.classInfo(Class<?> clazz)
Finds the ClassInfo for the supplied Class throgh the class' name.
|
ClassInfo |
MetaData.classInfo(Object object)
Finds the ClassInfo for the supplied object by looking up its class name
|
ClassInfo |
MetaData.classInfo(String name)
Finds the ClassInfo for the supplied partial class name or label.
|
ClassInfo |
FieldInfo.containingClassInfo()
ClassInfo for the class this field is defined in
|
ClassInfo |
ClassInfo.directSuperclass() |
ClassInfo |
DomainInfo.getClass(String fqn) |
ClassInfo |
MetaData.resolve(String... taxa)
Given an set of names (simple or fully-qualified) that are possibly within a type hierarchy, this function returns the
base class from among them.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<ClassInfo> |
ClassInfo.allSubclasses() |
Set<ClassInfo> |
MetaData.classInfoByLabelOrType(String name)
Finds ClassInfos for the supplied partial class name or label.
|
List<ClassInfo> |
ClassInfo.directSubclasses() |
Map<String,ClassInfo> |
DomainInfo.getClassInfoMap() |
List<ClassInfo> |
DomainInfo.getClassInfos(String interfaceName) |
List<ClassInfo> |
MetaData.getImplementingClassInfos(String interfaceName) |
Collection<ClassInfo> |
MetaData.persistentEntities() |
| Modifier and Type | Method and Description |
|---|---|
static FieldInfo |
EntityAccessManager.getIterableField(ClassInfo classInfo,
Class<?> parameterType,
String relationshipType,
String relationshipDirection)
Returns an FieldWriter for an iterable of a non-primitive scalar type defined by a ClassInfo
|
static FieldInfo |
EntityAccessManager.getRelationalReader(ClassInfo classInfo,
String relationshipType,
String relationshipDirection)
Returns a FieldInfo for a scalar type definition on a ClassInfo that is not a primitive graph property
|
static FieldInfo |
EntityAccessManager.getRelationalWriter(ClassInfo classInfo,
String relationshipType,
String relationshipDirection,
Class<?> objectType)
Returns a FieldWriter for a scalar type on a ClassInfo that is not a primitive graph property
|
static FieldInfo |
EntityAccessManager.getRelationalWriter(ClassInfo classInfo,
String relationshipType,
String relationshipDirection,
Object scalarValue)
Returns a FieldWriter for a scalar value represented as a relationship in the graph (i.e.
|
| Modifier and Type | Method and Description |
|---|---|
CypherQuery |
DeleteStatements.delete(Long id,
Object object,
ClassInfo classInfo)
Construct a query to delete a single object with given id, check for object's version
|
| Modifier and Type | Method and Description |
|---|---|
CypherQuery |
NodeDeleteStatements.delete(Long id,
Object object,
ClassInfo classInfo) |
CypherQuery |
RelationshipDeleteStatements.delete(Long id,
Object object,
ClassInfo classInfo) |
Copyright © 2015–2020 Neo Technology, Inc.. All rights reserved.