1 package org.postgresql.jdbc2;
5 import java.util.Vector;
6 import org.postgresql.core.BaseStatement;
7 import org.postgresql.core.Field;
9 /* $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/Attic/Jdbc2ResultSet.java,v 1.8 2003/03/07 18:39:45 barry Exp $
10 * This class implements the java.sql.ResultSet interface for JDBC2.
11 * However most of the implementation is really done in
12 * org.postgresql.jdbc2.AbstractJdbc2ResultSet or one of it's parents
14 public class Jdbc2ResultSet extends org.postgresql.jdbc2.AbstractJdbc2ResultSet implements java.sql.ResultSet
17 public Jdbc2ResultSet(BaseStatement statement, Field[] fields, Vector tuples, String status, int updateCount, long insertOID, boolean binaryCursor)
19 super(statement, fields, tuples, status, updateCount, insertOID, binaryCursor);
22 public ResultSetMetaData getMetaData() throws SQLException
24 return new Jdbc2ResultSetMetaData(rows, fields);
27 public java.sql.Clob getClob(int i) throws SQLException
29 wasNullFlag = (this_row[i - 1] == null);
33 return new org.postgresql.jdbc2.Jdbc2Clob(connection, getInt(i));
36 public java.sql.Blob getBlob(int i) throws SQLException
38 wasNullFlag = (this_row[i - 1] == null);
42 return new org.postgresql.jdbc2.Jdbc2Blob(connection, getInt(i));