public interface IBasicDAO
Modifier and Type | Method and Description |
---|---|
<T extends GraphNode> |
create(GraphNeighbourTable graphNeighbourTable,
Class<T> clazz,
NodeTypeEnum nodeType)
add the content of the graph neighbour table to the graph.
|
<T extends GraphNode> |
getNodeData(String id,
Class<T> clazz,
NodeTypeEnum nodeType)
return the node data by unique id.
|
<T extends GraphNode> |
getNodeData(String keyName,
String id,
Class<T> clazz,
NodeTypeEnum nodeType) |
<T extends GraphNode> |
getNodesData(Map<String,Object> propertiesToMatch,
Class<T> clazz,
NodeTypeEnum nodeTypeEnum) |
<T extends GraphNode> fj.data.Either<T,Neo4jOperationStatus> create(GraphNeighbourTable graphNeighbourTable, Class<T> clazz, NodeTypeEnum nodeType)
graphNeighbourTable
- clazz
- - the type of the object to be returnednodeType
- - label of the node<T extends GraphNode> fj.data.Either<T,Neo4jOperationStatus> getNodeData(String id, Class<T> clazz, NodeTypeEnum nodeType)
id
- - unique id of the nodeclazz
- nodeType
- <T extends GraphNode> fj.data.Either<T,Neo4jOperationStatus> getNodeData(String keyName, String id, Class<T> clazz, NodeTypeEnum nodeType)
<T extends GraphNode> fj.data.Either<List<T>,Neo4jOperationStatus> getNodesData(Map<String,Object> propertiesToMatch, Class<T> clazz, NodeTypeEnum nodeTypeEnum)
Copyright © 2017. All rights reserved.