Mercurial > dive4elements > gnv-client
comparison geo-backend/src/main/java/de/intevation/gnv/geobackend/sde/datasources/SDEResultSet.java @ 897:02cd2935b5fa
Removed trailing whitespace.
geo-backend/trunk@1013 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 28 Apr 2010 07:04:19 +0000 |
parents | d674cef2ca0d |
children | ebeb56428409 |
comparison
equal
deleted
inserted
replaced
896:c7756576044f | 897:02cd2935b5fa |
---|---|
32 | 32 |
33 import org.apache.log4j.Logger; | 33 import org.apache.log4j.Logger; |
34 | 34 |
35 /** | 35 /** |
36 * SDEResultSet is an Implementation of the Interface @see java.sql.resultSet | 36 * SDEResultSet is an Implementation of the Interface @see java.sql.resultSet |
37 * It is an Wrapper between the resultsets whcih are produced using the ArcSDE | 37 * It is an Wrapper between the resultsets whcih are produced using the ArcSDE |
38 * and the Java-Interface for the Representation of ResultSets. | 38 * and the Java-Interface for the Representation of ResultSets. |
39 * @author blume | 39 * @author blume |
40 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a> | 40 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a> |
41 */ | 41 */ |
42 public class SDEResultSet extends ResultSet { | 42 public class SDEResultSet extends ResultSet { |
43 | 43 |
44 /** | 44 /** |
45 * Default Logging instance | 45 * Default Logging instance |
46 */ | 46 */ |
47 private static Logger log = Logger.getLogger(SDEResultSet.class); | 47 private static Logger log = Logger.getLogger(SDEResultSet.class); |
48 | 48 |
49 private List<Row> mRows = Collections.synchronizedList(new ArrayList<Row>()); | 49 private List<Row> mRows = Collections.synchronizedList(new ArrayList<Row>()); |
50 private List<ColDefinition> mCols = Collections.synchronizedList(new ArrayList<ColDefinition>()); | 50 private List<ColDefinition> mCols = Collections.synchronizedList(new ArrayList<ColDefinition>()); |
51 | 51 |
52 private Row currentRow = null; | 52 private Row currentRow = null; |
53 private int cursor = 0; | 53 private int cursor = 0; |
54 | 54 |
55 /** | 55 /** |
56 * Constructor | 56 * Constructor |
57 */ | 57 */ |
58 public SDEResultSet() { | 58 public SDEResultSet() { |
59 } | 59 } |
60 | 60 |
61 /** | 61 /** |
62 * @see de.intevation.gnv.geobackend.sde.datasources.ResultSet#getCount() | 62 * @see de.intevation.gnv.geobackend.sde.datasources.ResultSet#getCount() |
63 */ | 63 */ |
64 public int getCount() { | 64 public int getCount() { |
65 return mRows.size(); | 65 return mRows.size(); |
66 } | 66 } |
67 | 67 |
68 /** | 68 /** |
69 * @see de.intevation.gnv.geobackend.sde.datasources.ResultSet#getNumberOfColumns() | 69 * @see de.intevation.gnv.geobackend.sde.datasources.ResultSet#getNumberOfColumns() |
70 */ | 70 */ |
71 public int getNumberOfColumns() { | 71 public int getNumberOfColumns() { |
72 return mCols.size(); | 72 return mCols.size(); |
73 } | 73 } |
74 | 74 |
75 /** | 75 /** |
76 * @see de.intevation.gnv.geobackend.sde.datasources.ResultSet#getColumnDefinitions() | 76 * @see de.intevation.gnv.geobackend.sde.datasources.ResultSet#getColumnDefinitions() |
77 */ | 77 */ |
78 public ColDefinition[] getColumnDefinitions() { | 78 public ColDefinition[] getColumnDefinitions() { |
79 ColDefinition[] lColDefinitions = new ColDefinition[mCols.size()]; | 79 ColDefinition[] lColDefinitions = new ColDefinition[mCols.size()]; |
80 return mCols.toArray(lColDefinitions); | 80 return mCols.toArray(lColDefinitions); |
81 } | 81 } |
82 | 82 |
83 /** | 83 /** |
84 * @see de.intevation.gnv.geobackend.sde.datasources.ResultSet#getResults() | 84 * @see de.intevation.gnv.geobackend.sde.datasources.ResultSet#getResults() |
85 */ | 85 */ |
86 public Row[] getResults() { | 86 public Row[] getResults() { |
87 Row[] lRows = new Row[mRows.size()]; | 87 Row[] lRows = new Row[mRows.size()]; |
88 return mRows.toArray(lRows); | 88 return mRows.toArray(lRows); |
89 } | 89 } |
90 | 90 |
91 /** | 91 /** |
92 * Add an Row to the Resultset | 92 * Add an Row to the Resultset |
93 * @param pRow The Row that should be added. | 93 * @param pRow The Row that should be added. |
94 */ | 94 */ |
95 public void addRow(Row pRow) { | 95 public void addRow(Row pRow) { |
101 * @param pColDefinition The Definition of the Column | 101 * @param pColDefinition The Definition of the Column |
102 */ | 102 */ |
103 public void addCol(ColDefinition pColDefinition) { | 103 public void addCol(ColDefinition pColDefinition) { |
104 mCols.add(pColDefinition); | 104 mCols.add(pColDefinition); |
105 } | 105 } |
106 | 106 |
107 /** | 107 /** |
108 * @see java.sql.ResultSet#absolute(int) | 108 * @see java.sql.ResultSet#absolute(int) |
109 */ | 109 */ |
110 public boolean absolute(int row) throws SQLException { | 110 public boolean absolute(int row) throws SQLException { |
111 | 111 |
112 return false; | 112 return false; |
113 } | 113 } |
114 | 114 |
115 /** | 115 /** |
116 * @see java.sql.ResultSet#afterLast() | 116 * @see java.sql.ResultSet#afterLast() |
117 */ | 117 */ |
118 public void afterLast() throws SQLException { | 118 public void afterLast() throws SQLException { |
119 } | 119 } |
120 | 120 |
121 /** | 121 /** |
122 * @see java.sql.ResultSet#beforeFirst() | 122 * @see java.sql.ResultSet#beforeFirst() |
123 */ | 123 */ |
124 public void beforeFirst() throws SQLException { | 124 public void beforeFirst() throws SQLException { |
125 } | 125 } |
126 | 126 |
127 /** | 127 /** |
128 * @see java.sql.ResultSet#cancelRowUpdates() | 128 * @see java.sql.ResultSet#cancelRowUpdates() |
129 */ | 129 */ |
130 public void cancelRowUpdates() throws SQLException { | 130 public void cancelRowUpdates() throws SQLException { |
131 } | 131 } |
132 | 132 |
133 /** | 133 /** |
134 * @see java.sql.ResultSet#clearWarnings() | 134 * @see java.sql.ResultSet#clearWarnings() |
135 */ | 135 */ |
136 public void clearWarnings() throws SQLException { | 136 public void clearWarnings() throws SQLException { |
137 } | 137 } |
138 | 138 |
139 /** | 139 /** |
140 * @see java.sql.ResultSet#close() | 140 * @see java.sql.ResultSet#close() |
141 */ | 141 */ |
142 public void close() throws SQLException { | 142 public void close() throws SQLException { |
143 } | 143 } |
144 | 144 |
145 /** | 145 /** |
146 * @see java.sql.ResultSet#deleteRow() | 146 * @see java.sql.ResultSet#deleteRow() |
147 */ | 147 */ |
148 public void deleteRow() throws SQLException { | 148 public void deleteRow() throws SQLException { |
149 } | 149 } |
150 | 150 |
151 /** | 151 /** |
152 * @see java.sql.ResultSet#findColumn(java.lang.String) | 152 * @see java.sql.ResultSet#findColumn(java.lang.String) |
153 */ | 153 */ |
154 public int findColumn(String columnName) throws SQLException { | 154 public int findColumn(String columnName) throws SQLException { |
155 | 155 |
156 return 0; | 156 return 0; |
157 } | 157 } |
158 | 158 |
159 /** | 159 /** |
160 * @see java.sql.ResultSet#first() | 160 * @see java.sql.ResultSet#first() |
161 */ | 161 */ |
162 public boolean first() throws SQLException { | 162 public boolean first() throws SQLException { |
163 | 163 |
164 return false; | 164 return false; |
165 } | 165 } |
166 | 166 |
167 /** | 167 /** |
168 * @see java.sql.ResultSet#getArray(int) | 168 * @see java.sql.ResultSet#getArray(int) |
169 */ | 169 */ |
170 public Array getArray(int i) throws SQLException { | 170 public Array getArray(int i) throws SQLException { |
171 | 171 |
172 return null; | 172 return null; |
173 } | 173 } |
174 | 174 |
175 /** | 175 /** |
176 * @see java.sql.ResultSet#getArray(java.lang.String) | 176 * @see java.sql.ResultSet#getArray(java.lang.String) |
177 */ | 177 */ |
178 public Array getArray(String colName) throws SQLException { | 178 public Array getArray(String colName) throws SQLException { |
179 | 179 |
180 return null; | 180 return null; |
181 } | 181 } |
182 | 182 |
183 /** | 183 /** |
184 * @see java.sql.ResultSet#getAsciiStream(int) | 184 * @see java.sql.ResultSet#getAsciiStream(int) |
185 */ | 185 */ |
186 public InputStream getAsciiStream(int columnIndex) throws SQLException { | 186 public InputStream getAsciiStream(int columnIndex) throws SQLException { |
187 | 187 |
188 return null; | 188 return null; |
189 } | 189 } |
190 | 190 |
191 /** | 191 /** |
192 * @see java.sql.ResultSet#getAsciiStream(java.lang.String) | 192 * @see java.sql.ResultSet#getAsciiStream(java.lang.String) |
193 */ | 193 */ |
194 public InputStream getAsciiStream(String columnName) throws SQLException { | 194 public InputStream getAsciiStream(String columnName) throws SQLException { |
195 | 195 |
196 return null; | 196 return null; |
197 } | 197 } |
198 | 198 |
199 /** | 199 /** |
200 * @see java.sql.ResultSet#getBigDecimal(int) | 200 * @see java.sql.ResultSet#getBigDecimal(int) |
201 */ | 201 */ |
202 public BigDecimal getBigDecimal(int columnIndex) throws SQLException { | 202 public BigDecimal getBigDecimal(int columnIndex) throws SQLException { |
203 | 203 |
204 return null; | 204 return null; |
205 } | 205 } |
206 | 206 |
207 /** | 207 /** |
208 * @see java.sql.ResultSet#getBigDecimal(java.lang.String) | 208 * @see java.sql.ResultSet#getBigDecimal(java.lang.String) |
209 */ | 209 */ |
210 public BigDecimal getBigDecimal(String columnName) throws SQLException { | 210 public BigDecimal getBigDecimal(String columnName) throws SQLException { |
211 | 211 |
212 return null; | 212 return null; |
213 } | 213 } |
214 | 214 |
215 /** | 215 /** |
216 * @see java.sql.ResultSet#getBigDecimal(int, int) | 216 * @see java.sql.ResultSet#getBigDecimal(int, int) |
217 */ | 217 */ |
218 public BigDecimal getBigDecimal(int columnIndex, int scale) | 218 public BigDecimal getBigDecimal(int columnIndex, int scale) |
219 throws SQLException { | 219 throws SQLException { |
220 | 220 |
221 return null; | 221 return null; |
222 } | 222 } |
223 | 223 |
224 /** | 224 /** |
225 * @see java.sql.ResultSet#getBigDecimal(java.lang.String, int) | 225 * @see java.sql.ResultSet#getBigDecimal(java.lang.String, int) |
226 */ | 226 */ |
227 public BigDecimal getBigDecimal(String columnName, int scale) | 227 public BigDecimal getBigDecimal(String columnName, int scale) |
228 throws SQLException { | 228 throws SQLException { |
229 | 229 |
230 return null; | 230 return null; |
231 } | 231 } |
232 | 232 |
233 /** | 233 /** |
234 * @see java.sql.ResultSet#getBinaryStream(int) | 234 * @see java.sql.ResultSet#getBinaryStream(int) |
235 */ | 235 */ |
236 public InputStream getBinaryStream(int columnIndex) throws SQLException { | 236 public InputStream getBinaryStream(int columnIndex) throws SQLException { |
237 | 237 |
238 return null; | 238 return null; |
239 } | 239 } |
240 | 240 |
241 /** | 241 /** |
242 * @see java.sql.ResultSet#getBinaryStream(java.lang.String) | 242 * @see java.sql.ResultSet#getBinaryStream(java.lang.String) |
243 */ | 243 */ |
244 public InputStream getBinaryStream(String columnName) throws SQLException { | 244 public InputStream getBinaryStream(String columnName) throws SQLException { |
245 | 245 |
246 return null; | 246 return null; |
247 } | 247 } |
248 | 248 |
249 /** | 249 /** |
250 * @see java.sql.ResultSet#getBlob(int) | 250 * @see java.sql.ResultSet#getBlob(int) |
251 */ | 251 */ |
252 public Blob getBlob(int i) throws SQLException { | 252 public Blob getBlob(int i) throws SQLException { |
253 | 253 |
254 return null; | 254 return null; |
255 } | 255 } |
256 | 256 |
257 /** | 257 /** |
258 * @see java.sql.ResultSet#getBlob(java.lang.String) | 258 * @see java.sql.ResultSet#getBlob(java.lang.String) |
259 */ | 259 */ |
260 public Blob getBlob(String colName) throws SQLException { | 260 public Blob getBlob(String colName) throws SQLException { |
261 | 261 |
262 return null; | 262 return null; |
263 } | 263 } |
264 | 264 |
265 /** | 265 /** |
266 * @see java.sql.ResultSet#getBoolean(int) | 266 * @see java.sql.ResultSet#getBoolean(int) |
267 */ | 267 */ |
268 public boolean getBoolean(int columnIndex) throws SQLException { | 268 public boolean getBoolean(int columnIndex) throws SQLException { |
269 | 269 |
270 return false; | 270 return false; |
271 } | 271 } |
272 | 272 |
273 /** | 273 /** |
274 * @see java.sql.ResultSet#getBoolean(java.lang.String) | 274 * @see java.sql.ResultSet#getBoolean(java.lang.String) |
275 */ | 275 */ |
276 public boolean getBoolean(String columnName) throws SQLException { | 276 public boolean getBoolean(String columnName) throws SQLException { |
277 | 277 |
278 return false; | 278 return false; |
279 } | 279 } |
280 | 280 |
281 /** | 281 /** |
282 * @see java.sql.ResultSet#getByte(int) | 282 * @see java.sql.ResultSet#getByte(int) |
283 */ | 283 */ |
284 public byte getByte(int columnIndex) throws SQLException { | 284 public byte getByte(int columnIndex) throws SQLException { |
285 | 285 |
286 return 0; | 286 return 0; |
287 } | 287 } |
288 | 288 |
289 /** | 289 /** |
290 * @see java.sql.ResultSet#getByte(java.lang.String) | 290 * @see java.sql.ResultSet#getByte(java.lang.String) |
291 */ | 291 */ |
292 public byte getByte(String columnName) throws SQLException { | 292 public byte getByte(String columnName) throws SQLException { |
293 | 293 |
294 return 0; | 294 return 0; |
295 } | 295 } |
296 | 296 |
297 /** | 297 /** |
298 * @see java.sql.ResultSet#getBytes(int) | 298 * @see java.sql.ResultSet#getBytes(int) |
299 */ | 299 */ |
300 public byte[] getBytes(int columnIndex) throws SQLException { | 300 public byte[] getBytes(int columnIndex) throws SQLException { |
301 | 301 |
302 return null; | 302 return null; |
303 } | 303 } |
304 | 304 |
305 /** | 305 /** |
306 * @see java.sql.ResultSet#getBytes(java.lang.String) | 306 * @see java.sql.ResultSet#getBytes(java.lang.String) |
307 */ | 307 */ |
308 public byte[] getBytes(String columnName) throws SQLException { | 308 public byte[] getBytes(String columnName) throws SQLException { |
309 | 309 |
310 return null; | 310 return null; |
311 } | 311 } |
312 | 312 |
313 /** | 313 /** |
314 * @see java.sql.ResultSet#getCharacterStream(int) | 314 * @see java.sql.ResultSet#getCharacterStream(int) |
315 */ | 315 */ |
316 public Reader getCharacterStream(int columnIndex) throws SQLException { | 316 public Reader getCharacterStream(int columnIndex) throws SQLException { |
317 | 317 |
318 return null; | 318 return null; |
319 } | 319 } |
320 | 320 |
321 /** | 321 /** |
322 * @see java.sql.ResultSet#getCharacterStream(java.lang.String) | 322 * @see java.sql.ResultSet#getCharacterStream(java.lang.String) |
323 */ | 323 */ |
324 public Reader getCharacterStream(String columnName) throws SQLException { | 324 public Reader getCharacterStream(String columnName) throws SQLException { |
325 | 325 |
326 return null; | 326 return null; |
327 } | 327 } |
328 | 328 |
329 /** | 329 /** |
330 * @see java.sql.ResultSet#getClob(int) | 330 * @see java.sql.ResultSet#getClob(int) |
331 */ | 331 */ |
332 public Clob getClob(int i) throws SQLException { | 332 public Clob getClob(int i) throws SQLException { |
333 | 333 |
334 return null; | 334 return null; |
335 } | 335 } |
336 | 336 |
337 /** | 337 /** |
338 * @see java.sql.ResultSet#getClob(java.lang.String) | 338 * @see java.sql.ResultSet#getClob(java.lang.String) |
339 */ | 339 */ |
340 public Clob getClob(String colName) throws SQLException { | 340 public Clob getClob(String colName) throws SQLException { |
341 | 341 |
342 return null; | 342 return null; |
343 } | 343 } |
344 | 344 |
345 /** | 345 /** |
346 * @see java.sql.ResultSet#getConcurrency() | 346 * @see java.sql.ResultSet#getConcurrency() |
347 */ | 347 */ |
348 public int getConcurrency() throws SQLException { | 348 public int getConcurrency() throws SQLException { |
349 | 349 |
350 return 0; | 350 return 0; |
351 } | 351 } |
352 | 352 |
353 /** | 353 /** |
354 * @see java.sql.ResultSet#getCursorName() | 354 * @see java.sql.ResultSet#getCursorName() |
355 */ | 355 */ |
356 public String getCursorName() throws SQLException { | 356 public String getCursorName() throws SQLException { |
357 | 357 |
358 return null; | 358 return null; |
359 } | 359 } |
360 | 360 |
361 /** | 361 /** |
362 * @see java.sql.ResultSet#getDate(int) | 362 * @see java.sql.ResultSet#getDate(int) |
363 */ | 363 */ |
364 public Date getDate(int columnIndex) throws SQLException { | 364 public Date getDate(int columnIndex) throws SQLException { |
365 try { | 365 try { |
367 } catch (TechnicalException e) { | 367 } catch (TechnicalException e) { |
368 log.error(e,e); | 368 log.error(e,e); |
369 throw new SQLException(e.getMessage()); | 369 throw new SQLException(e.getMessage()); |
370 } | 370 } |
371 } | 371 } |
372 | 372 |
373 /** | 373 /** |
374 * @see java.sql.ResultSet#getDate(java.lang.String) | 374 * @see java.sql.ResultSet#getDate(java.lang.String) |
375 */ | 375 */ |
376 public Date getDate(String columnName) throws SQLException { | 376 public Date getDate(String columnName) throws SQLException { |
377 int columnIndex = this.getColumnIndex(columnName); | 377 int columnIndex = this.getColumnIndex(columnName); |
378 return this.getDate(columnIndex); | 378 return this.getDate(columnIndex); |
379 } | 379 } |
380 | 380 |
381 /** | 381 /** |
382 * @see java.sql.ResultSet#getDate(int, java.util.Calendar) | 382 * @see java.sql.ResultSet#getDate(int, java.util.Calendar) |
383 */ | 383 */ |
384 public Date getDate(int columnIndex, Calendar cal) throws SQLException { | 384 public Date getDate(int columnIndex, Calendar cal) throws SQLException { |
385 | 385 |
386 return null; | 386 return null; |
387 } | 387 } |
388 | 388 |
389 /** | 389 /** |
390 * @see java.sql.ResultSet#getDate(java.lang.String, java.util.Calendar) | 390 * @see java.sql.ResultSet#getDate(java.lang.String, java.util.Calendar) |
391 */ | 391 */ |
392 public Date getDate(String columnName, Calendar cal) throws SQLException { | 392 public Date getDate(String columnName, Calendar cal) throws SQLException { |
393 | 393 |
394 return null; | 394 return null; |
395 } | 395 } |
396 | 396 |
397 /** | 397 /** |
398 * @see java.sql.ResultSet#getDouble(int) | 398 * @see java.sql.ResultSet#getDouble(int) |
399 */ | 399 */ |
400 public double getDouble(int columnIndex) throws SQLException { | 400 public double getDouble(int columnIndex) throws SQLException { |
401 try { | 401 try { |
403 } catch (TechnicalException e) { | 403 } catch (TechnicalException e) { |
404 log.error(e,e); | 404 log.error(e,e); |
405 throw new SQLException(e.getMessage()); | 405 throw new SQLException(e.getMessage()); |
406 } | 406 } |
407 } | 407 } |
408 | 408 |
409 /** | 409 /** |
410 * @see java.sql.ResultSet#getDouble(java.lang.String) | 410 * @see java.sql.ResultSet#getDouble(java.lang.String) |
411 */ | 411 */ |
412 public double getDouble(String columnName) throws SQLException { | 412 public double getDouble(String columnName) throws SQLException { |
413 int columnIndex = this.getColumnIndex(columnName); | 413 int columnIndex = this.getColumnIndex(columnName); |
414 return this.getDouble(columnIndex); | 414 return this.getDouble(columnIndex); |
415 } | 415 } |
416 | 416 |
417 /** | 417 /** |
418 * @see java.sql.ResultSet#getFetchDirection() | 418 * @see java.sql.ResultSet#getFetchDirection() |
419 */ | 419 */ |
420 public int getFetchDirection() throws SQLException { | 420 public int getFetchDirection() throws SQLException { |
421 | 421 |
422 return 0; | 422 return 0; |
423 } | 423 } |
424 | 424 |
425 /** | 425 /** |
426 * @see java.sql.ResultSet#getFetchSize() | 426 * @see java.sql.ResultSet#getFetchSize() |
427 */ | 427 */ |
428 public int getFetchSize() throws SQLException { | 428 public int getFetchSize() throws SQLException { |
429 | 429 |
430 return 0; | 430 return 0; |
431 } | 431 } |
432 | 432 |
433 /** | 433 /** |
434 * @see java.sql.ResultSet#getFloat(int) | 434 * @see java.sql.ResultSet#getFloat(int) |
435 */ | 435 */ |
436 public float getFloat(int columnIndex) throws SQLException { | 436 public float getFloat(int columnIndex) throws SQLException { |
437 try { | 437 try { |
439 } catch (TechnicalException e) { | 439 } catch (TechnicalException e) { |
440 log.error(e,e); | 440 log.error(e,e); |
441 throw new SQLException(e.getMessage()); | 441 throw new SQLException(e.getMessage()); |
442 } | 442 } |
443 } | 443 } |
444 | 444 |
445 /** | 445 /** |
446 * @see java.sql.ResultSet#getFloat(java.lang.String) | 446 * @see java.sql.ResultSet#getFloat(java.lang.String) |
447 */ | 447 */ |
448 public float getFloat(String columnName) throws SQLException { | 448 public float getFloat(String columnName) throws SQLException { |
449 int columnIndex = this.getColumnIndex(columnName); | 449 int columnIndex = this.getColumnIndex(columnName); |
450 return this.getFloat(columnIndex); | 450 return this.getFloat(columnIndex); |
451 } | 451 } |
452 | 452 |
453 /** | 453 /** |
454 * @see java.sql.ResultSet#getInt(int) | 454 * @see java.sql.ResultSet#getInt(int) |
455 */ | 455 */ |
456 public int getInt(int columnIndex) throws SQLException { | 456 public int getInt(int columnIndex) throws SQLException { |
457 | 457 |
458 try { | 458 try { |
459 return this.currentRow.getIntValue(columnIndex-1); | 459 return this.currentRow.getIntValue(columnIndex-1); |
460 } catch (TechnicalException e) { | 460 } catch (TechnicalException e) { |
461 log.error(e,e); | 461 log.error(e,e); |
462 throw new SQLException(e.getMessage()); | 462 throw new SQLException(e.getMessage()); |
463 } | 463 } |
464 } | 464 } |
465 | 465 |
466 /** | 466 /** |
467 * @see java.sql.ResultSet#getInt(java.lang.String) | 467 * @see java.sql.ResultSet#getInt(java.lang.String) |
468 */ | 468 */ |
469 public int getInt(String columnName) throws SQLException { | 469 public int getInt(String columnName) throws SQLException { |
470 int columnIndex = this.getColumnIndex(columnName); | 470 int columnIndex = this.getColumnIndex(columnName); |
471 return this.getInt(columnIndex); | 471 return this.getInt(columnIndex); |
472 } | 472 } |
473 | 473 |
474 /** | 474 /** |
475 * @see java.sql.ResultSet#getLong(int) | 475 * @see java.sql.ResultSet#getLong(int) |
476 */ | 476 */ |
477 public long getLong(int columnIndex) throws SQLException { | 477 public long getLong(int columnIndex) throws SQLException { |
478 | 478 |
479 return 0; | 479 return 0; |
480 } | 480 } |
481 | 481 |
482 /** | 482 /** |
483 * @see java.sql.ResultSet#getLong(java.lang.String) | 483 * @see java.sql.ResultSet#getLong(java.lang.String) |
484 */ | 484 */ |
485 public long getLong(String columnName) throws SQLException { | 485 public long getLong(String columnName) throws SQLException { |
486 | 486 |
487 return 0; | 487 return 0; |
488 } | 488 } |
489 | 489 |
490 /** | 490 /** |
491 * @see java.sql.ResultSet#getMetaData() | 491 * @see java.sql.ResultSet#getMetaData() |
492 */ | 492 */ |
493 public ResultSetMetaData getMetaData() throws SQLException { | 493 public ResultSetMetaData getMetaData() throws SQLException { |
494 log.debug("SDEREsultSet.getMetaData"); | 494 log.debug("SDEREsultSet.getMetaData"); |
495 return new ArcSDEResultSetMetaData(this.mCols); | 495 return new ArcSDEResultSetMetaData(this.mCols); |
496 } | 496 } |
497 | 497 |
498 /** | 498 /** |
499 * @see java.sql.ResultSet#getObject(int) | 499 * @see java.sql.ResultSet#getObject(int) |
500 */ | 500 */ |
501 public Object getObject(int columnIndex) throws SQLException { | 501 public Object getObject(int columnIndex) throws SQLException { |
502 try { | 502 try { |
504 } catch (TechnicalException e) { | 504 } catch (TechnicalException e) { |
505 log.error(e,e); | 505 log.error(e,e); |
506 throw new SQLException(e.getMessage()); | 506 throw new SQLException(e.getMessage()); |
507 } | 507 } |
508 } | 508 } |
509 | 509 |
510 /** | 510 /** |
511 * @see java.sql.ResultSet#getObject(java.lang.String) | 511 * @see java.sql.ResultSet#getObject(java.lang.String) |
512 */ | 512 */ |
513 public Object getObject(String columnName) throws SQLException { | 513 public Object getObject(String columnName) throws SQLException { |
514 int columnIndex = this.getColumnIndex(columnName); | 514 int columnIndex = this.getColumnIndex(columnName); |
515 return this.getObject(columnIndex); | 515 return this.getObject(columnIndex); |
516 } | 516 } |
517 | 517 |
518 /** | 518 /** |
519 * @see java.sql.ResultSet#getObject(int, java.util.Map) | 519 * @see java.sql.ResultSet#getObject(int, java.util.Map) |
520 */ | 520 */ |
521 public Object getObject(int i, Map<String, Class<?>> map) | 521 public Object getObject(int i, Map<String, Class<?>> map) |
522 throws SQLException { | 522 throws SQLException { |
523 | 523 |
524 return null; | 524 return null; |
525 } | 525 } |
526 | 526 |
527 /** | 527 /** |
528 * @see java.sql.ResultSet#getObject(java.lang.String, java.util.Map) | 528 * @see java.sql.ResultSet#getObject(java.lang.String, java.util.Map) |
529 */ | 529 */ |
530 public Object getObject(String colName, Map<String, Class<?>> map) | 530 public Object getObject(String colName, Map<String, Class<?>> map) |
531 throws SQLException { | 531 throws SQLException { |
532 | 532 |
533 return null; | 533 return null; |
534 } | 534 } |
535 | 535 |
536 /** | 536 /** |
537 * @see java.sql.ResultSet#getRef(int) | 537 * @see java.sql.ResultSet#getRef(int) |
538 */ | 538 */ |
539 public Ref getRef(int i) throws SQLException { | 539 public Ref getRef(int i) throws SQLException { |
540 | 540 |
541 return null; | 541 return null; |
542 } | 542 } |
543 | 543 |
544 /** | 544 /** |
545 * @see java.sql.ResultSet#getRef(java.lang.String) | 545 * @see java.sql.ResultSet#getRef(java.lang.String) |
546 */ | 546 */ |
547 public Ref getRef(String colName) throws SQLException { | 547 public Ref getRef(String colName) throws SQLException { |
548 | 548 |
549 return null; | 549 return null; |
550 } | 550 } |
551 | 551 |
552 /** | 552 /** |
553 * @see java.sql.ResultSet#getRow() | 553 * @see java.sql.ResultSet#getRow() |
554 */ | 554 */ |
555 public int getRow() throws SQLException { | 555 public int getRow() throws SQLException { |
556 | 556 |
557 return 0; | 557 return 0; |
558 } | 558 } |
559 | 559 |
560 /** | 560 /** |
561 * @see java.sql.ResultSet#getShort(int) | 561 * @see java.sql.ResultSet#getShort(int) |
562 */ | 562 */ |
563 public short getShort(int columnIndex) throws SQLException { | 563 public short getShort(int columnIndex) throws SQLException { |
564 | 564 |
565 return 0; | 565 return 0; |
566 } | 566 } |
567 | 567 |
568 /** | 568 /** |
569 * @see java.sql.ResultSet#getShort(java.lang.String) | 569 * @see java.sql.ResultSet#getShort(java.lang.String) |
570 */ | 570 */ |
571 public short getShort(String columnName) throws SQLException { | 571 public short getShort(String columnName) throws SQLException { |
572 | 572 |
573 return 0; | 573 return 0; |
574 } | 574 } |
575 | 575 |
576 /** | 576 /** |
577 * @see java.sql.ResultSet#getStatement() | 577 * @see java.sql.ResultSet#getStatement() |
578 */ | 578 */ |
579 public Statement getStatement() throws SQLException { | 579 public Statement getStatement() throws SQLException { |
580 | 580 |
581 return null; | 581 return null; |
582 } | 582 } |
583 | 583 |
584 /** | 584 /** |
585 * @see java.sql.ResultSet#getString(int) | 585 * @see java.sql.ResultSet#getString(int) |
586 */ | 586 */ |
587 public String getString(int columnIndex) throws SQLException { | 587 public String getString(int columnIndex) throws SQLException { |
588 | 588 |
589 try { | 589 try { |
590 return this.currentRow.getStringValue(columnIndex-1); | 590 return this.currentRow.getStringValue(columnIndex-1); |
591 } catch (TechnicalException e) { | 591 } catch (TechnicalException e) { |
592 log.error(e,e); | 592 log.error(e,e); |
593 throw new SQLException(e.getMessage()); | 593 throw new SQLException(e.getMessage()); |
594 } | 594 } |
595 } | 595 } |
596 | 596 |
597 /** | 597 /** |
598 * @see java.sql.ResultSet#getString(java.lang.String) | 598 * @see java.sql.ResultSet#getString(java.lang.String) |
599 */ | 599 */ |
600 public String getString(String columnName) throws SQLException { | 600 public String getString(String columnName) throws SQLException { |
601 int columnIndex = this.getColumnIndex(columnName); | 601 int columnIndex = this.getColumnIndex(columnName); |
602 return this.getString(columnIndex); | 602 return this.getString(columnIndex); |
603 } | 603 } |
604 | 604 |
605 /** | 605 /** |
606 * @see java.sql.ResultSet#getTime(int) | 606 * @see java.sql.ResultSet#getTime(int) |
607 */ | 607 */ |
608 public Time getTime(int columnIndex) throws SQLException { | 608 public Time getTime(int columnIndex) throws SQLException { |
609 | 609 |
610 return null; | 610 return null; |
611 } | 611 } |
612 | 612 |
613 /** | 613 /** |
614 * @see java.sql.ResultSet#getTime(java.lang.String) | 614 * @see java.sql.ResultSet#getTime(java.lang.String) |
615 */ | 615 */ |
616 public Time getTime(String columnName) throws SQLException { | 616 public Time getTime(String columnName) throws SQLException { |
617 | 617 |
618 return null; | 618 return null; |
619 } | 619 } |
620 | 620 |
621 /** | 621 /** |
622 * @see java.sql.ResultSet#getTime(int, java.util.Calendar) | 622 * @see java.sql.ResultSet#getTime(int, java.util.Calendar) |
623 */ | 623 */ |
624 public Time getTime(int columnIndex, Calendar cal) throws SQLException { | 624 public Time getTime(int columnIndex, Calendar cal) throws SQLException { |
625 | 625 |
626 return null; | 626 return null; |
627 } | 627 } |
628 | 628 |
629 /** | 629 /** |
630 * @see java.sql.ResultSet#getTime(java.lang.String, java.util.Calendar) | 630 * @see java.sql.ResultSet#getTime(java.lang.String, java.util.Calendar) |
631 */ | 631 */ |
632 public Time getTime(String columnName, Calendar cal) throws SQLException { | 632 public Time getTime(String columnName, Calendar cal) throws SQLException { |
633 | 633 |
634 return null; | 634 return null; |
635 } | 635 } |
636 | 636 |
637 /** | 637 /** |
638 * @see java.sql.ResultSet#getTimestamp(int) | 638 * @see java.sql.ResultSet#getTimestamp(int) |
639 */ | 639 */ |
640 public Timestamp getTimestamp(int columnIndex) throws SQLException { | 640 public Timestamp getTimestamp(int columnIndex) throws SQLException { |
641 | 641 |
642 return null; | 642 return null; |
643 } | 643 } |
644 | 644 |
645 /** | 645 /** |
646 * @see java.sql.ResultSet#getTimestamp(java.lang.String) | 646 * @see java.sql.ResultSet#getTimestamp(java.lang.String) |
647 */ | 647 */ |
648 public Timestamp getTimestamp(String columnName) throws SQLException { | 648 public Timestamp getTimestamp(String columnName) throws SQLException { |
649 | 649 |
650 return null; | 650 return null; |
651 } | 651 } |
652 | 652 |
653 /** | 653 /** |
654 * @see java.sql.ResultSet#getTimestamp(int, java.util.Calendar) | 654 * @see java.sql.ResultSet#getTimestamp(int, java.util.Calendar) |
655 */ | 655 */ |
656 public Timestamp getTimestamp(int columnIndex, Calendar cal) | 656 public Timestamp getTimestamp(int columnIndex, Calendar cal) |
657 throws SQLException { | 657 throws SQLException { |
658 | 658 |
659 return null; | 659 return null; |
660 } | 660 } |
661 | 661 |
662 /** | 662 /** |
663 * @see java.sql.ResultSet#getTimestamp(java.lang.String, | 663 * @see java.sql.ResultSet#getTimestamp(java.lang.String, |
664 * java.util.Calendar) | 664 * java.util.Calendar) |
665 */ | 665 */ |
666 public Timestamp getTimestamp(String columnName, Calendar cal) | 666 public Timestamp getTimestamp(String columnName, Calendar cal) |
667 throws SQLException { | 667 throws SQLException { |
668 | 668 |
669 return null; | 669 return null; |
670 } | 670 } |
671 | 671 |
672 /** | 672 /** |
673 * @see java.sql.ResultSet#getType() | 673 * @see java.sql.ResultSet#getType() |
674 */ | 674 */ |
675 public int getType() throws SQLException { | 675 public int getType() throws SQLException { |
676 | 676 |
677 return 0; | 677 return 0; |
678 } | 678 } |
679 | 679 |
680 /** | 680 /** |
681 * @see java.sql.ResultSet#getURL(int) | 681 * @see java.sql.ResultSet#getURL(int) |
682 */ | 682 */ |
683 public URL getURL(int columnIndex) throws SQLException { | 683 public URL getURL(int columnIndex) throws SQLException { |
684 | 684 |
685 return null; | 685 return null; |
686 } | 686 } |
687 | 687 |
688 /** | 688 /** |
689 * @see java.sql.ResultSet#getURL(java.lang.String) | 689 * @see java.sql.ResultSet#getURL(java.lang.String) |
690 */ | 690 */ |
691 public URL getURL(String columnName) throws SQLException { | 691 public URL getURL(String columnName) throws SQLException { |
692 | 692 |
693 return null; | 693 return null; |
694 } | 694 } |
695 | 695 |
696 /** | 696 /** |
697 * @see java.sql.ResultSet#getUnicodeStream(int) | 697 * @see java.sql.ResultSet#getUnicodeStream(int) |
698 */ | 698 */ |
699 public InputStream getUnicodeStream(int columnIndex) throws SQLException { | 699 public InputStream getUnicodeStream(int columnIndex) throws SQLException { |
700 | 700 |
701 return null; | 701 return null; |
702 } | 702 } |
703 | 703 |
704 /** | 704 /** |
705 * @see java.sql.ResultSet#getUnicodeStream(java.lang.String) | 705 * @see java.sql.ResultSet#getUnicodeStream(java.lang.String) |
706 */ | 706 */ |
707 public InputStream getUnicodeStream(String columnName) throws SQLException { | 707 public InputStream getUnicodeStream(String columnName) throws SQLException { |
708 | 708 |
709 return null; | 709 return null; |
710 } | 710 } |
711 | 711 |
712 /** | 712 /** |
713 * @see java.sql.ResultSet#getWarnings() | 713 * @see java.sql.ResultSet#getWarnings() |
714 */ | 714 */ |
715 public SQLWarning getWarnings() throws SQLException { | 715 public SQLWarning getWarnings() throws SQLException { |
716 | 716 |
717 return null; | 717 return null; |
718 } | 718 } |
719 | 719 |
720 /** | 720 /** |
721 * @see java.sql.ResultSet#insertRow() | 721 * @see java.sql.ResultSet#insertRow() |
722 */ | 722 */ |
723 public void insertRow() throws SQLException { | 723 public void insertRow() throws SQLException { |
724 } | 724 } |
725 | 725 |
726 /** | 726 /** |
727 * @see java.sql.ResultSet#isAfterLast() | 727 * @see java.sql.ResultSet#isAfterLast() |
728 */ | 728 */ |
729 public boolean isAfterLast() throws SQLException { | 729 public boolean isAfterLast() throws SQLException { |
730 | 730 |
731 return false; | 731 return false; |
732 } | 732 } |
733 | 733 |
734 /** | 734 /** |
735 * @see java.sql.ResultSet#isBeforeFirst() | 735 * @see java.sql.ResultSet#isBeforeFirst() |
736 */ | 736 */ |
737 public boolean isBeforeFirst() throws SQLException { | 737 public boolean isBeforeFirst() throws SQLException { |
738 | 738 |
739 return false; | 739 return false; |
740 } | 740 } |
741 | 741 |
742 /** | 742 /** |
743 * @see java.sql.ResultSet#isFirst() | 743 * @see java.sql.ResultSet#isFirst() |
744 */ | 744 */ |
745 public boolean isFirst() throws SQLException { | 745 public boolean isFirst() throws SQLException { |
746 | 746 |
747 return false; | 747 return false; |
748 } | 748 } |
749 | 749 |
750 /** | 750 /** |
751 * @see java.sql.ResultSet#isLast() | 751 * @see java.sql.ResultSet#isLast() |
752 */ | 752 */ |
753 public boolean isLast() throws SQLException { | 753 public boolean isLast() throws SQLException { |
754 | 754 |
755 return false; | 755 return false; |
756 } | 756 } |
757 | 757 |
758 /** | 758 /** |
759 * @see java.sql.ResultSet#last() | 759 * @see java.sql.ResultSet#last() |
760 */ | 760 */ |
761 public boolean last() throws SQLException { | 761 public boolean last() throws SQLException { |
762 | 762 |
763 return false; | 763 return false; |
764 } | 764 } |
765 | 765 |
766 /** | 766 /** |
767 * @see java.sql.ResultSet#moveToCurrentRow() | 767 * @see java.sql.ResultSet#moveToCurrentRow() |
768 */ | 768 */ |
769 public void moveToCurrentRow() throws SQLException { | 769 public void moveToCurrentRow() throws SQLException { |
770 } | 770 } |
771 | 771 |
772 /** | 772 /** |
773 * @see java.sql.ResultSet#moveToInsertRow() | 773 * @see java.sql.ResultSet#moveToInsertRow() |
774 */ | 774 */ |
775 public void moveToInsertRow() throws SQLException { | 775 public void moveToInsertRow() throws SQLException { |
776 } | 776 } |
777 | 777 |
778 /** | 778 /** |
779 * @see java.sql.ResultSet#next() | 779 * @see java.sql.ResultSet#next() |
780 */ | 780 */ |
781 public boolean next() throws SQLException { | 781 public boolean next() throws SQLException { |
782 | 782 |
783 boolean next = this.mRows.size() > this.cursor; | 783 boolean next = this.mRows.size() > this.cursor; |
784 if (next){ | 784 if (next){ |
785 //log.debug("Zeile "+(cursor+1)+" von "+this.mRows.size()+" wird angesteuert."); | 785 //log.debug("Zeile "+(cursor+1)+" von "+this.mRows.size()+" wird angesteuert."); |
786 this.currentRow = this.mRows.get(this.cursor); | 786 this.currentRow = this.mRows.get(this.cursor); |
787 this.cursor++; | 787 this.cursor++; |
788 }else{ | 788 }else{ |
789 this.currentRow = null; | 789 this.currentRow = null; |
790 } | 790 } |
791 return next; | 791 return next; |
792 } | 792 } |
793 | 793 |
794 /** | 794 /** |
795 * @see java.sql.ResultSet#previous() | 795 * @see java.sql.ResultSet#previous() |
796 */ | 796 */ |
797 public boolean previous() throws SQLException { | 797 public boolean previous() throws SQLException { |
798 | 798 |
799 return false; | 799 return false; |
800 } | 800 } |
801 | 801 |
802 /** | 802 /** |
803 * @see java.sql.ResultSet#refreshRow() | 803 * @see java.sql.ResultSet#refreshRow() |
804 */ | 804 */ |
805 public void refreshRow() throws SQLException { | 805 public void refreshRow() throws SQLException { |
806 } | 806 } |
807 | 807 |
808 /** | 808 /** |
809 * @see java.sql.ResultSet#relative(int) | 809 * @see java.sql.ResultSet#relative(int) |
810 */ | 810 */ |
811 public boolean relative(int rows) throws SQLException { | 811 public boolean relative(int rows) throws SQLException { |
812 | 812 |
813 return false; | 813 return false; |
814 } | 814 } |
815 | 815 |
816 /** | 816 /** |
817 * @see java.sql.ResultSet#rowDeleted() | 817 * @see java.sql.ResultSet#rowDeleted() |
818 */ | 818 */ |
819 public boolean rowDeleted() throws SQLException { | 819 public boolean rowDeleted() throws SQLException { |
820 | 820 |
821 return false; | 821 return false; |
822 } | 822 } |
823 | 823 |
824 /** | 824 /** |
825 * @see java.sql.ResultSet#rowInserted() | 825 * @see java.sql.ResultSet#rowInserted() |
826 */ | 826 */ |
827 public boolean rowInserted() throws SQLException { | 827 public boolean rowInserted() throws SQLException { |
828 | 828 |
829 return false; | 829 return false; |
830 } | 830 } |
831 | 831 |
832 /** | 832 /** |
833 * @see java.sql.ResultSet#rowUpdated() | 833 * @see java.sql.ResultSet#rowUpdated() |
834 */ | 834 */ |
835 public boolean rowUpdated() throws SQLException { | 835 public boolean rowUpdated() throws SQLException { |
836 | 836 |
837 return false; | 837 return false; |
838 } | 838 } |
839 | 839 |
840 /** | 840 /** |
841 * @see java.sql.ResultSet#setFetchDirection(int) | 841 * @see java.sql.ResultSet#setFetchDirection(int) |
842 */ | 842 */ |
843 public void setFetchDirection(int direction) throws SQLException { | 843 public void setFetchDirection(int direction) throws SQLException { |
844 } | 844 } |
845 | 845 |
846 /** | 846 /** |
847 * @see java.sql.ResultSet#setFetchSize(int) | 847 * @see java.sql.ResultSet#setFetchSize(int) |
848 */ | 848 */ |
849 public void setFetchSize(int rows) throws SQLException { | 849 public void setFetchSize(int rows) throws SQLException { |
850 } | 850 } |
851 | 851 |
852 /** | 852 /** |
853 * @see java.sql.ResultSet#updateArray(int, java.sql.Array) | 853 * @see java.sql.ResultSet#updateArray(int, java.sql.Array) |
854 */ | 854 */ |
855 public void updateArray(int columnIndex, Array x) throws SQLException { | 855 public void updateArray(int columnIndex, Array x) throws SQLException { |
856 } | 856 } |
857 | 857 |
858 /** | 858 /** |
859 * @see java.sql.ResultSet#updateArray(java.lang.String, java.sql.Array) | 859 * @see java.sql.ResultSet#updateArray(java.lang.String, java.sql.Array) |
860 */ | 860 */ |
861 public void updateArray(String columnName, Array x) throws SQLException { | 861 public void updateArray(String columnName, Array x) throws SQLException { |
862 } | 862 } |
863 | 863 |
864 /** | 864 /** |
865 * @see java.sql.ResultSet#updateAsciiStream(int, java.io.InputStream, int) | 865 * @see java.sql.ResultSet#updateAsciiStream(int, java.io.InputStream, int) |
866 */ | 866 */ |
867 public void updateAsciiStream(int columnIndex, InputStream x, int length) | 867 public void updateAsciiStream(int columnIndex, InputStream x, int length) |
868 throws SQLException { | 868 throws SQLException { |
869 } | 869 } |
870 | 870 |
871 /** | 871 /** |
872 * @see java.sql.ResultSet#updateAsciiStream(java.lang.String, | 872 * @see java.sql.ResultSet#updateAsciiStream(java.lang.String, |
873 * java.io.InputStream, int) | 873 * java.io.InputStream, int) |
874 */ | 874 */ |
875 public void updateAsciiStream(String columnName, InputStream x, int length) | 875 public void updateAsciiStream(String columnName, InputStream x, int length) |
876 throws SQLException { | 876 throws SQLException { |
877 } | 877 } |
878 | 878 |
879 /** | 879 /** |
880 * @see java.sql.ResultSet#updateBigDecimal(int, java.math.BigDecimal) | 880 * @see java.sql.ResultSet#updateBigDecimal(int, java.math.BigDecimal) |
881 */ | 881 */ |
882 public void updateBigDecimal(int columnIndex, BigDecimal x) | 882 public void updateBigDecimal(int columnIndex, BigDecimal x) |
883 throws SQLException { | 883 throws SQLException { |
884 } | 884 } |
885 | 885 |
886 /** | 886 /** |
887 * @see java.sql.ResultSet#updateBigDecimal(java.lang.String, | 887 * @see java.sql.ResultSet#updateBigDecimal(java.lang.String, |
888 * java.math.BigDecimal) | 888 * java.math.BigDecimal) |
889 */ | 889 */ |
890 public void updateBigDecimal(String columnName, BigDecimal x) | 890 public void updateBigDecimal(String columnName, BigDecimal x) |
891 throws SQLException { | 891 throws SQLException { |
892 } | 892 } |
893 | 893 |
894 /** | 894 /** |
895 * @see java.sql.ResultSet#updateBinaryStream(int, java.io.InputStream, int) | 895 * @see java.sql.ResultSet#updateBinaryStream(int, java.io.InputStream, int) |
896 */ | 896 */ |
897 public void updateBinaryStream(int columnIndex, InputStream x, int length) | 897 public void updateBinaryStream(int columnIndex, InputStream x, int length) |
898 throws SQLException { | 898 throws SQLException { |
899 } | 899 } |
900 | 900 |
901 /** | 901 /** |
902 * @see java.sql.ResultSet#updateBinaryStream(java.lang.String, | 902 * @see java.sql.ResultSet#updateBinaryStream(java.lang.String, |
903 * java.io.InputStream, int) | 903 * java.io.InputStream, int) |
904 */ | 904 */ |
905 public void updateBinaryStream(String columnName, InputStream x, int length) | 905 public void updateBinaryStream(String columnName, InputStream x, int length) |
906 throws SQLException { | 906 throws SQLException { |
907 } | 907 } |
908 | 908 |
909 /** | 909 /** |
910 * @see java.sql.ResultSet#updateBlob(int, java.sql.Blob) | 910 * @see java.sql.ResultSet#updateBlob(int, java.sql.Blob) |
911 */ | 911 */ |
912 public void updateBlob(int columnIndex, Blob x) throws SQLException { | 912 public void updateBlob(int columnIndex, Blob x) throws SQLException { |
913 } | 913 } |
914 | 914 |
915 /** | 915 /** |
916 * @see java.sql.ResultSet#updateBlob(java.lang.String, java.sql.Blob) | 916 * @see java.sql.ResultSet#updateBlob(java.lang.String, java.sql.Blob) |
917 */ | 917 */ |
918 public void updateBlob(String columnName, Blob x) throws SQLException { | 918 public void updateBlob(String columnName, Blob x) throws SQLException { |
919 } | 919 } |
920 | 920 |
921 /** | 921 /** |
922 * @see java.sql.ResultSet#updateBoolean(int, boolean) | 922 * @see java.sql.ResultSet#updateBoolean(int, boolean) |
923 */ | 923 */ |
924 public void updateBoolean(int columnIndex, boolean x) throws SQLException { | 924 public void updateBoolean(int columnIndex, boolean x) throws SQLException { |
925 } | 925 } |
926 | 926 |
927 /** | 927 /** |
928 * @see java.sql.ResultSet#updateBoolean(java.lang.String, boolean) | 928 * @see java.sql.ResultSet#updateBoolean(java.lang.String, boolean) |
929 */ | 929 */ |
930 public void updateBoolean(String columnName, boolean x) throws SQLException { | 930 public void updateBoolean(String columnName, boolean x) throws SQLException { |
931 } | 931 } |
932 | 932 |
933 /** | 933 /** |
934 * @see java.sql.ResultSet#updateByte(int, byte) | 934 * @see java.sql.ResultSet#updateByte(int, byte) |
935 */ | 935 */ |
936 public void updateByte(int columnIndex, byte x) throws SQLException { | 936 public void updateByte(int columnIndex, byte x) throws SQLException { |
937 } | 937 } |
938 | 938 |
939 /** | 939 /** |
940 * @see java.sql.ResultSet#updateByte(java.lang.String, byte) | 940 * @see java.sql.ResultSet#updateByte(java.lang.String, byte) |
941 */ | 941 */ |
942 public void updateByte(String columnName, byte x) throws SQLException { | 942 public void updateByte(String columnName, byte x) throws SQLException { |
943 } | 943 } |
944 | 944 |
945 /** | 945 /** |
946 * @see java.sql.ResultSet#updateBytes(int, byte[]) | 946 * @see java.sql.ResultSet#updateBytes(int, byte[]) |
947 */ | 947 */ |
948 public void updateBytes(int columnIndex, byte[] x) throws SQLException { | 948 public void updateBytes(int columnIndex, byte[] x) throws SQLException { |
949 } | 949 } |
950 | 950 |
951 /** | 951 /** |
952 * @see java.sql.ResultSet#updateBytes(java.lang.String, byte[]) | 952 * @see java.sql.ResultSet#updateBytes(java.lang.String, byte[]) |
953 */ | 953 */ |
954 public void updateBytes(String columnName, byte[] x) throws SQLException { | 954 public void updateBytes(String columnName, byte[] x) throws SQLException { |
955 } | 955 } |
956 | 956 |
957 /** | 957 /** |
958 * @see java.sql.ResultSet#updateCharacterStream(int, java.io.Reader, int) | 958 * @see java.sql.ResultSet#updateCharacterStream(int, java.io.Reader, int) |
959 */ | 959 */ |
960 public void updateCharacterStream(int columnIndex, Reader x, int length) | 960 public void updateCharacterStream(int columnIndex, Reader x, int length) |
961 throws SQLException { | 961 throws SQLException { |
962 } | 962 } |
963 | 963 |
964 /** | 964 /** |
965 * @see java.sql.ResultSet#updateCharacterStream(java.lang.String, | 965 * @see java.sql.ResultSet#updateCharacterStream(java.lang.String, |
966 * java.io.Reader, int) | 966 * java.io.Reader, int) |
967 */ | 967 */ |
968 public void updateCharacterStream(String columnName, Reader reader, | 968 public void updateCharacterStream(String columnName, Reader reader, |
969 int length) throws SQLException { | 969 int length) throws SQLException { |
970 } | 970 } |
971 | 971 |
972 /** | 972 /** |
973 * @see java.sql.ResultSet#updateClob(int, java.sql.Clob) | 973 * @see java.sql.ResultSet#updateClob(int, java.sql.Clob) |
974 */ | 974 */ |
975 public void updateClob(int columnIndex, Clob x) throws SQLException { | 975 public void updateClob(int columnIndex, Clob x) throws SQLException { |
976 } | 976 } |
977 | 977 |
978 /** | 978 /** |
979 * @see java.sql.ResultSet#updateClob(java.lang.String, java.sql.Clob) | 979 * @see java.sql.ResultSet#updateClob(java.lang.String, java.sql.Clob) |
980 */ | 980 */ |
981 public void updateClob(String columnName, Clob x) throws SQLException { | 981 public void updateClob(String columnName, Clob x) throws SQLException { |
982 } | 982 } |
983 | 983 |
984 /** | 984 /** |
985 * @see java.sql.ResultSet#updateDate(int, java.sql.Date) | 985 * @see java.sql.ResultSet#updateDate(int, java.sql.Date) |
986 */ | 986 */ |
987 public void updateDate(int columnIndex, Date x) throws SQLException { | 987 public void updateDate(int columnIndex, Date x) throws SQLException { |
988 } | 988 } |
989 | 989 |
990 /** | 990 /** |
991 * @see java.sql.ResultSet#updateDate(java.lang.String, java.sql.Date) | 991 * @see java.sql.ResultSet#updateDate(java.lang.String, java.sql.Date) |
992 */ | 992 */ |
993 public void updateDate(String columnName, Date x) throws SQLException { | 993 public void updateDate(String columnName, Date x) throws SQLException { |
994 } | 994 } |
995 | 995 |
996 /** | 996 /** |
997 * @see java.sql.ResultSet#updateDouble(int, double) | 997 * @see java.sql.ResultSet#updateDouble(int, double) |
998 */ | 998 */ |
999 public void updateDouble(int columnIndex, double x) throws SQLException { | 999 public void updateDouble(int columnIndex, double x) throws SQLException { |
1000 } | 1000 } |
1001 | 1001 |
1002 /** | 1002 /** |
1003 * @see java.sql.ResultSet#updateDouble(java.lang.String, double) | 1003 * @see java.sql.ResultSet#updateDouble(java.lang.String, double) |
1004 */ | 1004 */ |
1005 public void updateDouble(String columnName, double x) throws SQLException { | 1005 public void updateDouble(String columnName, double x) throws SQLException { |
1006 } | 1006 } |
1007 | 1007 |
1008 /** | 1008 /** |
1009 * @see java.sql.ResultSet#updateFloat(int, float) | 1009 * @see java.sql.ResultSet#updateFloat(int, float) |
1010 */ | 1010 */ |
1011 public void updateFloat(int columnIndex, float x) throws SQLException { | 1011 public void updateFloat(int columnIndex, float x) throws SQLException { |
1012 } | 1012 } |
1013 | 1013 |
1014 /** | 1014 /** |
1015 * @see java.sql.ResultSet#updateFloat(java.lang.String, float) | 1015 * @see java.sql.ResultSet#updateFloat(java.lang.String, float) |
1016 */ | 1016 */ |
1017 public void updateFloat(String columnName, float x) throws SQLException { | 1017 public void updateFloat(String columnName, float x) throws SQLException { |
1018 } | 1018 } |
1019 | 1019 |
1020 /** | 1020 /** |
1021 * @see java.sql.ResultSet#updateInt(int, int) | 1021 * @see java.sql.ResultSet#updateInt(int, int) |
1022 */ | 1022 */ |
1023 public void updateInt(int columnIndex, int x) throws SQLException { | 1023 public void updateInt(int columnIndex, int x) throws SQLException { |
1024 } | 1024 } |
1025 | 1025 |
1026 /** | 1026 /** |
1027 * @see java.sql.ResultSet#updateInt(java.lang.String, int) | 1027 * @see java.sql.ResultSet#updateInt(java.lang.String, int) |
1028 */ | 1028 */ |
1029 public void updateInt(String columnName, int x) throws SQLException { | 1029 public void updateInt(String columnName, int x) throws SQLException { |
1030 } | 1030 } |
1031 | 1031 |
1032 /** | 1032 /** |
1033 * @see java.sql.ResultSet#updateLong(int, long) | 1033 * @see java.sql.ResultSet#updateLong(int, long) |
1034 */ | 1034 */ |
1035 public void updateLong(int columnIndex, long x) throws SQLException { | 1035 public void updateLong(int columnIndex, long x) throws SQLException { |
1036 } | 1036 } |
1037 | 1037 |
1038 /** | 1038 /** |
1039 * @see java.sql.ResultSet#updateLong(java.lang.String, long) | 1039 * @see java.sql.ResultSet#updateLong(java.lang.String, long) |
1040 */ | 1040 */ |
1041 public void updateLong(String columnName, long x) throws SQLException { | 1041 public void updateLong(String columnName, long x) throws SQLException { |
1042 } | 1042 } |
1043 | 1043 |
1044 /** | 1044 /** |
1045 * @see java.sql.ResultSet#updateNull(int) | 1045 * @see java.sql.ResultSet#updateNull(int) |
1046 */ | 1046 */ |
1047 public void updateNull(int columnIndex) throws SQLException { | 1047 public void updateNull(int columnIndex) throws SQLException { |
1048 } | 1048 } |
1049 | 1049 |
1050 /** | 1050 /** |
1051 * @see java.sql.ResultSet#updateNull(java.lang.String) | 1051 * @see java.sql.ResultSet#updateNull(java.lang.String) |
1052 */ | 1052 */ |
1053 public void updateNull(String columnName) throws SQLException { | 1053 public void updateNull(String columnName) throws SQLException { |
1054 } | 1054 } |
1055 | 1055 |
1056 /** | 1056 /** |
1057 * @see java.sql.ResultSet#updateObject(int, java.lang.Object) | 1057 * @see java.sql.ResultSet#updateObject(int, java.lang.Object) |
1058 */ | 1058 */ |
1059 public void updateObject(int columnIndex, Object x) throws SQLException { | 1059 public void updateObject(int columnIndex, Object x) throws SQLException { |
1060 } | 1060 } |
1061 | 1061 |
1062 /** | 1062 /** |
1063 * @see java.sql.ResultSet#updateObject(java.lang.String, java.lang.Object) | 1063 * @see java.sql.ResultSet#updateObject(java.lang.String, java.lang.Object) |
1064 */ | 1064 */ |
1065 public void updateObject(String columnName, Object x) throws SQLException { | 1065 public void updateObject(String columnName, Object x) throws SQLException { |
1066 } | 1066 } |
1067 | 1067 |
1068 /** | 1068 /** |
1069 * @see java.sql.ResultSet#updateObject(int, java.lang.Object, int) | 1069 * @see java.sql.ResultSet#updateObject(int, java.lang.Object, int) |
1070 */ | 1070 */ |
1071 public void updateObject(int columnIndex, Object x, int scale) | 1071 public void updateObject(int columnIndex, Object x, int scale) |
1072 throws SQLException { | 1072 throws SQLException { |
1073 } | 1073 } |
1074 | 1074 |
1075 /** | 1075 /** |
1076 * @see java.sql.ResultSet#updateObject(java.lang.String, java.lang.Object, | 1076 * @see java.sql.ResultSet#updateObject(java.lang.String, java.lang.Object, |
1077 * int) | 1077 * int) |
1078 */ | 1078 */ |
1079 public void updateObject(String columnName, Object x, int scale) | 1079 public void updateObject(String columnName, Object x, int scale) |
1080 throws SQLException { | 1080 throws SQLException { |
1081 } | 1081 } |
1082 | 1082 |
1083 /** | 1083 /** |
1084 * @see java.sql.ResultSet#updateRef(int, java.sql.Ref) | 1084 * @see java.sql.ResultSet#updateRef(int, java.sql.Ref) |
1085 */ | 1085 */ |
1086 public void updateRef(int columnIndex, Ref x) throws SQLException { | 1086 public void updateRef(int columnIndex, Ref x) throws SQLException { |
1087 } | 1087 } |
1088 | 1088 |
1089 /** | 1089 /** |
1090 * @see java.sql.ResultSet#updateRef(java.lang.String, java.sql.Ref) | 1090 * @see java.sql.ResultSet#updateRef(java.lang.String, java.sql.Ref) |
1091 */ | 1091 */ |
1092 public void updateRef(String columnName, Ref x) throws SQLException { | 1092 public void updateRef(String columnName, Ref x) throws SQLException { |
1093 } | 1093 } |
1094 | 1094 |
1095 /** | 1095 /** |
1096 * @see java.sql.ResultSet#updateRow() | 1096 * @see java.sql.ResultSet#updateRow() |
1097 */ | 1097 */ |
1098 public void updateRow() throws SQLException { | 1098 public void updateRow() throws SQLException { |
1099 } | 1099 } |
1100 | 1100 |
1101 /** | 1101 /** |
1102 * @see java.sql.ResultSet#updateShort(int, short) | 1102 * @see java.sql.ResultSet#updateShort(int, short) |
1103 */ | 1103 */ |
1104 public void updateShort(int columnIndex, short x) throws SQLException { | 1104 public void updateShort(int columnIndex, short x) throws SQLException { |
1105 } | 1105 } |
1106 | 1106 |
1107 /** | 1107 /** |
1108 * @see java.sql.ResultSet#updateShort(java.lang.String, short) | 1108 * @see java.sql.ResultSet#updateShort(java.lang.String, short) |
1109 */ | 1109 */ |
1110 public void updateShort(String columnName, short x) throws SQLException { | 1110 public void updateShort(String columnName, short x) throws SQLException { |
1111 } | 1111 } |
1112 | 1112 |
1113 /** | 1113 /** |
1114 * @see java.sql.ResultSet#updateString(int, java.lang.String) | 1114 * @see java.sql.ResultSet#updateString(int, java.lang.String) |
1115 */ | 1115 */ |
1116 public void updateString(int columnIndex, String x) throws SQLException { | 1116 public void updateString(int columnIndex, String x) throws SQLException { |
1117 } | 1117 } |
1118 | 1118 |
1119 /** | 1119 /** |
1120 * @see java.sql.ResultSet#updateString(java.lang.String, java.lang.String) | 1120 * @see java.sql.ResultSet#updateString(java.lang.String, java.lang.String) |
1121 */ | 1121 */ |
1122 public void updateString(String columnName, String x) throws SQLException { | 1122 public void updateString(String columnName, String x) throws SQLException { |
1123 } | 1123 } |
1124 | 1124 |
1125 /** | 1125 /** |
1126 * @see java.sql.ResultSet#updateTime(int, java.sql.Time) | 1126 * @see java.sql.ResultSet#updateTime(int, java.sql.Time) |
1127 */ | 1127 */ |
1128 public void updateTime(int columnIndex, Time x) throws SQLException { | 1128 public void updateTime(int columnIndex, Time x) throws SQLException { |
1129 } | 1129 } |
1130 | 1130 |
1131 /** | 1131 /** |
1132 * @see java.sql.ResultSet#updateTime(java.lang.String, java.sql.Time) | 1132 * @see java.sql.ResultSet#updateTime(java.lang.String, java.sql.Time) |
1133 */ | 1133 */ |
1134 public void updateTime(String columnName, Time x) throws SQLException { | 1134 public void updateTime(String columnName, Time x) throws SQLException { |
1135 } | 1135 } |
1136 | 1136 |
1137 /** | 1137 /** |
1138 * @see java.sql.ResultSet#updateTimestamp(int, java.sql.Timestamp) | 1138 * @see java.sql.ResultSet#updateTimestamp(int, java.sql.Timestamp) |
1139 */ | 1139 */ |
1140 public void updateTimestamp(int columnIndex, Timestamp x) | 1140 public void updateTimestamp(int columnIndex, Timestamp x) |
1141 throws SQLException { | 1141 throws SQLException { |
1142 } | 1142 } |
1143 | 1143 |
1144 /** | 1144 /** |
1145 * @see java.sql.ResultSet#updateTimestamp(java.lang.String, | 1145 * @see java.sql.ResultSet#updateTimestamp(java.lang.String, |
1146 * java.sql.Timestamp) | 1146 * java.sql.Timestamp) |
1147 */ | 1147 */ |
1148 public void updateTimestamp(String columnName, Timestamp x) | 1148 public void updateTimestamp(String columnName, Timestamp x) |
1149 throws SQLException { | 1149 throws SQLException { |
1150 } | 1150 } |
1151 | 1151 |
1152 /** | 1152 /** |
1153 * @see java.sql.ResultSet#wasNull() | 1153 * @see java.sql.ResultSet#wasNull() |
1154 */ | 1154 */ |
1155 public boolean wasNull() throws SQLException { | 1155 public boolean wasNull() throws SQLException { |
1156 | 1156 |
1157 return false; | 1157 return false; |
1158 } | 1158 } |
1159 | 1159 |
1160 /** | 1160 /** |
1161 * TODO: DOCUMENT ME | 1161 * TODO: DOCUMENT ME |