class SparseSegmentBody extends AbstractSegmentBody
Modifier and Type | Field and Description |
---|---|
(package private) Object[] |
data |
(package private) CellKey[] |
keys |
axisValueSets
Constructor and Description |
---|
SparseSegmentBody(Map<CellKey,Object> dataToSave,
List<Pair<SortedSet<Comparable>,Boolean>> axes) |
Modifier and Type | Method and Description |
---|---|
protected Object |
getObject(int i) |
protected int |
getSize()
Returns the overall amount of stored elements, including those,
that are considered to be null.
|
Map<CellKey,Object> |
getValueMap()
Converts contents of this segment into a cellkey/value map.
|
getAxisValueSets, getEffectiveSize, getNullAxisFlags, getNullValueIndicators, getValueArray
protected int getSize()
AbstractSegmentBody
getSize
in class AbstractSegmentBody
protected Object getObject(int i)
getObject
in class AbstractSegmentBody
public Map<CellKey,Object> getValueMap()
SegmentBody
getValueMap
in interface SegmentBody
getValueMap
in class AbstractSegmentBody