mondrian.rolap.agg
Interface SegmentDataset

All Superinterfaces:
java.lang.Iterable<java.util.Map.Entry<CellKey,java.lang.Object>>
All Known Implementing Classes:
DenseSegmentDataset, SparseSegmentDataset

interface SegmentDataset
extends java.lang.Iterable<java.util.Map.Entry<CellKey,java.lang.Object>>

A SegmentDataset holds the values in a segment.

Since:
21 March, 2002
Version:
$Id: //open/mondrian/src/main/mondrian/rolap/agg/SegmentDataset.java#8 $
Author:
jhyde

Method Summary
 java.lang.Object get(CellKey pos)
          Returns the value at a given coordinate.
 double getBytes()
          Returns the number of bytes occupied by this dataset.
 void put(CellKey key, java.lang.Object value)
           
 
Methods inherited from interface java.lang.Iterable
iterator
 

Method Detail

get

java.lang.Object get(CellKey pos)
Returns the value at a given coordinate.

Parameters:
pos - Coordinate position
Returns:
Value

getBytes

double getBytes()
Returns the number of bytes occupied by this dataset.

Returns:
number of bytes

put

void put(CellKey key,
         java.lang.Object value)

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads