1 21 22 package org.apache.derby.vti; 23 24 import java.sql.Connection ; 25 import java.sql.Statement ; 26 import java.sql.ResultSet ; 27 import java.sql.ResultSetMetaData ; 28 import java.sql.SQLException ; 29 import java.sql.SQLWarning ; 30 import java.math.BigDecimal ; 31 32 import java.net.URL ; 33 import java.util.Calendar ; 34 import java.sql.Ref ; 35 import java.sql.Blob ; 36 import java.sql.Clob ; 37 import java.sql.Array ; 38 39 63 public abstract class VTITemplate implements ResultSet { 64 65 69 74 public boolean wasNull() throws SQLException { 75 throw new SQLException ("wasNull"); 76 } 77 78 83 public String getString(int columnIndex) throws SQLException { 84 throw new SQLException ("getString"); 85 } 86 87 92 public boolean getBoolean(int columnIndex) throws SQLException { 93 throw new SQLException ("getBoolean"); 94 } 95 96 101 public byte getByte(int columnIndex) throws SQLException { 102 throw new SQLException ("getByte"); 103 } 104 105 110 public short getShort(int columnIndex) throws SQLException { 111 throw new SQLException ("getShort"); 112 } 113 114 119 public int getInt(int columnIndex) throws SQLException { 120 throw new SQLException ("getInt"); 121 } 122 123 128 public long getLong(int columnIndex) throws SQLException { 129 throw new SQLException ("getLong"); 130 } 131 132 137 public float getFloat(int columnIndex) throws SQLException { 138 throw new SQLException ("getFloat"); 139 } 140 141 146 public double getDouble(int columnIndex) throws SQLException { 147 throw new SQLException ("getDouble"); 148 } 149 150 155 public BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException { 156 throw new SQLException ("getBigDecimal"); 157 } 158 159 164 public byte[] getBytes(int columnIndex) throws SQLException { 165 throw new SQLException ("getBytes"); 166 } 167 168 173 public java.sql.Date getDate(int columnIndex) throws SQLException { 174 throw new SQLException ("getDate"); 175 } 176 177 182 public java.sql.Time getTime(int columnIndex) throws SQLException { 183 throw new SQLException ("getTime"); 184 } 185 186 191 public java.sql.Timestamp getTimestamp(int columnIndex) throws SQLException { 192 throw new SQLException ("getTimestamp"); 193 } 194 195 200 public java.io.InputStream getAsciiStream(int columnIndex) throws SQLException { 201 throw new SQLException ("getAsciiStream"); 202 } 203 204 209 public java.io.InputStream getUnicodeStream(int columnIndex) throws SQLException { 210 throw new SQLException ("getUnicodeStream"); 211 } 212 213 218 public java.io.InputStream getBinaryStream(int columnIndex) 219 throws SQLException { 220 throw new SQLException ("getBinaryStream"); 221 } 222 223 228 public String getString(String columnName) throws SQLException { 229 return getString(findColumn(columnName)); 230 } 231 232 237 public boolean getBoolean(String columnName) throws SQLException { 238 return getBoolean(findColumn(columnName)); 239 } 240 241 246 public byte getByte(String columnName) throws SQLException { 247 return getByte(findColumn(columnName)); 248 } 249 250 255 public short getShort(String columnName) throws SQLException { 256 return getShort(findColumn(columnName)); 257 } 258 259 264 public int getInt(String columnName) throws SQLException { 265 return getInt(findColumn(columnName)); 266 } 267 268 273 public long getLong(String columnName) throws SQLException { 274 return getLong(findColumn(columnName)); 275 } 276 277 282 public float getFloat(String columnName) throws SQLException { 283 return getFloat(findColumn(columnName)); 284 } 285 286 291 public double getDouble(String columnName) throws SQLException { 292 return getDouble(findColumn(columnName)); 293 } 294 295 300 public BigDecimal getBigDecimal(String columnName, int scale) throws SQLException { 301 return getBigDecimal(findColumn(columnName), scale); 302 } 303 304 309 public byte[] getBytes(String columnName) throws SQLException { 310 return getBytes(findColumn(columnName)); 311 } 312 313 318 public java.sql.Date getDate(String columnName) throws SQLException { 319 return getDate(findColumn(columnName)); 320 } 321 322 327 public java.sql.Time getTime(String columnName) throws SQLException { 328 return getTime(findColumn(columnName)); 329 } 330 331 336 public java.sql.Timestamp getTimestamp(String columnName) throws SQLException { 337 return getTimestamp(findColumn(columnName)); 338 } 339 340 345 public java.io.InputStream getAsciiStream(String columnName) throws SQLException { 346 throw new SQLException ("getAsciiStream"); 347 } 348 349 354 public java.io.InputStream getUnicodeStream(String columnName) throws SQLException { 355 throw new SQLException ("getUnicodeStream"); 356 } 357 358 363 public java.io.InputStream getBinaryStream(String columnName) 364 throws SQLException { 365 throw new SQLException ("getBinaryStream"); 366 } 367 368 371 public SQLWarning getWarnings() throws SQLException { 372 return null; 373 } 374 375 378 public void clearWarnings() throws SQLException { 379 } 380 381 386 public String getCursorName() throws SQLException { 387 throw new SQLException ("getCursorName"); 388 } 389 390 395 public Object getObject(int columnIndex) throws SQLException { 396 throw new SQLException ("getObject"); 397 } 398 399 404 public Object getObject(String columnName) throws SQLException { 405 return getObject(findColumn(columnName)); 406 } 407 408 413 public int findColumn(String columnName) throws SQLException { 414 throw new SQLException ("findColumn"); 415 } 416 417 420 421 426 public java.io.Reader getCharacterStream(int columnIndex) 427 throws SQLException { 428 throw new SQLException ("getCharacterStream"); 429 } 430 431 436 public java.io.Reader getCharacterStream(String columnName) 437 throws SQLException { 438 throw new SQLException ("getCharacterStream"); 439 } 440 441 446 public BigDecimal getBigDecimal(int columnIndex) 447 throws SQLException { 448 throw new SQLException ("getBigDecimal"); 449 } 450 451 456 public BigDecimal getBigDecimal(String columnName) 457 throws SQLException { 458 return getBigDecimal(findColumn(columnName)); 459 } 460 461 466 public boolean isBeforeFirst() 467 throws SQLException { 468 throw new SQLException ("isBeforeFirst"); 469 } 470 471 476 public boolean isAfterLast() 477 throws SQLException { 478 throw new SQLException ("isAfterLast"); 479 } 480 481 486 public boolean isFirst() 487 throws SQLException { 488 throw new SQLException ("isFirst"); 489 } 490 491 496 public boolean isLast() 497 throws SQLException { 498 throw new SQLException ("isLast"); 499 } 500 501 506 public void beforeFirst() 507 throws SQLException { 508 throw new SQLException ("beforeFirst"); 509 } 510 511 516 public void afterLast() 517 throws SQLException { 518 throw new SQLException ("afterLast"); 519 } 520 521 526 public boolean first() 527 throws SQLException { 528 throw new SQLException ("first"); 529 } 530 531 536 public boolean last() 537 throws SQLException { 538 throw new SQLException ("last"); 539 } 540 541 546 public int getRow() 547 throws SQLException { 548 throw new SQLException ("getRow"); 549 } 550 551 556 public boolean absolute(int row) 557 throws SQLException { 558 throw new SQLException ("absolute"); 559 } 560 561 566 public boolean relative(int rows) 567 throws SQLException { 568 throw new SQLException ("relative"); 569 } 570 571 576 public boolean previous() 577 throws SQLException { 578 throw new SQLException ("previous"); 579 } 580 581 586 public void setFetchDirection(int direction) 587 throws SQLException { 588 throw new SQLException ("setFetchDirection"); 589 } 590 591 596 public int getFetchDirection() 597 throws SQLException { 598 throw new SQLException ("getFetchDirection"); 599 } 600 601 606 public void setFetchSize(int rows) 607 throws SQLException { 608 throw new SQLException ("setFetchSize"); 609 } 610 611 616 public int getFetchSize() 617 throws SQLException { 618 throw new SQLException ("getFetchSize"); 619 } 620 621 626 public int getType() 627 throws SQLException { 628 throw new SQLException ("getType"); 629 } 630 631 636 public int getConcurrency() 637 throws SQLException { 638 throw new SQLException ("getConcurrency"); 639 } 640 641 646 public boolean rowUpdated() 647 throws SQLException { 648 throw new SQLException ("rowUpdated"); 649 } 650 651 656 public boolean rowInserted() 657 throws SQLException { 658 throw new SQLException ("rowInserted"); 659 } 660 661 666 public boolean rowDeleted() 667 throws SQLException { 668 throw new SQLException ("rowDeleted"); 669 } 670 671 676 public void updateNull(int columnIndex) 677 throws SQLException { 678 throw new SQLException ("updateNull"); 679 } 680 681 686 public void updateBoolean(int columnIndex, boolean x) 687 throws SQLException { 688 throw new SQLException ("updateBoolean"); 689 } 690 691 696 public void updateByte(int columnIndex, byte x) 697 throws SQLException { 698 throw new SQLException ("updateByte"); 699 } 700 701 706 public void updateShort(int columnIndex, short x) 707 throws SQLException { 708 throw new SQLException ("updateShort"); 709 } 710 711 716 public void updateInt(int columnIndex, int x) 717 throws SQLException { 718 throw new SQLException ("updateInt"); 719 } 720 721 726 public void updateLong(int columnIndex, long x) 727 throws SQLException { 728 throw new SQLException ("updateLong"); 729 } 730 731 736 public void updateFloat(int columnIndex, float x) 737 throws SQLException { 738 throw new SQLException ("updateFloat"); 739 } 740 741 746 public void updateDouble(int columnIndex, double x) 747 throws SQLException { 748 throw new SQLException ("updateDouble"); 749 } 750 751 756 public void updateBigDecimal(int columnIndex, BigDecimal x) 757 throws SQLException { 758 throw new SQLException ("updateBigDecimal"); 759 } 760 761 766 public void updateString(int columnIndex, String x) 767 throws SQLException { 768 throw new SQLException ("updateString"); 769 } 770 771 776 public void updateBytes(int columnIndex, byte[] x) 777 throws SQLException { 778 throw new SQLException ("updateBytes"); 779 } 780 781 786 public void updateDate(int columnIndex, java.sql.Date x) 787 throws SQLException { 788 throw new SQLException ("updateDate"); 789 } 790 791 796 public void updateTime(int columnIndex, java.sql.Time x) 797 throws SQLException { 798 throw new SQLException ("updateTime"); 799 } 800 801 806 public void updateTimestamp(int columnIndex, java.sql.Timestamp x) 807 throws SQLException { 808 throw new SQLException ("updateTimestamp"); 809 } 810 811 816 public void updateAsciiStream(int columnIndex, 817 java.io.InputStream x, 818 int length) 819 throws SQLException { 820 throw new SQLException ("updateAsciiStream"); 821 } 822 823 828 public void updateBinaryStream(int columnIndex, 829 java.io.InputStream x, 830 int length) 831 throws SQLException { 832 throw new SQLException ("updateBinaryStream"); 833 } 834 835 840 public void updateCharacterStream(int columnIndex, 841 java.io.Reader x, 842 int length) 843 throws SQLException { 844 throw new SQLException ("updateCharacterStream"); 845 } 846 847 852 public void updateObject(int columnIndex, 853 Object x, 854 int scale) 855 throws SQLException { 856 throw new SQLException ("updateObject"); 857 } 858 859 864 public void updateObject(int columnIndex, Object x) 865 throws SQLException { 866 throw new SQLException ("updateObject"); 867 } 868 869 874 public void updateNull(String columnName) 875 throws SQLException { 876 throw new SQLException ("updateNull"); 877 } 878 879 884 public void updateBoolean(String columnName, boolean x) 885 throws SQLException { 886 throw new SQLException ("updateBoolean"); 887 } 888 889 894 public void updateByte(String columnName, byte x) 895 throws SQLException { 896 throw new SQLException ("updateByte"); 897 } 898 899 904 public void updateShort(String columnName, short x) 905 throws SQLException { 906 throw new SQLException ("updateShort"); 907 } 908 909 914 public void updateInt(String columnName, int x) 915 throws SQLException { 916 throw new SQLException ("updateInt"); 917 } 918 919 924 public void updateLong(String columnName, long x) 925 throws SQLException { 926 throw new SQLException ("updateLong"); 927 } 928 929 934 public void updateFloat(String columnName, float x) 935 throws SQLException { 936 throw new SQLException ("updateFloat"); 937 } 938 939 944 public void updateDouble(String columnName, double x) 945 throws SQLException { 946 throw new SQLException ("updateDouble"); 947 } 948 949 954 public void updateBigDecimal(String columnName, BigDecimal x) 955 throws SQLException { 956 throw new SQLException ("updateBigDecimal"); 957 } 958 959 964 public void updateString(String columnName, String x) 965 throws SQLException { 966 throw new SQLException ("updateString"); 967 } 968 969 974 public void updateBytes(String columnName, byte[] x) 975 throws SQLException { 976 throw new SQLException ("updateBytes"); 977 } 978 979 984 public void updateDate(String columnName, java.sql.Date x) 985 throws SQLException { 986 throw new SQLException ("updateDate"); 987 } 988 989 994 public void updateTime(String columnName, java.sql.Time x) 995 throws SQLException { 996 throw new SQLException ("updateTime"); 997 } 998 999 1004 public void updateTimestamp(String columnName, java.sql.Timestamp x) 1005 throws SQLException { 1006 throw new SQLException ("updateTimestamp"); 1007 } 1008 1009 1014 public void updateAsciiStream(String columnName, 1015 java.io.InputStream x, 1016 int length) 1017 throws SQLException { 1018 throw new SQLException ("updateAsciiStream"); 1019 } 1020 1021 1026 public void updateBinaryStream(String columnName, 1027 java.io.InputStream x, 1028 int length) 1029 throws SQLException { 1030 throw new SQLException ("updateBinaryStream"); 1031 } 1032 1033 1038 public void updateCharacterStream(String columnName, 1039 java.io.Reader x, 1040 int length) 1041 throws SQLException { 1042 throw new SQLException ("updateCharacterStream"); 1043 } 1044 1045 1050 public void updateObject(String columnName, 1051 Object x, 1052 int scale) 1053 throws SQLException { 1054 throw new SQLException ("updateObject"); 1055 } 1056 1057 1062 public void updateObject(String columnName, Object x) 1063 throws SQLException { 1064 throw new SQLException ("updateObject"); 1065 } 1066 1067 1072 public void insertRow() 1073 throws SQLException { 1074 throw new SQLException ("insertRow"); 1075 } 1076 1077 1082 public void updateRow() 1083 throws SQLException { 1084 throw new SQLException ("updateRow"); 1085 } 1086 1087 1092 public void deleteRow() 1093 throws SQLException { 1094 throw new SQLException ("deleteRow"); 1095 } 1096 1097 1102 public void refreshRow() 1103 throws SQLException { 1104 throw new SQLException ("refreshRow"); 1105 } 1106 1107 1112 public void cancelRowUpdates() 1113 throws SQLException { 1114 throw new SQLException ("cancelRowUpdates"); 1115 } 1116 1117 1122 public void moveToInsertRow() 1123 throws SQLException { 1124 throw new SQLException ("moveToInsertRow"); 1125 } 1126 1127 1132 public void moveToCurrentRow() 1133 throws SQLException { 1134 throw new SQLException ("moveToCurrentRow"); 1135 } 1136 1137 1142 public Statement getStatement() 1143 throws SQLException { 1144 throw new SQLException ("getStatement"); 1145 } 1146 1151 public java.sql.Date getDate(int columnIndex, Calendar cal) 1152 throws SQLException { 1153 throw new SQLException ("getDate"); 1154 } 1155 1156 1161 public java.sql.Date getDate(String columnName, Calendar cal) 1162 throws SQLException { 1163 throw new SQLException ("getDate"); 1164 } 1165 1166 1171 public java.sql.Time getTime(int columnIndex, Calendar cal) 1172 throws SQLException { 1173 throw new SQLException ("getTime"); 1174 } 1175 1176 1181 public java.sql.Time getTime(String columnName, Calendar cal) 1182 throws SQLException { 1183 throw new SQLException ("getTime"); 1184 } 1185 1186 1191 public java.sql.Timestamp getTimestamp(int columnIndex, Calendar cal) 1192 throws SQLException { 1193 throw new SQLException ("getTimestamp"); 1194 } 1195 1196 1201 public java.sql.Timestamp getTimestamp(String columnName, Calendar cal) 1202 throws SQLException { 1203 throw new SQLException ("getTimestamp"); 1204 } 1205 1208 1209 1214 public URL getURL(int columnIndex) 1215 throws SQLException 1216 { 1217 throw new SQLException ("getURL"); 1218 } 1219 1220 1225 public URL getURL(String columnName) 1226 throws SQLException { 1227 throw new SQLException ("getURL"); 1228 } 1229 1230 1235 public Object getObject(int i, java.util.Map map) 1236 throws SQLException { 1237 throw new SQLException ("getObject"); 1238 } 1239 1240 1245 public Ref getRef(int i) 1246 throws SQLException { 1247 throw new SQLException ("getRef"); 1248 } 1249 1250 1255 public Blob getBlob(int i) 1256 throws SQLException { 1257 throw new SQLException ("getBlob"); 1258 } 1259 1260 1265 public Clob getClob(int i) 1266 throws SQLException { 1267 throw new SQLException ("getClob"); 1268 } 1269 1270 1275 public Array getArray(int i) 1276 throws SQLException { 1277 throw new SQLException ("getArray"); 1278 } 1279 1280 1285 public Object getObject(String colName, java.util.Map map) 1286 throws SQLException { 1287 throw new SQLException ("getObject"); 1288 } 1289 1290 1295 public Ref getRef(String colName) 1296 throws SQLException { 1297 throw new SQLException ("getRef"); 1298 } 1299 1300 1305 public Blob getBlob(String colName) 1306 throws SQLException { 1307 throw new SQLException ("getBlob"); 1308 } 1309 1310 1315 public Clob getClob(String colName) 1316 throws SQLException { 1317 throw new SQLException ("getClob"); 1318 } 1319 1320 1325 public Array getArray(String colName) 1326 throws SQLException { 1327 throw new SQLException ("getArray"); 1328 } 1329 1330 1331 1333 1338 public void updateRef(int columnIndex, Ref x) 1339 throws SQLException { 1340 throw new SQLException ("updateRef"); 1341 } 1342 1343 1348 public void updateRef(String columnName, Ref x) 1349 throws SQLException { 1350 throw new SQLException ("updateRef"); 1351 } 1352 1353 1358 public void updateBlob(int columnIndex, Blob x) 1359 throws SQLException { 1360 throw new SQLException ("updateBlob"); 1361 } 1362 1363 1368 public void updateBlob(String columnName, Blob x) 1369 throws SQLException { 1370 throw new SQLException ("updateBlob"); 1371 } 1372 1373 1378 public void updateClob(int columnIndex, Clob x) 1379 throws SQLException { 1380 throw new SQLException ("updateClob"); 1381 } 1382 1383 1388 public void updateClob(String columnName, Clob x) 1389 throws SQLException { 1390 throw new SQLException ("updateClob"); 1391 } 1392 1393 1398 public void updateArray(int columnIndex, Array x) 1399 throws SQLException { 1400 throw new SQLException ("updateArray"); 1401 } 1402 1403 1408 public void updateArray(String columnName, Array x) 1409 throws SQLException { 1410 throw new SQLException ("updateArray"); 1411 } 1412} 1413 | Popular Tags |