abstract class DenseNativeSegmentDataset extends DenseSegmentDataset
DenseSegmentDataset
that stores
values of type double
.Modifier and Type | Field and Description |
---|---|
protected BitSet |
nullValues |
axisMultipliers
Constructor and Description |
---|
DenseNativeSegmentDataset(SegmentAxis[] axes,
BitSet nullValues)
Creates a DenseNativeSegmentDataset.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isNull(CellKey key)
Returns whether the cell at a given coordinate is null.
|
protected boolean |
isNull(int offset)
Returns whether the value at the given offset is null.
|
getBytes, getDouble, getInt, getObject, getObject, getOffset, getOffset, getSize, iterator
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createSegmentBody, exists, getType, populateFrom, populateFrom
protected final BitSet nullValues
DenseNativeSegmentDataset(SegmentAxis[] axes, BitSet nullValues)
axes
- Segment axes, containing actual column valuesnullValues
- 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.public boolean isNull(CellKey key)
SegmentDataset
key
- Coordinate positionprotected final boolean isNull(int offset)
The native value at this offset will also be 0. You only need to
call this method if the getXxx
method has returned 0.
offset
- Cell offset