org.sourceforge.jxdbcon.postgresql
Class  PGPlainResultSet
java.lang.Object
  |
  +--org.sourceforge.jxdbcon.AbstractResultSet
        |
        +--org.sourceforge.jxdbcon.AbstractResultSetRO
              |
              +--org.sourceforge.jxdbcon.AbstractRowsResultSet
                    |
                    +--org.sourceforge.jxdbcon.postgresql.PGPlainResultSet
- All Implemented Interfaces: 
 - ResultSet
 
- public class PGPlainResultSet
- extends AbstractRowsResultSet
  
PGPlainResultSet extends the AbstractRowsResultSet with PostgreSQL 
 functionality.
 You get an instance of this class, when executing a Statement returning 
 a ResultSet in auto-commit mode or not setting a CursorName.
- Version:
 - $Revision: 1.7 $
 
- Author:
 - Keve Müller
 
 
 
 
 
| 
Constructor Summary | 
PGPlainResultSet(AbstractStatement statement,
                 ConversionContext resContext,
                 AbstractType[] resTypes,
                 PGExecResult res,
                 DefaultResultSetMetaData resMeta)
 
            | 
PGPlainResultSet(AbstractStatement statement,
                 Object[] rr,
                 PGExecResult res,
                 DefaultResultSetMetaData resMeta)
 
            | 
PGPlainResultSet(ConversionContext resContext,
                 AbstractType[] resTypes,
                 PGExecResult res,
                 DefaultResultSetMetaData resMeta)
 
            | 
 
 
| Methods inherited from class org.sourceforge.jxdbcon.AbstractRowsResultSet | 
absolute, afterLast, beforeFirst, first, getRow, isAfterLast, isBeforeFirst, isFirst, isLast, last, next, previous, relative | 
 
| Methods inherited from class org.sourceforge.jxdbcon.AbstractResultSetRO | 
cancelRowUpdates, deleteRow, getConcurrency, insertRow, moveToCurrentRow, moveToInsertRow, refreshRow, rowDeleted, rowInserted, rowUpdated, 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 | 
 
| Methods inherited from class org.sourceforge.jxdbcon.AbstractResultSet | 
clearWarnings, finalize, getArray, getArray, getAsciiStream, getAsciiStream, getBigDecimal, getBigDecimal, getBinaryStream, getBinaryStream, getBlob, getBlob, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getCharacterStream, getCharacterStream, getClob, getClob, getContext, getDate, getDate, getDate, getDate, getDouble, getDouble, getFetchDirection, getFetchSize, getFloat, getFloat, getInt, getInt, getLong, getLong, getObject, getObject, getObject, getObject, getRef, getRef, getShort, getShort, getString, getString, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getType, getType, getURL, getURL, getWarnings, setFetchDirection, setFetchSize, wasNull | 
 
 
 
conn
private PGConnection conn
res
PGExecResult res
resmeta
private DefaultResultSetMetaData resmeta
statement
private AbstractStatement statement
PGPlainResultSet
public PGPlainResultSet(AbstractStatement statement,
                        ConversionContext resContext,
                        AbstractType[] resTypes,
                        PGExecResult res,
                        DefaultResultSetMetaData resMeta)
                 throws SQLException
PGPlainResultSet
public PGPlainResultSet(AbstractStatement statement,
                        Object[] rr,
                        PGExecResult res,
                        DefaultResultSetMetaData resMeta)
                 throws SQLException
PGPlainResultSet
public PGPlainResultSet(ConversionContext resContext,
                        AbstractType[] resTypes,
                        PGExecResult res,
                        DefaultResultSetMetaData resMeta)
                 throws SQLException
close
public void close()
- Specified by:
 close in interface ResultSet- Overrides:
 close in class AbstractRowsResultSet
 
- See Also:
 AbstractRowsResultSet.close()
 
findColumn
public int findColumn(String columnName)
               throws SQLException
- Description copied from class: 
AbstractResultSet 
- Find a column by name.
 Extending classes should override this method.
 This implementation iterates over the ResultSetMetaData object
 returned by getMetaData.
- Specified by:
 findColumn in interface ResultSet- Overrides:
 findColumn in class AbstractResultSet
 
SQLException
 
 
getCursorName
public String getCursorName()
 
getMetaData
public ResultSetMetaData getMetaData()
 
getStatement
public Statement getStatement()
 
makeIterator
protected ListIterator makeIterator()
- Description copied from class: 
AbstractRowsResultSet 
- Make the iterator.
- Specified by:
 makeIterator in class AbstractRowsResultSet
 
- Returns:
 - The iterator.
 
 
 
Copyright © 2001,2002 Keve Müller; see LICENSE file for details.