mondrian.rolap.agg
Class AbstractSegmentBody

java.lang.Object
  extended by mondrian.rolap.agg.AbstractSegmentBody
All Implemented Interfaces:
Serializable, SegmentBody
Direct Known Subclasses:
DenseDoubleSegmentBody, DenseIntSegmentBody, DenseObjectSegmentBody, SparseSegmentBody

abstract class AbstractSegmentBody
extends Object
implements SegmentBody

Abstract implementation of a SegmentBody.

Version:
$Id: //open/mondrian/src/main/mondrian/rolap/agg/AbstractSegmentBody.java#3 $
Author:
LBoudreau

Constructor Summary
AbstractSegmentBody(SortedSet<Comparable<?>>[] axisValueSets, boolean[] nullAxisFlags)
           
 
Method Summary
 SortedSet<Comparable<?>>[] getAxisValueSets()
          Returns the cached axis value sets to be used as an initializer for the segment's axis.
 boolean[] getNullAxisFlags()
          Returns an array of boolean values which identify which axis of the cached segment contained null values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface mondrian.rolap.agg.SegmentBody
createSegmentDataset
 

Constructor Detail

AbstractSegmentBody

public AbstractSegmentBody(SortedSet<Comparable<?>>[] axisValueSets,
                           boolean[] nullAxisFlags)
Method Detail

getAxisValueSets

public SortedSet<Comparable<?>>[] getAxisValueSets()
Description copied from interface: SegmentBody
Returns the cached axis value sets to be used as an initializer for the segment's axis.

Specified by:
getAxisValueSets in interface SegmentBody
Returns:
An array of SortedSets which was cached previously.

getNullAxisFlags

public boolean[] getNullAxisFlags()
Description copied from interface: SegmentBody
Returns an array of boolean values which identify which axis of the cached segment contained null values.

Specified by:
getNullAxisFlags in interface SegmentBody
Returns:
An array of boolean values.

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