java.lang.Object
org.jdaemon.era.Aggregate
- public class Aggregate
- extends java.lang.Object
Simple class representing a calculation of aggregate values by a Cube
|
Field Summary |
private java.lang.String |
attribute
|
static int |
COUNT
Parameter value indicating count of attribute values should be calculated |
static int |
MAX
Parameter value indicating max attribute value should be calculated |
static int |
MIN
Parameter value indicating min attribute value should be calculated |
static int |
SUM
Parameter value indicating sum of attribute values should be calculated |
private int |
type
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SUM
public static final int SUM
- Parameter value indicating sum of attribute values should be calculated
- See Also:
- Constant Field Values
MAX
public static final int MAX
- Parameter value indicating max attribute value should be calculated
- See Also:
- Constant Field Values
MIN
public static final int MIN
- Parameter value indicating min attribute value should be calculated
- See Also:
- Constant Field Values
COUNT
public static final int COUNT
- Parameter value indicating count of attribute values should be calculated
- See Also:
- Constant Field Values
type
private int type
attribute
private java.lang.String attribute
Aggregate
public Aggregate(java.lang.String attribute_name,
int type)
- Creates a new instance of Aggregate
getType
public int getType()
getAttributeName
public java.lang.String getAttributeName()
- Get the attriubte name on which aggregation will be performed
getValue
public java.lang.Object getValue(Cube cube)
- Get the value of this aggregate from a cube