com.rocketsoftware.mvapi.ResultSet
Class MVAPIResultSet

java.lang.Object
  extended by com.rocketsoftware.mvapi.ResultSet.AbstractResultSet
      extended by com.rocketsoftware.mvapi.ResultSet.MVResultSet
          extended by com.rocketsoftware.mvapi.ResultSet.MVAPIResultSet
All Implemented Interfaces:
java.sql.ResultSet
Direct Known Subclasses:
MVAPIResultSetStream

public class MVAPIResultSet
extends MVResultSet

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
MVAPIResultSet()
          Constructs an empty result set
MVAPIResultSet(java.lang.String result)
          Constructs a result set.
 
Method Summary
 void setResults(java.lang.String result)
          Populates the result set from the result string.
 
Methods inherited from class com.rocketsoftware.mvapi.ResultSet.MVResultSet
close, first, getColumnCount, getColumns, getCurrentRow, getRow, getRowCount, getRows, getString, getString, isQuery, next
 
Methods inherited from class com.rocketsoftware.mvapi.ResultSet.AbstractResultSet
absolute, afterLast, beforeFirst, cancelRowUpdates, clearWarnings, deleteRow, findColumn, getArray, getArray, getAsciiStream, getAsciiStream, getBigDecimal, getBigDecimal, getBigDecimal, getBigDecimal, getBinaryStream, getBinaryStream, getBlob, getBlob, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getCharacterStream, getCharacterStream, getClob, getClob, getConcurrency, getCursorName, getDate, getDate, getDate, getDate, getDouble, getDouble, getFetchDirection, getFetchSize, getFloat, getFloat, getInt, getInt, getLong, getLong, getMetaData, getObject, getObject, getObject, getObject, getRef, getRef, getShort, getShort, getStatement, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getType, getUnicodeStream, getUnicodeStream, getURL, getURL, getWarnings, insertRow, isAfterLast, isBeforeFirst, isFirst, isLast, last, moveToCurrentRow, moveToInsertRow, previous, refreshRow, relative, rowDeleted, rowInserted, rowUpdated, setFetchDirection, setFetchSize, updateArray, updateArray, updateAsciiStream, updateAsciiStream, updateBigDecimal, updateBigDecimal, updateBinaryStream, updateBinaryStream, updateBlob, updateBlob, updateBoolean, updateBoolean, updateByte, updateByte, updateBytes, updateBytes, updateCharacterStream, updateCharacterStream, updateClob, updateClob, updateDate, updateDate, updateDouble, updateDouble, updateFloat, updateFloat, updateInt, updateInt, updateLong, updateLong, updateNull, updateNull, updateObject, updateObject, updateObject, updateObject, updateRef, updateRef, updateRow, updateShort, updateShort, updateString, updateString, updateTime, updateTime, updateTimestamp, updateTimestamp, wasNull
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MVAPIResultSet

public MVAPIResultSet()
Constructs an empty result set


MVAPIResultSet

public MVAPIResultSet(java.lang.String result)
               throws MVException
Constructs a result set.

Throws:
MVException
Method Detail

setResults

public void setResults(java.lang.String result)
                throws MVException
Populates the result set from the result string.

Overrides:
setResults in class MVResultSet
Parameters:
result - an Attribute mark delimited string

Each attribute in the result string will generate one row in the MVResultSet.

Throws:
MVException - if any errors occur