|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.storage.olap.sasmdx.Axis
public class 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 |
Method Summary | |
---|---|
java.lang.String[] |
getAxisHeaders()
Get the axis headers or level labels for this axis. |
int |
getAxisNumber()
Returns the axis number |
java.lang.String[] |
getDimensionNames()
Get the dimension Names (labels) that belong on this axis. |
java.lang.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. |
java.lang.String[] |
getUniqueLevelNames()
Get the unique level names for this axis headers |
Method Detail |
---|
public ResultSetMetadataInterface getResultSetMetadata()
getResultSetMetadata
in interface AxisInterface
public int getAxisNumber() throws OLAPException
getAxisNumber
in interface AxisInterface
OLAPException
- if a database error occurspublic int getTupleCount() throws OLAPException
getTupleCount
in interface AxisInterface
OLAPException
- if a database error occurspublic java.lang.String[] getHierarchyNames() throws OLAPException
getHierarchyNames
in interface AxisInterface
OLAPException
public java.lang.String[] getDimensionNames() throws OLAPException
getDimensionNames
in interface AxisInterface
OLAPException
- if a database error occurspublic TupleInterface[] getTuples(int index, int count) throws OLAPException
getTuples
in interface AxisInterface
index
- start indexcount
- number of requested tuples. -1 will imply all the tuples.
OLAPException
- if a database error occurspublic TupleInterface getTuple(int index) throws OLAPException
getTuple
in interface AxisInterface
index
- start index
OLAPException
- if a database error occurspublic int getMaximumTupleDepth() throws OLAPException
getMaximumTupleDepth
in interface AxisInterface
OLAPException
- if a database error occurspublic java.lang.String[] getAxisHeaders() throws OLAPException
getAxisHeaders
in interface AxisInterface
OLAPException
- if a database error occurspublic java.lang.String[] getUniqueLevelNames() throws OLAPException
getUniqueLevelNames
in interface AxisInterface
OLAPException
public int getTupleDepth() throws OLAPException
OLAPException
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |