Copyright © 2011 Citra Technologies. All Rights Reserved.

com.citra.pivot.olap.data
Class DefaultCellSet

java.lang.Object
  extended by com.citra.pivot.olap.data.DefaultCellSet
All Implemented Interfaces:
OlapCellSet

public class DefaultCellSet
extends Object
implements OlapCellSet

DefaultCellSet is the default cell set implementation.


Field Summary
protected  AxisList axisSets
          the list of axis sets
protected  TupleCursor filter
          the cursor for the filter axis
protected  ValueCursor values
          the cursor for the values of the cell set
 
Constructor Summary
DefaultCellSet(OlapTuple filterTuple, List axisSets)
          Constructs a DefaultCellSet.
 
Method Summary
 AxisList getAxisSets()
          Retrieves the list of AxisOlapSets.
 TupleCursor getFilterCursor()
          Retrieves the cursor that contains the filter information, if any.
 ValueCursor getValueCursor()
          Retrieves the cursor for iterating through the values of the cell set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

axisSets

protected AxisList axisSets
the list of axis sets


filter

protected TupleCursor filter
the cursor for the filter axis


values

protected ValueCursor values
the cursor for the values of the cell set

Constructor Detail

DefaultCellSet

public DefaultCellSet(OlapTuple filterTuple,
                      List axisSets)
Constructs a DefaultCellSet.

Method Detail

getAxisSets

public AxisList getAxisSets()
Retrieves the list of AxisOlapSets.

Specified by:
getAxisSets in interface OlapCellSet
Returns:
a list of axis sets

getFilterCursor

public TupleCursor getFilterCursor()
Retrieves the cursor that contains the filter information, if any.

Specified by:
getFilterCursor in interface OlapCellSet
Returns:
the filter cursor

getValueCursor

public ValueCursor getValueCursor()
Retrieves the cursor for iterating through the values of the cell set.

Specified by:
getValueCursor in interface OlapCellSet
Returns:
the cell set's value cursor

Copyright © 2011 Citra Technologies. All Rights Reserved.