Skip to content

Add CQL Query Parser#1582

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

Add CQL Query Parser#1582
gonzalotguerrero wants to merge 6 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

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.

1 participant