~ubuntu-branches/ubuntu/wily/libpgjava/wily

« back to all changes in this revision

Viewing changes to src/interfaces/jdbc/org/postgresql/jdbc3/AbstractJdbc3ResultSet.java

  • Committer: Bazaar Package Importer
  • Author(s): Arnaud Vandyck
  • Date: 2005-04-21 14:25:11 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20050421142511-wibh5vc31fkrorx7
Tags: 7.4.7-3
Built with sources...

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package org.postgresql.jdbc3;
 
2
 
 
3
 
 
4
import java.sql.*;
 
5
import java.util.Vector;
 
6
import org.postgresql.core.BaseStatement;
 
7
import org.postgresql.core.Field;
 
8
 
 
9
 
 
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
 
14
 */
 
15
public abstract class AbstractJdbc3ResultSet extends org.postgresql.jdbc2.AbstractJdbc2ResultSet
 
16
{
 
17
 
 
18
        public AbstractJdbc3ResultSet(BaseStatement statement, Field[] fields, Vector tuples, String status, int updateCount, long insertOID)
 
19
        {
 
20
                super (statement, fields, tuples, status, updateCount, insertOID);
 
21
        }
 
22
 
 
23
        /**
 
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.
 
27
         *
 
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
 
34
         * @since 1.4
 
35
         */
 
36
        public java.net.URL getURL(int columnIndex) throws SQLException
 
37
        {
 
38
                throw org.postgresql.Driver.notImplemented();
 
39
        }
 
40
 
 
41
        /**
 
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.
 
45
         *
 
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
 
52
         * @since 1.4
 
53
         */
 
54
        public java.net.URL getURL(String columnName) throws SQLException
 
55
        {
 
56
                throw org.postgresql.Driver.notImplemented();
 
57
        }
 
58
 
 
59
        /**
 
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.
 
65
         *
 
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
 
69
         * @since 1.4
 
70
         */
 
71
        public void updateRef(int columnIndex, java.sql.Ref x) throws SQLException
 
72
        {
 
73
                throw org.postgresql.Driver.notImplemented();
 
74
        }
 
75
 
 
76
        /**
 
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.
 
82
         *
 
83
         * @param columnName the name of the column
 
84
         * @param x the new column value
 
85
         * @exception SQLException if a database access error occurs
 
86
         * @since 1.4
 
87
         */
 
88
        public void updateRef(String columnName, java.sql.Ref x) throws SQLException
 
89
        {
 
90
                throw org.postgresql.Driver.notImplemented();
 
91
        }
 
92
 
 
93
        /**
 
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.
 
99
         *
 
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
 
103
         * @since 1.4
 
104
         */
 
105
        public void updateBlob(int columnIndex, java.sql.Blob x) throws SQLException
 
106
        {
 
107
                throw org.postgresql.Driver.notImplemented();
 
108
        }
 
109
 
 
110
        /**
 
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.
 
116
         *
 
117
         * @param columnName the name of the column
 
118
         * @param x the new column value
 
119
         * @exception SQLException if a database access error occurs
 
120
         * @since 1.4
 
121
         */
 
122
        public void updateBlob(String columnName, java.sql.Blob x) throws SQLException
 
123
        {
 
124
                throw org.postgresql.Driver.notImplemented();
 
125
        }
 
126
 
 
127
        /**
 
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.
 
133
         *
 
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
 
137
         * @since 1.4
 
138
         */
 
139
        public void updateClob(int columnIndex, java.sql.Clob x) throws SQLException
 
140
        {
 
141
                throw org.postgresql.Driver.notImplemented();
 
142
        }
 
143
 
 
144
        /**
 
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.
 
150
         *
 
151
         * @param columnName the name of the column
 
152
         * @param x the new column value
 
153
         * @exception SQLException if a database access error occurs
 
154
         * @since 1.4
 
155
         */
 
156
        public void updateClob(String columnName, java.sql.Clob x) throws SQLException
 
157
        {
 
158
                throw org.postgresql.Driver.notImplemented();
 
159
        }
 
160
 
 
161
        /**
 
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.
 
167
         *
 
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
 
171
         * @since 1.4
 
172
         */
 
173
        public void updateArray(int columnIndex, java.sql.Array x) throws SQLException
 
174
        {
 
175
                throw org.postgresql.Driver.notImplemented();
 
176
        }
 
177
 
 
178
        /**
 
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.
 
184
         *
 
185
         * @param columnName the name of the column
 
186
         * @param x the new column value
 
187
         * @exception SQLException if a database access error occurs
 
188
         * @since 1.4
 
189
         */
 
190
        public void updateArray(String columnName, java.sql.Array x) throws SQLException
 
191
        {
 
192
                throw org.postgresql.Driver.notImplemented();
 
193
        }
 
194
 
 
195
}
 
196