1 package com.imcode.db.mock; 2 3 import org.apache.commons.lang.NotImplementedException; 4 5 import java.io.InputStream; 6 import java.io.Reader; 7 import java.math.BigDecimal; 8 import java.net.URL; 9 import java.sql.*; 10 import java.util.Calendar; 11 import java.util.Map; 12 13 public class MockResultSet implements ResultSet { 14 15 Object[][] rows ; 16 int rowIndex = -1 ; 17 18 public MockResultSet(Object[][] objects) { 19 rows = objects ; 20 } 21 22 public boolean next() throws SQLException { 23 if ( rows.length - 1 == rowIndex ) { 24 return false ; 25 } 26 rowIndex++ ; 27 return true; 28 } 29 30 public void close() throws SQLException { 31 } 32 33 public boolean wasNull() throws SQLException { 34 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.wasNull"); 35 } 36 37 public String getString(int columnIndex) throws SQLException { 38 Object object = getObject(columnIndex); 39 if (null == object) { 40 return null ; 41 } 42 if (!(object instanceof String)) { 43 return ""+object ; 44 } 45 return (String)object; 46 } 47 48 public boolean getBoolean(int columnIndex) throws SQLException { 49 Object object = getObject(columnIndex); 50 if (null == object) { 51 return false ; 52 } 53 return ((Boolean)object).booleanValue() ; 54 } 55 56 public byte getByte(int columnIndex) throws SQLException { 57 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getByte"); 58 } 59 60 public short getShort(int columnIndex) throws SQLException { 61 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getShort"); 62 } 63 64 public int getInt(int columnIndex) throws SQLException { 65 return ((Number)getObject(columnIndex)).intValue() ; 66 } 67 68 public long getLong(int columnIndex) throws SQLException { 69 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getLong"); 70 } 71 72 public float getFloat(int columnIndex) throws SQLException { 73 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getFloat"); 74 } 75 76 public double getDouble(int columnIndex) throws SQLException { 77 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getDouble"); 78 } 79 80 public BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException { 81 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getBigDecimal"); 82 } 83 84 public byte[] getBytes(int columnIndex) throws SQLException { 85 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getBytes"); 86 } 87 88 public Date getDate(int columnIndex) throws SQLException { 89 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getDate"); 90 } 91 92 public Time getTime(int columnIndex) throws SQLException { 93 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getTime"); 94 } 95 96 public Timestamp getTimestamp(int columnIndex) throws SQLException { 97 Date date = (Date) getObject(columnIndex); 98 if (null == date) { 99 return null ; 100 } 101 return new Timestamp(date.getTime()); 102 } 103 104 public InputStream getAsciiStream(int columnIndex) throws SQLException { 105 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getAsciiStream"); 106 } 107 108 public InputStream getUnicodeStream(int columnIndex) throws SQLException { 109 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getUnicodeStream"); 110 } 111 112 public InputStream getBinaryStream(int columnIndex) throws SQLException { 113 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getBinaryStream"); 114 } 115 116 public String getString(String columnName) throws SQLException { 117 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getString"); 118 } 119 120 public boolean getBoolean(String columnName) throws SQLException { 121 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getBoolean"); 122 } 123 124 public byte getByte(String columnName) throws SQLException { 125 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getByte"); 126 } 127 128 public short getShort(String columnName) throws SQLException { 129 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getShort"); 130 } 131 132 public int getInt(String columnName) throws SQLException { 133 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getInt"); 134 } 135 136 public long getLong(String columnName) throws SQLException { 137 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getLong"); 138 } 139 140 public float getFloat(String columnName) throws SQLException { 141 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getFloat"); 142 } 143 144 public double getDouble(String columnName) throws SQLException { 145 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getDouble"); 146 } 147 148 149 public BigDecimal getBigDecimal(String columnName, int scale) throws SQLException { 150 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getBigDecimal"); 151 } 152 153 public byte[] getBytes(String columnName) throws SQLException { 154 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getBytes"); 155 } 156 157 public Date getDate(String columnName) throws SQLException { 158 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getDate"); 159 } 160 161 public Time getTime(String columnName) throws SQLException { 162 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getTime"); 163 } 164 165 public Timestamp getTimestamp(String columnName) throws SQLException { 166 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getTimestamp"); 167 } 168 169 public InputStream getAsciiStream(String columnName) throws SQLException { 170 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getAsciiStream"); 171 } 172 173 174 public InputStream getUnicodeStream(String columnName) throws SQLException { 175 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getUnicodeStream"); 176 } 177 178 public InputStream getBinaryStream(String columnName) throws SQLException { 179 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getBinaryStream"); 180 } 181 182 public SQLWarning getWarnings() throws SQLException { 183 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getWarnings"); 184 } 185 186 public void clearWarnings() throws SQLException { 187 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.clearWarnings"); 188 } 189 190 public String getCursorName() throws SQLException { 191 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getCursorName"); 192 } 193 194 public ResultSetMetaData getMetaData() throws SQLException { 195 return new MockResultSetMetaData(); 196 } 197 198 public Object getObject(int columnIndex) throws SQLException { 199 if (rowIndex == -1) { 200 throw new IllegalStateException("Did you forget to call ResultSet.next() ?") ; 201 } 202 return rows[rowIndex][columnIndex-1] ; 203 } 204 205 public Object getObject(String columnName) throws SQLException { 206 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getObject"); 207 } 208 209 public int findColumn(String columnName) throws SQLException { 210 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.findColumn"); 211 } 212 213 public Reader getCharacterStream(int columnIndex) throws SQLException { 214 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getCharacterStream"); 215 } 216 217 public Reader getCharacterStream(String columnName) throws SQLException { 218 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getCharacterStream"); 219 } 220 221 public BigDecimal getBigDecimal(int columnIndex) throws SQLException { 222 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getBigDecimal"); 223 } 224 225 public BigDecimal getBigDecimal(String columnName) throws SQLException { 226 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getBigDecimal"); 227 } 228 229 public boolean isBeforeFirst() throws SQLException { 230 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.isBeforeFirst"); 231 } 232 233 public boolean isAfterLast() throws SQLException { 234 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.isAfterLast"); 235 } 236 237 public boolean isFirst() throws SQLException { 238 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.isFirst"); 239 } 240 241 public boolean isLast() throws SQLException { 242 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.isLast"); 243 } 244 245 public void beforeFirst() throws SQLException { 246 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.beforeFirst"); 247 } 248 249 public void afterLast() throws SQLException { 250 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.afterLast"); 251 } 252 253 public boolean first() throws SQLException { 254 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.first"); 255 } 256 257 public boolean last() throws SQLException { 258 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.last"); 259 } 260 261 public int getRow() throws SQLException { 262 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getRow"); 263 } 264 265 public boolean absolute(int row) throws SQLException { 266 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.absolute"); 267 } 268 269 public boolean relative(int rows) throws SQLException { 270 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.relative"); 271 } 272 273 public boolean previous() throws SQLException { 274 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.previous"); 275 } 276 277 public void setFetchDirection(int direction) throws SQLException { 278 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.setFetchDirection"); 279 } 280 281 public int getFetchDirection() throws SQLException { 282 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getFetchDirection"); 283 } 284 285 public void setFetchSize(int rows) throws SQLException { 286 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.setFetchSize"); 287 } 288 289 public int getFetchSize() throws SQLException { 290 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getFetchSize"); 291 } 292 293 public int getType() throws SQLException { 294 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getType"); 295 } 296 297 public int getConcurrency() throws SQLException { 298 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getConcurrency"); 299 } 300 301 public boolean rowUpdated() throws SQLException { 302 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.rowUpdated"); 303 } 304 305 public boolean rowInserted() throws SQLException { 306 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.rowInserted"); 307 } 308 309 public boolean rowDeleted() throws SQLException { 310 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.rowDeleted"); 311 } 312 313 public void updateNull(int columnIndex) throws SQLException { 314 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateNull"); 315 } 316 317 public void updateBoolean(int columnIndex, boolean x) throws SQLException { 318 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateBoolean"); 319 } 320 321 public void updateByte(int columnIndex, byte x) throws SQLException { 322 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateByte"); 323 } 324 325 public void updateShort(int columnIndex, short x) throws SQLException { 326 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateShort"); 327 } 328 329 public void updateInt(int columnIndex, int x) throws SQLException { 330 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateInt"); 331 } 332 333 public void updateLong(int columnIndex, long x) throws SQLException { 334 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateLong"); 335 } 336 337 public void updateFloat(int columnIndex, float x) throws SQLException { 338 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateFloat"); 339 } 340 341 public void updateDouble(int columnIndex, double x) throws SQLException { 342 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateDouble"); 343 } 344 345 public void updateBigDecimal(int columnIndex, BigDecimal x) throws SQLException { 346 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateBigDecimal"); 347 } 348 349 public void updateString(int columnIndex, String x) throws SQLException { 350 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateString"); 351 } 352 353 public void updateBytes(int columnIndex, byte x[]) throws SQLException { 354 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateBytes"); 355 } 356 357 public void updateDate(int columnIndex, Date x) throws SQLException { 358 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateDate"); 359 } 360 361 public void updateTime(int columnIndex, Time x) throws SQLException { 362 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateTime"); 363 } 364 365 public void updateTimestamp(int columnIndex, Timestamp x) throws SQLException { 366 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateTimestamp"); 367 } 368 369 public void updateAsciiStream(int columnIndex, InputStream x, int length) throws SQLException { 370 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateAsciiStream"); 371 } 372 373 public void updateBinaryStream(int columnIndex, InputStream x, int length) throws SQLException { 374 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateBinaryStream"); 375 } 376 377 public void updateCharacterStream(int columnIndex, Reader x, int length) throws SQLException { 378 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateCharacterStream"); 379 } 380 381 public void updateObject(int columnIndex, Object x, int scale) throws SQLException { 382 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateObject"); 383 } 384 385 public void updateObject(int columnIndex, Object x) throws SQLException { 386 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateObject"); 387 } 388 389 public void updateNull(String columnName) throws SQLException { 390 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateNull"); 391 } 392 393 public void updateBoolean(String columnName, boolean x) throws SQLException { 394 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateBoolean"); 395 } 396 397 public void updateByte(String columnName, byte x) throws SQLException { 398 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateByte"); 399 } 400 401 public void updateShort(String columnName, short x) throws SQLException { 402 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateShort"); 403 } 404 405 public void updateInt(String columnName, int x) throws SQLException { 406 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateInt"); 407 } 408 409 public void updateLong(String columnName, long x) throws SQLException { 410 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateLong"); 411 } 412 413 public void updateFloat(String columnName, float x) throws SQLException { 414 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateFloat"); 415 } 416 417 public void updateDouble(String columnName, double x) throws SQLException { 418 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateDouble"); 419 } 420 421 public void updateBigDecimal(String columnName, BigDecimal x) throws SQLException { 422 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateBigDecimal"); 423 } 424 425 public void updateString(String columnName, String x) throws SQLException { 426 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateString"); 427 } 428 429 public void updateBytes(String columnName, byte x[]) throws SQLException { 430 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateBytes"); 431 } 432 433 public void updateDate(String columnName, Date x) throws SQLException { 434 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateDate"); 435 } 436 437 public void updateTime(String columnName, Time x) throws SQLException { 438 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateTime"); 439 } 440 441 public void updateTimestamp(String columnName, Timestamp x) throws SQLException { 442 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateTimestamp"); 443 } 444 445 public void updateAsciiStream(String columnName, InputStream x, int length) throws SQLException { 446 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateAsciiStream"); 447 } 448 449 public void updateBinaryStream(String columnName, InputStream x, int length) throws SQLException { 450 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateBinaryStream"); 451 } 452 453 public void updateCharacterStream(String columnName, Reader reader, int length) throws SQLException { 454 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateCharacterStream"); 455 } 456 457 public void updateObject(String columnName, Object x, int scale) throws SQLException { 458 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateObject"); 459 } 460 461 public void updateObject(String columnName, Object x) throws SQLException { 462 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateObject"); 463 } 464 465 public void insertRow() throws SQLException { 466 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.insertRow"); 467 } 468 469 public void updateRow() throws SQLException { 470 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateRow"); 471 } 472 473 public void deleteRow() throws SQLException { 474 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.deleteRow"); 475 } 476 477 public void refreshRow() throws SQLException { 478 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.refreshRow"); 479 } 480 481 public void cancelRowUpdates() throws SQLException { 482 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.cancelRowUpdates"); 483 } 484 485 public void moveToInsertRow() throws SQLException { 486 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.moveToInsertRow"); 487 } 488 489 public void moveToCurrentRow() throws SQLException { 490 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.moveToCurrentRow"); 491 } 492 493 public Statement getStatement() throws SQLException { 494 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getStatement"); 495 } 496 497 public Object getObject(int i, Map map) throws SQLException { 498 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getObject"); 499 } 500 501 public Ref getRef(int i) throws SQLException { 502 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getRef"); 503 } 504 505 public Blob getBlob(int i) throws SQLException { 506 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getBlob"); 507 } 508 509 public Clob getClob(int i) throws SQLException { 510 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getClob"); 511 } 512 513 public Array getArray(int i) throws SQLException { 514 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getArray"); 515 } 516 517 public Object getObject(String colName, Map map) throws SQLException { 518 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getObject"); 519 } 520 521 public Ref getRef(String colName) throws SQLException { 522 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getRef"); 523 } 524 525 public Blob getBlob(String colName) throws SQLException { 526 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getBlob"); 527 } 528 529 public Clob getClob(String colName) throws SQLException { 530 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getClob"); 531 } 532 533 public Array getArray(String colName) throws SQLException { 534 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getArray"); 535 } 536 537 public Date getDate(int columnIndex, Calendar cal) throws SQLException { 538 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getDate"); 539 } 540 541 public Date getDate(String columnName, Calendar cal) throws SQLException { 542 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getDate"); 543 } 544 545 public Time getTime(int columnIndex, Calendar cal) throws SQLException { 546 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getTime"); 547 } 548 549 public Time getTime(String columnName, Calendar cal) throws SQLException { 550 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getTime"); 551 } 552 553 public Timestamp getTimestamp(int columnIndex, Calendar cal) throws SQLException { 554 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getTimestamp"); 555 } 556 557 public Timestamp getTimestamp(String columnName, Calendar cal) throws SQLException { 558 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getTimestamp"); 559 } 560 561 public URL getURL(int columnIndex) throws SQLException { 562 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getURL"); 563 } 564 565 public URL getURL(String columnName) throws SQLException { 566 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.getURL"); 567 } 568 569 public void updateRef(int columnIndex, Ref x) throws SQLException { 570 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateRef"); 571 } 572 573 public void updateRef(String columnName, Ref x) throws SQLException { 574 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateRef"); 575 } 576 577 public void updateBlob(int columnIndex, Blob x) throws SQLException { 578 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateBlob"); 579 } 580 581 public void updateBlob(String columnName, Blob x) throws SQLException { 582 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateBlob"); 583 } 584 585 public void updateClob(int columnIndex, Clob x) throws SQLException { 586 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateClob"); 587 } 588 589 public void updateClob(String columnName, Clob x) throws SQLException { 590 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateClob"); 591 } 592 593 public void updateArray(int columnIndex, Array x) throws SQLException { 594 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateArray"); 595 } 596 597 public void updateArray(String columnName, Array x) throws SQLException { 598 throw new NotImplementedException("imcode.server.db.impl.MockResultSet.updateArray"); 599 } 600 601 private class MockResultSetMetaData implements ResultSetMetaData { 602 603 public int getColumnCount() { 604 if ( 0 == rows.length ) { 605 return 0 ; 606 } 607 return rows[0].length ; 608 } 609 610 public boolean isAutoIncrement(int column) throws SQLException { 611 throw new NotImplementedException(".isAutoIncrement"); 612 } 613 614 public boolean isCaseSensitive(int column) throws SQLException { 615 throw new NotImplementedException(".isCaseSensitive"); 616 } 617 618 public boolean isSearchable(int column) throws SQLException { 619 throw new NotImplementedException(".isSearchable"); 620 } 621 622 public boolean isCurrency(int column) throws SQLException { 623 throw new NotImplementedException(".isCurrency"); 624 } 625 626 public int isNullable(int column) throws SQLException { 627 throw new NotImplementedException(".isNullable"); 628 } 629 630 public boolean isSigned(int column) throws SQLException { 631 throw new NotImplementedException(".isSigned"); 632 } 633 634 public int getColumnDisplaySize(int column) throws SQLException { 635 throw new NotImplementedException(".getColumnDisplaySize"); 636 } 637 638 public String getColumnLabel(int column) throws SQLException { 639 throw new NotImplementedException(".getColumnLabel"); 640 } 641 642 public String getColumnName(int column) throws SQLException { 643 throw new NotImplementedException(".getColumnName"); 644 } 645 646 public String getSchemaName(int column) throws SQLException { 647 throw new NotImplementedException(".getSchemaName"); 648 } 649 650 public int getPrecision(int column) throws SQLException { 651 throw new NotImplementedException(".getPrecision"); 652 } 653 654 public int getScale(int column) throws SQLException { 655 throw new NotImplementedException(".getScale"); 656 } 657 658 public String getTableName(int column) throws SQLException { 659 throw new NotImplementedException(".getTableName"); 660 } 661 662 public String getCatalogName(int column) throws SQLException { 663 throw new NotImplementedException(".getCatalogName"); 664 } 665 666 public int getColumnType(int column) throws SQLException { 667 throw new NotImplementedException(".getColumnType"); 668 } 669 670 public String getColumnTypeName(int column) throws SQLException { 671 throw new NotImplementedException(".getColumnTypeName"); 672 } 673 674 public boolean isReadOnly(int column) throws SQLException { 675 throw new NotImplementedException(".isReadOnly"); 676 } 677 678 public boolean isWritable(int column) throws SQLException { 679 throw new NotImplementedException(".isWritable"); 680 } 681 682 public boolean isDefinitelyWritable(int column) throws SQLException { 683 throw new NotImplementedException(".isDefinitelyWritable"); 684 } 685 686 public String getColumnClassName(int column) throws SQLException { 687 throw new NotImplementedException(".getColumnClassName"); 688 } 689 } 690 }