org.postgresql.pljava.jdbc

Class SyntheticResultSet

Implemented Interfaces:
ResultSet

public class SyntheticResultSet
extends org.postgresql.pljava.jdbc.ResultSetBase

A Synthetic ResultSet that provides direct access to data stored in a java.util.ArrayList. This kind of ResultSet has nothing common with any statement.

Method Summary

void
close()
int
findColumn(String columnName)
protected Object[]
getCurrentRow()
ResultSetMetaData
getMetaData()
protected Object
getObjectValue(int columnIndex)
boolean
isLast()
boolean
next()

Methods inherited from class org.postgresql.pljava.jdbc.ResultSetBase

absolute, afterLast, beforeFirst, close, first, getFetchDirection, getFetchSize, getRow, getType, isAfterLast, isBeforeFirst, isFirst, last, previous, relative, setFetchDirection, setFetchSize

Methods inherited from class org.postgresql.pljava.jdbc.ReadOnlyResultSet

cancelRowUpdates, deleteRow, getConcurrency, insertRow, moveToCurrentRow, moveToInsertRow, rowDeleted, rowInserted, rowUpdated, updateObject, updateObject, updateRow

Methods inherited from class org.postgresql.pljava.jdbc.ObjectResultSet

clearWarnings, getArray, getAsciiStream, getBigDecimal, getBigDecimal, getBinaryStream, getBlob, getBoolean, getByte, getBytes, getCharacterStream, getClob, getDate, getDate, getDouble, getFloat, getInt, getLong, getMetaData, getNumber, getObject, getObject, getObjectValue, getObjectValue, getRef, getShort, getString, getTime, getTime, getTimestamp, getTimestamp, getURL, getUnicodeStream, getValue, getValue, getWarnings, refreshRow, updateArray, updateAsciiStream, updateBigDecimal, updateBinaryStream, updateBlob, updateBoolean, updateByte, updateBytes, updateCharacterStream, updateClob, updateDate, updateDouble, updateFloat, updateInt, updateLong, updateNull, updateRef, updateShort, updateString, updateTime, updateTimestamp, wasNull

Methods inherited from class org.postgresql.pljava.jdbc.AbstractResultSet

getArray, getAsciiStream, getBigDecimal, getBigDecimal, getBinaryStream, getBlob, getBoolean, getByte, getBytes, getCharacterStream, getClob, getCursorName, getDate, getDate, getDouble, getFloat, getInt, getLong, getObject, getObject, getRef, getShort, getStatement, getString, getTime, getTime, getTimestamp, getTimestamp, getURL, getUnicodeStream, updateArray, updateAsciiStream, updateBigDecimal, updateBinaryStream, updateBlob, updateBoolean, updateByte, updateBytes, updateCharacterStream, updateClob, updateDate, updateDouble, updateFloat, updateInt, updateLong, updateNull, updateObject, updateObject, updateRef, updateShort, updateString, updateTime, updateTimestamp

Method Details

close

public void close()
            throws SQLException
Overrides:
close in interface org.postgresql.pljava.jdbc.ResultSetBase

findColumn

public int findColumn(String columnName)
            throws SQLException

getCurrentRow

protected final Object[] getCurrentRow()
            throws SQLException

getMetaData

public ResultSetMetaData getMetaData()
            throws SQLException
Overrides:
getMetaData in interface ObjectResultSet

getObjectValue

protected Object getObjectValue(int columnIndex)
            throws SQLException
Overrides:
getObjectValue in interface ObjectResultSet

isLast

public boolean isLast()
            throws SQLException

next

public boolean next()
            throws SQLException

Copyright (c) 2003, 2004, 2005 TADA AB - Taby Sweden. \ Distributed under the terms shown in COPYRIGHT