|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEssMaxlResultSet
A table of data representing a Essbase result set, which is usually generated by executing a statement that queries the Essbase.
A IEssMaxlResultSet
object maintains a cursor pointing to its current row of data. Initially the cursor is positioned before the first row. The next
method moves the cursor to the next row, and because it returns false
when there are no more rows in the IEssMaxlResultSet
object, it can be used in a while
loop to iterate through the result set.
Method Summary | |
---|---|
boolean |
getBoolean(int columnIndex) Retrieves the value of the designated column in the current row of this ResultSet object as a boolean. |
boolean |
getBoolean(java.lang.String columnName) Retrieves the value of the designated column in the current row of this ResultSet object as a boolean. |
int |
getColumnCount() Gives you the total no. |
java.lang.String |
getColumnName(int col) Gives the column name for given column index. |
IEssValueAny.EEssDataType |
getColumnType(int col) Returns the column type for given column index. |
int |
getColumnWidth(int col) Gives the column width for given column index. |
double |
getDouble(int columnIndex) Retrieves the value of the designated column in the current row of this ResultSet object as a double. |
double |
getDouble(java.lang.String columnName) Retrieves the value of the designated column in the current row of this ResultSet object as a long. |
long |
getLong(int columnIndex) Retrieves the value of the designated column in the current row of this ResultSet object as a long. |
long |
getLong(java.lang.String columnName) Retrieves the value of the designated column in the current row of this ResultSet object as a IEssValueAny object. |
java.lang.String |
getString(int columnIndex) Retrieves the value of the designated column in the current row of this ResultSet object as a java.lang.String |
java.lang.String |
getString(java.lang.String columnName) Retrieves the value of the designated column in the current row of this ResultSet object as a java.lang.String |
IEssValueAny |
getValue(int columnIndex) Retrieves the value of the designated column in the current row of this ResultSet object as a IEssValueAny object. |
IEssValueAny |
getValue(java.lang.String columnName) Retrieves the value of the designated column in the current row of this ResultSet object as a IEssValueAny object. |
boolean |
next() Moves the cursor down one row from its current position. |
Method Detail |
---|
boolean next() throws com.essbase.api.base.EssException
if
- an internal error occurs.com.essbase.api.base.EssException
java.lang.String getString(int columnIndex)
columnIndex
- Column Index Number.java.lang.String getString(java.lang.String columnName)
columnName
- Column Nameboolean getBoolean(int columnIndex)
columnIndex
- Column Index Number.boolean getBoolean(java.lang.String columnName)
columnName
- Column Namedouble getDouble(int columnIndex)
columnIndex
- Column Index Number.double getDouble(java.lang.String columnName)
columnName
- Column Namelong getLong(int columnIndex)
columnIndex
- Column Index Number.long getLong(java.lang.String columnName)
columnName
- Column Namecom.essbase.api.base.EssException
IEssValueAny getValue(int columnIndex) throws com.essbase.api.base.EssException
columnIndex
- Column index number.if
- an internal error occurs.com.essbase.api.base.EssException
IEssValueAny getValue(java.lang.String columnName) throws com.essbase.api.base.EssException
columnName
- Column Name for which the value is needed.if
- an internal error occurs.com.essbase.api.base.EssException
int getColumnCount()
int getColumnWidth(int col)
col
- Column Index Numberjava.lang.String getColumnName(int col)
col
- Column Index NumberIEssValueAny.EEssDataType getColumnType(int col)
col
- Column Index Number
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |