class DenseDoubleSegmentDataset extends DenseNativeSegmentDataset
DenseSegmentDataset that stores
 values of type double.| Modifier and Type | Field and Description | 
|---|---|
(package private) double[] | 
values  | 
nullValuesaxisMultipliers| Constructor and Description | 
|---|
DenseDoubleSegmentDataset(SegmentAxis[] axes,
                         double[] values,
                         BitSet nullIndicators)
Creates a populated DenseDoubleSegmentDataset. 
 | 
DenseDoubleSegmentDataset(SegmentAxis[] axes,
                         int size)
Creates a DenseDoubleSegmentDataset. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
SegmentBody | 
createSegmentBody(List<Pair<SortedSet<Comparable>,Boolean>> axes)
Return an immutable, final and serializable implementation
 of a SegmentBody in order to cache this dataset. 
 | 
boolean | 
exists(CellKey pos)
Returns whether there is a value at a given coordinate. 
 | 
double | 
getDouble(CellKey key)
Returns the value at a given coordinate, as a  
double. | 
Object | 
getObject(CellKey pos)
Returns the value at a given coordinate, as an  
Object. | 
Double | 
getObject(int offset)  | 
protected int | 
getSize()  | 
SqlStatement.Type | 
getType()
Returns the SQL type of the data contained in this dataset. 
 | 
void | 
populateFrom(int[] pos,
            SegmentDataset data,
            CellKey key)  | 
void | 
populateFrom(int[] pos,
            SegmentLoader.RowList rowList,
            int column)
Sets the value a given ordinal. 
 | 
(package private) void | 
set(int k,
   double d)  | 
isNull, isNullgetBytes, getInt, getOffset, getOffset, iteratorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorDenseDoubleSegmentDataset(SegmentAxis[] axes, int size)
axes - Segment axes, containing actual column valuessize - Number of coordinatesDenseDoubleSegmentDataset(SegmentAxis[] axes, double[] values, BitSet nullIndicators)
axes - Segment axes, containing actual column valuesvalues - Cell values; not copiednullIndicators - Null indicatorspublic double getDouble(CellKey key)
SegmentDatasetdouble.getDouble in interface SegmentDatasetgetDouble in class DenseSegmentDatasetkey - Coordinate positionpublic Object getObject(CellKey pos)
SegmentDatasetObject.getObject in interface SegmentDatasetgetObject in class DenseSegmentDatasetpos - Coordinate positionpublic Double getObject(int offset)
getObject in class DenseSegmentDatasetpublic boolean exists(CellKey pos)
SegmentDatasetpos - Coordinate positionpublic void populateFrom(int[] pos,
                         SegmentDataset data,
                         CellKey key)
public void populateFrom(int[] pos,
                         SegmentLoader.RowList rowList,
                         int column)
SegmentDatasetpos - OrdinalrowList - Row listcolumn - Column of row listpublic SqlStatement.Type getType()
SegmentDatasetvoid set(int k,
         double d)
protected int getSize()
getSize in class DenseSegmentDatasetpublic SegmentBody createSegmentBody(List<Pair<SortedSet<Comparable>,Boolean>> axes)
SegmentDatasetaxes - An array with, for each axis, the set of axis values, sorted
     in natural order, and a flag saying whether the null value is also
     present.
     This is supplied by the SegmentLoader.SegmentBody.