Package com.macrofocus.molap.subset
Class DefaultGroup<Row,Bin>
- java.lang.Object
-
- com.macrofocus.molap.subset.DefaultGroup<Row,Bin>
-
-
Constructor Summary
Constructors Constructor Description DefaultGroup(int initialCapacity, Reducer<Row,Bin> reducer, DataFrame<Row,?,?> dataFrame, MultiBinningDimension.MultiBinningStrategy<Row,Bin> binningStrategy)
DefaultGroup(int initialCapacity, Reducer<Row,Bin> reducer, DataFrame<Row,?,?> dataFrame, SingleBinningDimension.SingleBinningStrategy<Row,Bin> binningStrategy)
DefaultGroup(int initialCapacity, Reducer<Row,Bin> reducer, Series<Row,Bin> series)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(Bin bin, Row row)
double
getActiveMaxValue()
double
getActiveSumValue()
double
getMaxValue()
protected Reducer
getReducer()
double
getSumValue()
double
getValue(Bin key)
void
remove(Bin key, Row row)
void
reset()
-
-
-
Constructor Detail
-
DefaultGroup
public DefaultGroup(int initialCapacity, Reducer<Row,Bin> reducer, Series<Row,Bin> series)
-
DefaultGroup
public DefaultGroup(int initialCapacity, Reducer<Row,Bin> reducer, DataFrame<Row,?,?> dataFrame, SingleBinningDimension.SingleBinningStrategy<Row,Bin> binningStrategy)
-
-
Method Detail
-
getReducer
protected Reducer getReducer()
-
getMaxValue
public double getMaxValue()
- Specified by:
getMaxValue
in interfaceGroup<Row,Bin>
-
getActiveMaxValue
public double getActiveMaxValue()
- Specified by:
getActiveMaxValue
in interfaceGroup<Row,Bin>
-
getSumValue
public double getSumValue()
- Specified by:
getSumValue
in interfaceGroup<Row,Bin>
-
getActiveSumValue
public double getActiveSumValue()
- Specified by:
getActiveSumValue
in interfaceGroup<Row,Bin>
-
-