Wolfgang-Schuetzelhofer / jcypher

Java access to Neo4J graph databases at multiple levels of abstraction
Apache License 2.0
86 stars 15 forks source link

Querying objects in memory using CYPHER queries #54

Closed smichea closed 5 years ago

smichea commented 5 years ago

Not sure it is the right place to ask this question, so my apologies in advance if not.

Imagine i have a set of Pojo stored in memory (in lists, maps,...), can JCypher help me to filter them using Cypher queries ?

Wolfgang-Schuetzelhofer commented 5 years ago

Only in an indirect way. You have to store the objects in a Neo4j database (can be an in memory db). If you use the domain mapping approach that's straight forward. Then you can use domain queries to do the filtering, or you can look at the created graph structure, and us cypher (JCypher) queries. For Domain mapping and domain queries look at the documentation starting at: https://github.com/Wolfgang-Schuetzelhofer/jcypher/wiki/Domain-Mapping

Best regards, Wolfgang

smichea commented 5 years ago

Thank you Wolfgang !