That should be Driver.java. Look at the run() method. That calls 
ParseDriver.parse() to get the AST. And them sem.analyze() to do semantic 
analysis, optimization and plan generation. Finally it goes through the Task 
list and runs the tasks according to the dependencies.

Ashish 

-----Original Message-----
From: Shyam Sarkar [mailto:[email protected]] 
Sent: Wednesday, March 11, 2009 2:49 PM
To: [email protected]
Subject: Call sequence


Hello,

I am trying to understand the call sequence of Java classes from the top level 
(command processor). I can see Parser and Lexer generated by Antlr. Can someone 
please help me on the call sequence ?  Where is the front level command 
processor that collects a query as a string and then calls parser?

thanks,
[email protected]


      

Reply via email to