Class QueryCompilerPass2

java.lang.Object
org.ehrbase.aql.parser.AqlBaseListener
org.ehrbase.aql.compiler.QueryCompilerPass2
All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeListener, AqlListener

public class QueryCompilerPass2 extends AqlBaseListener
AQL compilation pass 2

This pass uses the results of pass 1 to:

  • resolve AQL paths from symbols, example: c/items[at0002]/items[at0001]/value/value/magnitude
  • create the list of variables used in SELECT
  • create the list of ORDER BY expression parts
  • set the TOP clause if specified
Since:
1.0
Author:
Christian Chevalley, Stefan Spiska