mondrian.rolap.agg
Class DenseIntSegmentBody
java.lang.Object
mondrian.rolap.agg.AbstractSegmentBody
mondrian.rolap.agg.DenseIntSegmentBody
- All Implemented Interfaces:
- Serializable, SegmentBody
class DenseIntSegmentBody
- extends AbstractSegmentBody
Implementation of a segment body which stores the data inside
a dense primitive array of integers.
- Version:
- $Id: //open/mondrian/src/main/mondrian/rolap/agg/DenseIntSegmentBody.java#2 $
- Author:
- LBoudreau
|
Field Summary |
(package private) int[] |
data
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
data
final int[] data
DenseIntSegmentBody
DenseIntSegmentBody(BitSet nullIndicators,
int[] 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.