1 7 8 package javax.sql; 9 10 import java.sql.*; 11 import java.io.*; 12 import java.math.*; 13 import java.util.*; 14 15 68 69 public interface RowSet extends ResultSet { 70 71 75 79 89 String getUrl() throws SQLException; 90 91 106 void setUrl(String url) throws SQLException; 107 108 118 String getDataSourceName(); 119 120 134 void setDataSourceName(String name) throws SQLException; 135 136 146 String getUsername(); 147 148 156 void setUsername(String name) throws SQLException; 157 158 167 String getPassword(); 168 169 177 void setPassword(String password) throws SQLException; 178 179 190 int getTransactionIsolation(); 191 192 203 void setTransactionIsolation(int level) throws SQLException; 204 205 218 java.util.Map <String ,Class <?>> getTypeMap() throws SQLException; 219 220 231 void setTypeMap(java.util.Map <String ,Class <?>> map) throws SQLException; 232 233 237 247 String getCommand(); 248 249 262 void setCommand(String cmd) throws SQLException; 263 264 276 boolean isReadOnly(); 277 278 287 void setReadOnly(boolean value) throws SQLException; 288 289 302 int getMaxFieldSize() throws SQLException; 303 304 317 void setMaxFieldSize(int max) throws SQLException; 318 319 329 int getMaxRows() throws SQLException; 330 331 340 void setMaxRows(int max) throws SQLException; 341 342 353 boolean getEscapeProcessing() throws SQLException; 354 355 365 void setEscapeProcessing(boolean enable) throws SQLException; 366 367 377 int getQueryTimeout() throws SQLException; 378 379 389 void setQueryTimeout(int seconds) throws SQLException; 390 391 403 void setType(int type) throws SQLException; 404 405 416 void setConcurrency(int concurrency) throws SQLException; 417 418 422 427 428 438 void setNull(int parameterIndex, int sqlType) throws SQLException; 439 440 468 void setNull (int paramIndex, int sqlType, String typeName) 469 throws SQLException; 470 471 480 void setBoolean(int parameterIndex, boolean x) throws SQLException; 481 482 491 void setByte(int parameterIndex, byte x) throws SQLException; 492 493 502 void setShort(int parameterIndex, short x) throws SQLException; 503 504 513 void setInt(int parameterIndex, int x) throws SQLException; 514 515 524 void setLong(int parameterIndex, long x) throws SQLException; 525 526 535 void setFloat(int parameterIndex, float x) throws SQLException; 536 537 546 void setDouble(int parameterIndex, double x) throws SQLException; 547 548 558 void setBigDecimal(int parameterIndex, BigDecimal x) throws SQLException; 559 560 571 void setString(int parameterIndex, String x) throws SQLException; 572 573 584 void setBytes(int parameterIndex, byte x[]) throws SQLException; 585 586 596 void setDate(int parameterIndex, java.sql.Date x) throws SQLException; 597 598 608 void setTime(int parameterIndex, java.sql.Time x) throws SQLException; 609 610 620 void setTimestamp(int parameterIndex, java.sql.Timestamp x) 621 throws SQLException; 622 623 640 void setAsciiStream(int parameterIndex, java.io.InputStream x, int length) 641 throws SQLException; 642 643 660 void setBinaryStream(int parameterIndex, java.io.InputStream x, 661 int length) throws SQLException; 662 663 681 void setCharacterStream(int parameterIndex, 682 Reader reader, 683 int length) throws SQLException; 684 685 717 void setObject(int parameterIndex, Object x, int targetSqlType, int scale) 718 throws SQLException; 719 720 737 void setObject(int parameterIndex, Object x, 738 int targetSqlType) throws SQLException; 739 740 768 void setObject(int parameterIndex, Object x) throws SQLException; 769 770 779 void setRef (int i, Ref x) throws SQLException; 780 781 791 void setBlob (int i, Blob x) throws SQLException; 792 793 803 void setClob (int i, Clob x) throws SQLException; 804 805 815 void setArray (int i, Array x) throws SQLException; 816 817 828 void setDate(int parameterIndex, java.sql.Date x, Calendar cal) 829 throws SQLException; 830 831 842 void setTime(int parameterIndex, java.sql.Time x, Calendar cal) 843 throws SQLException; 844 845 858 void setTimestamp(int parameterIndex, java.sql.Timestamp x, Calendar cal) 859 throws SQLException; 860 861 871 void clearParameters() throws SQLException; 872 873 877 905 void execute() throws SQLException; 906 907 911 920 void addRowSetListener(RowSetListener listener); 921 922 930 void removeRowSetListener(RowSetListener listener); 931 932 } 933 934 935 936 937 938 939 940 941 942 | Popular Tags |