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/
编辑
随着 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.
可用的程序范围从数据操作/导入到空间和复杂的图形算法(例如页面排名、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屋!