存储过程在Neo4j中 [英] Stored procedure in Neo4j

查看:88
本文介绍了存储过程在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

  • 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆