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

java.lang.Object
  extended by org.jboss.ejb.plugins.cmp.ejbql.SimpleNode
      extended by org.jboss.ejb.plugins.cmp.ejbql.AggregateFunction
          extended by org.jboss.ejb.plugins.cmp.ejbql.ASTCount
All Implemented Interfaces:
SelectFunction

public final class ASTCount
extends AggregateFunction
implements SelectFunction

This abstract syntax node represents a count function.

Version:
$Revision: 57209 $
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
ASTCount(int id)
           
 
Method Summary
protected  Class getDefaultResultType()
           
 Object jjtAccept(JBossQLParserVisitor visitor, Object data)
          Accept the visitor.
 
Methods inherited from class org.jboss.ejb.plugins.cmp.ejbql.AggregateFunction
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

ASTCount

public ASTCount(int id)
Method Detail

getDefaultResultType

protected Class getDefaultResultType()
Overrides:
getDefaultResultType in class AggregateFunction

jjtAccept

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

Overrides:
jjtAccept in class SimpleNode


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