|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.storage.olap.sasmdx.ResultSetMetadata
public class ResultSetMetadata
Contains the client side implementation for com.sas.storage.olap.ResultSetMetadataInterface. This implementation uses the IOM/OLAP interfaces provided by the SAS OLAP server.
Method Summary | |
---|---|
AxisInterface[] |
getAxes(int index,
int count)
Get the axes beginning at start index upto count for this resultset |
AxisInterface |
getAxis(int index)
Returns the axis specified at the given index in the resultset. |
TupleElementInterface[] |
getElements(int axisNumber,
int tupleCoordinate,
int index,
int count)
Convenience method to get the tuple elements for a tuplecoordinate on an axis |
ResultSetInterface |
getResultSet()
Returns the ResultSet that is defined by this metadata. |
TupleInterface[] |
getTuples(int axisNumber,
int index,
int count)
Convenience method to get the tuples for the given axis |
Method Detail |
---|
public ResultSetInterface getResultSet() throws OLAPException
ResultSetMetadataInterface
getResultSet
in interface ResultSetMetadataInterface
OLAPException
- if a database error occurspublic AxisInterface getAxis(int index) throws OLAPException
ResultSetMetadataInterface
AxisInterface.COLUMNS_AXIS
COLUMNS_AXIS axis,
followed by AxisInterface.ROWS_AXIS
ROWS_AXIS, then
PAGES_AXISAxisInterface.PAGES_AXIS
, etc.
getAxis
in interface ResultSetMetadataInterface
index
- zero based index or axis number of the axis
OLAPException
public AxisInterface[] getAxes(int index, int count) throws OLAPException
getAxes
in interface ResultSetMetadataInterface
index
- start indexcount
- number of axes
OLAPException
- if a database error occurspublic TupleInterface[] getTuples(int axisNumber, int index, int count) throws OLAPException
getTuples
in interface ResultSetMetadataInterface
axisNumber
- tuples for the given axis numberindex
- start indexcount
- number of tuples
OLAPException
- if a database error occurspublic TupleElementInterface[] getElements(int axisNumber, int tupleCoordinate, int index, int count) throws OLAPException
getElements
in interface ResultSetMetadataInterface
axisNumber
- axis indextupleCoordinate
- index of tuple on the axisindex
- start index of elementcount
- number of elements
OLAPException
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |