1 2 10 11 package org.objectweb.rmijdbc; 12 13 import java.math.BigDecimal ; 14 import java.util.Calendar ; 15 16 import java.sql.*; 17 18 23 63 64 public interface RJResultSetInterface extends java.rmi.Remote { 65 66 78 boolean next() throws java.rmi.RemoteException , SQLException; 79 80 92 void close() throws java.rmi.RemoteException , SQLException; 93 94 103 boolean wasNull() throws java.rmi.RemoteException , SQLException; 104 105 109 115 String getString(int columnIndex) throws java.rmi.RemoteException , SQLException; 116 117 123 boolean getBoolean(int columnIndex) throws java.rmi.RemoteException , SQLException; 124 125 131 byte getByte(int columnIndex) throws java.rmi.RemoteException , SQLException; 132 133 139 short getShort(int columnIndex) throws java.rmi.RemoteException , SQLException; 140 141 147 int getInt(int columnIndex) throws java.rmi.RemoteException , SQLException; 148 149 155 long getLong(int columnIndex) throws java.rmi.RemoteException , SQLException; 156 157 163 float getFloat(int columnIndex) throws java.rmi.RemoteException , SQLException; 164 165 171 double getDouble(int columnIndex) throws java.rmi.RemoteException , SQLException; 172 173 180 BigDecimal getBigDecimal(int columnIndex, int scale) throws java.rmi.RemoteException , SQLException; 181 182 189 byte[] getBytes(int columnIndex) throws java.rmi.RemoteException , SQLException; 190 191 197 java.sql.Date getDate(int columnIndex) throws java.rmi.RemoteException , SQLException; 198 199 205 java.sql.Time getTime(int columnIndex) throws java.rmi.RemoteException , SQLException; 206 207 213 java.sql.Timestamp getTimestamp(int columnIndex) throws java.rmi.RemoteException , SQLException; 214 215 232 byte[] getAsciiStream(int columnIndex) 235 throws java.rmi.RemoteException , SQLException; 236 237 254 byte[] getUnicodeStream(int columnIndex) 257 throws java.rmi.RemoteException , SQLException; 258 259 275 byte[] getBinaryStream(int columnIndex) 278 throws java.rmi.RemoteException , SQLException; 279 280 281 285 291 String getString(String columnName) throws java.rmi.RemoteException , SQLException; 292 293 299 boolean getBoolean(String columnName) throws java.rmi.RemoteException , SQLException; 300 301 307 byte getByte(String columnName) throws java.rmi.RemoteException , SQLException; 308 309 315 short getShort(String columnName) throws java.rmi.RemoteException , SQLException; 316 317 323 int getInt(String columnName) throws java.rmi.RemoteException , SQLException; 324 325 331 long getLong(String columnName) throws java.rmi.RemoteException , SQLException; 332 333 339 float getFloat(String columnName) throws java.rmi.RemoteException , SQLException; 340 341 347 double getDouble(String columnName) throws java.rmi.RemoteException , SQLException; 348 349 356 BigDecimal getBigDecimal(String columnName, int scale) throws java.rmi.RemoteException , SQLException; 357 358 365 byte[] getBytes(String columnName) throws java.rmi.RemoteException , SQLException; 366 367 373 java.sql.Date getDate(String columnName) throws java.rmi.RemoteException , SQLException; 374 375 381 java.sql.Time getTime(String columnName) throws java.rmi.RemoteException , SQLException; 382 383 389 java.sql.Timestamp getTimestamp(String columnName) throws java.rmi.RemoteException , SQLException; 390 391 406 byte[] getAsciiStream(String columnName) 409 throws java.rmi.RemoteException , SQLException; 410 411 426 byte[] getUnicodeStream(String columnName) throws java.rmi.RemoteException , SQLException; 429 430 444 byte[] getBinaryStream(String columnName) throws java.rmi.RemoteException , SQLException; 447 448 449 453 468 SQLWarning getWarnings() throws java.rmi.RemoteException , SQLException; 469 470 474 void clearWarnings() throws java.rmi.RemoteException , SQLException; 475 476 493 String getCursorName() throws java.rmi.RemoteException , SQLException; 494 495 501 RJResultSetMetaDataInterface getMetaData() throws java.rmi.RemoteException , SQLException; 502 503 517 Object getObject(int columnIndex) throws java.rmi.RemoteException , SQLException; 518 519 533 Object getObject(String columnName) 534 throws java.rmi.RemoteException , SQLException; 535 536 538 544 int findColumn(String columnName) 545 throws java.rmi.RemoteException , SQLException; 546 547 549 553 559 java.io.Reader getCharacterStream(int columnIndex) throws java.rmi.RemoteException , SQLException; 560 561 568 java.io.Reader getCharacterStream(String columnName) throws java.rmi.RemoteException , SQLException; 569 570 581 BigDecimal getBigDecimal(int columnIndex) throws java.rmi.RemoteException , SQLException; 582 583 594 BigDecimal getBigDecimal(String columnName) throws java.rmi.RemoteException , SQLException; 595 596 600 610 boolean isBeforeFirst() throws java.rmi.RemoteException , SQLException; 611 612 622 boolean isAfterLast() throws java.rmi.RemoteException , SQLException; 623 624 632 boolean isFirst() throws java.rmi.RemoteException , SQLException; 633 634 646 boolean isLast() throws java.rmi.RemoteException , SQLException; 647 648 657 void beforeFirst() throws java.rmi.RemoteException , SQLException; 658 659 668 void afterLast() throws java.rmi.RemoteException , SQLException; 669 670 680 boolean first() throws java.rmi.RemoteException , SQLException; 681 682 692 boolean last() throws java.rmi.RemoteException , SQLException; 693 694 703 int getRow() throws java.rmi.RemoteException , SQLException; 704 705 734 boolean absolute( int row ) throws java.rmi.RemoteException , SQLException; 735 736 755 boolean relative( int rows ) throws java.rmi.RemoteException , SQLException; 756 757 770 boolean previous() throws java.rmi.RemoteException , SQLException; 771 772 784 void setFetchDirection(int direction) throws java.rmi.RemoteException , SQLException; 785 786 794 int getFetchDirection() throws java.rmi.RemoteException , SQLException; 795 796 811 void setFetchSize(int rows) throws java.rmi.RemoteException , SQLException; 812 813 821 int getFetchSize() throws java.rmi.RemoteException , SQLException; 822 823 824 834 int getType() throws java.rmi.RemoteException , SQLException; 835 836 845 int getConcurrency() throws java.rmi.RemoteException , SQLException; 846 847 851 863 boolean rowUpdated() throws java.rmi.RemoteException , SQLException; 864 865 876 boolean rowInserted() throws java.rmi.RemoteException , SQLException; 877 878 891 boolean rowDeleted() throws java.rmi.RemoteException , SQLException; 892 893 906 void updateNull(int columnIndex) throws java.rmi.RemoteException , SQLException; 907 908 922 void updateBoolean(int columnIndex, boolean x) throws java.rmi.RemoteException , SQLException; 923 924 938 void updateByte(int columnIndex, byte x) throws java.rmi.RemoteException , SQLException; 939 940 954 void updateShort(int columnIndex, short x) throws java.rmi.RemoteException , SQLException; 955 956 970 void updateInt(int columnIndex, int x) throws java.rmi.RemoteException , SQLException; 971 972 986 void updateLong(int columnIndex, long x) throws java.rmi.RemoteException , SQLException; 987 988 1002 void updateFloat(int columnIndex, float x) throws java.rmi.RemoteException , SQLException; 1003 1004 1018 void updateDouble(int columnIndex, double x) throws java.rmi.RemoteException , SQLException; 1019 1020 1034 void updateBigDecimal(int columnIndex, BigDecimal x) throws java.rmi.RemoteException , SQLException; 1035 1036 1050 void updateString(int columnIndex, String x) throws java.rmi.RemoteException , SQLException; 1051 1052 1066 void updateBytes(int columnIndex, byte x[]) throws java.rmi.RemoteException , SQLException; 1067 1068 1082 void updateDate(int columnIndex, java.sql.Date x) throws java.rmi.RemoteException , SQLException; 1083 1084 1098 void updateTime(int columnIndex, java.sql.Time x) throws java.rmi.RemoteException , SQLException; 1099 1100 1114 void updateTimestamp(int columnIndex, java.sql.Timestamp x) 1115 throws java.rmi.RemoteException , SQLException; 1116 1117 1132 void updateAsciiStream(int columnIndex, 1133 java.io.InputStream x, 1134 int length) throws java.rmi.RemoteException , SQLException; 1135 1136 1151 void updateBinaryStream(int columnIndex, 1152 java.io.InputStream x, 1153 int length) throws java.rmi.RemoteException , SQLException; 1154 1155 1170 void updateCharacterStream(int columnIndex, 1171 java.io.Reader x, 1172 int length) throws java.rmi.RemoteException , SQLException; 1173 1174 1191 void updateObject(int columnIndex, Object x, int scale) 1192 throws java.rmi.RemoteException , SQLException; 1193 1194 1208 void updateObject(int columnIndex, Object x) throws java.rmi.RemoteException , SQLException; 1209 1210 1223 void updateNull(String columnName) throws java.rmi.RemoteException , SQLException; 1224 1225 1239 void updateBoolean(String columnName, boolean x) throws java.rmi.RemoteException , SQLException; 1240 1241 1255 void updateByte(String columnName, byte x) throws java.rmi.RemoteException , SQLException; 1256 1257 1271 void updateShort(String columnName, short x) throws java.rmi.RemoteException , SQLException; 1272 1273 1287 void updateInt(String columnName, int x) throws java.rmi.RemoteException , SQLException; 1288 1289 1303 void updateLong(String columnName, long x) throws java.rmi.RemoteException , SQLException; 1304 1305 1319 void updateFloat(String columnName, float x) throws java.rmi.RemoteException , SQLException; 1320 1321 1335 void updateDouble(String columnName, double x) throws java.rmi.RemoteException , SQLException; 1336 1337 1351 void updateBigDecimal(String columnName, BigDecimal x) throws java.rmi.RemoteException , SQLException; 1352 1353 1367 void updateString(String columnName, String x) throws java.rmi.RemoteException , SQLException; 1368 1369 1383 void updateBytes(String columnName, byte x[]) throws java.rmi.RemoteException , SQLException; 1384 1385 1399 void updateDate(String columnName, java.sql.Date x) throws java.rmi.RemoteException , SQLException; 1400 1401 1415 void updateTime(String columnName, java.sql.Time x) throws java.rmi.RemoteException , SQLException; 1416 1417 1431 void updateTimestamp(String columnName, java.sql.Timestamp x) 1432 throws java.rmi.RemoteException , SQLException; 1433 1434 1449 void updateAsciiStream(String columnName, 1450 java.io.InputStream x, 1451 int length) throws java.rmi.RemoteException , SQLException; 1452 1453 1468 void updateBinaryStream(String columnName, 1469 java.io.InputStream x, 1470 int length) throws java.rmi.RemoteException , SQLException; 1471 1472 1487 void updateCharacterStream(String columnName, 1488 java.io.Reader reader, 1489 int length) throws java.rmi.RemoteException , SQLException; 1490 1491 1508 void updateObject(String columnName, Object x, int scale) 1509 throws java.rmi.RemoteException , SQLException; 1510 1511 1525 void updateObject(String columnName, Object x) throws java.rmi.RemoteException , SQLException; 1526 1527 1537 void insertRow() throws java.rmi.RemoteException , SQLException; 1538 1539 1548 void updateRow() throws java.rmi.RemoteException , SQLException; 1549 1550 1559 void deleteRow() throws java.rmi.RemoteException , SQLException; 1560 1561 1584 void refreshRow() throws java.rmi.RemoteException , SQLException; 1585 1586 1600 void cancelRowUpdates() throws java.rmi.RemoteException , SQLException; 1601 1602 1624 void moveToInsertRow() throws java.rmi.RemoteException , SQLException; 1625 1626 1636 void moveToCurrentRow() throws java.rmi.RemoteException , SQLException; 1637 1638 1649 RJStatementInterface getStatement() 1650 throws java.rmi.RemoteException , SQLException; 1651 1652 1664 Object getObject(int i, java.util.Map map) throws java.rmi.RemoteException , SQLException; 1665 1666 1674 RJRefInterface getRef(int i) throws java.rmi.RemoteException , SQLException; 1675 1676 1685 RJBlobInterface getBlob(int i) 1686 throws java.rmi.RemoteException , SQLException; 1687 1688 1697 RJClobInterface getClob(int i) 1698 throws java.rmi.RemoteException , SQLException; 1699 1700 1709 RJArrayInterface getArray(int i) 1710 throws java.rmi.RemoteException , SQLException; 1711 1712 1723 Object getObject(String colName, java.util.Map map) throws java.rmi.RemoteException , SQLException; 1724 1725 1734 RJRefInterface getRef(String colName) 1735 throws java.rmi.RemoteException , SQLException; 1736 1737 1746 RJBlobInterface getBlob(String colName) 1747 throws java.rmi.RemoteException , SQLException; 1748 1749 1758 RJClobInterface getClob(String colName) 1759 throws java.rmi.RemoteException , SQLException; 1760 1761 1770 RJArrayInterface getArray(String colName) 1771 throws java.rmi.RemoteException , SQLException; 1772 1773 1786 java.sql.Date getDate(int columnIndex, Calendar cal) throws java.rmi.RemoteException , SQLException; 1787 1788 1799 java.sql.Date getDate(String columnName, Calendar cal) throws java.rmi.RemoteException , SQLException; 1800 1801 1812 java.sql.Time getTime(int columnIndex, Calendar cal) throws java.rmi.RemoteException , SQLException; 1813 1814 1825 java.sql.Time getTime(String columnName, Calendar cal) throws java.rmi.RemoteException , SQLException; 1826 1827 1838 java.sql.Timestamp getTimestamp(int columnIndex, Calendar cal) 1839 throws java.rmi.RemoteException , SQLException; 1840 1841 1852 java.sql.Timestamp getTimestamp(String columnName, Calendar cal) 1853 throws java.rmi.RemoteException , SQLException; 1854 1855 1856 1858 1864 int HOLD_CURSORS_OVER_COMMIT = 1; 1865 1866 1872 int CLOSE_CURSORS_AT_COMMIT = 2; 1873 1874 1887 java.net.URL getURL(int columnIndex) throws java.rmi.RemoteException , SQLException; 1888 1889 1902 java.net.URL getURL(String columnName) throws java.rmi.RemoteException , SQLException; 1903 1904 1916 void updateRef(int columnIndex, java.sql.Ref x) throws java.rmi.RemoteException , SQLException; 1917 1918 1930 void updateRef(String columnName, java.sql.Ref x) throws java.rmi.RemoteException , SQLException; 1931 1932 1944 void updateBlob(int columnIndex, java.sql.Blob x) throws java.rmi.RemoteException , SQLException; 1945 1946 1958 void updateBlob(String columnName, java.sql.Blob x) throws java.rmi.RemoteException , SQLException; 1959 1960 1972 void updateClob(int columnIndex, java.sql.Clob x) throws java.rmi.RemoteException , SQLException; 1973 1974 1986 void updateClob(String columnName, java.sql.Clob x) throws java.rmi.RemoteException , SQLException; 1987 1988 2000 void updateArray(int columnIndex, java.sql.Array x) throws java.rmi.RemoteException , SQLException; 2001 2002 2014 void updateArray(String columnName, java.sql.Array x) throws java.rmi.RemoteException , SQLException; 2015}; 2016 2017 2018 | Popular Tags |