站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 server API Documentation 英文版文档

ASTCount (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档


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

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.ASTCount
All Implemented Interfaces:
SelectFunction

public final class ASTCount
extends AggregateFunction
implements SelectFunction

This abstract syntax node represents a count function.

Version:
$Revision: 1.7 $
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.