New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #2333: Add systemdb export metadata procedure #2374
Conversation
acafef8
to
df45a80
Compare
@@ -932,4 +935,14 @@ public static String encodeUserColonPassToBase64(String userPass) { | |||
public static boolean isSelfRel(Relationship rel) { | |||
return rel.getStartNodeId() == rel.getEndNodeId(); | |||
} | |||
|
|||
public static String toCypherMap(Map<String, Object> map) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use CypherFormatterUtils.formatProperties
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated
@@ -48,6 +63,41 @@ public NodesAndRelationshipsResult(List<Node> nodes, List<Relationship> relation | |||
} | |||
} | |||
|
|||
@Procedure(name = "apoc.systemdb.export.metadata") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Admin
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added
Thank you @vga91 |
* Fixes 2333: Add systemdb export metadata procedure * added System annotation - formatProperties
* Fixes 2333: Add systemdb export metadata procedure * added System annotation - formatProperties
…4j-contrib#2374) * Fixes neo4j-contrib#2333: Add systemdb export metadata procedure * added System annotation - formatProperties
…4j-contrib#2374) * Fixes neo4j-contrib#2333: Add systemdb export metadata procedure * added System annotation - formatProperties
…4j-contrib#2374) * Fixes neo4j-contrib#2333: Add systemdb export metadata procedure * added System annotation - formatProperties
* Update apoc.import.json.adoc (#2021) * Remove deprecated apoc.algo docs and PathFinding code * Fixes #2027 * fixed DocumentGenerator (#2113) * Merge pull request #2220 from vga91/issue-2218 * Fixes #2218: combination of Neo4j 4.3.3 and Redis dependencies causes Neo4j to crash on start (Linux only) * fixes #1564: Add Apache arrow read / write support (#1859) * fix periodic query * Fixes #2333: Add systemdb export metadata procedure (#2374) * added System annotation - formatProperties
* Fix apoc.load.directory path to directory not reading correctly * Fixes #1911 * Update apoc.import.json.adoc (#2021) * Document (and list) which APOC procs start their own transaction * Fixes #1691 * Merge pull request #2220 from vga91/issue-2218 * Fixes #2218: combination of Neo4j 4.3.3 and Redis dependencies causes Neo4j to crash on start (Linux only) * Fix antora binary anchor (#2322) * Add virtual relationship check (#2157) * Fixes #494: add a sigmoid UDF (#2276) * add docs page * Fixes #2333: Add systemdb export metadata procedure (#2374) * added System annotation - formatProperties * Fixes #2292: Some bugs and missing stuff in docs (#2414)
* Fixes 2333: Add systemdb export metadata procedure * added System annotation - formatProperties
…4j-contrib#2374) * Fixes neo4j-contrib#2333: Add systemdb export metadata procedure * added System annotation - formatProperties
…4j-contrib#2374) * Fixes neo4j-contrib#2333: Add systemdb export metadata procedure * added System annotation - formatProperties
…4j-contrib#2374) * Fixes neo4j-contrib#2333: Add systemdb export metadata procedure * added System annotation - formatProperties
…4j-contrib#2374) * Fixes neo4j-contrib#2333: Add systemdb export metadata procedure * added System annotation - formatProperties
…4j-contrib#2374) * Fixes neo4j-contrib#2333: Add systemdb export metadata procedure * added System annotation - formatProperties
…4j-contrib#2374) * Fixes neo4j-contrib#2333: Add systemdb export metadata procedure * added System annotation - formatProperties
Fixes #2333
I kept some of
DocsTest.java
generated files to link them fromdatabase-introspection/systemdb.adoc
, becauseoverview/apoc.systemdb/apoc.systemdb.export.metadata.adoc
(and files included in this one) contain the signature, usage example and configuration description.