Open Source Software

CQL-Java

CQL-Java is a CQL compiler written in Java. As well as the compiler itself, it includes classes representing CQL queries as abstract trees of variously typed nodes, a decompiler (translating trees back into CQL), a translator into YAZ-style Prefix Query Format and a random query generator which is useful for some kinds of testing.

CQL-Java includes:

A set of classes for representing a CQL parse tree (a base CQLNode class, CQLBooleanNode and its subclasses, CQLTermNode, etc.)

A CQLCompiler class (and its lexer) which builds a parse tree given a CQL query as input.