|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SegmentDataset
A SegmentDataset holds the values in a segment.
| Method Summary | |
|---|---|
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 |
getBytes()
Returns the number of bytes occupied by this dataset. |
double |
getDouble(CellKey pos)
Returns the value at a given coordinate, as a double. |
int |
getInt(CellKey pos)
Returns the value at a given coordinate, as an int. |
Object |
getObject(CellKey pos)
Returns the value at a given coordinate, as an Object. |
SqlStatement.Type |
getType()
Returns the SQL type of the data contained in this dataset. |
boolean |
isNull(CellKey pos)
Returns whether the cell at a given coordinate is null. |
void |
populateFrom(int[] pos,
SegmentDataset data,
CellKey key)
|
void |
populateFrom(int[] pos,
SegmentLoader.RowList rowList,
int column)
Sets the value a given ordinal. |
| Methods inherited from interface java.lang.Iterable |
|---|
iterator |
| Method Detail |
|---|
Object getObject(CellKey pos)
Object.
pos - Coordinate position
int getInt(CellKey pos)
int.
pos - Coordinate position
double getDouble(CellKey pos)
double.
pos - Coordinate position
boolean isNull(CellKey pos)
pos - Coordinate position
boolean exists(CellKey pos)
pos - Coordinate position
double getBytes()
void populateFrom(int[] pos,
SegmentDataset data,
CellKey key)
void populateFrom(int[] pos,
SegmentLoader.RowList rowList,
int column)
pos - OrdinalrowList - Row listcolumn - Column of row listSqlStatement.Type getType()
SegmentBody createSegmentBody(List<Pair<SortedSet<Comparable>,Boolean>> axes)
axes - 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.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||