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()
SegmentBodygetAxisValueSets in interface SegmentBodypublic boolean[] getNullAxisFlags()
SegmentBodygetNullAxisFlags in interface SegmentBodypublic Map<CellKey,Object> getValueMap()
SegmentBodygetValueMap in interface SegmentBodypublic Object getValueArray()
SegmentBodygetValueArray in interface SegmentBodypublic BitSet getIndicators()
SegmentBodygetIndicators in interface SegmentBodyprotected abstract int getSize()
protected abstract Object getObject(int i)