当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 server API Documentation 英文版文档
ASTSqrt (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档
org.jboss.ejb.plugins.cmp.ejbql
Class ASTSqrt
java.lang.Object
org.jboss.ejb.plugins.cmp.ejbql.SimpleNode
org.jboss.ejb.plugins.cmp.ejbql.ASTSqrt
- All Implemented Interfaces:
- SelectFunction
- public final class ASTSqrt
- extends SimpleNode
- implements SelectFunction
This abstract syntax node represents a square root function.
- Version:
- $Revision: 1.5 $
- Author:
- Dain Sundstrom, Alex Loubyansky
Constructor Summary |
ASTSqrt(int id)
|
ASTSqrt
public ASTSqrt(int id)
jjtAccept
public Object jjtAccept(JBossQLParserVisitor visitor,
Object data)
- Accept the visitor.
- Overrides:
jjtAccept
in class SimpleNode
readResult
public Object readResult(ResultSet rs)
throws SQLException
- 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.