This is a fork of Cytosm with new features and bug fixes.
- Add Regex, StartsWith, EndWith, and Contains operators
- Add toLower() and toUpper() functions
- Handle directional edges when constructing joins
- Support edges with no label
- A release build to Maven POM
- Refactor build system and use Maven Wrapper
- Replace log4j with slf4j
- Parse name and string literal escape sequences in Cypher queries correctly
- Escape string literals in SQL output
- Clean up and simplify the GTopInterface class
- Keep track of the labels on relationship variables during SQL generation
- Misc fixes and improvements
- Update Java 8 to 17 (necessary for ANTLR 4.10+)
- Refactor and remove unused/underused dependencies
- Update JUnit 4 to 5
- Update to the latest maven plugin and 3rd party library versions
Include the following in your pom.xml:
<dependency>
<groupId>io.github.stephen-allen.cytosm</groupId>
<artifactId>cypher2sql</artifactId>
<version>1.3</version>
</dependency>
The main entry points to use the library are the static methods in the PassAvailables
class.
See README_ORIG.md for additional detail.