Graph Database Foreign Data Wrapper for PostgreSQL
C Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
data
expected
sql
test
.gitattributes
.gitignore
Makefile
Readme
Readme.ja
json.txt
json2resultset.c
json2resultset.h
neo4j_accessor.c
neo4j_accessor.h
neo4j_fdw--1.0.sql
neo4j_fdw.c
neo4j_fdw.control
neo4j_fdw.h
resultset.c
resultset.h
stringlist.c
stringlist.h

Readme

neo4j_fdw

The view that neo4j_fdw assumes graph database neo4j a source of information
contribute it via the interface of the foreign table wrapper of PostgreSQL.
In addition, I hand URL and Cypher query with an argument and offer a function to receive a result in JSON.

In CREATE SERVER, I set a connection URL to Neo4j.
Set Cypher query offering in column and Neo4j which I want to return in CREATE FOREIGN TABLE.
It is necessary to match the RETURN phrase of the Cypher query with the column which I want to return.

This module needs the following libraries.
Please install it beforehand.
* libcurl http://curl.haxx.se/libcurl/
* json-c  http://oss.metaparadigm.com/json-c/

How to use please refer to a test folder.
(after loading data.xml in the data folder.)