public interface IEssMaxlResultSet extends IEssBaseObject
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.
Modifier and Type | Method and Description |
---|---|
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.
|
int |
getOlapFileObjectType(int maxlFileObjType)
Returns the OLAP file object type for a given maxl file object type.
|
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.
|
boolean next() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an internal error occurs.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 NameIEssValueAny getValue(int columnIndex) throws com.essbase.api.base.EssException
columnIndex
- Column index number.com.essbase.api.base.EssException
- if an internal error occurs.IEssValueAny getValue(java.lang.String columnName) throws com.essbase.api.base.EssException
columnName
- Column Name for which the value is needed.com.essbase.api.base.EssException
- if an internal error occurs.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 Numberint getOlapFileObjectType(int maxlFileObjType) throws com.essbase.api.base.EssException
maxlFileObjType
- Represents the Fileobject type in MAXLcom.essbase.api.base.EssException
- if an internal error occurs.