public abstract class BasicDao extends Object implements IBasicDAO
Constructor and Description |
---|
BasicDao() |
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.
|
Neo4jClient |
getNeo4jClient() |
<T extends GraphNode> |
getNodeData(String uniqueid,
Class<T> clazz,
NodeTypeEnum nodeTypeEnum)
return the node data by unique id.
|
<T extends GraphNode> |
getNodeData(String keyName,
String uniqueid,
Class<T> clazz,
NodeTypeEnum nodeTypeEnum) |
<T extends GraphNode> |
getNodesData(Map<String,Object> propertiesToMatch,
Class<T> clazz,
NodeTypeEnum nodeTypeEnum) |
void |
setNeo4jClient(Neo4jClient neo4jClient) |
public <T extends GraphNode> fj.data.Either<T,Neo4jOperationStatus> create(GraphNeighbourTable graphNeighbourTable, Class<T> clazz, NodeTypeEnum nodeType)
IBasicDAO
public <T extends GraphNode> fj.data.Either<T,Neo4jOperationStatus> getNodeData(String uniqueid, Class<T> clazz, NodeTypeEnum nodeTypeEnum)
IBasicDAO
getNodeData
in interface IBasicDAO
uniqueid
- - unique id of the nodepublic <T extends GraphNode> fj.data.Either<T,Neo4jOperationStatus> getNodeData(String keyName, String uniqueid, Class<T> clazz, NodeTypeEnum nodeTypeEnum)
getNodeData
in interface IBasicDAO
public <T extends GraphNode> fj.data.Either<List<T>,Neo4jOperationStatus> getNodesData(Map<String,Object> propertiesToMatch, Class<T> clazz, NodeTypeEnum nodeTypeEnum)
getNodesData
in interface IBasicDAO
public Neo4jClient getNeo4jClient()
public void setNeo4jClient(Neo4jClient neo4jClient)
Copyright © 2017. All rights reserved.