| 1 7 8 package java.sql; 9 10 import java.math.BigDecimal ; 11 import java.util.Calendar ; 12 13 44 45 public interface CallableStatement extends PreparedStatement { 46 47 73 void registerOutParameter(int parameterIndex, int sqlType) 74 throws SQLException ; 75 76 98 void registerOutParameter(int parameterIndex, int sqlType, int scale) 99 throws SQLException ; 100 101 111 boolean wasNull() throws SQLException ; 112 113 132 String getString(int parameterIndex) throws SQLException ; 133 134 145 boolean getBoolean(int parameterIndex) throws SQLException ; 146 147 158 byte getByte(int parameterIndex) throws SQLException ; 159 160 171 short getShort(int parameterIndex) throws SQLException ; 172 173 184 int getInt(int parameterIndex) throws SQLException ; 185 186 197 long getLong(int parameterIndex) throws SQLException ; 198 199 210 float getFloat(int parameterIndex) throws SQLException ; 211 212 222 double getDouble(int parameterIndex) throws SQLException ; 223 224 238 @Deprecated  239 BigDecimal getBigDecimal(int parameterIndex, int scale) 240 throws SQLException ; 241 242 253 byte[] getBytes(int parameterIndex) throws SQLException ; 254 255 265 java.sql.Date getDate(int parameterIndex) throws SQLException ; 266 267 278 java.sql.Time getTime(int parameterIndex) throws SQLException ; 279 280 291 java.sql.Timestamp getTimestamp(int parameterIndex) 292 throws SQLException ; 293 294 297 298 316 Object getObject(int parameterIndex) throws SQLException ; 317 318 319 321 333 BigDecimal getBigDecimal(int parameterIndex) throws SQLException ; 334 335 352 Object getObject(int i, java.util.Map <String ,Class <?>> map) 353 throws SQLException ; 354 355 366 Ref getRef (int i) throws SQLException ; 367 368 378 Blob getBlob (int i) throws SQLException ; 379 380 391 Clob getClob (int i) throws SQLException ; 392 393 405 Array getArray (int i) throws SQLException ; 406 407 427 java.sql.Date getDate(int parameterIndex, Calendar cal) 428 throws SQLException ; 429 430 450 java.sql.Time getTime(int parameterIndex, Calendar cal) 451 throws SQLException ; 452 453 474 java.sql.Timestamp getTimestamp(int parameterIndex, Calendar cal) 475 throws SQLException ; 476 477 478 512 void registerOutParameter (int paramIndex, int sqlType, String typeName) 513 throws SQLException ; 514 515 517 541 void registerOutParameter(String parameterName, int sqlType) 542 throws SQLException ; 543 544 565 void registerOutParameter(String parameterName, int sqlType, int scale) 566 throws SQLException ; 567 568 602 void registerOutParameter (String parameterName, int sqlType, String typeName) 603 throws SQLException ; 604 605 619 java.net.URL getURL(int parameterIndex) throws SQLException ; 620 621 633 void setURL(String parameterName, java.net.URL val) throws SQLException ; 634 635 645 void setNull(String parameterName, int sqlType) throws SQLException ; 646 647 658 void setBoolean(String parameterName, boolean x) throws SQLException ; 659 660 671 void setByte(String parameterName, byte x) throws SQLException ; 672 673 684 void setShort(String parameterName, short x) throws SQLException ; 685 686 697 void setInt(String parameterName, int x) throws SQLException ; 698 699 710 void setLong(String parameterName, long x) throws SQLException ; 711 712 723 void setFloat(String parameterName, float x) throws SQLException ; 724 725 736 void setDouble(String parameterName, double x) throws SQLException ; 737 738 750 void setBigDecimal(String parameterName, BigDecimal x) throws SQLException ; 751 752 766 void setString(String parameterName, String x) throws SQLException ; 767 768 781 void setBytes(String parameterName, byte x[]) throws SQLException ; 782 783 794 void setDate(String parameterName, java.sql.Date x) 795 throws SQLException ; 796 797 808 void setTime(String parameterName, java.sql.Time x) 809 throws SQLException ; 810 811 823 void setTimestamp(String parameterName, java.sql.Timestamp x) 824 throws SQLException ; 825 826 845 void setAsciiStream(String parameterName, java.io.InputStream x, int length) 846 throws SQLException ; 847 848 866 void setBinaryStream(String parameterName, java.io.InputStream x, 867 int length) throws SQLException ; 868 869 901 void setObject(String parameterName, Object x, int targetSqlType, int scale) 902 throws SQLException ; 903 904 917 void setObject(String parameterName, Object x, int targetSqlType) 918 throws SQLException ; 919 920 |