mondrian.rolap.agg
class DenseIntSegmentBody extends AbstractSegmentBody
axisValueSets
Constructor and Description |
---|
DenseIntSegmentBody(BitSet nullIndicators,
int[] values,
List<Pair<SortedSet<Comparable>,Boolean>> axes)
Creates a DenseIntSegmentBody.
|
Modifier and Type | Method and Description |
---|---|
BitSet |
getIndicators()
Returns a bitset indicating whether values are null.
|
protected Object |
getObject(int i) |
protected int |
getSize() |
Object |
getValueArray()
Returns an array of values.
|
getAxisValueSets, getNullAxisFlags, getValueMap
DenseIntSegmentBody(BitSet nullIndicators, int[] values, List<Pair<SortedSet<Comparable>,Boolean>> axes)
Stores the given array of cell values and null indicators; caller must not modify them afterwards.
nullIndicators
- Null indicatorsvalues
- Cell valuesaxes
- Axespublic Object getValueArray()
SegmentBody
getValueArray
in interface SegmentBody
getValueArray
in class AbstractSegmentBody
public BitSet getIndicators()
SegmentBody
getIndicators
in interface SegmentBody
getIndicators
in class AbstractSegmentBody
protected int getSize()
getSize
in class AbstractSegmentBody
protected Object getObject(int i)
getObject
in class AbstractSegmentBody