|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.citra.pivot.table.aggregator.Functions.ScaledSumFunction
public static class Functions.ScaledSumFunction
The scaled sum function.
Field Summary | |
---|---|
protected List |
weights
the weights |
Constructor Summary | |
---|---|
Functions.ScaledSumFunction()
Constructs a ScaledSumFunction. |
|
Functions.ScaledSumFunction(List weights)
Constructs a ScaledSumFunction. |
Method Summary | |
---|---|
Object |
evaluate(List values,
OlapType type)
Produces an aggregate from a list of values. |
List |
getWeights()
Retrieves the weights. |
void |
setWeights(List weights)
Assigns a new set of weights. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected List weights
Constructor Detail |
---|
public Functions.ScaledSumFunction()
public Functions.ScaledSumFunction(List weights)
Method Detail |
---|
public void setWeights(List weights)
weights
- the weights to assignpublic List getWeights()
public Object evaluate(List values, OlapType type)
evaluate
in interface Functions.Function
values
- the list of valuestype
- the data type the evaluation will be based on
|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |