Skip navigation links
com.sigmadynamics.sdo.support
Class SDAggregationFunction
java.lang.Object
com.sigmadynamics.sdo.support.SDOBase
com.sigmadynamics.sdo.base.SDO
com.sigmadynamics.sdo.support.SDAggregationFunction
- All Implemented Interfaces:
- AggregationFunctionInterface, SDOInterface
- Direct Known Subclasses:
- AggregationFunction
-
public class SDAggregationFunction
- extends SDO
- implements AggregationFunctionInterface
Base class for Aggregation Functions in generated code
- Since:
- 1.0
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SDAggregationFunction
public SDAggregationFunction(long aggregationPeriod)
SDAggregationFunction
protected SDAggregationFunction(AggFunctionKey key,
long aggregationPeriod,
StatCollectorInterface statCollector,
boolean isControlGroup)
getSum
public double getSum()
-
- Specified by:
getSum in interface AggregationFunctionInterface
init
public void init()
-
- Specified by:
init in interface AggregationFunctionInterface
isForControlGroup
public boolean isForControlGroup()
-
- Specified by:
isForControlGroup in interface AggregationFunctionInterface
getKey
public AggFunctionKey getKey()
-
- Specified by:
getKey in interface AggregationFunctionInterface
setValue
public void setValue(double val,
long currTime)
-
- Specified by:
setValue in interface AggregationFunctionInterface
getTimestamp
public long getTimestamp()
-
- Specified by:
getTimestamp in interface AggregationFunctionInterface
getAggregateValue
public java.lang.Object getAggregateValue()
-
- Specified by:
getAggregateValue in interface AggregationFunctionInterface
getMax
public double getMax()
-
- Specified by:
getMax in interface AggregationFunctionInterface
getMin
public double getMin()
-
- Specified by:
getMin in interface AggregationFunctionInterface
getSumOfSquares
public double getSumOfSquares()
-
- Specified by:
getSumOfSquares in interface AggregationFunctionInterface
getCount
public int getCount()
-
- Specified by:
getCount in interface AggregationFunctionInterface
cloneFunction
public AggregationFunctionInterface cloneFunction(AggFunctionKey key,
StatCollectorInterface statCollector,
boolean isControlGroup)
-
- Specified by:
cloneFunction in interface AggregationFunctionInterface
Skip navigation links
Copyright © 2010, 2011, Oracle. All rights reserved.