mondrian.rolap.agg
Class DenseDoubleSegmentBody
java.lang.Object
mondrian.rolap.agg.AbstractSegmentBody
mondrian.rolap.agg.DenseDoubleSegmentBody
- All Implemented Interfaces:
- Serializable, SegmentBody
class DenseDoubleSegmentBody
- extends AbstractSegmentBody
Implementation of a segment body which stores the data inside
a dense primitive array of double precision numbers.
- Version:
- $Id: //open/mondrian/src/main/mondrian/rolap/agg/DenseDoubleSegmentBody.java#3 $
- Author:
- LBoudreau
|
Field Summary |
(package private) double[] |
data
|
data
final double[] data
DenseDoubleSegmentBody
DenseDoubleSegmentBody(BitSet nullIndicators,
double[] dataToSave,
int size,
SortedSet<Comparable<?>>[] axisValueSets,
boolean[] nullAxisFlags)
createSegmentDataset
public SegmentDataset createSegmentDataset(Segment segment)
- Description copied from interface:
SegmentBody
- Returns a SegmentDataset object which contains the cached
data and is initialized to be used with the supplied segment.
- Parameters:
segment - Segment to which the returned dataset will be
associated to.
- Returns:
- A SegmentDataset object which contains cached data.
toString
public String toString()
- Overrides:
toString in class Object