|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.storage.olap.sasmdx.ResultSet
public class ResultSet
Contains the client side implementation for com.sas.storage.olap.ResultSetInterface. This implementation uses the IOM/OLAP interfaces provided by the SAS OLAP server.
ResultSetInterface
Field Summary | |
---|---|
protected com.sas.iom.SASMDX.IMDDataSet |
_mdDataSet
_mdDataSet for this result set |
Fields inherited from interface com.sas.storage.olap.ResultSetInterface |
---|
DEFAULT_END_CELL, DEFAULT_ENDCELL |
Method Summary | |
---|---|
void |
close()
Close the ResultSetInterface |
long |
getCellCount()
Get the cell count |
java.lang.Object[] |
getCells(long startCell,
long endCell)
Returns the unformatted data slice beginning with the startCell (upper left corner ordinal) and ending with endCell (lower right corner ordinal). |
java.lang.String[] |
getFormattedCells(long startCell,
long endCell)
Returns the formatted data slice beginning with the startCell (upper left corner ordinal) and ending with endCell (lower right corner ordinal). |
java.lang.String |
getQueryStatement()
Returns the query statement that defines this MultiDimensional dataset |
ResultSetMetadataInterface |
getResultSetMetadata()
Get the resultSetMetadata for this result set |
boolean |
isReadOnly()
This implementation will always return true. |
void |
setCells(long startCell,
long endCell,
java.lang.Object[] cellValues)
This method is not supported |
void |
setFormattedCells(long startCell,
long endCell,
java.lang.String[] cellValues)
This method is not supported |
Field Detail |
---|
protected com.sas.iom.SASMDX.IMDDataSet _mdDataSet
Method Detail |
---|
public ResultSetMetadataInterface getResultSetMetadata() throws OLAPException
getResultSetMetadata
in interface ResultSetInterface
OLAPException
public java.lang.String getQueryStatement() throws OLAPException
getQueryStatement
in interface ResultSetInterface
OLAPException
- if a database error occurspublic boolean isReadOnly() throws OLAPException
isReadOnly
in interface ResultSetInterface
OLAPException
public java.lang.Object[] getCells(long startCell, long endCell) throws OLAPException
getCells
in interface ResultSetInterface
startCell
- Ordinal position for starting cellendCell
- Ordinal position for endCell where -1 means all remaining cells
OLAPException
- if a database error occurspublic java.lang.String[] getFormattedCells(long startCell, long endCell) throws OLAPException
getFormattedCells
in interface ResultSetInterface
startCell
- Ordinal position for starting cellendCell
- Ordinal position for endCell where -1 means all remaining cells
OLAPException
- if a database error occurspublic long getCellCount() throws OLAPException
getCellCount
in interface ResultSetInterface
return
- number of cells
OLAPException
- if a database error occurspublic void setCells(long startCell, long endCell, java.lang.Object[] cellValues)
setCells
in interface ResultSetInterface
startCell
- A zero-based ordinal position for the starting cell.endCell
- A zero-based ordinal position for the ending cell.cellValues
- Sets the values for the cells.public void setFormattedCells(long startCell, long endCell, java.lang.String[] cellValues)
setFormattedCells
in interface ResultSetInterface
startCell
- A zero-based ordinal position for the starting cell.endCell
- A zero-based ordinal position for the ending cell.cellValues
- Sets the formatted values for the cells.public void close() throws OLAPException
close
in interface ResultSetInterface
OLAPException
- if a database error occurs
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |