|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
java.lang.Object | +--com.sas.storage.olap.sasmdx.Axis
Contains the client side implementation for com.sas.storage.olap.AxisInterface. This implementation uses the IOM/OLAP interfaces provided by the SAS OLAP server.
ResultSetInterface| Field Summary |
| Fields inherited from interface com.sas.storage.olap.AxisInterface |
CACHE_COUNT, CHAPTERS_AXIS, COLUMNS_AXIS, PAGES_AXIS, ROWS_AXIS, SECTIONS_AXIS, SLICERS_AXIS, START_CACHE_INDEX |
| Constructor Summary | |
Axis(AxisCache cache,
int axisNumber,
int tupleCount,
int tupleDepth,
String[] dimensionNames,
ResultSetMetadataInterface resultSetMetadata)
Create an axis with the cache object. |
|
Axis(AxisCache cache,
int axisNumber,
int tupleCount,
int tupleDepth,
String[] hierarchyNames,
String[] dimensionNames,
ResultSetMetadataInterface resultSetMetadata)
Create an axis with the cache object. |
|
Axis(AxisCache cache,
int axisNumber,
ResultSetMetadataInterface resultSetMetadata)
Create an axis with the cache object. |
|
| Method Summary | |
String[] |
getAxisHeaders()
Get the axis headers or level labels for this axis. |
int |
getAxisNumber()
Returns the axis number |
String[] |
getDimensionNames()
Get the dimension Names (labels) that belong on this axis. |
String[] |
getHierarchyNames()
Get the HierarchyNames that belong on this axis. |
int |
getMaximumTupleDepth()
Get the maximum tuple depth for this axis. |
ResultSetMetadataInterface |
getResultSetMetadata()
Get the metadata object associated with this axis |
TupleInterface |
getTuple(int index)
Get the tuples with specified index upto count. |
int |
getTupleCount()
Get the tuple count for this axis |
int |
getTupleDepth()
Get the base tuple depth of this axis. |
TupleInterface[] |
getTuples(int index,
int count)
Get the tuples with specified index upt0 count. |
String[] |
getUniqueLevelNames()
Get the unique level names for this axis headers |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
| Constructor Detail |
public Axis(AxisCache cache,
int axisNumber,
ResultSetMetadataInterface resultSetMetadata)
throws OLAPException
cache - axis informationaxisNumber - index fo the axis.resultSetMetadata - OLAPException - if the axis cannot be created
public Axis(AxisCache cache,
int axisNumber,
int tupleCount,
int tupleDepth,
String[] dimensionNames,
ResultSetMetadataInterface resultSetMetadata)
throws OLAPException
cache - axis informationaxisNumber - index fo the axis.tuplecount - representing number of tuples on the axistupleDepth - representing number of elements in a tuple on the axisdimensionNames - dimension labels displayed on this axisresultSetMetadata - metadata for this axisOLAPException - if the axis cannot be created
public Axis(AxisCache cache,
int axisNumber,
int tupleCount,
int tupleDepth,
String[] hierarchyNames,
String[] dimensionNames,
ResultSetMetadataInterface resultSetMetadata)
throws OLAPException
cache - axis informationaxisNumber - index fo the axis.tuplecount - representing number of tuples on the axistupleDepth - representing number of elements in a tuple on the axisdimensionNames - dimension labels displayed on this axishierarchyNames - hierarchy labels displayed on this axisresultSetMetadata - metadata for this axisOLAPException - if the axis cannot be created| Method Detail |
public ResultSetMetadataInterface getResultSetMetadata()
getResultSetMetadata in interface AxisInterface
public int getAxisNumber()
throws OLAPException
getAxisNumber in interface AxisInterfaceOLAPException - if a database error occurs
public int getTupleCount()
throws OLAPException
getTupleCount in interface AxisInterface
public String[] getHierarchyNames()
throws OLAPException
getHierarchyNames in interface AxisInterface
public String[] getDimensionNames()
throws OLAPException
getDimensionNames in interface AxisInterface
public TupleInterface[] getTuples(int index,
int count)
throws OLAPException
getTuples in interface AxisInterfaceindex - start indexcount - number of requested tuples. -1 will imply all the tuples.
public TupleInterface getTuple(int index)
throws OLAPException
getTuple in interface AxisInterfaceindex - start index
public int getMaximumTupleDepth()
throws OLAPException
getMaximumTupleDepth in interface AxisInterface
public String[] getAxisHeaders()
throws OLAPException
getAxisHeaders in interface AxisInterface
public String[] getUniqueLevelNames()
throws OLAPException
getUniqueLevelNames in interface AxisInterface
public int getTupleDepth()
throws OLAPException
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||