KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > mockobjects > eziba > sql > ResultSet


1 /*
2  * Copyright (C) 2001 eZiba.com, Inc.
3  * All Rights Reserved
4  *
5  * Redistribution and use in source and binary forms, with or without
6  * modification, are permitted provided that the following conditions
7  * are met:
8  *
9  * Redistributions of source code must retain the above copyright
10  * notice, this list of conditions and the following disclaimer.
11  * Redistributions in binary form must reproduce the above
12  * copyright notice, this list of conditions and the following
13  * disclaimer in the documentation and/or other materials provided
14  * with the distribution. Neither the name of eZiba.com nor the
15  * names of its contributors may be used to endorse or promote
16  * products derived from this software without specific prior
17  * written permission.
18  *
19  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
22  * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
23  * eZiba.com OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
25  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
28  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
30  * OF THE POSSIBILITY OF SUCH DAMAGE.
31  */

32
33 package com.mockobjects.eziba.sql;
34 import java.sql.SQLException JavaDoc;
35 import java.math.BigDecimal JavaDoc;
36 import java.util.Calendar JavaDoc;
37 import java.util.Map JavaDoc;
38 import java.util.HashMap JavaDoc;public class ResultSet
39   implements java.sql.ResultSet JavaDoc
40 {
41
42     public static final ResultSet EMPTY_SET = new ResultSet();
43
44     private ResultSet()
45     {
46         this (null, new Object JavaDoc[0], null);
47     }
48
49
50     private int m_current;
51     private boolean m_wasNull = false;
52
53     public ResultSet(Object JavaDoc [] p_data, String JavaDoc [] p_names)
54     {
55         this(p_data, p_names, p_names);
56     }
57
58     /**
59      * Factor these validations out since you can't insert assertions
60      * before a call to super() or this().
61      */

62
63     private static Object JavaDoc [] validateConstructorArgs(Object JavaDoc [] p_data,
64                                                      String JavaDoc [] p_columnNames,
65                                                      String JavaDoc [] p_propNames)
66     {
67         if (p_data == null)
68         {
69             throw new IllegalArgumentException JavaDoc("Object array can't be null");
70         }
71         if (p_columnNames == null)
72         {
73             throw new IllegalArgumentException JavaDoc("Column names can't be null");
74         }
75         if (p_propNames == null)
76         {
77             throw new IllegalArgumentException JavaDoc("Property names can't be null");
78         }
79         if (p_columnNames.length != p_propNames.length)
80         {
81             throw new IllegalArgumentException JavaDoc("Number of column names ("
82                                                + p_columnNames.length + ")"
83                                                + " does not match "
84                                                + " number of property names ("
85                                                + p_propNames.length + ")");
86         }
87         return p_data;
88     }
89
90     public ResultSet(Object JavaDoc [] p_data,
91                      String JavaDoc [] p_columnNames,
92                      String JavaDoc [] p_propNames)
93     {
94         this (new ReflectiveResultSetRowGenerator(p_propNames),
95               validateConstructorArgs(p_data, p_columnNames, p_propNames),
96               createMapFromStringArray(p_columnNames));
97     }
98
99     private static Map JavaDoc createMapFromStringArray(String JavaDoc [] p_columnNames)
100     {
101         Map JavaDoc map = new HashMap JavaDoc();
102         for (int i = 0; i < p_columnNames.length; ++i)
103         {
104             map.put(p_columnNames[i],new Integer JavaDoc(i));
105         }
106         return map;
107     }
108
109     public ResultSet(ResultSetRowGenerator p_generator,
110                      Object JavaDoc [] p_data,
111                      Map JavaDoc p_columnNameMap)
112     {
113         m_generator = p_generator;
114         m_data = p_data;
115         m_columnNameMap = p_columnNameMap;
116         m_current = -1;
117     }
118
119     private final ResultSetRowGenerator m_generator;
120     private final Object JavaDoc [] m_data;
121     private final Map JavaDoc m_columnNameMap;
122
123     private Object JavaDoc [] getCurrentRow()
124         throws SQLException JavaDoc
125     {
126         Object JavaDoc [] result = m_generator.createRow(m_data[m_current]);
127         // FIXME:
128
// assert result != null
129
// assert result.length == m_columnNameMap.size()
130
return result;
131     }
132
133     private Object JavaDoc getColumnData(int p_columnNum)
134         throws SQLException JavaDoc
135     {
136         Object JavaDoc [] row = getCurrentRow();
137         if (p_columnNum < 0 || p_columnNum >= row.length)
138         {
139             throw new SQLException JavaDoc("Illegal column number " + p_columnNum);
140         }
141         // FIXME: assert that p_columnNum is one of the values in
142
// m_columnNameMap
143

144         Object JavaDoc result = row[p_columnNum];
145
146         m_wasNull = (result == null);
147
148         return result;
149     }
150
151       public int findColumn(String JavaDoc p_columnName)
152           throws SQLException JavaDoc
153       {
154           Integer JavaDoc i = (Integer JavaDoc) m_columnNameMap.get(p_columnName);
155           if (i != null)
156           {
157               return i.intValue();
158           }
159           else
160           {
161               throw new SQLException JavaDoc("No such column " + p_columnName);
162           }
163     }
164
165     public boolean next()
166         throws SQLException JavaDoc
167     {
168         m_current++;
169         return m_current < m_data.length;
170     }
171
172     public void close()
173         throws SQLException JavaDoc
174     {
175         // noop
176
}
177
178     public boolean wasNull()
179         throws SQLException JavaDoc
180     {
181         return m_wasNull;
182     }
183
184     public String JavaDoc getString(int columnIndex)
185         throws SQLException JavaDoc
186     {
187         return (String JavaDoc) getColumnData(columnIndex);
188     }
189
190     public boolean getBoolean(int columnIndex)
191         throws SQLException JavaDoc
192     {
193         return ((Boolean JavaDoc) getColumnData(columnIndex)).booleanValue();
194     }
195
196     public byte getByte(int columnIndex)
197         throws SQLException JavaDoc
198     {
199         return ((Byte JavaDoc) getColumnData(columnIndex)).byteValue();
200     }
201
202     public short getShort(int columnIndex)
203         throws SQLException JavaDoc
204     {
205         return ((Short JavaDoc) getColumnData(columnIndex)).shortValue();
206     }
207
208     public int getInt(int columnIndex)
209         throws SQLException JavaDoc
210     {
211         Integer JavaDoc i = (Integer JavaDoc) getColumnData(columnIndex);
212         return i == null ? 0 : i.intValue();
213     }
214
215     public long getLong(int columnIndex)
216         throws SQLException JavaDoc
217     {
218         return ((Long JavaDoc) getColumnData(columnIndex)).longValue();
219     }
220
221     public float getFloat(int columnIndex)
222         throws SQLException JavaDoc
223     {
224         return ((Float JavaDoc) getColumnData(columnIndex)).floatValue();
225     }
226
227     public double getDouble(int columnIndex)
228         throws SQLException JavaDoc
229     {
230         return ((Double JavaDoc) getColumnData(columnIndex)).doubleValue();
231     }
232
233     /**
234      * @deprecated
235      */

236     public BigDecimal JavaDoc getBigDecimal(int columnIndex, int scale)
237         throws SQLException JavaDoc
238     {
239         return (BigDecimal JavaDoc) getColumnData(columnIndex);
240     }
241
242     public byte[] getBytes(int columnIndex)
243         throws SQLException JavaDoc
244     {
245         return (byte []) getColumnData(columnIndex);
246     }
247
248     public java.sql.Date JavaDoc getDate(int columnIndex)
249         throws SQLException JavaDoc
250     {
251         // be forgiving about java.util vs java.sql Dates
252
Object JavaDoc o = getColumnData(columnIndex);
253         if (o == null)
254         {
255             return null;
256         }
257         else if (o instanceof java.sql.Date JavaDoc)
258         {
259             return (java.sql.Date JavaDoc) o;
260         }
261         else if (o instanceof java.util.Date JavaDoc)
262         {
263             return new java.sql.Date JavaDoc(((java.util.Date JavaDoc)o).getTime());
264         }
265         else
266         {
267             throw new SQLException JavaDoc("Expected date type, got " + o.getClass());
268         }
269     }
270
271     public java.sql.Time JavaDoc getTime(int columnIndex)
272         throws SQLException JavaDoc
273     {
274         return (java.sql.Time JavaDoc) getColumnData(columnIndex);
275     }
276
277     public java.sql.Timestamp JavaDoc getTimestamp(int columnIndex)
278         throws SQLException JavaDoc
279     {
280         return (java.sql.Timestamp JavaDoc) getColumnData(columnIndex);
281     }
282
283     public java.io.InputStream JavaDoc getAsciiStream(int columnIndex)
284         throws SQLException JavaDoc
285     {
286         return (java.io.InputStream JavaDoc) getColumnData(columnIndex);
287     }
288
289     /**
290      * @deprecated
291      */

292     public java.io.InputStream JavaDoc getUnicodeStream(int columnIndex)
293         throws SQLException JavaDoc
294     {
295         return (java.io.InputStream JavaDoc) getColumnData(columnIndex);
296     }
297
298     public java.io.InputStream JavaDoc getBinaryStream(int columnIndex)
299
300         throws SQLException JavaDoc
301     {
302         return (java.io.InputStream JavaDoc) getColumnData(columnIndex);
303     }
304
305     //======================================================================
306
// Methods for accessing results by column name
307
//======================================================================
308

309     public String JavaDoc getString(String JavaDoc columnName)
310         throws SQLException JavaDoc
311     {
312         return getString(findColumn(columnName));
313     }
314
315     public boolean getBoolean(String JavaDoc columnName)
316         throws SQLException JavaDoc
317     {
318         return getBoolean(findColumn(columnName));
319     }
320
321     public byte getByte(String JavaDoc columnName)
322         throws SQLException JavaDoc
323     {
324         return getByte(findColumn(columnName));
325     }
326
327     public short getShort(String JavaDoc columnName)
328         throws SQLException JavaDoc
329     {
330         return getShort(findColumn(columnName));
331     }
332
333     public int getInt(String JavaDoc columnName)
334         throws SQLException JavaDoc
335     {
336         return getInt(findColumn(columnName));
337     }
338
339     public long getLong(String JavaDoc columnName)
340         throws SQLException JavaDoc
341     {
342         return getLong(findColumn(columnName));
343     }
344
345     public float getFloat(String JavaDoc columnName)
346         throws SQLException JavaDoc
347     {
348         return getFloat(findColumn(columnName));
349     }
350
351     public double getDouble(String JavaDoc columnName)
352         throws SQLException JavaDoc
353     {
354         return getDouble(findColumn(columnName));
355     }
356
357     /**
358      * @deprecated
359      */

360     public BigDecimal JavaDoc getBigDecimal(String JavaDoc columnName, int scale)
361         throws SQLException JavaDoc
362     {
363         throw new NotImplementedException();
364     }
365
366     public byte[] getBytes(String JavaDoc columnName)
367         throws SQLException JavaDoc
368     {
369         return getBytes(findColumn(columnName));
370     }
371
372     public java.sql.Date JavaDoc getDate(String JavaDoc columnName)
373         throws SQLException JavaDoc
374     {
375         return getDate(findColumn(columnName));
376     }
377
378     public java.sql.Time JavaDoc getTime(String JavaDoc columnName)
379         throws SQLException JavaDoc
380     {
381         return getTime(findColumn(columnName));
382     }
383
384     public java.sql.Timestamp JavaDoc getTimestamp(String JavaDoc columnName)
385         throws SQLException JavaDoc
386     {
387         return getTimestamp(findColumn(columnName));
388     }
389
390     public java.io.InputStream JavaDoc getAsciiStream(String JavaDoc columnName)
391         throws SQLException JavaDoc
392     {
393         return getAsciiStream(findColumn(columnName));
394     }
395
396     /**
397      * @deprecated
398      */

399     public java.io.InputStream JavaDoc getUnicodeStream(String JavaDoc columnName)
400         throws SQLException JavaDoc
401     {
402         return getUnicodeStream(findColumn(columnName));
403     }
404
405     public java.io.InputStream JavaDoc getBinaryStream(String JavaDoc columnName)
406
407         throws SQLException JavaDoc
408     {
409         return getBinaryStream(findColumn(columnName));
410     }
411
412     public BigDecimal JavaDoc getBigDecimal(String JavaDoc columnName)
413         throws SQLException JavaDoc
414     {
415         return (BigDecimal JavaDoc) getColumnData(findColumn(columnName));
416     }
417
418     public boolean first()
419         throws SQLException JavaDoc
420     {
421         m_current = -1;
422         return m_data.length > 0;
423     }
424
425     //=====================================================================
426
// Advanced features:
427
//=====================================================================
428

429     public java.sql.SQLWarning JavaDoc getWarnings()
430         throws SQLException JavaDoc
431     {
432         throw new NotImplementedException();
433     }
434
435     public void clearWarnings()
436         throws SQLException JavaDoc
437     {
438         throw new NotImplementedException();
439     }
440
441     public String JavaDoc getCursorName()
442         throws SQLException JavaDoc
443     {
444         throw new NotImplementedException();
445     }
446
447     public java.sql.ResultSetMetaData JavaDoc getMetaData()
448         throws SQLException JavaDoc
449     {
450         throw new NotImplementedException();
451     }
452
453     public Object JavaDoc getObject(int columnIndex)
454         throws SQLException JavaDoc
455     {
456         throw new NotImplementedException();
457     }
458
459     public Object JavaDoc getObject(String JavaDoc columnName)
460         throws SQLException JavaDoc
461     {
462         throw new NotImplementedException();
463     }
464
465     //----------------------------------------------------------------
466

467
468
469     //--------------------------JDBC 2.0-----------------------------------
470

471     //---------------------------------------------------------------------
472
// Getter's and Setter's
473
//---------------------------------------------------------------------
474

475     public java.io.Reader JavaDoc getCharacterStream(int columnIndex)
476         throws SQLException JavaDoc
477     {
478         throw new NotImplementedException();
479     }
480
481     public java.io.Reader JavaDoc getCharacterStream(String JavaDoc columnName)
482         throws SQLException JavaDoc
483     {
484         throw new NotImplementedException();
485     }
486
487     public BigDecimal JavaDoc getBigDecimal(int columnIndex)
488         throws SQLException JavaDoc
489     {
490         throw new NotImplementedException();
491     }
492
493     //---------------------------------------------------------------------
494
// Traversal/Positioning
495
//---------------------------------------------------------------------
496

497     public boolean isBeforeFirst()
498         throws SQLException JavaDoc
499     {
500         throw new NotImplementedException();
501     }
502
503     public boolean isAfterLast()
504         throws SQLException JavaDoc
505     {
506         throw new NotImplementedException();
507     }
508
509     public boolean isFirst()
510         throws SQLException JavaDoc
511     {
512         throw new NotImplementedException();
513     }
514
515     public boolean isLast()
516         throws SQLException JavaDoc
517     {
518         throw new NotImplementedException();
519     }
520
521     public void beforeFirst()
522         throws SQLException JavaDoc
523     {
524         throw new NotImplementedException();
525     }
526
527     public void afterLast()
528         throws SQLException JavaDoc
529     {
530         throw new NotImplementedException();
531     }
532
533     public boolean last()
534         throws SQLException JavaDoc
535     {
536         throw new NotImplementedException();
537     }
538
539     public int getRow()
540         throws SQLException JavaDoc
541     {
542         throw new NotImplementedException();
543     }
544
545     public boolean absolute( int row )
546         throws SQLException JavaDoc
547     {
548         throw new NotImplementedException();
549     }
550
551     public boolean relative( int rows )
552         throws SQLException JavaDoc
553     {
554         throw new NotImplementedException();
555     }
556
557     public boolean previous()
558         throws SQLException JavaDoc
559     {
560         throw new NotImplementedException();
561     }
562
563     //---------------------------------------------------------------------
564
// Properties
565
//---------------------------------------------------------------------
566

567     public void setFetchDirection(int direction)
568         throws SQLException JavaDoc
569     {
570         throw new NotImplementedException();
571     }
572
573     public int getFetchDirection()
574         throws SQLException JavaDoc
575     {
576         return FETCH_FORWARD;
577     }
578
579     public void setFetchSize(int rows)
580         throws SQLException JavaDoc
581     {
582         throw new NotImplementedException();
583     }
584
585     public int getFetchSize()
586         throws SQLException JavaDoc
587     {
588         throw new NotImplementedException();
589     }
590
591     public int getType()
592         throws SQLException JavaDoc
593     {
594         return TYPE_FORWARD_ONLY;
595     }
596
597     public int getConcurrency()
598         throws SQLException JavaDoc
599     {
600         return CONCUR_READ_ONLY;
601     }
602
603     //---------------------------------------------------------------------
604
// Updates
605
//---------------------------------------------------------------------
606

607     public boolean rowUpdated()
608         throws SQLException JavaDoc
609     {
610         throw new NotImplementedException();
611     }
612
613     public boolean rowInserted()
614         throws SQLException JavaDoc
615     {
616         throw new NotImplementedException();
617     }
618
619     public boolean rowDeleted()
620         throws SQLException JavaDoc
621     {
622         throw new NotImplementedException();
623     }
624
625     public void updateNull(int columnIndex)
626         throws SQLException JavaDoc
627     {
628         throw new NotImplementedException();
629     }
630
631     public void updateBoolean(int columnIndex, boolean x)
632         throws SQLException JavaDoc
633     {
634         throw new NotImplementedException();
635     }
636
637     public void updateByte(int columnIndex, byte x)
638         throws SQLException JavaDoc
639     {
640         throw new NotImplementedException();
641     }
642
643     public void updateShort(int columnIndex, short x)
644         throws SQLException JavaDoc
645     {
646         throw new NotImplementedException();
647     }
648
649     public void updateInt(int columnIndex, int x)
650         throws SQLException JavaDoc
651     {
652         throw new NotImplementedException();
653     }
654
655     public void updateLong(int columnIndex, long x)
656         throws SQLException JavaDoc
657     {
658         throw new NotImplementedException();
659     }
660
661     public void updateFloat(int columnIndex, float x)
662         throws SQLException JavaDoc
663     {
664         throw new NotImplementedException();
665     }
666
667     public void updateDouble(int columnIndex, double x)
668         throws SQLException JavaDoc
669     {
670         throw new NotImplementedException();
671     }
672
673     public void updateBigDecimal(int columnIndex, BigDecimal JavaDoc x)
674         throws SQLException JavaDoc
675     {
676         throw new NotImplementedException();
677     }
678
679     public void updateString(int columnIndex, String JavaDoc x)
680         throws SQLException JavaDoc
681     {
682         throw new NotImplementedException();
683     }
684
685     public void updateBytes(int columnIndex, byte x[])
686         throws SQLException JavaDoc
687     {
688         throw new NotImplementedException();
689     }
690
691     public void updateDate(int columnIndex, java.sql.Date JavaDoc x)
692         throws SQLException JavaDoc
693     {
694         throw new NotImplementedException();
695     }
696
697     public void updateTime(int columnIndex, java.sql.Time JavaDoc x)
698         throws SQLException JavaDoc
699     {
700         throw new NotImplementedException();
701     }
702
703     public void updateTimestamp(int columnIndex, java.sql.Timestamp JavaDoc x)
704
705         throws SQLException JavaDoc
706     {
707         throw new NotImplementedException();
708     }
709
710     public void updateAsciiStream(int columnIndex,
711                                   java.io.InputStream JavaDoc x,
712                                   int length)
713         throws SQLException JavaDoc
714     {
715         throw new NotImplementedException();
716     }
717
718     public void updateBinaryStream(int columnIndex,
719                                    java.io.InputStream JavaDoc x,
720                                    int length)
721         throws SQLException JavaDoc
722     {
723         throw new NotImplementedException();
724     }
725
726     public void updateCharacterStream(int columnIndex,
727                                       java.io.Reader JavaDoc x,
728                                       int length)
729         throws SQLException JavaDoc
730     {
731         throw new NotImplementedException();
732     }
733
734     public void updateObject(int columnIndex, Object JavaDoc x, int scale)
735
736         throws SQLException JavaDoc
737     {
738         throw new NotImplementedException();
739     }
740
741     public void updateObject(int columnIndex, Object JavaDoc x)
742         throws SQLException JavaDoc
743     {
744         throw new NotImplementedException();
745     }
746
747     public void updateNull(String JavaDoc columnName)
748         throws SQLException JavaDoc
749     {
750         throw new NotImplementedException();
751     }
752
753     public void updateBoolean(String JavaDoc columnName, boolean x)
754         throws SQLException JavaDoc
755     {
756         throw new NotImplementedException();
757     }
758
759     public void updateByte(String JavaDoc columnName, byte x)
760         throws SQLException JavaDoc
761     {
762         throw new NotImplementedException();
763     }
764
765     public void updateShort(String JavaDoc columnName, short x)
766         throws SQLException JavaDoc
767     {
768         throw new NotImplementedException();
769     }
770
771     public void updateInt(String JavaDoc columnName, int x)
772         throws SQLException JavaDoc
773     {
774         throw new NotImplementedException();
775     }
776
777     public void updateLong(String JavaDoc columnName, long x)
778         throws SQLException JavaDoc
779     {
780         throw new NotImplementedException();
781     }
782
783     public void updateFloat(String JavaDoc columnName, float x)
784         throws SQLException JavaDoc
785     {
786         throw new NotImplementedException();
787     }
788
789     public void updateDouble(String JavaDoc columnName, double x)
790         throws SQLException JavaDoc
791     {
792         throw new NotImplementedException();
793     }
794
795     public void updateBigDecimal(String JavaDoc columnName, BigDecimal JavaDoc x)
796         throws SQLException JavaDoc
797     {
798         throw new NotImplementedException();
799     }
800
801     public void updateString(String JavaDoc columnName, String JavaDoc x)
802         throws SQLException JavaDoc
803     {
804         throw new NotImplementedException();
805     }
806
807     public void updateBytes(String JavaDoc columnName, byte x[])
808         throws SQLException JavaDoc
809     {
810         throw new NotImplementedException();
811     }
812
813     public void updateDate(String JavaDoc columnName, java.sql.Date JavaDoc x)
814         throws SQLException JavaDoc
815     {
816         throw new NotImplementedException();
817     }
818
819     public void updateTime(String JavaDoc columnName, java.sql.Time JavaDoc x)
820         throws SQLException JavaDoc
821     {
822         throw new NotImplementedException();
823     }
824
825     public void updateTimestamp(String JavaDoc columnName, java.sql.Timestamp JavaDoc x)
826
827         throws SQLException JavaDoc
828     {
829         throw new NotImplementedException();
830     }
831
832     public void updateAsciiStream(String JavaDoc columnName,
833                                   java.io.InputStream JavaDoc x,
834                                   int length)
835         throws SQLException JavaDoc
836     {
837         throw new NotImplementedException();
838     }
839
840     public void updateBinaryStream(String JavaDoc columnName,
841                                    java.io.InputStream JavaDoc x,
842                                    int length)
843         throws SQLException JavaDoc
844     {
845         throw new NotImplementedException();
846     }
847
848     public void updateCharacterStream(String JavaDoc columnName,
849                                       java.io.Reader JavaDoc reader,
850                                       int length)
851         throws SQLException JavaDoc
852     {
853         throw new NotImplementedException();
854     }
855
856     public void updateObject(String JavaDoc columnName, Object JavaDoc x, int scale)
857
858         throws SQLException JavaDoc
859     {
860         throw new NotImplementedException();
861     }
862
863     public void updateObject(String JavaDoc columnName, Object JavaDoc x)
864         throws SQLException JavaDoc
865     {
866         throw new NotImplementedException();
867     }
868
869     public void insertRow()
870         throws SQLException JavaDoc
871     {
872         throw new NotImplementedException();
873     }
874
875     public void updateRow()
876         throws SQLException JavaDoc
877     {
878         throw new NotImplementedException();
879     }
880
881     public void deleteRow()
882         throws SQLException JavaDoc
883     {
884         throw new NotImplementedException();
885     }
886
887     public void refreshRow()
888         throws SQLException JavaDoc
889     {
890         throw new NotImplementedException();
891     }
892
893     public void cancelRowUpdates()
894         throws SQLException JavaDoc
895     {
896         throw new NotImplementedException();
897     }
898
899     public void moveToInsertRow()
900         throws SQLException JavaDoc
901     {
902         throw new NotImplementedException();
903     }
904
905     public void moveToCurrentRow()
906         throws SQLException JavaDoc
907     {
908         throw new NotImplementedException();
909     }
910
911     public java.sql.Statement JavaDoc getStatement()
912         throws SQLException JavaDoc
913     {
914         throw new NotImplementedException();
915     }
916
917     public Object JavaDoc getObject(int i, java.util.Map JavaDoc map)
918         throws SQLException JavaDoc
919     {
920         throw new NotImplementedException();
921     }
922
923     public java.sql.Ref JavaDoc getRef(int i)
924         throws SQLException JavaDoc
925     {
926         throw new NotImplementedException();
927     }
928
929     public java.sql.Blob JavaDoc getBlob(int i)
930         throws SQLException JavaDoc
931     {
932         throw new NotImplementedException();
933     }
934
935     public java.sql.Clob JavaDoc getClob(int i)
936         throws SQLException JavaDoc
937     {
938         throw new NotImplementedException();
939     }
940
941     public java.sql.Array JavaDoc getArray(int i)
942         throws SQLException JavaDoc
943     {
944         throw new NotImplementedException();
945     }
946
947     public Object JavaDoc getObject(String JavaDoc colName, java.util.Map JavaDoc map)
948         throws SQLException JavaDoc
949     {
950         throw new NotImplementedException();
951     }
952
953     public java.sql.Ref JavaDoc getRef(String JavaDoc colName)
954         throws SQLException JavaDoc
955     {
956         throw new NotImplementedException();
957     }
958
959     public java.sql.Blob JavaDoc getBlob(String JavaDoc colName)
960         throws SQLException JavaDoc
961     {
962         throw new NotImplementedException();
963     }
964
965     public java.sql.Clob JavaDoc getClob(String JavaDoc colName)
966         throws SQLException JavaDoc
967     {
968         throw new NotImplementedException();
969     }
970
971     public java.sql.Array JavaDoc getArray(String JavaDoc colName)
972         throws SQLException JavaDoc
973     {
974         throw new NotImplementedException();
975     }
976
977     public java.sql.Date JavaDoc getDate(int columnIndex, Calendar JavaDoc cal)
978         throws SQLException JavaDoc
979     {
980         throw new NotImplementedException();
981     }
982
983     public java.sql.Date JavaDoc getDate(String JavaDoc columnName, Calendar JavaDoc cal)
984         throws SQLException JavaDoc
985     {
986         throw new NotImplementedException();
987     }
988
989     public java.sql.Time JavaDoc getTime(int columnIndex, Calendar JavaDoc cal)
990         throws SQLException JavaDoc
991     {
992         throw new NotImplementedException();
993     }
994
995     public java.sql.Time JavaDoc getTime(String JavaDoc columnName, Calendar JavaDoc cal)
996         throws SQLException JavaDoc
997     {
998         throw new NotImplementedException();
999     }
1000
1001    public java.sql.Timestamp JavaDoc getTimestamp(int columnIndex, Calendar JavaDoc cal)
1002
1003        throws SQLException JavaDoc
1004    {
1005        throw new NotImplementedException();
1006    }
1007
1008    public java.sql.Timestamp JavaDoc getTimestamp(String JavaDoc columnName, Calendar JavaDoc cal)
1009
1010        throws SQLException JavaDoc
1011    {
1012        throw new NotImplementedException();
1013    }
1014}
Popular Tags