|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.rocketsoftware.mvapi.ResultSet.AbstractResultSet com.rocketsoftware.mvapi.ResultSet.MVResultSet com.rocketsoftware.mvapi.ResultSet.MVAPIResultSet com.rocketsoftware.mvapi.ResultSet.MVAPIResultSetStream
public class MVAPIResultSetStream
Extends MVResultSet with functionality required for the MV API.
Field Summary |
---|
Fields inherited from interface java.sql.ResultSet |
---|
CLOSE_CURSORS_AT_COMMIT, CONCUR_READ_ONLY, CONCUR_UPDATABLE, FETCH_FORWARD, FETCH_REVERSE, FETCH_UNKNOWN, HOLD_CURSORS_OVER_COMMIT, TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVE |
Constructor Summary | |
---|---|
MVAPIResultSetStream()
Constructs an empty result set |
|
MVAPIResultSetStream(MVStatement statement,
java.lang.String params,
java.lang.String[] columns)
Constructs a result set. |
Method Summary | |
---|---|
java.lang.String |
getCurrentRow()
Returns the current row. |
java.lang.String |
getString(int columnIndex)
Retrieves the value of the designated column in the current row of this ResultSet object as
a String in the Java programming language. |
boolean |
next()
Moves the cursor down one row from its current position. |
Methods inherited from class com.rocketsoftware.mvapi.ResultSet.MVAPIResultSet |
---|
setResults |
Methods inherited from class com.rocketsoftware.mvapi.ResultSet.MVResultSet |
---|
close, first, getColumnCount, getColumns, getRow, getRowCount, getRows, getString, isQuery |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MVAPIResultSetStream()
public MVAPIResultSetStream(MVStatement statement, java.lang.String params, java.lang.String[] columns)
Method Detail |
---|
public java.lang.String getCurrentRow() throws MVException
getCurrentRow
in class MVResultSet
MVException
- if any errors occurpublic boolean next() throws MVException
ResultSet
cursor is initially positioned
before the first row; the first call to the method
next
makes the first row the current row; the
second call makes the second row the current row, and so on.
next
in interface java.sql.ResultSet
next
in class MVResultSet
true
if the new current row is valid;
false
if there are no more rows
MVException
- if a database access error occurspublic java.lang.String getString(int columnIndex) throws MVException
MVResultSet
ResultSet
object as
a String
in the Java programming language.
getString
in interface java.sql.ResultSet
getString
in class MVResultSet
columnIndex
- the first column is 1, the second is 2, ...
MVException
- if current row is not valid
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |