mondrian.rolap.agg
Class DenseNativeSegmentDataset
java.lang.Object
mondrian.rolap.agg.DenseSegmentDataset
mondrian.rolap.agg.DenseNativeSegmentDataset
- All Implemented Interfaces:
- Iterable<Map.Entry<CellKey,Object>>, SegmentDataset
- Direct Known Subclasses:
- DenseDoubleSegmentDataset, DenseIntSegmentDataset
abstract class DenseNativeSegmentDataset
- extends DenseSegmentDataset
Implementation of DenseSegmentDataset that stores
values of type double.
- Author:
- jhyde
|
Method Summary |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nullIndicators
protected final BitSet nullIndicators
DenseNativeSegmentDataset
DenseNativeSegmentDataset(SegmentAxis[] axes,
BitSet nullIndicators)
- Creates a DenseNativeSegmentDataset.
- Parameters:
axes - Segment axes, containing actual column valuesnullIndicators - Null indicators
isNull
public boolean isNull(CellKey key)
- Description copied from interface:
SegmentDataset
- Returns whether the cell at a given coordinate is null.
- Parameters:
key - Coordinate position
- Returns:
- Whether cell value is null
isNull
protected final boolean isNull(int offset)
- Returns whether the value at the given offset is null.
The native value at this offset will also be 0. You only need to
call this method if the getXxx method has returned 0.
- Parameters:
offset - Cell offset
- Returns:
- Whether the cell at this offset is null