|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.axiondb.BaseSelectable
org.axiondb.functions.BaseFunction
org.axiondb.functions.BaseAggregateFunction
org.axiondb.functions.AverageFunction
public class AverageFunction
Field Summary |
---|
Fields inherited from class org.axiondb.BaseSelectable |
---|
_hash |
Constructor Summary | |
---|---|
AverageFunction()
|
Method Summary | |
---|---|
protected java.math.BigDecimal |
evaluate(java.math.BigDecimal src,
java.math.BigDecimal val)
|
java.lang.Object |
evaluate(RowDecoratorIterator rows)
|
DataType |
getDataType()
|
ConcreteFunction |
makeNewInstance()
|
Methods inherited from class org.axiondb.functions.BaseAggregateFunction |
---|
acceptable, evaluate, isDistinct, isValid, setDistinct, setDistinct |
Methods inherited from class org.axiondb.functions.BaseFunction |
---|
addArgument, getArgument, getArgumentCount, setArgument, setVariableContext, toString |
Methods inherited from class org.axiondb.BaseSelectable |
---|
getAlias, getLabel, getName, setAlias, setName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.axiondb.functions.ConcreteFunction |
---|
isValid |
Methods inherited from interface org.axiondb.Function |
---|
addArgument, getAlias, getArgument, getArgumentCount, getName, setAlias, setArgument |
Methods inherited from interface org.axiondb.Selectable |
---|
evaluate, getLabel, setVariableContext |
Constructor Detail |
---|
public AverageFunction()
Method Detail |
---|
public ConcreteFunction makeNewInstance()
makeNewInstance
in interface FunctionFactory
public final DataType getDataType()
getDataType
in interface Selectable
getDataType
in class BaseFunction
public final java.lang.Object evaluate(RowDecoratorIterator rows) throws AxionException
evaluate
in interface AggregateFunction
AxionException
protected java.math.BigDecimal evaluate(java.math.BigDecimal src, java.math.BigDecimal val)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |