Skip to content

Add CQL Query Parser#1582

Open
gonzalotguerrero wants to merge 13 commits into
masterfrom
feature/cql-query-parser
Open

Add CQL Query Parser#1582
gonzalotguerrero wants to merge 13 commits into
masterfrom
feature/cql-query-parser

Conversation

@gonzalotguerrero

Copy link
Copy Markdown
Collaborator
  • Built on Apache Cassandra's CQL ANTLR4 grammar (source)
  • Parses SELECT, UPDATE, and DELETE WHERE clauses into a structural typed condition model
  • Equality, inequality (>, >=, <, <=), IN, CONTAINS, and CONTAINS KEY conditions, with multi-condition support via AND wrapped in an AndOperation
  • Full literal support: strings, integers, floats, booleans, UUIDs, durations (standard quantity-unit, ISO 8601 standard, and ISO 8601 alternative formats), and NULL
  • Quoted identifiers and case-insensitive keyword lexing
  • 46 parser tests

@jgaleotti jgaleotti left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you

Comment thread client-java/controller/pom.xml Outdated
</executions>
</plugin>

<!-- Generates the Cypher parser from the Neo4j Cypher25 grammar and the CQL parser-->

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check dependencies against andyfelder16's PR #1580

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

File looks identical now to avoid future conflicts. Thanks!

@gonzalotguerrero gonzalotguerrero changed the base branch from master to neo4j-cypher-query-parser June 24, 2026 19:36
@gonzalotguerrero

Copy link
Copy Markdown
Collaborator Author

@jgaleotti the PR now has Andrés's branch as base. Once a merge of master is done on that branch, the changed files should be back to the ones I actually changed

Base automatically changed from neo4j-cypher-query-parser to master June 26, 2026 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants