Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Real-Time Decisions
11g Release 1 (11.1.1)

E17787-02


com.sigmadynamics.sdo.support
Class SDAggregationFunction

java.lang.Object
  extended by com.sigmadynamics.sdo.support.SDOBase
      extended by com.sigmadynamics.sdo.base.SDO
          extended by 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

Field Summary

 

Fields inherited from class com.sigmadynamics.sdo.support.SDOBase
description, internalName, sdExternalName

 

Constructor Summary
protected SDAggregationFunction(AggFunctionKey key, long aggregationPeriod, StatCollectorInterface statCollector, boolean isControlGroup)
           
  SDAggregationFunction(long aggregationPeriod)
           

 

Method Summary
 AggregationFunctionInterface cloneFunction(AggFunctionKey key, StatCollectorInterface statCollector, boolean isControlGroup)
           
 java.lang.Object getAggregateValue()
           
 int getCount()
           
 AggFunctionKey getKey()
           
 double getMax()
           
 double getMin()
           
 double getSum()
           
 double getSumOfSquares()
           
 long getTimestamp()
           
 void init()
           
 boolean isForControlGroup()
           
 void setValue(double val, long currTime)
           

 

Methods inherited from class com.sigmadynamics.sdo.support.SDOBase
getDescription, getSDOId, getSDOLabel, getSDOLabelOrId, setDescription, setSDOId, setSDOLabel

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

SDAggregationFunction

public SDAggregationFunction(long aggregationPeriod)

SDAggregationFunction

protected SDAggregationFunction(AggFunctionKey key,
                                long aggregationPeriod,
                                StatCollectorInterface statCollector,
                                boolean isControlGroup)

Method Detail

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

Oracle Fusion Middleware Java API Reference for Oracle Real-Time Decisions
11g Release 1 (11.1.1)

E17787-02


Copyright © 2010, 2011, Oracle. All rights reserved.