org.tranql.ql
Class AggregateFunction
java.lang.Object
org.tranql.ql.AbstractNode
org.tranql.ql.AggregateFunction
- All Implemented Interfaces:
- Node, java.io.Serializable
- public class AggregateFunction
- extends AbstractNode
This node represents an aggregate function call. This is used within a
select clause. This node expects one child.
- Version:
- $Revision: 173 $ $Date: 2005-02-20 16:42:56 +0100 (Sun, 20 Feb 2005) $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AVG
public static final AggregateFunction.FunctionType AVG
COUNT
public static final AggregateFunction.FunctionType COUNT
MAX
public static final AggregateFunction.FunctionType MAX
MIN
public static final AggregateFunction.FunctionType MIN
SUM
public static final AggregateFunction.FunctionType SUM
AggregateFunction
public AggregateFunction(AggregateFunction.FunctionType type,
boolean distinct)
getFunction
public java.lang.String getFunction()
getFunctionType
public AggregateFunction.FunctionType getFunctionType()
getType
public java.lang.Class getType()
isDistinct
public boolean isDistinct()
getPath
public Path getPath()
addChild
public Node addChild(Node child)
- Specified by:
addChild
in interface Node
- Overrides:
addChild
in class AbstractNode
visit
public java.lang.Object visit(QueryVisitor visitor,
java.lang.Object param)
throws QueryException
- Throws:
QueryException
Copyright © -2006 The Codehaus. All Rights Reserved.