org.jboss.ejb.plugins.cmp.ejbql
Class ASTAvg

java.lang.Object
  extended byorg.jboss.ejb.plugins.cmp.ejbql.SimpleNode
      extended byorg.jboss.ejb.plugins.cmp.ejbql.AggregateFunction
          extended byorg.jboss.ejb.plugins.cmp.ejbql.ASTAvg
All Implemented Interfaces:
SelectFunction

public final class ASTAvg
extends AggregateFunction
implements SelectFunction

This abstract syntax node represents AVG function.

Version:
$Revision: 1.1.2.3 $
Author:
Alex Loubyansky

Field Summary
 
Fields inherited from class org.jboss.ejb.plugins.cmp.ejbql.AggregateFunction
distinct
 
Fields inherited from class org.jboss.ejb.plugins.cmp.ejbql.SimpleNode
children, id, parent
 
Constructor Summary
ASTAvg(int id)
           
 
Method Summary
 Object jjtAccept(JBossQLParserVisitor visitor, Object data)
          Accept the visitor.
 
Methods inherited from class org.jboss.ejb.plugins.cmp.ejbql.AggregateFunction
getDefaultResultType, readResult, setResultType
 
Methods inherited from class org.jboss.ejb.plugins.cmp.ejbql.SimpleNode
dump, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jboss.ejb.plugins.cmp.ejbql.SelectFunction
readResult
 

Constructor Detail

ASTAvg

public ASTAvg(int id)
Method Detail

jjtAccept

public Object jjtAccept(JBossQLParserVisitor visitor,
                        Object data)
Accept the visitor. *

Overrides:
jjtAccept in class SimpleNode


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.