com.adventnet.snmp.snmp2
Class ResultSetImpl

java.lang.Object
  |
  +--com.adventnet.snmp.snmp2.ResultSetAdapter
        |
        +--com.adventnet.snmp.snmp2.ResultSetImpl

class ResultSetImpl
extends ResultSetAdapter


Field Summary
(package private)  java.lang.String[] columnNames
           
(package private)  int index
           
(package private)  int rowCount
           
(package private)  java.lang.String[][] values
           
 
Constructor Summary
(package private) ResultSetImpl(java.lang.String[] columnNames, java.lang.String[][] values)
           
 
Method Summary
 void afterLast()
           
 void beforeFirst()
           
 boolean first()
           
(package private)  int getColumnIndex(java.lang.String columnName)
           
 int getRow()
           
 java.lang.String getString(int columnIndex)
           
 java.lang.String getString(java.lang.String columnName)
           
 boolean isAfterLast()
           
 boolean isBeforeFirst()
           
 boolean isFirst()
           
 boolean isLast()
           
 boolean last()
           
 boolean next()
           
 
Methods inherited from class com.adventnet.snmp.snmp2.ResultSetAdapter
absolute, cancelRowUpdates, clearWarnings, close, 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, getWarnings, insertRow, moveToCurrentRow, moveToInsertRow, previous, refreshRow, relative, rowDeleted, rowInserted, rowUpdated, setFetchDirection, setFetchSize, updateAsciiStream, updateAsciiStream, updateBigDecimal, updateBigDecimal, updateBinaryStream, updateBinaryStream, updateBoolean, updateBoolean, updateByte, updateByte, updateBytes, updateBytes, updateCharacterStream, updateCharacterStream, updateDate, updateDate, updateDouble, updateDouble, updateFloat, updateFloat, updateInt, updateInt, updateLong, updateLong, updateNull, updateNull, updateObject, updateObject, updateObject, updateObject, updateRow, updateShort, updateShort, updateString, updateString, updateTime, updateTime, updateTimestamp, updateTimestamp, wasNull
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

index

int index

rowCount

int rowCount

columnNames

java.lang.String[] columnNames

values

java.lang.String[][] values
Constructor Detail

ResultSetImpl

ResultSetImpl(java.lang.String[] columnNames,
              java.lang.String[][] values)
Method Detail

getColumnIndex

int getColumnIndex(java.lang.String columnName)

next

public boolean next()
             throws java.sql.SQLException
Overrides:
next in class ResultSetAdapter

getRow

public int getRow()
           throws java.sql.SQLException
Overrides:
getRow in class ResultSetAdapter

isBeforeFirst

public boolean isBeforeFirst()
                      throws java.sql.SQLException
Overrides:
isBeforeFirst in class ResultSetAdapter

isAfterLast

public boolean isAfterLast()
                    throws java.sql.SQLException
Overrides:
isAfterLast in class ResultSetAdapter

isFirst

public boolean isFirst()
                throws java.sql.SQLException
Overrides:
isFirst in class ResultSetAdapter

isLast

public boolean isLast()
               throws java.sql.SQLException
Overrides:
isLast in class ResultSetAdapter

beforeFirst

public void beforeFirst()
                 throws java.sql.SQLException
Overrides:
beforeFirst in class ResultSetAdapter

afterLast

public void afterLast()
               throws java.sql.SQLException
Overrides:
afterLast in class ResultSetAdapter

first

public boolean first()
              throws java.sql.SQLException
Overrides:
first in class ResultSetAdapter

last

public boolean last()
             throws java.sql.SQLException
Overrides:
last in class ResultSetAdapter

getString

public java.lang.String getString(int columnIndex)
                           throws java.sql.SQLException
Overrides:
getString in class ResultSetAdapter

getString

public java.lang.String getString(java.lang.String columnName)
                           throws java.sql.SQLException
Overrides:
getString in class ResultSetAdapter