Package cn.net.pap.neo4j.repository
Interface HLMRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<HLMEntity,
,String> org.springframework.data.neo4j.repository.Neo4jRepository<HLMEntity,
,String> org.springframework.data.repository.PagingAndSortingRepository<HLMEntity,
,String> org.springframework.data.repository.query.QueryByExampleExecutor<HLMEntity>
,org.springframework.data.repository.Repository<HLMEntity,
String>
-
Method Summary
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save
Methods inherited from interface org.springframework.data.neo4j.repository.Neo4jRepository
findAll, findAll, findAll, findAll, findAllById, saveAll
Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAll
Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findByName
根据 name 查询- Parameters:
name
-- Returns:
-
getById
根据ID 匹配数据,这里的 ID 是 neo4j里默认会创建的一个Long型自增ID- Parameters:
id
-- Returns:
-
getRoot
查询根节点,顶级 无入- Returns:
-
getLeaf
查询叶子节点,底级 无出- Returns:
-
getCycle
查询循环节点- Returns:
-