org.objectweb.speedo.query.parser
Class SelectGroupByVisitor

java.lang.Object
  extended byorg.objectweb.speedo.query.parser.SelectGroupByVisitor

public class SelectGroupByVisitor
extends java.lang.Object

This visitor parses select and group by clauses in order to build the projected field of a MEDOR query.

Author:
S.Chassande-Barrioz

Constructor Summary
SelectGroupByVisitor(SelectProject sp, QueryTree qt, PMapper mapper, SpeedoQLVariableVisitor sqvv, QueryDefinitionImpl qd, QueryEvalContext qec, java.lang.ClassLoader classloader)
           
 
Method Summary
 java.lang.Class[] getSelectFieldTypes()
           
 void visit(QueryDefinition qd)
          Visit the select and Groupby clause
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectGroupByVisitor

public SelectGroupByVisitor(SelectProject sp,
                            QueryTree qt,
                            PMapper mapper,
                            SpeedoQLVariableVisitor sqvv,
                            QueryDefinitionImpl qd,
                            QueryEvalContext qec,
                            java.lang.ClassLoader classloader)
Parameters:
qt -
sp -
mapper -
sqvv -
qd -
qec -
Method Detail

getSelectFieldTypes

public java.lang.Class[] getSelectFieldTypes()

visit

public void visit(QueryDefinition qd)
           throws SpeedoException
Visit the select and Groupby clause

Parameters:
qd - is the definition of the query
Throws:
SpeedoException