View Javadoc
1   /*
2    * Copyright 2007 Kasper B. Graversen
3    * 
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    * 
8    *     http://www.apache.org/licenses/LICENSE-2.0
9    * 
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  
17  package org.supercsv.mock;
18  
19  import java.io.InputStream;
20  import java.io.Reader;
21  import java.math.BigDecimal;
22  import java.net.URL;
23  import java.sql.Array;
24  import java.sql.Blob;
25  import java.sql.Clob;
26  import java.sql.Date;
27  import java.sql.NClob;
28  import java.sql.Ref;
29  import java.sql.ResultSet;
30  import java.sql.ResultSetMetaData;
31  import java.sql.RowId;
32  import java.sql.SQLException;
33  import java.sql.SQLWarning;
34  import java.sql.SQLXML;
35  import java.sql.Statement;
36  import java.sql.Time;
37  import java.sql.Timestamp;
38  import java.util.Calendar;
39  import java.util.Map;
40  
41  public class ResultSetMock implements ResultSet {
42  
43  	private int rowIndex = -1; // initial row index of ResultSet shall be before the first row
44  	private Object[][] data;
45  	private ResultSetMetaData meta;
46  		
47  	public ResultSetMock(final Object[][] data, final String[] headers) {
48  		this.data = data;
49  		meta = new ResultSetMetaDataMock(headers);
50  	}
51  	
52  	public Object getObject(int columnIndex) throws SQLException {
53  		columnIndex--; // Column indices in ResultSet are starting from 1
54  		return data[rowIndex][columnIndex];
55  	}
56  		
57  	public boolean next() throws SQLException {
58  		if (rowIndex < (data.length - 1)) {
59  			rowIndex++;
60  			return true;
61  		} else {
62  			return false;
63  		}
64  	} 
65  	
66  	public ResultSetMetaData getMetaData() throws SQLException {
67  		return meta;
68  	}
69  	
70  	/*
71  	 *  ------------------------------------------------------------------------
72  	 *   Unsupported methods follow.
73  	 *   Methods below this line shall only throw UnsupportedOperationException.
74  	 *  ------------------------------------------------------------------------
75  	 */
76  	
77  	public String getNString(int columnIndex) throws SQLException {
78  		throw new UnsupportedOperationException();
79  	}
80  	
81  	public String getString(int columnIndex) throws SQLException {
82  		throw new UnsupportedOperationException();
83  	}
84  	
85  	public <T> T unwrap(Class<T> iface) throws SQLException {
86  		throw new UnsupportedOperationException();
87  	}
88  
89  	public boolean isWrapperFor(Class<?> iface) throws SQLException {
90  		throw new UnsupportedOperationException();
91  	}
92  
93  	public void close() throws SQLException {
94  		throw new UnsupportedOperationException();
95  	}
96  
97  	public boolean wasNull() throws SQLException {
98  		throw new UnsupportedOperationException();
99  	}
100 
101 	public boolean getBoolean(int columnIndex) throws SQLException {
102 		throw new UnsupportedOperationException();
103 	}
104 
105 	public byte getByte(int columnIndex) throws SQLException {
106 		throw new UnsupportedOperationException();
107 	}
108 
109 	public short getShort(int columnIndex) throws SQLException {
110 		throw new UnsupportedOperationException();
111 	}
112 
113 	public int getInt(int columnIndex) throws SQLException {
114 		throw new UnsupportedOperationException();
115 	}
116 
117 	public long getLong(int columnIndex) throws SQLException {
118 		throw new UnsupportedOperationException();
119 	}
120 
121 	public float getFloat(int columnIndex) throws SQLException {
122 		throw new UnsupportedOperationException();
123 	}
124 
125 	public double getDouble(int columnIndex) throws SQLException {
126 		throw new UnsupportedOperationException();
127 	}
128 
129 	public BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException {
130 		throw new UnsupportedOperationException();
131 	}
132 
133 	public byte[] getBytes(int columnIndex) throws SQLException {
134 		throw new UnsupportedOperationException();
135 	}
136 
137 	public Date getDate(int columnIndex) throws SQLException {
138 		throw new UnsupportedOperationException();
139 	}
140 
141 	public Time getTime(int columnIndex) throws SQLException {
142 		throw new UnsupportedOperationException();
143 	}
144 
145 	public Timestamp getTimestamp(int columnIndex) throws SQLException {
146 		throw new UnsupportedOperationException();
147 	}
148 
149 	public InputStream getAsciiStream(int columnIndex) throws SQLException {
150 		throw new UnsupportedOperationException();
151 	}
152 
153 	public InputStream getUnicodeStream(int columnIndex) throws SQLException {
154 		throw new UnsupportedOperationException();
155 	}
156 
157 	public InputStream getBinaryStream(int columnIndex) throws SQLException {
158 		throw new UnsupportedOperationException();
159 	}
160 
161 	public String getString(String columnLabel) throws SQLException {
162 		throw new UnsupportedOperationException();
163 	}
164 
165 	public boolean getBoolean(String columnLabel) throws SQLException {
166 		throw new UnsupportedOperationException();
167 	}
168 
169 	public byte getByte(String columnLabel) throws SQLException {
170 		throw new UnsupportedOperationException();
171 	}
172 
173 	public short getShort(String columnLabel) throws SQLException {
174 		throw new UnsupportedOperationException();
175 	}
176 
177 	public int getInt(String columnLabel) throws SQLException {
178 		throw new UnsupportedOperationException();
179 	}
180 
181 	public long getLong(String columnLabel) throws SQLException {
182 		throw new UnsupportedOperationException();
183 	}
184 
185 	public float getFloat(String columnLabel) throws SQLException {
186 		throw new UnsupportedOperationException();
187 	}
188 
189 	public double getDouble(String columnLabel) throws SQLException {
190 		throw new UnsupportedOperationException();
191 	}
192 
193 	public BigDecimal getBigDecimal(String columnLabel, int scale) throws SQLException {
194 		throw new UnsupportedOperationException();
195 	}
196 
197 	public byte[] getBytes(String columnLabel) throws SQLException {
198 		throw new UnsupportedOperationException();
199 	}
200 
201 	public Date getDate(String columnLabel) throws SQLException {
202 		throw new UnsupportedOperationException();
203 	}
204 
205 	public Time getTime(String columnLabel) throws SQLException {
206 		throw new UnsupportedOperationException();
207 	}
208 
209 	public Timestamp getTimestamp(String columnLabel) throws SQLException {
210 		throw new UnsupportedOperationException();
211 	}
212 
213 	public InputStream getAsciiStream(String columnLabel) throws SQLException {
214 		throw new UnsupportedOperationException();
215 	}
216 
217 	public InputStream getUnicodeStream(String columnLabel) throws SQLException {
218 		throw new UnsupportedOperationException();
219 	}
220 
221 	public InputStream getBinaryStream(String columnLabel) throws SQLException {
222 		throw new UnsupportedOperationException();
223 	}
224 
225 	public SQLWarning getWarnings() throws SQLException {
226 		throw new UnsupportedOperationException();
227 	}
228 
229 	public void clearWarnings() throws SQLException {
230 		throw new UnsupportedOperationException();
231 	}
232 
233 	public String getCursorName() throws SQLException {
234 		throw new UnsupportedOperationException();
235 	}
236 
237 	public Object getObject(String columnLabel) throws SQLException {
238 		throw new UnsupportedOperationException();
239 	}
240 
241 	public int findColumn(String columnLabel) throws SQLException {
242 		throw new UnsupportedOperationException();
243 	}
244 
245 	public Reader getCharacterStream(int columnIndex) throws SQLException {
246 		throw new UnsupportedOperationException();
247 	}
248 
249 	public Reader getCharacterStream(String columnLabel) throws SQLException {
250 		throw new UnsupportedOperationException();
251 	}
252 
253 	public BigDecimal getBigDecimal(int columnIndex) throws SQLException {
254 		throw new UnsupportedOperationException();
255 	}
256 
257 	public BigDecimal getBigDecimal(String columnLabel) throws SQLException {
258 		throw new UnsupportedOperationException();
259 	}
260 
261 	public boolean isBeforeFirst() throws SQLException {
262 		throw new UnsupportedOperationException();
263 	}
264 
265 	public boolean isAfterLast() throws SQLException {
266 		throw new UnsupportedOperationException();
267 	}
268 
269 	public boolean isFirst() throws SQLException {
270 		throw new UnsupportedOperationException();
271 	}
272 
273 	public boolean isLast() throws SQLException {
274 		throw new UnsupportedOperationException();
275 	}
276 
277 	public void beforeFirst() throws SQLException {
278 		throw new UnsupportedOperationException();
279 		
280 	}
281 
282 	public void afterLast() throws SQLException {
283 		throw new UnsupportedOperationException();
284 		
285 	}
286 
287 	public boolean first() throws SQLException {
288 		throw new UnsupportedOperationException();
289 	}
290 
291 	public boolean last() throws SQLException {
292 		throw new UnsupportedOperationException();
293 	}
294 
295 	public int getRow() throws SQLException {
296 		throw new UnsupportedOperationException();
297 	}
298 
299 	public boolean absolute(int row) throws SQLException {
300 		throw new UnsupportedOperationException();
301 	}
302 
303 	public boolean relative(int rows) throws SQLException {
304 		throw new UnsupportedOperationException();
305 	}
306 
307 	public boolean previous() throws SQLException {
308 		throw new UnsupportedOperationException();
309 	}
310 
311 	public void setFetchDirection(int direction) throws SQLException {
312 		throw new UnsupportedOperationException();
313 		
314 	}
315 
316 	public int getFetchDirection() throws SQLException {
317 		throw new UnsupportedOperationException();
318 	}
319 
320 	public void setFetchSize(int rows) throws SQLException {
321 		throw new UnsupportedOperationException();
322 		
323 	}
324 
325 	public int getFetchSize() throws SQLException {
326 		throw new UnsupportedOperationException();
327 	}
328 
329 	public int getType() throws SQLException {
330 		throw new UnsupportedOperationException();
331 	}
332 
333 	public int getConcurrency() throws SQLException {
334 		throw new UnsupportedOperationException();
335 	}
336 
337 	public boolean rowUpdated() throws SQLException {
338 		throw new UnsupportedOperationException();
339 	}
340 
341 	public boolean rowInserted() throws SQLException {
342 		throw new UnsupportedOperationException();
343 	}
344 
345 	public boolean rowDeleted() throws SQLException {
346 		throw new UnsupportedOperationException();
347 	}
348 
349 	public void updateNull(int columnIndex) throws SQLException {
350 		throw new UnsupportedOperationException();
351 		
352 	}
353 
354 	public void updateBoolean(int columnIndex, boolean x) throws SQLException {
355 		throw new UnsupportedOperationException();
356 		
357 	}
358 
359 	public void updateByte(int columnIndex, byte x) throws SQLException {
360 		throw new UnsupportedOperationException();
361 		
362 	}
363 
364 	public void updateShort(int columnIndex, short x) throws SQLException {
365 		throw new UnsupportedOperationException();
366 		
367 	}
368 
369 	public void updateInt(int columnIndex, int x) throws SQLException {
370 		throw new UnsupportedOperationException();
371 		
372 	}
373 
374 	public void updateLong(int columnIndex, long x) throws SQLException {
375 		throw new UnsupportedOperationException();
376 		
377 	}
378 
379 	public void updateFloat(int columnIndex, float x) throws SQLException {
380 		throw new UnsupportedOperationException();
381 		
382 	}
383 
384 	public void updateDouble(int columnIndex, double x) throws SQLException {
385 		throw new UnsupportedOperationException();
386 		
387 	}
388 
389 	public void updateBigDecimal(int columnIndex, BigDecimal x) throws SQLException {
390 		throw new UnsupportedOperationException();
391 		
392 	}
393 
394 	public void updateString(int columnIndex, String x) throws SQLException {
395 		throw new UnsupportedOperationException();
396 		
397 	}
398 
399 	public void updateBytes(int columnIndex, byte[] x) throws SQLException {
400 		throw new UnsupportedOperationException();
401 		
402 	}
403 
404 	public void updateDate(int columnIndex, Date x) throws SQLException {
405 		throw new UnsupportedOperationException();
406 		
407 	}
408 
409 	public void updateTime(int columnIndex, Time x) throws SQLException {
410 		throw new UnsupportedOperationException();
411 		
412 	}
413 
414 	public void updateTimestamp(int columnIndex, Timestamp x) throws SQLException {
415 		throw new UnsupportedOperationException();
416 		
417 	}
418 
419 	public void updateAsciiStream(int columnIndex, InputStream x, int length) throws SQLException {
420 		throw new UnsupportedOperationException();
421 		
422 	}
423 
424 	public void updateBinaryStream(int columnIndex, InputStream x, int length) throws SQLException {
425 		throw new UnsupportedOperationException();
426 		
427 	}
428 
429 	public void updateCharacterStream(int columnIndex, Reader x, int length) throws SQLException {
430 		throw new UnsupportedOperationException();
431 		
432 	}
433 
434 	public void updateObject(int columnIndex, Object x, int scaleOrLength) throws SQLException {
435 		throw new UnsupportedOperationException();
436 		
437 	}
438 
439 	public void updateObject(int columnIndex, Object x) throws SQLException {
440 		throw new UnsupportedOperationException();
441 		
442 	}
443 
444 	public void updateNull(String columnLabel) throws SQLException {
445 		throw new UnsupportedOperationException();
446 		
447 	}
448 
449 	public void updateBoolean(String columnLabel, boolean x) throws SQLException {
450 		throw new UnsupportedOperationException();
451 		
452 	}
453 
454 	public void updateByte(String columnLabel, byte x) throws SQLException {
455 		throw new UnsupportedOperationException();
456 		
457 	}
458 
459 	public void updateShort(String columnLabel, short x) throws SQLException {
460 		throw new UnsupportedOperationException();
461 		
462 	}
463 
464 	public void updateInt(String columnLabel, int x) throws SQLException {
465 		throw new UnsupportedOperationException();
466 		
467 	}
468 
469 	public void updateLong(String columnLabel, long x) throws SQLException {
470 		throw new UnsupportedOperationException();
471 		
472 	}
473 
474 	public void updateFloat(String columnLabel, float x) throws SQLException {
475 		throw new UnsupportedOperationException();
476 		
477 	}
478 
479 	public void updateDouble(String columnLabel, double x) throws SQLException {
480 		throw new UnsupportedOperationException();
481 		
482 	}
483 
484 	public void updateBigDecimal(String columnLabel, BigDecimal x) throws SQLException {
485 		throw new UnsupportedOperationException();
486 		
487 	}
488 
489 	public void updateString(String columnLabel, String x) throws SQLException {
490 		throw new UnsupportedOperationException();
491 		
492 	}
493 
494 	public void updateBytes(String columnLabel, byte[] x) throws SQLException {
495 		throw new UnsupportedOperationException();
496 		
497 	}
498 
499 	public void updateDate(String columnLabel, Date x) throws SQLException {
500 		throw new UnsupportedOperationException();
501 		
502 	}
503 
504 	public void updateTime(String columnLabel, Time x) throws SQLException {
505 		throw new UnsupportedOperationException();
506 		
507 	}
508 
509 	public void updateTimestamp(String columnLabel, Timestamp x) throws SQLException {
510 		throw new UnsupportedOperationException();
511 		
512 	}
513 
514 	public void updateAsciiStream(String columnLabel, InputStream x, int length) throws SQLException {
515 		throw new UnsupportedOperationException();
516 		
517 	}
518 
519 	public void updateBinaryStream(String columnLabel, InputStream x, int length) throws SQLException {
520 		throw new UnsupportedOperationException();
521 		
522 	}
523 
524 	public void updateCharacterStream(String columnLabel, Reader reader, int length) throws SQLException {
525 		throw new UnsupportedOperationException();
526 		
527 	}
528 
529 	public void updateObject(String columnLabel, Object x, int scaleOrLength) throws SQLException {
530 		throw new UnsupportedOperationException();
531 		
532 	}
533 
534 	public void updateObject(String columnLabel, Object x) throws SQLException {
535 		throw new UnsupportedOperationException();
536 		
537 	}
538 
539 	public void insertRow() throws SQLException {
540 		throw new UnsupportedOperationException();
541 		
542 	}
543 
544 	public void updateRow() throws SQLException {
545 		throw new UnsupportedOperationException();
546 		
547 	}
548 
549 	public void deleteRow() throws SQLException {
550 		throw new UnsupportedOperationException();
551 		
552 	}
553 
554 	public void refreshRow() throws SQLException {
555 		throw new UnsupportedOperationException();
556 		
557 	}
558 
559 	public void cancelRowUpdates() throws SQLException {
560 		throw new UnsupportedOperationException();
561 		
562 	}
563 
564 	public void moveToInsertRow() throws SQLException {
565 		throw new UnsupportedOperationException();
566 		
567 	}
568 
569 	public void moveToCurrentRow() throws SQLException {
570 		throw new UnsupportedOperationException();
571 	}
572 
573 	public Statement getStatement() throws SQLException {
574 		throw new UnsupportedOperationException();
575 	}
576 
577 	public Object getObject(int columnIndex, Map<String, Class<?>> map) throws SQLException {
578 		throw new UnsupportedOperationException();
579 	}
580 
581 	public Ref getRef(int columnIndex) throws SQLException {
582 		throw new UnsupportedOperationException();
583 	}
584 
585 	public Blob getBlob(int columnIndex) throws SQLException {
586 		throw new UnsupportedOperationException();
587 	}
588 
589 	public Clob getClob(int columnIndex) throws SQLException {
590 		throw new UnsupportedOperationException();
591 	}
592 
593 	public Array getArray(int columnIndex) throws SQLException {
594 		throw new UnsupportedOperationException();
595 	}
596 
597 	public Object getObject(String columnLabel, Map<String, Class<?>> map) throws SQLException {
598 		throw new UnsupportedOperationException();
599 	}
600 
601 	public Ref getRef(String columnLabel) throws SQLException {
602 		throw new UnsupportedOperationException();
603 	}
604 
605 	public Blob getBlob(String columnLabel) throws SQLException {
606 		throw new UnsupportedOperationException();
607 	}
608 
609 	public Clob getClob(String columnLabel) throws SQLException {
610 		throw new UnsupportedOperationException();
611 	}
612 
613 	public Array getArray(String columnLabel) throws SQLException {
614 		throw new UnsupportedOperationException();
615 	}
616 
617 	public Date getDate(int columnIndex, Calendar cal) throws SQLException {
618 		throw new UnsupportedOperationException();
619 	}
620 
621 	public Date getDate(String columnLabel, Calendar cal) throws SQLException {
622 		throw new UnsupportedOperationException();
623 	}
624 
625 	public Time getTime(int columnIndex, Calendar cal) throws SQLException {
626 		throw new UnsupportedOperationException();
627 	}
628 
629 	public Time getTime(String columnLabel, Calendar cal) throws SQLException {
630 		throw new UnsupportedOperationException();
631 	}
632 
633 	public Timestamp getTimestamp(int columnIndex, Calendar cal) throws SQLException {
634 		throw new UnsupportedOperationException();
635 	}
636 
637 	public Timestamp getTimestamp(String columnLabel, Calendar cal) throws SQLException {
638 		throw new UnsupportedOperationException();
639 	}
640 
641 	public URL getURL(int columnIndex) throws SQLException {
642 		throw new UnsupportedOperationException();
643 	}
644 
645 	public URL getURL(String columnLabel) throws SQLException {
646 		throw new UnsupportedOperationException();
647 	}
648 
649 	public void updateRef(int columnIndex, Ref x) throws SQLException {
650 		throw new UnsupportedOperationException();
651 		
652 	}
653 
654 	public void updateRef(String columnLabel, Ref x) throws SQLException {
655 		throw new UnsupportedOperationException();
656 		
657 	}
658 
659 	public void updateBlob(int columnIndex, Blob x) throws SQLException {
660 		throw new UnsupportedOperationException();
661 		
662 	}
663 
664 	public void updateBlob(String columnLabel, Blob x) throws SQLException {
665 		throw new UnsupportedOperationException();
666 		
667 	}
668 
669 	public void updateClob(int columnIndex, Clob x) throws SQLException {
670 		throw new UnsupportedOperationException();
671 		
672 	}
673 
674 	public void updateClob(String columnLabel, Clob x) throws SQLException {
675 		throw new UnsupportedOperationException();
676 		
677 	}
678 
679 	public void updateArray(int columnIndex, Array x) throws SQLException {
680 		throw new UnsupportedOperationException();
681 		
682 	}
683 
684 	public void updateArray(String columnLabel, Array x) throws SQLException {
685 		throw new UnsupportedOperationException();
686 		
687 	}
688 
689 	public RowId getRowId(int columnIndex) throws SQLException {
690 		throw new UnsupportedOperationException();
691 	}
692 
693 	public RowId getRowId(String columnLabel) throws SQLException {
694 		throw new UnsupportedOperationException();
695 	}
696 
697 	public void updateRowId(int columnIndex, RowId x) throws SQLException {
698 		throw new UnsupportedOperationException();
699 		
700 	}
701 
702 	public void updateRowId(String columnLabel, RowId x) throws SQLException {
703 		throw new UnsupportedOperationException();
704 		
705 	}
706 
707 	public int getHoldability() throws SQLException {
708 		throw new UnsupportedOperationException();
709 	}
710 
711 	public boolean isClosed() throws SQLException {
712 		throw new UnsupportedOperationException();
713 	}
714 
715 	public void updateNString(int columnIndex, String nString) throws SQLException {
716 		throw new UnsupportedOperationException();
717 		
718 	}
719 
720 	public void updateNString(String columnLabel, String nString) throws SQLException {
721 		throw new UnsupportedOperationException();
722 		
723 	}
724 
725 	public void updateNClob(int columnIndex, NClob nClob) throws SQLException {
726 		throw new UnsupportedOperationException();
727 		
728 	}
729 
730 	public void updateNClob(String columnLabel, NClob nClob) throws SQLException {
731 		throw new UnsupportedOperationException();
732 		
733 	}
734 
735 	public NClob getNClob(int columnIndex) throws SQLException {
736 		throw new UnsupportedOperationException();
737 	}
738 
739 	public NClob getNClob(String columnLabel) throws SQLException {
740 		throw new UnsupportedOperationException();
741 	}
742 
743 	public SQLXML getSQLXML(int columnIndex) throws SQLException {
744 		throw new UnsupportedOperationException();
745 	}
746 
747 	public SQLXML getSQLXML(String columnLabel) throws SQLException {
748 		throw new UnsupportedOperationException();
749 	}
750 
751 	public void updateSQLXML(int columnIndex, SQLXML xmlObject) throws SQLException {
752 		throw new UnsupportedOperationException();
753 		
754 	}
755 
756 	public void updateSQLXML(String columnLabel, SQLXML xmlObject) throws SQLException {
757 		throw new UnsupportedOperationException();
758 		
759 	}
760 
761 	public String getNString(String columnLabel) throws SQLException {
762 		throw new UnsupportedOperationException();
763 	}
764 
765 	public Reader getNCharacterStream(int columnIndex) throws SQLException {
766 		throw new UnsupportedOperationException();
767 	}
768 
769 	public Reader getNCharacterStream(String columnLabel) throws SQLException {
770 		throw new UnsupportedOperationException();
771 	}
772 
773 	public void updateNCharacterStream(int columnIndex, Reader x, long length) throws SQLException {
774 		throw new UnsupportedOperationException();
775 		
776 	}
777 
778 	public void updateNCharacterStream(String columnLabel, Reader reader, long length) throws SQLException {
779 		throw new UnsupportedOperationException();
780 		
781 	}
782 
783 	public void updateAsciiStream(int columnIndex, InputStream x, long length) throws SQLException {
784 		throw new UnsupportedOperationException();
785 		
786 	}
787 
788 	public void updateBinaryStream(int columnIndex, InputStream x, long length) throws SQLException {
789 		throw new UnsupportedOperationException();
790 		
791 	}
792 
793 	public void updateCharacterStream(int columnIndex, Reader x, long length) throws SQLException {
794 		throw new UnsupportedOperationException();
795 		
796 	}
797 
798 	public void updateAsciiStream(String columnLabel, InputStream x, long length) throws SQLException {
799 		throw new UnsupportedOperationException();
800 		
801 	}
802 
803 	public void updateBinaryStream(String columnLabel, InputStream x, long length) throws SQLException {
804 		throw new UnsupportedOperationException();
805 		
806 	}
807 
808 	public void updateCharacterStream(String columnLabel, Reader reader, long length) throws SQLException {
809 		throw new UnsupportedOperationException();
810 		
811 	}
812 
813 	public void updateBlob(int columnIndex, InputStream inputStream, long length) throws SQLException {
814 		throw new UnsupportedOperationException();
815 		
816 	}
817 
818 	public void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException {
819 		throw new UnsupportedOperationException();
820 		
821 	}
822 
823 	public void updateClob(int columnIndex, Reader reader, long length) throws SQLException {
824 		throw new UnsupportedOperationException();
825 		
826 	}
827 
828 	public void updateClob(String columnLabel, Reader reader, long length) throws SQLException {
829 		throw new UnsupportedOperationException();
830 		
831 	}
832 
833 	public void updateNClob(int columnIndex, Reader reader, long length) throws SQLException {
834 		throw new UnsupportedOperationException();
835 		
836 	}
837 
838 	public void updateNClob(String columnLabel, Reader reader, long length) throws SQLException {
839 		throw new UnsupportedOperationException();
840 		
841 	}
842 
843 	public void updateNCharacterStream(int columnIndex, Reader x) throws SQLException {
844 		throw new UnsupportedOperationException();
845 		
846 	}
847 
848 	public void updateNCharacterStream(String columnLabel, Reader reader) throws SQLException {
849 		throw new UnsupportedOperationException();
850 		
851 	}
852 
853 	public void updateAsciiStream(int columnIndex, InputStream x) throws SQLException {
854 		throw new UnsupportedOperationException();
855 		
856 	}
857 
858 	public void updateBinaryStream(int columnIndex, InputStream x) throws SQLException {
859 		throw new UnsupportedOperationException();
860 		
861 	}
862 
863 	public void updateCharacterStream(int columnIndex, Reader x) throws SQLException {
864 		throw new UnsupportedOperationException();
865 		
866 	}
867 
868 	public void updateAsciiStream(String columnLabel, InputStream x) throws SQLException {
869 		throw new UnsupportedOperationException();
870 		
871 	}
872 
873 	public void updateBinaryStream(String columnLabel, InputStream x) throws SQLException {
874 		throw new UnsupportedOperationException();
875 		
876 	}
877 
878 	public void updateCharacterStream(String columnLabel, Reader reader) throws SQLException {
879 		throw new UnsupportedOperationException();
880 		
881 	}
882 
883 	public void updateBlob(int columnIndex, InputStream inputStream) throws SQLException {
884 		throw new UnsupportedOperationException();
885 		
886 	}
887 
888 	public void updateBlob(String columnLabel, InputStream inputStream) throws SQLException {
889 		throw new UnsupportedOperationException();
890 		
891 	}
892 
893 	public void updateClob(int columnIndex, Reader reader) throws SQLException {
894 		throw new UnsupportedOperationException();
895 		
896 	}
897 
898 	public void updateClob(String columnLabel, Reader reader) throws SQLException {
899 		throw new UnsupportedOperationException();
900 		
901 	}
902 
903 	public void updateNClob(int columnIndex, Reader reader) throws SQLException {
904 		throw new UnsupportedOperationException();
905 		
906 	}
907 
908 	public void updateNClob(String columnLabel, Reader reader) throws SQLException {
909 		throw new UnsupportedOperationException();
910 		
911 	}
912 
913 	public <T> T getObject(int columnIndex, Class<T> type) throws SQLException {
914 		throw new UnsupportedOperationException();
915 	}
916 
917 	public <T> T getObject(String columnLabel, Class<T> type) throws SQLException {
918 		throw new UnsupportedOperationException();
919 	}
920 	
921 }