Copyright © 2011 Citra Technologies. All Rights Reserved.

com.citra.pivot.olap.data
Class DefaultAxisOlapSet

java.lang.Object
  extended by com.citra.pivot.olap.data.DefaultAxisOlapSet
All Implemented Interfaces:
AxisOlapSet

public class DefaultAxisOlapSet
extends Object
implements AxisOlapSet

DefaultAxisOlapSet is the default axis olap set implementation.


Field Summary
protected  int axisOrdinal
          the location of the axis
protected  TupleCursor cursor
          the cursor for the tuples of the axis
 
Constructor Summary
DefaultAxisOlapSet(int axisOrdinal, OlapSet set)
          Constructs a DefaultAxisOlapSet.
 
Method Summary
 int getAxisOrdinal()
          Returns the location of the set on an axis.
 TupleCursor getTupleCursor()
          Returns the cursor for the tuples of the axis.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

axisOrdinal

protected int axisOrdinal
the location of the axis


cursor

protected TupleCursor cursor
the cursor for the tuples of the axis

Constructor Detail

DefaultAxisOlapSet

public DefaultAxisOlapSet(int axisOrdinal,
                          OlapSet set)
Constructs a DefaultAxisOlapSet.

Method Detail

getAxisOrdinal

public int getAxisOrdinal()
Returns the location of the set on an axis.

Specified by:
getAxisOrdinal in interface AxisOlapSet
Returns:
the axis position

getTupleCursor

public TupleCursor getTupleCursor()
Returns the cursor for the tuples of the axis.

Specified by:
getTupleCursor in interface AxisOlapSet
Returns:
the cursor for the tuples of the axis

Copyright © 2011 Citra Technologies. All Rights Reserved.