|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.storage.olap.sasmdx.ResultSetMetadata
@SASScope(value="ALL") 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 ResultSetMetadataInterfaceOLAPException - if a database error occurs
public AxisInterface getAxis(int index)
throws OLAPException
ResultSetMetadataInterfaceAxisInterface.COLUMNS_AXISCOLUMNS_AXIS axis,
followed by AxisInterface.ROWS_AXISROWS_AXIS, then
PAGES_AXISAxisInterface.PAGES_AXIS, etc.
getAxis in interface ResultSetMetadataInterfaceindex - zero based index or axis number of the axis
OLAPException
public AxisInterface[] getAxes(int index,
int count)
throws OLAPException
getAxes in interface ResultSetMetadataInterfaceindex - start indexcount - number of axes
OLAPException - if a database error occurs
public TupleInterface[] getTuples(int axisNumber,
int index,
int count)
throws OLAPException
getTuples in interface ResultSetMetadataInterfaceaxisNumber - tuples for the given axis numberindex - start indexcount - number of tuples
OLAPException - if a database error occurs
public TupleElementInterface[] getElements(int axisNumber,
int tupleCoordinate,
int index,
int count)
throws OLAPException
getElements in interface ResultSetMetadataInterfaceaxisNumber - 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 | |||||||||||||