存储过程在Neo4j中 [英] Stored procedure in Neo4j
问题描述
我想知道是否有与存储过程等效的Neo4j?
研究此内容时,我遇到了events
,但是我发现它们更像是触发器,而不是存储过程.
I wanted to know if there is any Neo4j equivalent of a stored procedure?
When I researched this, I came across events
, but I found them more like triggers and not stored procedures.
推荐答案
从3.0版开始,存储过程可以通过Cypher语言作为CALLABLE功能使用.
Stored procedures are available as capabilities CALLABLE from the Cypher language since version 3.0
- 可以在这里找到第一个参考 https://dzone.com/articles/neo4j-30-stored-procedures
- 一个杰出的例子,展示了如何在大范围内处理图形 通过程序实现网络集群和社区化 决定,这里 http://www.markhneedham.com/blog/2016/02/28/neo4j-a-procedure-for-the-slm-clustering-algorithm/
- A first reference can be found here https://dzone.com/articles/neo4j-30-stored-procedures
- A remarkable example, showing how graph can be processed in the large through procedure to achieve network clustering and community decetion, here http://www.markhneedham.com/blog/2016/02/28/neo4j-a-procedure-for-the-slm-clustering-algorithm/
编辑
随着Neo4J 3.0于16年4月发布,该存储过程成为Apache 2.0许可的正式存储库.
As Neo4J 3.0 has been released in April'16, the stored procedure became an official, Apache 2.0 licensed, repository.
http://neo4j-contrib.github.io/neo4j-apoc-procedures /
可用的过程从数据处理/导入到空间和复杂图形算法(例如页面排名,Dijkstra,社区检测,中间性,紧密性等)
Available procedures range from data manipulation/import to Spatial and complex graph algorithms (es. Page Rank, Dijkstra, Community detection, betweenness centrality , closeness centrality, etc)
这篇关于存储过程在Neo4j中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!