Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce Data Virtualization procedures (#2233)
The APOC library now supports the definition of a catalog of virtual resources. A virtual resource is an external data source that neo4j can use to query and retrieve data on demand presenting it as virtual nodes enriching the data stored in the graph. Virtual resources are currently limited to CSV and JDBC sources. Co-authored-by: Andrea Santurbano <santand@gmail.com>
- Loading branch information
1 parent
8f8f9bd
commit c7f71d4
Showing
43 changed files
with
1,473 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
docs/asciidoc/modules/ROOT/examples/generated-documentation/apoc.dv-lite.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
¦signature | ||
¦apoc.dv.query(name :: STRING?, params = {} :: ANY?, config = {} :: MAP?) :: (node :: NODE?) | ||
¦apoc.dv.queryAndLink(node :: NODE?, relName :: STRING?, name :: STRING?, params = {} :: ANY?, config = {} :: MAP?) :: (path :: PATH?) |
4 changes: 4 additions & 0 deletions
4
docs/asciidoc/modules/ROOT/examples/generated-documentation/apoc.dv.catalog-lite.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
¦signature | ||
¦apoc.dv.catalog.add(name :: STRING?, config = {} :: MAP?) :: (name :: STRING?, type :: STRING?, url :: STRING?, desc :: STRING?, labels :: LIST? OF STRING?, query :: STRING?, params :: LIST? OF STRING?) | ||
¦apoc.dv.catalog.list() :: (name :: STRING?, type :: STRING?, url :: STRING?, desc :: STRING?, labels :: LIST? OF STRING?, query :: STRING?, params :: LIST? OF STRING?) | ||
¦apoc.dv.catalog.remove(name :: STRING?) :: (name :: STRING?, type :: STRING?, url :: STRING?, desc :: STRING?, labels :: LIST? OF STRING?, query :: STRING?, params :: LIST? OF STRING?) |
2 changes: 2 additions & 0 deletions
2
docs/asciidoc/modules/ROOT/examples/generated-documentation/apoc.dv.catalog.add-lite.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
¦signature | ||
¦apoc.dv.catalog.add(name :: STRING?, config = {} :: MAP?) :: (name :: STRING?, type :: STRING?, url :: STRING?, desc :: STRING?, labels :: LIST? OF STRING?, query :: STRING?, params :: LIST? OF STRING?) |
5 changes: 5 additions & 0 deletions
5
...asciidoc/modules/ROOT/examples/generated-documentation/apoc.dv.catalog.add.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
¦xref::overview/apoc.dv/apoc.dv.catalog.add.adoc[apoc.dv.catalog.add icon:book[]] + | ||
|
||
|
||
¦label:procedure[] | ||
¦label:apoc-core[] |
16 changes: 16 additions & 0 deletions
16
docs/asciidoc/modules/ROOT/examples/generated-documentation/apoc.dv.catalog.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
¦Qualified Name¦Type¦Release | ||
|xref::overview/apoc.dv.catalog/apoc.dv.adoc[apoc.dv.catalog.add icon:book[]] | ||
|
||
Add a virtualized resource configuration | ||
|label:procedure[] | ||
|label:apoc-core[] | ||
|xref::overview/apoc.dv.catalog/apoc.dv.adoc[apoc.dv.catalog.list icon:book[]] | ||
|
||
List all virtualized resource configuration | ||
|label:procedure[] | ||
|label:apoc-core[] | ||
|xref::overview/apoc.dv.catalog/apoc.dv.adoc[apoc.dv.catalog.remove icon:book[]] | ||
|
||
Remove a virtualized resource config by name | ||
|label:procedure[] | ||
|label:apoc-core[] |
2 changes: 2 additions & 0 deletions
2
docs/asciidoc/modules/ROOT/examples/generated-documentation/apoc.dv.catalog.list-lite.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
¦signature | ||
¦apoc.dv.catalog.list() :: (name :: STRING?, type :: STRING?, url :: STRING?, desc :: STRING?, labels :: LIST? OF STRING?, query :: STRING?, params :: LIST? OF STRING?) |
5 changes: 5 additions & 0 deletions
5
...sciidoc/modules/ROOT/examples/generated-documentation/apoc.dv.catalog.list.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
¦xref::overview/apoc.dv/apoc.dv.catalog.list.adoc[apoc.dv.catalog.list icon:book[]] + | ||
|
||
|
||
¦label:procedure[] | ||
¦label:apoc-core[] |
2 changes: 2 additions & 0 deletions
2
docs/asciidoc/modules/ROOT/examples/generated-documentation/apoc.dv.catalog.remove-lite.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
¦signature | ||
¦apoc.dv.catalog.remove(name :: STRING?) :: (name :: STRING?, type :: STRING?, url :: STRING?, desc :: STRING?, labels :: LIST? OF STRING?, query :: STRING?, params :: LIST? OF STRING?) |
5 changes: 5 additions & 0 deletions
5
...iidoc/modules/ROOT/examples/generated-documentation/apoc.dv.catalog.remove.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
¦xref::overview/apoc.dv/apoc.dv.catalog.remove.adoc[apoc.dv.catalog.remove icon:book[]] + | ||
|
||
|
||
¦label:procedure[] | ||
¦label:apoc-core[] |
11 changes: 11 additions & 0 deletions
11
docs/asciidoc/modules/ROOT/examples/generated-documentation/apoc.dv.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
¦Qualified Name¦Type¦Release | ||
|xref::overview/apoc.dv/apoc.dv.adoc[apoc.dv.query icon:book[]] | ||
|
||
Query a virtualized resource by name and return virtual nodes | ||
|label:procedure[] | ||
|label:apoc-core[] | ||
|xref::overview/apoc.dv/apoc.dv.adoc[apoc.dv.queryAndLink icon:book[]] | ||
|
||
Query a virtualized resource by name and return virtual nodes linked using virtual rels to the node passed as first param | ||
|label:procedure[] | ||
|label:apoc-core[] |
2 changes: 2 additions & 0 deletions
2
docs/asciidoc/modules/ROOT/examples/generated-documentation/apoc.dv.query-lite.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
¦signature | ||
¦apoc.dv.query(name :: STRING?, params = {} :: ANY?, config = {} :: MAP?) :: (node :: NODE?) |
5 changes: 5 additions & 0 deletions
5
docs/asciidoc/modules/ROOT/examples/generated-documentation/apoc.dv.query.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
¦xref::overview/apoc.dv/apoc.dv.query.adoc[apoc.dv.query icon:book[]] + | ||
|
||
|
||
¦label:procedure[] | ||
¦label:apoc-core[] |
2 changes: 2 additions & 0 deletions
2
docs/asciidoc/modules/ROOT/examples/generated-documentation/apoc.dv.queryAndLink-lite.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
¦signature | ||
¦apoc.dv.queryAndLink(node :: NODE?, relName :: STRING?, name :: STRING?, params = {} :: ANY?, config = {} :: MAP?) :: (path :: PATH?) |
5 changes: 5 additions & 0 deletions
5
...sciidoc/modules/ROOT/examples/generated-documentation/apoc.dv.queryAndLink.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
¦xref::overview/apoc.dv/apoc.dv.queryAndLink.adoc[apoc.dv.queryAndLink icon:book[]] + | ||
|
||
|
||
¦label:procedure[] | ||
¦label:apoc-core[] |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
docs/asciidoc/modules/ROOT/pages/overview/apoc.dv/apoc.dv.catalog.add.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
//// | ||
This file is generated by DocsTest, so don't change it! | ||
//// | ||
|
||
= apoc.dv.catalog.add | ||
:description: This section contains reference documentation for the apoc.dv.catalog.add procedure. | ||
|
||
label:procedure[] label:apoc-core[] | ||
|
||
[.emphasis] | ||
Add a virtualized resource configuration | ||
|
||
== Signature | ||
|
||
[source] | ||
---- | ||
apoc.dv.catalog.add(name :: STRING?, config = {} :: MAP?) :: (name :: STRING?, type :: STRING?, url :: STRING?, desc :: STRING?, labels :: LIST? OF STRING?, query :: STRING?, params :: LIST? OF STRING?) | ||
---- | ||
|
||
== Input parameters | ||
[.procedures, opts=header] | ||
|=== | ||
| Name | Type | Default | ||
|name|STRING?|null | ||
|config|MAP?|{} | ||
|=== | ||
|
||
== Output parameters | ||
[.procedures, opts=header] | ||
|=== | ||
| Name | Type | ||
|name|STRING? | ||
|type|STRING? | ||
|url|STRING? | ||
|desc|STRING? | ||
|labels|LIST? OF STRING? | ||
|query|STRING? | ||
|params|LIST? OF STRING? | ||
|=== | ||
|
32 changes: 32 additions & 0 deletions
32
docs/asciidoc/modules/ROOT/pages/overview/apoc.dv/apoc.dv.catalog.list.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
//// | ||
This file is generated by DocsTest, so don't change it! | ||
//// | ||
|
||
= apoc.dv.catalog.list | ||
:description: This section contains reference documentation for the apoc.dv.catalog.list procedure. | ||
|
||
label:procedure[] label:apoc-core[] | ||
|
||
[.emphasis] | ||
List all virtualized resource configuration | ||
|
||
== Signature | ||
|
||
[source] | ||
---- | ||
apoc.dv.catalog.list() :: (name :: STRING?, type :: STRING?, url :: STRING?, desc :: STRING?, labels :: LIST? OF STRING?, query :: STRING?, params :: LIST? OF STRING?) | ||
---- | ||
|
||
== Output parameters | ||
[.procedures, opts=header] | ||
|=== | ||
| Name | Type | ||
|name|STRING? | ||
|type|STRING? | ||
|url|STRING? | ||
|desc|STRING? | ||
|labels|LIST? OF STRING? | ||
|query|STRING? | ||
|params|LIST? OF STRING? | ||
|=== | ||
|
Oops, something went wrong.