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 952 void setObject(String parameterName, Object x) throws SQLException ; 953 954 955 975 void setCharacterStream(String parameterName, 976 java.io.Reader reader, 977 int length) throws SQLException ; 978 979 997 void setDate(String parameterName, java.sql.Date x, Calendar cal) 998 throws SQLException ; 999 1000 1018 void setTime(String parameterName, java.sql.Time x, Calendar cal) 1019 throws SQLException ; 1020 1021 1039 void setTimestamp(String parameterName, java.sql.Timestamp x, Calendar cal) 1040 throws SQLException ; 1041 1042 1071 void setNull (String parameterName, int sqlType, String typeName) 1072 throws SQLException ; 1073 1074 1091 String getString(String parameterName) throws SQLException ; 1092 1093 1103 boolean getBoolean(String parameterName) throws SQLException ; 1104 1105 1115 byte getByte(String parameterName) throws SQLException ; 1116 1117 1127 short getShort(String parameterName) throws SQLException ; 1128 1129 1140 int getInt(String parameterName) throws SQLException ; 1141 1142 1153 long getLong(String parameterName) throws SQLException ; 1154 1155 1165 float getFloat(String parameterName) throws SQLException ; 1166 1167 1177 double getDouble(String parameterName) throws SQLException ; 1178 1179 1190 byte[] getBytes(String parameterName) throws SQLException ; 1191 1192 1202 java.sql.Date getDate(String parameterName) throws SQLException ; 1203 1204 1214 java.sql.Time getTime(String parameterName) throws SQLException ; 1215 1216 1226 java.sql.Timestamp getTimestamp(String parameterName) throws SQLException ; 1227 1228 1245 Object getObject(String parameterName) throws SQLException ; 1246 1247 1258 BigDecimal getBigDecimal(String parameterName) throws SQLException ; 1259 1260 1277 Object getObject(String parameterName, java.util.Map <String ,Class <?>> map) 1278 throws SQLException ; 1279 1280 1291 Ref getRef (String parameterName) throws SQLException ; 1292 1293 1304 Blob getBlob (String parameterName) throws SQLException ; 1305 1306 1316 Clob getClob (String parameterName) throws SQLException ; 1317 1318 1329 Array getArray (String parameterName) throws SQLException ; 1330 1331 1350 java.sql.Date getDate(String parameterName, Calendar cal) 1351 throws SQLException ; 1352 1353 1372 java.sql.Time getTime(String parameterName, Calendar cal) 1373 throws SQLException ; 1374 1375 1395 java.sql.Timestamp getTimestamp(String parameterName, Calendar cal) 1396 throws SQLException ; 1397 1398 1411 java.net.URL getURL(String parameterName) throws SQLException ; 1412 1413 1414} 1415 1416 1417 1418 1419 1420 | Popular Tags |