1
package org.postgresql.jdbc3;
5
import java.util.Vector;
6
import org.postgresql.core.BaseStatement;
7
import org.postgresql.core.Field;
10
/* $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc3/Attic/AbstractJdbc3ResultSet.java,v 1.4.4.1 2004/03/29 17:47:47 barry Exp $
11
* This class defines methods of the jdbc3 specification. This class extends
12
* org.postgresql.jdbc2.AbstractJdbc2ResultSet which provides the jdbc2
13
* methods. The real Statement class (for jdbc3) is org.postgresql.jdbc3.Jdbc3ResultSet
15
public abstract class AbstractJdbc3ResultSet extends org.postgresql.jdbc2.AbstractJdbc2ResultSet
18
public AbstractJdbc3ResultSet(BaseStatement statement, Field[] fields, Vector tuples, String status, int updateCount, long insertOID)
20
super (statement, fields, tuples, status, updateCount, insertOID);
24
* Retrieves the value of the designated column in the current row
25
* of this <code>ResultSet</code> object as a <code>java.net.URL</code>
26
* object in the Java programming language.
28
* @param columnIndex the index of the column 1 is the first, 2 is the second,...
29
* @return the column value as a <code>java.net.URL</code> object;
30
* if the value is SQL <code>NULL</code>,
31
* the value returned is <code>null</code> in the Java programming language
32
* @exception SQLException if a database access error occurs,
33
* or if a URL is malformed
36
public java.net.URL getURL(int columnIndex) throws SQLException
38
throw org.postgresql.Driver.notImplemented();
42
* Retrieves the value of the designated column in the current row
43
* of this <code>ResultSet</code> object as a <code>java.net.URL</code>
44
* object in the Java programming language.
46
* @param columnName the SQL name of the column
47
* @return the column value as a <code>java.net.URL</code> object;
48
* if the value is SQL <code>NULL</code>,
49
* the value returned is <code>null</code> in the Java programming language
50
* @exception SQLException if a database access error occurs
51
* or if a URL is malformed
54
public java.net.URL getURL(String columnName) throws SQLException
56
throw org.postgresql.Driver.notImplemented();
60
* Updates the designated column with a <code>java.sql.Ref</code> value.
61
* The updater methods are used to update column values in the
62
* current row or the insert row. The updater methods do not
63
* update the underlying database; instead the <code>updateRow</code> or
64
* <code>insertRow</code> methods are called to update the database.
66
* @param columnIndex the first column is 1, the second is 2, ...
67
* @param x the new column value
68
* @exception SQLException if a database access error occurs
71
public void updateRef(int columnIndex, java.sql.Ref x) throws SQLException
73
throw org.postgresql.Driver.notImplemented();
77
* Updates the designated column with a <code>java.sql.Ref</code> value.
78
* The updater methods are used to update column values in the
79
* current row or the insert row. The updater methods do not
80
* update the underlying database; instead the <code>updateRow</code> or
81
* <code>insertRow</code> methods are called to update the database.
83
* @param columnName the name of the column
84
* @param x the new column value
85
* @exception SQLException if a database access error occurs
88
public void updateRef(String columnName, java.sql.Ref x) throws SQLException
90
throw org.postgresql.Driver.notImplemented();
94
* Updates the designated column with a <code>java.sql.Blob</code> value.
95
* The updater methods are used to update column values in the
96
* current row or the insert row. The updater methods do not
97
* update the underlying database; instead the <code>updateRow</code> or
98
* <code>insertRow</code> methods are called to update the database.
100
* @param columnIndex the first column is 1, the second is 2, ...
101
* @param x the new column value
102
* @exception SQLException if a database access error occurs
105
public void updateBlob(int columnIndex, java.sql.Blob x) throws SQLException
107
throw org.postgresql.Driver.notImplemented();
111
* Updates the designated column with a <code>java.sql.Blob</code> value.
112
* The updater methods are used to update column values in the
113
* current row or the insert row. The updater methods do not
114
* update the underlying database; instead the <code>updateRow</code> or
115
* <code>insertRow</code> methods are called to update the database.
117
* @param columnName the name of the column
118
* @param x the new column value
119
* @exception SQLException if a database access error occurs
122
public void updateBlob(String columnName, java.sql.Blob x) throws SQLException
124
throw org.postgresql.Driver.notImplemented();
128
* Updates the designated column with a <code>java.sql.Clob</code> value.
129
* The updater methods are used to update column values in the
130
* current row or the insert row. The updater methods do not
131
* update the underlying database; instead the <code>updateRow</code> or
132
* <code>insertRow</code> methods are called to update the database.
134
* @param columnIndex the first column is 1, the second is 2, ...
135
* @param x the new column value
136
* @exception SQLException if a database access error occurs
139
public void updateClob(int columnIndex, java.sql.Clob x) throws SQLException
141
throw org.postgresql.Driver.notImplemented();
145
* Updates the designated column with a <code>java.sql.Clob</code> value.
146
* The updater methods are used to update column values in the
147
* current row or the insert row. The updater methods do not
148
* update the underlying database; instead the <code>updateRow</code> or
149
* <code>insertRow</code> methods are called to update the database.
151
* @param columnName the name of the column
152
* @param x the new column value
153
* @exception SQLException if a database access error occurs
156
public void updateClob(String columnName, java.sql.Clob x) throws SQLException
158
throw org.postgresql.Driver.notImplemented();
162
* Updates the designated column with a <code>java.sql.Array</code> value.
163
* The updater methods are used to update column values in the
164
* current row or the insert row. The updater methods do not
165
* update the underlying database; instead the <code>updateRow</code> or
166
* <code>insertRow</code> methods are called to update the database.
168
* @param columnIndex the first column is 1, the second is 2, ...
169
* @param x the new column value
170
* @exception SQLException if a database access error occurs
173
public void updateArray(int columnIndex, java.sql.Array x) throws SQLException
175
throw org.postgresql.Driver.notImplemented();
179
* Updates the designated column with a <code>java.sql.Array</code> value.
180
* The updater methods are used to update column values in the
181
* current row or the insert row. The updater methods do not
182
* update the underlying database; instead the <code>updateRow</code> or
183
* <code>insertRow</code> methods are called to update the database.
185
* @param columnName the name of the column
186
* @param x the new column value
187
* @exception SQLException if a database access error occurs
190
public void updateArray(String columnName, java.sql.Array x) throws SQLException
192
throw org.postgresql.Driver.notImplemented();