| 1 7 8 package java.sql; 9 10 import java.math.BigDecimal ; 11 import java.util.Calendar ; 12 13 127 128 public interface ResultSet { 129 130 146 boolean next() throws SQLException ; 147 148 149 164 void close() throws SQLException ; 165 166 178 boolean wasNull() throws SQLException ; 179 180 184 194 String getString(int columnIndex) throws SQLException ; 195 196 206 boolean getBoolean(int columnIndex) throws SQLException ; 207 208 218 byte getByte(int columnIndex) throws SQLException ; 219 220 230 short getShort(int columnIndex) throws SQLException ; 231 232 242 int getInt(int columnIndex) throws SQLException ; 243 244 254 long getLong(int columnIndex) throws SQLException ; 255 256 266 float getFloat(int columnIndex) throws SQLException ; 267 268 278 double getDouble(int columnIndex) throws SQLException ; 279 280 292 @Deprecated  293 BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException ; 294 295 306 byte[] getBytes(int columnIndex) throws SQLException ; 307 308 318 java.sql.Date getDate(int columnIndex) throws SQLException ; 319 320 330 java.sql.Time getTime(int columnIndex) throws SQLException ; 331 332 342 java.sql.Timestamp getTimestamp(int columnIndex) throws SQLException ; 343 344 367 java.io.InputStream getAsciiStream(int columnIndex) throws SQLException ; 368 369 398 @Deprecated  399 java.io.InputStream getUnicodeStream(int columnIndex) throws SQLException ; 400 401 422 java.io.InputStream getBinaryStream(int columnIndex) 423 throws SQLException ; 424 425 426 430 440 String getString(String columnName) throws SQLException ; 441 442 452 boolean getBoolean(String columnName) throws SQLException ; 453 454 464 byte getByte(String columnName) throws SQLException ; 465 466 476 short getShort(String columnName) throws SQLException ; 477 478 488 int getInt(String columnName) throws SQLException ; 489 490 500 long getLong(String columnName) throws SQLException ; 501 502 512 float getFloat(String columnName) throws SQLException ; 513 514 524 double getDouble(String columnName) throws SQLException ; 525 526 538 @Deprecated  539 BigDecimal getBigDecimal(String columnName, int scale) throws SQLException ; 540 541 552 byte[] getBytes(String columnName) throws SQLException ; 553 554 564 java.sql.Date getDate(String columnName) throws SQLException ; 565 566 577 java.sql.Time getTime(String columnName) throws SQLException ; 578 579 589 java.sql.Timestamp getTimestamp(String columnName) throws SQLException ; 590 591 613 java.io.InputStream getAsciiStream(String columnName) throws SQLException ; 614 615 642 @Deprecated  643 java.io.InputStream getUnicodeStream(String columnName) throws SQLException ; 644 645 666 java.io.InputStream getBinaryStream(String columnName) 667 throws SQLException ; 668 669 670 674 697 SQLWarning getWarnings() throws SQLException ; 698 699 707 void clearWarnings() throws SQLException ; 708 709 732 String getCursorName() throws SQLException ; 733 734 741 ResultSetMetaData getMetaData() throws SQLException ; 742 743 769 Object getObject(int columnIndex) throws SQLException ; 770 771 797 Object getObject(String columnName) throws SQLException ; 798 799 801 810 int findColumn(String columnName) throws SQLException ; 811 812 813 815 819 830 java.io.Reader getCharacterStream(int columnIndex) throws SQLException ; 831 832 844 java.io.Reader getCharacterStream(String columnName) throws SQLException ; 845 846 858 BigDecimal getBigDecimal(int columnIndex) throws SQLException ; 859 860 873 BigDecimal getBigDecimal(String columnName) throws SQLException ; 874 875 879 889 boolean isBeforeFirst() throws SQLException ; 890 891 901 boolean isAfterLast() throws SQLException ; 902 903 912 boolean isFirst() throws SQLException ; 913 914 927 boolean isLast() throws SQLException ; 928 929 938 void beforeFirst() throws SQLException ; 939 940 948 void afterLast() throws SQLException ; 949
|