当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 server API Documentation 英文版文档
AggregateFunction (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档
org.jboss.ejb.plugins.cmp.ejbql
Class AggregateFunction
java.lang.Object
org.jboss.ejb.plugins.cmp.ejbql.SimpleNode
org.jboss.ejb.plugins.cmp.ejbql.AggregateFunction
- All Implemented Interfaces:
- SelectFunction
- Direct Known Subclasses:
- ASTAvg, ASTCount, ASTMax, ASTMin, ASTSum
- public abstract class AggregateFunction
- extends SimpleNode
- implements SelectFunction
- Version:
- $Revision: 1.3 $
- Author:
- Alexey Loubyansky
Methods inherited from class org.jboss.ejb.plugins.cmp.ejbql.SimpleNode |
dump, jjtAccept, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, toString, toString |
distinct
public String distinct
AggregateFunction
public AggregateFunction(int i)
setResultType
public void setResultType(Class type)
getDefaultResultType
protected Class getDefaultResultType()
readResult
public Object readResult(ResultSet rs)
throws SQLException
- Description copied from interface:
SelectFunction
- Reads results.
- Specified by:
readResult
in interface SelectFunction
- Parameters:
rs
- the result set to read from.
- Returns:
- the result of the function
- Throws:
SQLException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.