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.
|
boolean[] |
getNullAxisFlags()
Returns an array of boolean values which identify which
axis of the cached segment contained null values.
|
BitSet |
getNullValueIndicators()
Returns a bit-set indicating whether values are null.
|
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()
SegmentBodyUse only for dense segments.
getValueArray in interface SegmentBodypublic BitSet getNullValueIndicators()
SegmentBodySegmentBody.getValueArray().
Use only for dense segments of native values.
getNullValueIndicators in interface SegmentBodyprotected abstract int getSize()
protected abstract Object getObject(int i)