class DenseIntSegmentBody extends AbstractSegmentBody
axisValueSets| Constructor and Description | 
|---|
DenseIntSegmentBody(BitSet nullValues,
                   int[] values,
                   List<Pair<SortedSet<Comparable>,Boolean>> axes)
Creates a DenseIntSegmentBody. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected int | 
getEffectiveSize()
Returns the amount of non-null elements. 
 | 
BitSet | 
getNullValueIndicators()
Returns a bit-set indicating whether values are null. 
 | 
protected Object | 
getObject(int i)  | 
protected int | 
getSize()
Returns the overall amount of stored elements, including those,
 that are considered to be null. 
 | 
Object | 
getValueArray()
Returns an array of values. 
 | 
getAxisValueSets, getNullAxisFlags, getValueMapDenseIntSegmentBody(BitSet nullValues, int[] values, List<Pair<SortedSet<Comparable>,Boolean>> axes)
Stores the given array of cell values and null indicators; caller must not modify them afterwards.
nullValues - A bit-set indicating whether values are null. Each
                   position in the bit-set corresponds to an offset in the
                   value array. If position is null, the corresponding
                   entry in the value array will also be 0.values - Cell valuesaxes - Axespublic Object getValueArray()
SegmentBodyUse only for dense segments.
getValueArray in interface SegmentBodygetValueArray in class AbstractSegmentBodypublic BitSet getNullValueIndicators()
SegmentBodySegmentBody.getValueArray().
 Use only for dense segments of native values.
getNullValueIndicators in interface SegmentBodygetNullValueIndicators in class AbstractSegmentBodyprotected int getSize()
AbstractSegmentBodygetSize in class AbstractSegmentBodyprotected int getEffectiveSize()
AbstractSegmentBodygetValueMap().entrySet().iterator() is returned.
 By default the method executes getSize().getEffectiveSize in class AbstractSegmentBodyprotected Object getObject(int i)
getObject in class AbstractSegmentBody