Package au.edu.usyd.corona.server.grammar

This package contains the ANTLR generated Lexer and Parser, as well as our compilers for all items in the SQL query language.

See:
          Description

Class Summary
CaseInsensitiveANTLRStringStream This class helps ANTLR to ignore case in the grammar Code from http://www.antlr.org/wiki/pages/viewpage.action?pageId=1782
KillCompiler This is a compiler for the KILL command in the grammar, which is used to kill an executing query within the system
QLCompiler Singleton class which is used to compile queries in our SQL grammar into executable instances.
QLPacketTypeCompiler<T extends SchedulableTask> Abstract base class for all the compilers for different parts of the SQL grammar.
Query This class stores all information associated with a Query that has been executed in the system.
QueryCompiler This class compiles queries that are normal sense-based queries as opposed to the other types of queries that our grammar supports.
RouteCompiler This is a compiler for the ROUTE command in the grammar, which forces a re-route of the network
SetPropertyCompiler This is a compiler for the SET command in the grammar, allows the setting of variables used in the system, such as the resync period for time synchronization.
SyncCompiler This is a compiler for the SYNC command in the grammar, which forces resync of the time synchronization within the network.
 

Exception Summary
QLCompileException This exception is thrown when the compiler throws an error due to a semantic check failing, or some other error with the query it was asked to compile.
QLParseException  
 

Package au.edu.usyd.corona.server.grammar Description

This package contains the ANTLR generated Lexer and Parser, as well as our compilers for all items in the SQL query language.

Package Specification

This package contains everything that deals with the compilation of SQL grammar queries. This process involves parsing the queries using the ANTLR generated parser and lexer, and then going over the resultant AST with our own compilers.