Add "Describe" command, with support for describing both (a) specific table(s) and...
[squelch.git] / src / test / java / net / jaekl / squelch / sql / ResultSetMock.java
1 package net.jaekl.squelch.sql;
2
3 import java.io.InputStream;
4 import java.io.Reader;
5 import java.math.BigDecimal;
6 import java.net.URL;
7 import java.sql.Array;
8 import java.sql.Blob;
9 import java.sql.Clob;
10 import java.sql.Date;
11 import java.sql.NClob;
12 import java.sql.Ref;
13 import java.sql.ResultSet;
14 import java.sql.ResultSetMetaData;
15 import java.sql.RowId;
16 import java.sql.SQLException;
17 import java.sql.SQLWarning;
18 import java.sql.SQLXML;
19 import java.sql.Statement;
20 import java.sql.Time;
21 import java.sql.Timestamp;
22 import java.util.ArrayList;
23 import java.util.Calendar;
24 import java.util.Map;
25
26
27 public class ResultSetMock implements ResultSet {
28         private ResultSetMetaDataMock mock_metaDataMock;
29         private ArrayList<Row> mock_rows;
30         private int mock_rowIdx;
31         
32         public ResultSetMock() {
33                 mock_metaDataMock = new ResultSetMetaDataMock();
34                 mock_rows = new ArrayList<Row>();
35                 mock_rowIdx = -1;
36         }
37         
38         public void mock_addRow(Row row) {
39                 mock_rows.add(row);
40         }
41         
42         public void mock_addRows(Row[] rows) {
43                 for (Row row : rows) {
44                         mock_addRow(row);
45                 }
46         }
47
48         @Override
49         public boolean isWrapperFor(Class<?> iface) throws SQLException {
50                 throw new UnsupportedOperationException("Not yet implemented.");
51                 
52         }
53
54         @Override
55         public <T> T unwrap(Class<T> iface) throws SQLException {
56                 throw new UnsupportedOperationException("Not yet implemented.");
57                 
58         }
59
60         @Override
61         public boolean absolute(int arg0) throws SQLException {
62                 throw new UnsupportedOperationException("Not yet implemented.");
63                 
64         }
65
66         @Override
67         public void afterLast() throws SQLException {
68                 throw new UnsupportedOperationException("Not yet implemented.");
69
70         }
71
72         @Override
73         public void beforeFirst() throws SQLException {
74                 throw new UnsupportedOperationException("Not yet implemented.");
75
76         }
77
78         @Override
79         public void cancelRowUpdates() throws SQLException {
80                 throw new UnsupportedOperationException("Not yet implemented.");
81
82         }
83
84         @Override
85         public void clearWarnings() throws SQLException {
86                 throw new UnsupportedOperationException("Not yet implemented.");
87
88         }
89
90         @Override
91         public void close() throws SQLException {
92                 // no-op
93         }
94
95         @Override
96         public void deleteRow() throws SQLException {
97                 throw new UnsupportedOperationException("Not yet implemented.");
98
99         }
100
101         @Override
102         public int findColumn(String arg0) throws SQLException {
103                 throw new UnsupportedOperationException("Not yet implemented.");
104                 
105         }
106
107         @Override
108         public boolean first() throws SQLException {
109                 throw new UnsupportedOperationException("Not yet implemented.");
110                 
111         }
112
113         @Override
114         public Array getArray(int arg0) throws SQLException {
115                 throw new UnsupportedOperationException("Not yet implemented.");
116                 
117         }
118
119         @Override
120         public Array getArray(String arg0) throws SQLException {
121                 throw new UnsupportedOperationException("Not yet implemented.");
122                 
123         }
124
125         @Override
126         public InputStream getAsciiStream(int arg0) throws SQLException {
127                 throw new UnsupportedOperationException("Not yet implemented.");
128                 
129         }
130
131         @Override
132         public InputStream getAsciiStream(String arg0) throws SQLException {
133                 throw new UnsupportedOperationException("Not yet implemented.");
134                 
135         }
136
137         @Override
138         public BigDecimal getBigDecimal(int arg0) throws SQLException {
139                 throw new UnsupportedOperationException("Not yet implemented.");
140                 
141         }
142
143         @Override
144         public BigDecimal getBigDecimal(String arg0) throws SQLException {
145                 throw new UnsupportedOperationException("Not yet implemented.");
146                 
147         }
148
149         @Deprecated
150         @Override
151         public BigDecimal getBigDecimal(int arg0, int arg1) throws SQLException {
152                 throw new UnsupportedOperationException("Not yet implemented.");
153                 
154         }
155
156         @Deprecated
157         @Override
158         public BigDecimal getBigDecimal(String arg0, int arg1) throws SQLException {
159                 throw new UnsupportedOperationException("Not yet implemented.");
160                 
161         }
162
163         @Override
164         public InputStream getBinaryStream(int arg0) throws SQLException {
165                 throw new UnsupportedOperationException("Not yet implemented.");
166                 
167         }
168
169         @Override
170         public InputStream getBinaryStream(String arg0) throws SQLException {
171                 throw new UnsupportedOperationException("Not yet implemented.");
172                 
173         }
174
175         @Override
176         public Blob getBlob(int arg0) throws SQLException {
177                 throw new UnsupportedOperationException("Not yet implemented.");
178                 
179         }
180
181         @Override
182         public Blob getBlob(String arg0) throws SQLException {
183                 throw new UnsupportedOperationException("Not yet implemented.");
184                 
185         }
186
187         @Override
188         public boolean getBoolean(int arg0) throws SQLException {
189                 throw new UnsupportedOperationException("Not yet implemented.");
190                 
191         }
192
193         @Override
194         public boolean getBoolean(String arg0) throws SQLException {
195                 throw new UnsupportedOperationException("Not yet implemented.");
196                 
197         }
198
199         @Override
200         public byte getByte(int arg0) throws SQLException {
201                 throw new UnsupportedOperationException("Not yet implemented.");
202                 
203         }
204
205         @Override
206         public byte getByte(String arg0) throws SQLException {
207                 throw new UnsupportedOperationException("Not yet implemented.");
208                 
209         }
210
211         @Override
212         public byte[] getBytes(int arg0) throws SQLException {
213                 throw new UnsupportedOperationException("Not yet implemented.");
214                 
215         }
216
217         @Override
218         public byte[] getBytes(String arg0) throws SQLException {
219                 throw new UnsupportedOperationException("Not yet implemented.");
220                 
221         }
222
223         @Override
224         public Reader getCharacterStream(int arg0) throws SQLException {
225                 throw new UnsupportedOperationException("Not yet implemented.");
226                 
227         }
228
229         @Override
230         public Reader getCharacterStream(String arg0) throws SQLException {
231                 throw new UnsupportedOperationException("Not yet implemented.");
232                 
233         }
234
235         @Override
236         public Clob getClob(int arg0) throws SQLException {
237                 throw new UnsupportedOperationException("Not yet implemented.");
238                 
239         }
240
241         @Override
242         public Clob getClob(String arg0) throws SQLException {
243                 throw new UnsupportedOperationException("Not yet implemented.");
244                 
245         }
246
247         @Override
248         public int getConcurrency() throws SQLException {
249                 throw new UnsupportedOperationException("Not yet implemented.");
250                 
251         }
252
253         @Override
254         public String getCursorName() throws SQLException {
255                 throw new UnsupportedOperationException("Not yet implemented.");
256                 
257         }
258
259         @Override
260         public Date getDate(int arg0) throws SQLException {
261                 throw new UnsupportedOperationException("Not yet implemented.");
262                 
263         }
264
265         @Override
266         public Date getDate(String arg0) throws SQLException {
267                 throw new UnsupportedOperationException("Not yet implemented.");
268                 
269         }
270
271         @Override
272         public Date getDate(int arg0, Calendar arg1) throws SQLException {
273                 throw new UnsupportedOperationException("Not yet implemented.");
274                 
275         }
276
277         @Override
278         public Date getDate(String arg0, Calendar arg1) throws SQLException {
279                 throw new UnsupportedOperationException("Not yet implemented.");
280                 
281         }
282
283         @Override
284         public double getDouble(int arg0) throws SQLException {
285                 throw new UnsupportedOperationException("Not yet implemented.");
286                 
287         }
288
289         @Override
290         public double getDouble(String arg0) throws SQLException {
291                 throw new UnsupportedOperationException("Not yet implemented.");
292                 
293         }
294
295         @Override
296         public int getFetchDirection() throws SQLException {
297                 throw new UnsupportedOperationException("Not yet implemented.");
298                 
299         }
300
301         @Override
302         public int getFetchSize() throws SQLException {
303                 throw new UnsupportedOperationException("Not yet implemented.");
304                 
305         }
306
307         @Override
308         public float getFloat(int arg0) throws SQLException {
309                 throw new UnsupportedOperationException("Not yet implemented.");
310                 
311         }
312
313         @Override
314         public float getFloat(String arg0) throws SQLException {
315                 throw new UnsupportedOperationException("Not yet implemented.");
316                 
317         }
318
319         @Override
320         public int getHoldability() throws SQLException {
321                 throw new UnsupportedOperationException("Not yet implemented.");
322                 
323         }
324
325         @Override
326         public int getInt(int idx) throws SQLException {
327                 Row row = mock_rows.get(mock_rowIdx);
328                 Object obj = row.getValue(idx);
329                 if (null == obj) {
330                         return 0;
331                 }
332                 if (obj instanceof Number) {
333                         Number num = (Number)obj;
334                         return num.intValue();
335                 }
336                 throw new SQLException("Invalid type");
337         }
338
339         @Override
340         public int getInt(String arg0) throws SQLException {
341                 throw new UnsupportedOperationException("Not yet implemented.");
342                 
343         }
344
345         @Override
346         public long getLong(int idx) throws SQLException {
347                 Row row = mock_rows.get(mock_rowIdx);
348                 return (Long)(row.getValue(idx));
349         }
350
351         @Override
352         public long getLong(String arg0) throws SQLException {
353                 throw new UnsupportedOperationException("Not yet implemented.");
354                 
355         }
356
357         @Override
358         public ResultSetMetaData getMetaData() throws SQLException {
359                 return mock_metaDataMock;
360         }
361
362         @Override
363         public Reader getNCharacterStream(int arg0) throws SQLException {
364                 throw new UnsupportedOperationException("Not yet implemented.");
365                 
366         }
367
368         @Override
369         public Reader getNCharacterStream(String arg0) throws SQLException {
370                 throw new UnsupportedOperationException("Not yet implemented.");
371                 
372         }
373
374         @Override
375         public NClob getNClob(int arg0) throws SQLException {
376                 throw new UnsupportedOperationException("Not yet implemented.");
377                 
378         }
379
380         @Override
381         public NClob getNClob(String arg0) throws SQLException {
382                 throw new UnsupportedOperationException("Not yet implemented.");
383                 
384         }
385
386         @Override
387         public String getNString(int arg0) throws SQLException {
388                 throw new UnsupportedOperationException("Not yet implemented.");
389                 
390         }
391
392         @Override
393         public String getNString(String arg0) throws SQLException {
394                 throw new UnsupportedOperationException("Not yet implemented.");
395                 
396         }
397
398         @Override
399         public Object getObject(int idx) throws SQLException {
400                 Row row = mock_rows.get(mock_rowIdx);
401                 return row.getValue(idx);
402         }
403
404         @Override
405         public Object getObject(String arg0) throws SQLException {
406                 throw new UnsupportedOperationException("Not yet implemented.");
407                 
408         }
409
410         @Override
411         public Object getObject(int arg0, Map<String, Class<?>> arg1)
412                         throws SQLException {
413                 throw new UnsupportedOperationException("Not yet implemented.");
414                 
415         }
416
417         @Override
418         public Object getObject(String arg0, Map<String, Class<?>> arg1)
419                         throws SQLException {
420                 throw new UnsupportedOperationException("Not yet implemented.");
421                 
422         }
423
424         @Override
425         public <T> T getObject(int arg0, Class<T> arg1) throws SQLException {
426                 throw new UnsupportedOperationException("Not yet implemented.");
427                 
428         }
429
430         @Override
431         public <T> T getObject(String arg0, Class<T> arg1) throws SQLException {
432                 throw new UnsupportedOperationException("Not yet implemented.");
433                 
434         }
435
436         @Override
437         public Ref getRef(int arg0) throws SQLException {
438                 throw new UnsupportedOperationException("Not yet implemented.");
439                 
440         }
441
442         @Override
443         public Ref getRef(String arg0) throws SQLException {
444                 throw new UnsupportedOperationException("Not yet implemented.");
445                 
446         }
447
448         @Override
449         public int getRow() throws SQLException {
450                 throw new UnsupportedOperationException("Not yet implemented.");
451                 
452         }
453
454         @Override
455         public RowId getRowId(int arg0) throws SQLException {
456                 throw new UnsupportedOperationException("Not yet implemented.");
457                 
458         }
459
460         @Override
461         public RowId getRowId(String arg0) throws SQLException {
462                 throw new UnsupportedOperationException("Not yet implemented.");
463                 
464         }
465
466         @Override
467         public SQLXML getSQLXML(int arg0) throws SQLException {
468                 throw new UnsupportedOperationException("Not yet implemented.");
469                 
470         }
471
472         @Override
473         public SQLXML getSQLXML(String arg0) throws SQLException {
474                 throw new UnsupportedOperationException("Not yet implemented.");
475                 
476         }
477
478         @Override
479         public short getShort(int arg0) throws SQLException {
480                 throw new UnsupportedOperationException("Not yet implemented.");
481                 
482         }
483
484         @Override
485         public short getShort(String arg0) throws SQLException {
486                 throw new UnsupportedOperationException("Not yet implemented.");
487                 
488         }
489
490         @Override
491         public Statement getStatement() throws SQLException {
492                 throw new UnsupportedOperationException("Not yet implemented.");
493                 
494         }
495
496         @Override
497         public String getString(int idx) throws SQLException {
498                 Row row = mock_rows.get(mock_rowIdx);
499                 return (String)(row.getValue(idx));
500         }
501
502         @Override
503         public String getString(String arg0) throws SQLException {
504                 throw new UnsupportedOperationException("Not yet implemented.");
505                 
506         }
507
508         @Override
509         public Time getTime(int idx) throws SQLException {
510                 Row row = mock_rows.get(mock_rowIdx);
511                 return new Time(((java.util.Date)row.getValue(idx)).getTime());
512         }
513
514         @Override
515         public Time getTime(String arg0) throws SQLException {
516                 throw new UnsupportedOperationException("Not yet implemented.");
517                 
518         }
519
520         @Override
521         public Time getTime(int arg0, Calendar arg1) throws SQLException {
522                 throw new UnsupportedOperationException("Not yet implemented.");
523                 
524         }
525
526         @Override
527         public Time getTime(String arg0, Calendar arg1) throws SQLException {
528                 throw new UnsupportedOperationException("Not yet implemented.");
529                 
530         }
531
532         @Override
533         public Timestamp getTimestamp(int arg0) throws SQLException {
534                 throw new UnsupportedOperationException("Not yet implemented.");
535                 
536         }
537
538         @Override
539         public Timestamp getTimestamp(String arg0) throws SQLException {
540                 throw new UnsupportedOperationException("Not yet implemented.");
541                 
542         }
543
544         @Override
545         public Timestamp getTimestamp(int arg0, Calendar arg1) throws SQLException {
546                 throw new UnsupportedOperationException("Not yet implemented.");
547                 
548         }
549
550         @Override
551         public Timestamp getTimestamp(String arg0, Calendar arg1)
552                         throws SQLException {
553                 throw new UnsupportedOperationException("Not yet implemented.");
554                 
555         }
556
557         @Override
558         public int getType() throws SQLException {
559                 throw new UnsupportedOperationException("Not yet implemented.");
560                 
561         }
562
563         @Override
564         public URL getURL(int arg0) throws SQLException {
565                 throw new UnsupportedOperationException("Not yet implemented.");
566                 
567         }
568
569         @Override
570         public URL getURL(String arg0) throws SQLException {
571                 throw new UnsupportedOperationException("Not yet implemented.");
572                 
573         }
574
575         @Deprecated
576         @Override
577         public InputStream getUnicodeStream(int arg0) throws SQLException {
578                 throw new UnsupportedOperationException("Not yet implemented.");
579                 
580         }
581
582         @Deprecated
583         @Override
584         public InputStream getUnicodeStream(String arg0) throws SQLException {
585                 throw new UnsupportedOperationException("Not yet implemented.");
586                 
587         }
588
589         @Override
590         public SQLWarning getWarnings() throws SQLException {
591                 throw new UnsupportedOperationException("Not yet implemented.");
592                 
593         }
594
595         @Override
596         public void insertRow() throws SQLException {
597                 throw new UnsupportedOperationException("Not yet implemented.");
598
599         }
600
601         @Override
602         public boolean isAfterLast() throws SQLException {
603                 throw new UnsupportedOperationException("Not yet implemented.");
604                 
605         }
606
607         @Override
608         public boolean isBeforeFirst() throws SQLException {
609                 throw new UnsupportedOperationException("Not yet implemented.");
610                 
611         }
612
613         @Override
614         public boolean isClosed() throws SQLException {
615                 throw new UnsupportedOperationException("Not yet implemented.");
616                 
617         }
618
619         @Override
620         public boolean isFirst() throws SQLException {
621                 throw new UnsupportedOperationException("Not yet implemented.");
622                 
623         }
624
625         @Override
626         public boolean isLast() throws SQLException {
627                 throw new UnsupportedOperationException("Not yet implemented.");
628                 
629         }
630
631         @Override
632         public boolean last() throws SQLException {
633                 throw new UnsupportedOperationException("Not yet implemented.");
634                 
635         }
636
637         @Override
638         public void moveToCurrentRow() throws SQLException {
639                 throw new UnsupportedOperationException("Not yet implemented.");
640
641         }
642
643         @Override
644         public void moveToInsertRow() throws SQLException {
645                 throw new UnsupportedOperationException("Not yet implemented.");
646
647         }
648
649         @Override
650         public boolean next() throws SQLException {
651                 if (null == mock_rows) {
652                         return false;
653                 }
654                 
655                 mock_rowIdx++;
656                 return (mock_rowIdx < mock_rows.size());
657         }
658
659         @Override
660         public boolean previous() throws SQLException {
661                 throw new UnsupportedOperationException("Not yet implemented.");
662                 
663         }
664
665         @Override
666         public void refreshRow() throws SQLException {
667                 throw new UnsupportedOperationException("Not yet implemented.");
668
669         }
670
671         @Override
672         public boolean relative(int arg0) throws SQLException {
673                 throw new UnsupportedOperationException("Not yet implemented.");
674                 
675         }
676
677         @Override
678         public boolean rowDeleted() throws SQLException {
679                 throw new UnsupportedOperationException("Not yet implemented.");
680                 
681         }
682
683         @Override
684         public boolean rowInserted() throws SQLException {
685                 throw new UnsupportedOperationException("Not yet implemented.");
686                 
687         }
688
689         @Override
690         public boolean rowUpdated() throws SQLException {
691                 throw new UnsupportedOperationException("Not yet implemented.");
692                 
693         }
694
695         @Override
696         public void setFetchDirection(int arg0) throws SQLException {
697                 throw new UnsupportedOperationException("Not yet implemented.");
698
699         }
700
701         @Override
702         public void setFetchSize(int arg0) throws SQLException {
703                 throw new UnsupportedOperationException("Not yet implemented.");
704
705         }
706
707         @Override
708         public void updateArray(int arg0, Array arg1) throws SQLException {
709                 throw new UnsupportedOperationException("Not yet implemented.");
710
711         }
712
713         @Override
714         public void updateArray(String arg0, Array arg1) throws SQLException {
715                 throw new UnsupportedOperationException("Not yet implemented.");
716
717         }
718
719         @Override
720         public void updateAsciiStream(int arg0, InputStream arg1)
721                         throws SQLException {
722                 throw new UnsupportedOperationException("Not yet implemented.");
723
724         }
725
726         @Override
727         public void updateAsciiStream(String arg0, InputStream arg1)
728                         throws SQLException {
729                 throw new UnsupportedOperationException("Not yet implemented.");
730
731         }
732
733         @Override
734         public void updateAsciiStream(int arg0, InputStream arg1, int arg2)
735                         throws SQLException {
736                 throw new UnsupportedOperationException("Not yet implemented.");
737
738         }
739
740         @Override
741         public void updateAsciiStream(String arg0, InputStream arg1, int arg2)
742                         throws SQLException {
743                 throw new UnsupportedOperationException("Not yet implemented.");
744
745         }
746
747         @Override
748         public void updateAsciiStream(int arg0, InputStream arg1, long arg2)
749                         throws SQLException {
750                 throw new UnsupportedOperationException("Not yet implemented.");
751
752         }
753
754         @Override
755         public void updateAsciiStream(String arg0, InputStream arg1, long arg2)
756                         throws SQLException {
757                 throw new UnsupportedOperationException("Not yet implemented.");
758
759         }
760
761         @Override
762         public void updateBigDecimal(int arg0, BigDecimal arg1) throws SQLException {
763                 throw new UnsupportedOperationException("Not yet implemented.");
764
765         }
766
767         @Override
768         public void updateBigDecimal(String arg0, BigDecimal arg1)
769                         throws SQLException {
770                 throw new UnsupportedOperationException("Not yet implemented.");
771
772         }
773
774         @Override
775         public void updateBinaryStream(int arg0, InputStream arg1)
776                         throws SQLException {
777                 throw new UnsupportedOperationException("Not yet implemented.");
778
779         }
780
781         @Override
782         public void updateBinaryStream(String arg0, InputStream arg1)
783                         throws SQLException {
784                 throw new UnsupportedOperationException("Not yet implemented.");
785
786         }
787
788         @Override
789         public void updateBinaryStream(int arg0, InputStream arg1, int arg2)
790                         throws SQLException {
791                 throw new UnsupportedOperationException("Not yet implemented.");
792
793         }
794
795         @Override
796         public void updateBinaryStream(String arg0, InputStream arg1, int arg2)
797                         throws SQLException {
798                 throw new UnsupportedOperationException("Not yet implemented.");
799
800         }
801
802         @Override
803         public void updateBinaryStream(int arg0, InputStream arg1, long arg2)
804                         throws SQLException {
805                 throw new UnsupportedOperationException("Not yet implemented.");
806
807         }
808
809         @Override
810         public void updateBinaryStream(String arg0, InputStream arg1, long arg2)
811                         throws SQLException {
812                 throw new UnsupportedOperationException("Not yet implemented.");
813
814         }
815
816         @Override
817         public void updateBlob(int arg0, Blob arg1) throws SQLException {
818                 throw new UnsupportedOperationException("Not yet implemented.");
819
820         }
821
822         @Override
823         public void updateBlob(String arg0, Blob arg1) throws SQLException {
824                 throw new UnsupportedOperationException("Not yet implemented.");
825
826         }
827
828         @Override
829         public void updateBlob(int arg0, InputStream arg1) throws SQLException {
830                 throw new UnsupportedOperationException("Not yet implemented.");
831
832         }
833
834         @Override
835         public void updateBlob(String arg0, InputStream arg1) throws SQLException {
836                 throw new UnsupportedOperationException("Not yet implemented.");
837
838         }
839
840         @Override
841         public void updateBlob(int arg0, InputStream arg1, long arg2)
842                         throws SQLException {
843                 throw new UnsupportedOperationException("Not yet implemented.");
844
845         }
846
847         @Override
848         public void updateBlob(String arg0, InputStream arg1, long arg2)
849                         throws SQLException {
850                 throw new UnsupportedOperationException("Not yet implemented.");
851
852         }
853
854         @Override
855         public void updateBoolean(int arg0, boolean arg1) throws SQLException {
856                 throw new UnsupportedOperationException("Not yet implemented.");
857
858         }
859
860         @Override
861         public void updateBoolean(String arg0, boolean arg1) throws SQLException {
862                 throw new UnsupportedOperationException("Not yet implemented.");
863
864         }
865
866         @Override
867         public void updateByte(int arg0, byte arg1) throws SQLException {
868                 throw new UnsupportedOperationException("Not yet implemented.");
869
870         }
871
872         @Override
873         public void updateByte(String arg0, byte arg1) throws SQLException {
874                 throw new UnsupportedOperationException("Not yet implemented.");
875
876         }
877
878         @Override
879         public void updateBytes(int arg0, byte[] arg1) throws SQLException {
880                 throw new UnsupportedOperationException("Not yet implemented.");
881
882         }
883
884         @Override
885         public void updateBytes(String arg0, byte[] arg1) throws SQLException {
886                 throw new UnsupportedOperationException("Not yet implemented.");
887
888         }
889
890         @Override
891         public void updateCharacterStream(int arg0, Reader arg1)
892                         throws SQLException {
893                 throw new UnsupportedOperationException("Not yet implemented.");
894
895         }
896
897         @Override
898         public void updateCharacterStream(String arg0, Reader arg1)
899                         throws SQLException {
900                 throw new UnsupportedOperationException("Not yet implemented.");
901
902         }
903
904         @Override
905         public void updateCharacterStream(int arg0, Reader arg1, int arg2)
906                         throws SQLException {
907                 throw new UnsupportedOperationException("Not yet implemented.");
908
909         }
910
911         @Override
912         public void updateCharacterStream(String arg0, Reader arg1, int arg2)
913                         throws SQLException {
914                 throw new UnsupportedOperationException("Not yet implemented.");
915
916         }
917
918         @Override
919         public void updateCharacterStream(int arg0, Reader arg1, long arg2)
920                         throws SQLException {
921                 throw new UnsupportedOperationException("Not yet implemented.");
922
923         }
924
925         @Override
926         public void updateCharacterStream(String arg0, Reader arg1, long arg2)
927                         throws SQLException {
928                 throw new UnsupportedOperationException("Not yet implemented.");
929
930         }
931
932         @Override
933         public void updateClob(int arg0, Clob arg1) throws SQLException {
934                 throw new UnsupportedOperationException("Not yet implemented.");
935
936         }
937
938         @Override
939         public void updateClob(String arg0, Clob arg1) throws SQLException {
940                 throw new UnsupportedOperationException("Not yet implemented.");
941
942         }
943
944         @Override
945         public void updateClob(int arg0, Reader arg1) throws SQLException {
946                 throw new UnsupportedOperationException("Not yet implemented.");
947
948         }
949
950         @Override
951         public void updateClob(String arg0, Reader arg1) throws SQLException {
952                 throw new UnsupportedOperationException("Not yet implemented.");
953
954         }
955
956         @Override
957         public void updateClob(int arg0, Reader arg1, long arg2)
958                         throws SQLException {
959                 throw new UnsupportedOperationException("Not yet implemented.");
960
961         }
962
963         @Override
964         public void updateClob(String arg0, Reader arg1, long arg2)
965                         throws SQLException {
966                 throw new UnsupportedOperationException("Not yet implemented.");
967
968         }
969
970         @Override
971         public void updateDate(int arg0, Date arg1) throws SQLException {
972                 throw new UnsupportedOperationException("Not yet implemented.");
973
974         }
975
976         @Override
977         public void updateDate(String arg0, Date arg1) throws SQLException {
978                 throw new UnsupportedOperationException("Not yet implemented.");
979
980         }
981
982         @Override
983         public void updateDouble(int arg0, double arg1) throws SQLException {
984                 throw new UnsupportedOperationException("Not yet implemented.");
985
986         }
987
988         @Override
989         public void updateDouble(String arg0, double arg1) throws SQLException {
990                 throw new UnsupportedOperationException("Not yet implemented.");
991
992         }
993
994         @Override
995         public void updateFloat(int arg0, float arg1) throws SQLException {
996                 throw new UnsupportedOperationException("Not yet implemented.");
997
998         }
999
1000         @Override
1001         public void updateFloat(String arg0, float arg1) throws SQLException {
1002                 throw new UnsupportedOperationException("Not yet implemented.");
1003
1004         }
1005
1006         @Override
1007         public void updateInt(int arg0, int arg1) throws SQLException {
1008                 throw new UnsupportedOperationException("Not yet implemented.");
1009
1010         }
1011
1012         @Override
1013         public void updateInt(String arg0, int arg1) throws SQLException {
1014                 throw new UnsupportedOperationException("Not yet implemented.");
1015
1016         }
1017
1018         @Override
1019         public void updateLong(int arg0, long arg1) throws SQLException {
1020                 throw new UnsupportedOperationException("Not yet implemented.");
1021
1022         }
1023
1024         @Override
1025         public void updateLong(String arg0, long arg1) throws SQLException {
1026                 throw new UnsupportedOperationException("Not yet implemented.");
1027
1028         }
1029
1030         @Override
1031         public void updateNCharacterStream(int arg0, Reader arg1)
1032                         throws SQLException {
1033                 throw new UnsupportedOperationException("Not yet implemented.");
1034
1035         }
1036
1037         @Override
1038         public void updateNCharacterStream(String arg0, Reader arg1)
1039                         throws SQLException {
1040                 throw new UnsupportedOperationException("Not yet implemented.");
1041
1042         }
1043
1044         @Override
1045         public void updateNCharacterStream(int arg0, Reader arg1, long arg2)
1046                         throws SQLException {
1047                 throw new UnsupportedOperationException("Not yet implemented.");
1048
1049         }
1050
1051         @Override
1052         public void updateNCharacterStream(String arg0, Reader arg1, long arg2)
1053                         throws SQLException {
1054                 throw new UnsupportedOperationException("Not yet implemented.");
1055
1056         }
1057
1058         @Override
1059         public void updateNClob(int arg0, NClob arg1) throws SQLException {
1060                 throw new UnsupportedOperationException("Not yet implemented.");
1061
1062         }
1063
1064         @Override
1065         public void updateNClob(String arg0, NClob arg1) throws SQLException {
1066                 throw new UnsupportedOperationException("Not yet implemented.");
1067
1068         }
1069
1070         @Override
1071         public void updateNClob(int arg0, Reader arg1) throws SQLException {
1072                 throw new UnsupportedOperationException("Not yet implemented.");
1073
1074         }
1075
1076         @Override
1077         public void updateNClob(String arg0, Reader arg1) throws SQLException {
1078                 throw new UnsupportedOperationException("Not yet implemented.");
1079
1080         }
1081
1082         @Override
1083         public void updateNClob(int arg0, Reader arg1, long arg2)
1084                         throws SQLException {
1085                 throw new UnsupportedOperationException("Not yet implemented.");
1086
1087         }
1088
1089         @Override
1090         public void updateNClob(String arg0, Reader arg1, long arg2)
1091                         throws SQLException {
1092                 throw new UnsupportedOperationException("Not yet implemented.");
1093
1094         }
1095
1096         @Override
1097         public void updateNString(int arg0, String arg1) throws SQLException {
1098                 throw new UnsupportedOperationException("Not yet implemented.");
1099
1100         }
1101
1102         @Override
1103         public void updateNString(String arg0, String arg1) throws SQLException {
1104                 throw new UnsupportedOperationException("Not yet implemented.");
1105
1106         }
1107
1108         @Override
1109         public void updateNull(int arg0) throws SQLException {
1110                 throw new UnsupportedOperationException("Not yet implemented.");
1111
1112         }
1113
1114         @Override
1115         public void updateNull(String arg0) throws SQLException {
1116                 throw new UnsupportedOperationException("Not yet implemented.");
1117
1118         }
1119
1120         @Override
1121         public void updateObject(int arg0, Object arg1) throws SQLException {
1122                 throw new UnsupportedOperationException("Not yet implemented.");
1123
1124         }
1125
1126         @Override
1127         public void updateObject(String arg0, Object arg1) throws SQLException {
1128                 throw new UnsupportedOperationException("Not yet implemented.");
1129
1130         }
1131
1132         @Override
1133         public void updateObject(int arg0, Object arg1, int arg2)
1134                         throws SQLException {
1135                 throw new UnsupportedOperationException("Not yet implemented.");
1136
1137         }
1138
1139         @Override
1140         public void updateObject(String arg0, Object arg1, int arg2)
1141                         throws SQLException {
1142                 throw new UnsupportedOperationException("Not yet implemented.");
1143
1144         }
1145
1146         @Override
1147         public void updateRef(int arg0, Ref arg1) throws SQLException {
1148                 throw new UnsupportedOperationException("Not yet implemented.");
1149
1150         }
1151
1152         @Override
1153         public void updateRef(String arg0, Ref arg1) throws SQLException {
1154                 throw new UnsupportedOperationException("Not yet implemented.");
1155
1156         }
1157
1158         @Override
1159         public void updateRow() throws SQLException {
1160                 throw new UnsupportedOperationException("Not yet implemented.");
1161
1162         }
1163
1164         @Override
1165         public void updateRowId(int arg0, RowId arg1) throws SQLException {
1166                 throw new UnsupportedOperationException("Not yet implemented.");
1167
1168         }
1169
1170         @Override
1171         public void updateRowId(String arg0, RowId arg1) throws SQLException {
1172                 throw new UnsupportedOperationException("Not yet implemented.");
1173
1174         }
1175
1176         @Override
1177         public void updateSQLXML(int arg0, SQLXML arg1) throws SQLException {
1178                 throw new UnsupportedOperationException("Not yet implemented.");
1179
1180         }
1181
1182         @Override
1183         public void updateSQLXML(String arg0, SQLXML arg1) throws SQLException {
1184                 throw new UnsupportedOperationException("Not yet implemented.");
1185
1186         }
1187
1188         @Override
1189         public void updateShort(int arg0, short arg1) throws SQLException {
1190                 throw new UnsupportedOperationException("Not yet implemented.");
1191
1192         }
1193
1194         @Override
1195         public void updateShort(String arg0, short arg1) throws SQLException {
1196                 throw new UnsupportedOperationException("Not yet implemented.");
1197
1198         }
1199
1200         @Override
1201         public void updateString(int arg0, String arg1) throws SQLException {
1202                 throw new UnsupportedOperationException("Not yet implemented.");
1203
1204         }
1205
1206         @Override
1207         public void updateString(String arg0, String arg1) throws SQLException {
1208                 throw new UnsupportedOperationException("Not yet implemented.");
1209
1210         }
1211
1212         @Override
1213         public void updateTime(int arg0, Time arg1) throws SQLException {
1214                 throw new UnsupportedOperationException("Not yet implemented.");
1215
1216         }
1217
1218         @Override
1219         public void updateTime(String arg0, Time arg1) throws SQLException {
1220                 throw new UnsupportedOperationException("Not yet implemented.");
1221
1222         }
1223
1224         @Override
1225         public void updateTimestamp(int arg0, Timestamp arg1) throws SQLException {
1226                 throw new UnsupportedOperationException("Not yet implemented.");
1227
1228         }
1229
1230         @Override
1231         public void updateTimestamp(String arg0, Timestamp arg1)
1232                         throws SQLException {
1233                 throw new UnsupportedOperationException("Not yet implemented.");
1234
1235         }
1236
1237         @Override
1238         public boolean wasNull() throws SQLException {
1239                 throw new UnsupportedOperationException("Not yet implemented.");
1240                 
1241         }
1242
1243 }