mondrian.rolap.agg
abstract class AbstractSegmentBody extends Object implements SegmentBody
Modifier and Type | Field and Description |
---|---|
protected SortedSet<Comparable>[] |
axisValueSets |
Constructor and Description |
---|
AbstractSegmentBody(List<Pair<SortedSet<Comparable>,Boolean>> axes) |
Modifier and Type | Method and Description |
---|---|
SortedSet<Comparable>[] |
getAxisValueSets()
Returns the cached axis value sets to be used as an
initializer for the segment's axis.
|
BitSet |
getIndicators()
Returns a bitset indicating whether values are null.
|
boolean[] |
getNullAxisFlags()
Returns an array of boolean values which identify which
axis of the cached segment contained null values.
|
protected abstract Object |
getObject(int i) |
protected abstract int |
getSize() |
Object |
getValueArray()
Returns an array of values.
|
Map<CellKey,Object> |
getValueMap()
Converts contents of this segment into a cellkey/value map.
|
protected final SortedSet<Comparable>[] axisValueSets
public AbstractSegmentBody(List<Pair<SortedSet<Comparable>,Boolean>> axes)
public SortedSet<Comparable>[] getAxisValueSets()
SegmentBody
getAxisValueSets
in interface SegmentBody
public boolean[] getNullAxisFlags()
SegmentBody
getNullAxisFlags
in interface SegmentBody
public Map<CellKey,Object> getValueMap()
SegmentBody
getValueMap
in interface SegmentBody
public Object getValueArray()
SegmentBody
getValueArray
in interface SegmentBody
public BitSet getIndicators()
SegmentBody
getIndicators
in interface SegmentBody
protected abstract int getSize()
protected abstract Object getObject(int i)