Lines Matching refs:columnIndex

1688      * @param columnIndex the first column is <code>1</code>, the second
1701 public String getString(int columnIndex) throws SQLException {
1705 checkIndex(columnIndex);
1710 value = getCurrentRow().getColumnObject(columnIndex);
1726 * @param columnIndex the first column is <code>1</code>, the second
1737 public boolean getBoolean(int columnIndex) throws SQLException {
1741 checkIndex(columnIndex);
1746 value = getCurrentRow().getColumnObject(columnIndex);
1764 new Object[] {value.toString().trim(), columnIndex}));
1773 * @param columnIndex the first column is <code>1</code>, the second
1787 public byte getByte(int columnIndex) throws SQLException {
1791 checkIndex(columnIndex);
1796 value = getCurrentRow().getColumnObject(columnIndex);
1807 new Object[] {value.toString().trim(), columnIndex}));
1816 * @param columnIndex the first column is <code>1</code>, the second
1830 public short getShort(int columnIndex) throws SQLException {
1834 checkIndex(columnIndex);
1839 value = getCurrentRow().getColumnObject(columnIndex);
1851 new Object[] {value.toString().trim(), columnIndex}));
1860 * @param columnIndex the first column is <code>1</code>, the second
1873 public int getInt(int columnIndex) throws SQLException {
1877 checkIndex(columnIndex);
1882 value = getCurrentRow().getColumnObject(columnIndex);
1894 new Object[] {value.toString().trim(), columnIndex}));
1903 * @param columnIndex the first column is <code>1</code>, the second
1917 public long getLong(int columnIndex) throws SQLException {
1921 checkIndex(columnIndex);
1926 value = getCurrentRow().getColumnObject(columnIndex);
1937 new Object[] {value.toString().trim(), columnIndex}));
1946 * @param columnIndex the first column is <code>1</code>, the second
1960 public float getFloat(int columnIndex) throws SQLException {
1964 checkIndex(columnIndex);
1969 value = getCurrentRow().getColumnObject(columnIndex);
1980 new Object[] {value.toString().trim(), columnIndex}));
1989 * @param columnIndex the first column is <code>1</code>, the second
2004 public double getDouble(int columnIndex) throws SQLException {
2008 checkIndex(columnIndex);
2013 value = getCurrentRow().getColumnObject(columnIndex);
2024 new Object[] {value.toString().trim(), columnIndex}));
2037 * @param columnIndex the first column is <code>1</code>, the second
2050 public BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException {
2055 checkIndex(columnIndex);
2060 value = getCurrentRow().getColumnObject(columnIndex);
2068 bDecimal = this.getBigDecimal(columnIndex);
2080 * @param columnIndex the first column is <code>1</code>, the second
2095 public byte[] getBytes(int columnIndex) throws SQLException {
2097 checkIndex(columnIndex);
2101 if (isBinary(RowSetMD.getColumnType(columnIndex)) == false) {
2105 return (byte[])(getCurrentRow().getColumnObject(columnIndex));
2113 * @param columnIndex the first column is <code>1</code>, the second
2122 public java.sql.Date getDate(int columnIndex) throws SQLException {
2126 checkIndex(columnIndex);
2131 value = getCurrentRow().getColumnObject(columnIndex);
2146 switch (RowSetMD.getColumnType(columnIndex)) {
2163 new Object[] {value.toString().trim(), columnIndex}));
2168 new Object[] {value.toString().trim(), columnIndex}));
2178 * @param columnIndex the first column is <code>1</code>, the second
2186 public java.sql.Time getTime(int columnIndex) throws SQLException {
2190 checkIndex(columnIndex);
2195 value = getCurrentRow().getColumnObject(columnIndex);
2210 switch (RowSetMD.getColumnType(columnIndex)) {
2226 new Object[] {value.toString().trim(), columnIndex}));
2231 new Object[] {value.toString().trim(), columnIndex}));
2241 * @param columnIndex the first column is <code>1</code>, the second
2249 public java.sql.Timestamp getTimestamp(int columnIndex) throws SQLException {
2253 checkIndex(columnIndex);
2258 value = getCurrentRow().getColumnObject(columnIndex);
2273 switch (RowSetMD.getColumnType(columnIndex)) {
2293 new Object[] {value.toString().trim(), columnIndex}));
2298 new Object[] {value.toString().trim(), columnIndex}));
2319 * @param columnIndex the first column is <code>1</code>, the second
2334 public java.io.InputStream getAsciiStream(int columnIndex) throws SQLException {
2341 checkIndex(columnIndex);
2345 value = getCurrentRow().getColumnObject(columnIndex);
2352 if (isString(RowSetMD.getColumnType(columnIndex))) {
2376 * @param columnIndex the first column is <code>1</code>, the second
2386 public java.io.InputStream getUnicodeStream(int columnIndex) throws SQLException {
2391 checkIndex(columnIndex);
2395 if (isBinary(RowSetMD.getColumnType(columnIndex)) == false &&
2396 isString(RowSetMD.getColumnType(columnIndex)) == false) {
2400 Object value = getCurrentRow().getColumnObject(columnIndex);
2427 * @param columnIndex the first column is <code>1</code>, the second
2441 public java.io.InputStream getBinaryStream(int columnIndex) throws SQLException {
2447 checkIndex(columnIndex);
2451 if (isBinary(RowSetMD.getColumnType(columnIndex)) == false) {
2455 Object value = getCurrentRow().getColumnObject(columnIndex);
2936 * if it were a call to the method <code>getObject(columnIndex,
2939 * @param columnIndex the first column is <code>1</code>, the second
2949 public Object getObject(int columnIndex) throws SQLException {
2954 checkIndex(columnIndex);
2959 value = getCurrentRow().getColumnObject(columnIndex);
3013 * if it were a call to the method <code>getObject(columnIndex,
3061 * @param columnIndex the first column is <code>1</code>, the second
3076 public java.io.Reader getCharacterStream(int columnIndex) throws SQLException{
3079 checkIndex(columnIndex);
3083 if (isBinary(RowSetMD.getColumnType(columnIndex))) {
3084 Object value = getCurrentRow().getColumnObject(columnIndex);
3091 } else if (isString(RowSetMD.getColumnType(columnIndex))) {
3092 Object value = getCurrentRow().getColumnObject(columnIndex);
3134 * @param columnIndex the first column is <code>1</code>, the second
3148 public BigDecimal getBigDecimal(int columnIndex) throws SQLException {
3152 checkIndex(columnIndex);
3157 value = getCurrentRow().getColumnObject(columnIndex);
3168 new Object[] {value.toString().trim(), columnIndex}));
4215 * @param columnIndex the first column is <code>1</code>, the second
4223 public void updateNull(int columnIndex) throws SQLException {
4225 checkIndex(columnIndex);
4230 row.setColumnObject(columnIndex, null);
4248 * @param columnIndex the first column is <code>1</code>, the second
4257 public void updateBoolean(int columnIndex, boolean x) throws SQLException {
4259 checkIndex(columnIndex);
4264 RowSetMD.getColumnType(columnIndex));
4266 getCurrentRow().setColumnObject(columnIndex, obj);
4283 * @param columnIndex the first column is <code>1</code>, the second
4292 public void updateByte(int columnIndex, byte x) throws SQLException {
4294 checkIndex(columnIndex);
4300 RowSetMD.getColumnType(columnIndex));
4302 getCurrentRow().setColumnObject(columnIndex, obj);
4319 * @param columnIndex the first column is <code>1</code>, the second
4328 public void updateShort(int columnIndex, short x) throws SQLException {
4330 checkIndex(columnIndex);
4336 RowSetMD.getColumnType(columnIndex));
4338 getCurrentRow().setColumnObject(columnIndex, obj);
4355 * @param columnIndex the first column is <code>1</code>, the second
4364 public void updateInt(int columnIndex, int x) throws SQLException {
4366 checkIndex(columnIndex);
4371 RowSetMD.getColumnType(columnIndex));
4373 getCurrentRow().setColumnObject(columnIndex, obj);
4390 * @param columnIndex the first column is <code>1</code>, the second
4399 public void updateLong(int columnIndex, long x) throws SQLException {
4401 checkIndex(columnIndex);
4407 RowSetMD.getColumnType(columnIndex));
4409 getCurrentRow().setColumnObject(columnIndex, obj);
4427 * @param columnIndex the first column is <code>1</code>, the second
4436 public void updateFloat(int columnIndex, float x) throws SQLException {
4438 checkIndex(columnIndex);
4444 RowSetMD.getColumnType(columnIndex));
4446 getCurrentRow().setColumnObject(columnIndex, obj);
4463 * @param columnIndex the first column is <code>1</code>, the second
4472 public void updateDouble(int columnIndex, double x) throws SQLException {
4474 checkIndex(columnIndex);
4479 RowSetMD.getColumnType(columnIndex));
4481 getCurrentRow().setColumnObject(columnIndex, obj);
4498 * @param columnIndex the first column is <code>1</code>, the second
4507 public void updateBigDecimal(int columnIndex, BigDecimal x) throws SQLException {
4509 checkIndex(columnIndex);
4515 RowSetMD.getColumnType(columnIndex));
4517 getCurrentRow().setColumnObject(columnIndex, obj);
4537 * @param columnIndex the first column is <code>1</code>, the second
4546 public void updateString(int columnIndex, String x) throws SQLException {
4548 checkIndex(columnIndex);
4552 getCurrentRow().setColumnObject(columnIndex, x);
4569 * @param columnIndex the first column is <code>1</code>, the second
4578 public void updateBytes(int columnIndex, byte x[]) throws SQLException {
4580 checkIndex(columnIndex);
4584 if (isBinary(RowSetMD.getColumnType(columnIndex)) == false) {
4588 getCurrentRow().setColumnObject(columnIndex, x);
4605 * @param columnIndex the first column is <code>1</code>, the second
4615 public void updateDate(int columnIndex, java.sql.Date x) throws SQLException {
4617 checkIndex(columnIndex);
4623 RowSetMD.getColumnType(columnIndex));
4625 getCurrentRow().setColumnObject(columnIndex, obj);
4642 * @param columnIndex the first column is <code>1</code>, the second
4652 public void updateTime(int columnIndex, java.sql.Time x) throws SQLException {
4654 checkIndex(columnIndex);
4660 RowSetMD.getColumnType(columnIndex));
4662 getCurrentRow().setColumnObject(columnIndex, obj);
4679 * @param columnIndex the first column is <code>1</code>, the second
4690 public void updateTimestamp(int columnIndex, java.sql.Timestamp x) throws SQLException {
4692 checkIndex(columnIndex);
4698 RowSetMD.getColumnType(columnIndex));
4700 getCurrentRow().setColumnObject(columnIndex, obj);
4717 * @param columnIndex the first column is <code>1</code>, the second
4724 public void updateAsciiStream(int columnIndex, java.io.InputStream x, int length) throws SQLException {
4726 checkIndex(columnIndex);
4731 if (isString(RowSetMD.getColumnType(columnIndex)) == false &&
4732 isBinary(RowSetMD.getColumnType(columnIndex)) == false) {
4748 getCurrentRow().setColumnObject(columnIndex, str);
4766 * @param columnIndex the first column is <code>1</code>, the second
4778 public void updateBinaryStream(int columnIndex, java.io.InputStream x,int length) throws SQLException {
4780 checkIndex(columnIndex);
4784 if (isBinary(RowSetMD.getColumnType(columnIndex)) == false) {
4798 getCurrentRow().setColumnObject(columnIndex, buf);
4815 * @param columnIndex the first column is <code>1</code>, the second
4829 public void updateCharacterStream(int columnIndex, java.io.Reader x, int length) throws SQLException {
4831 checkIndex(columnIndex);
4835 if (isString(RowSetMD.getColumnType(columnIndex)) == false &&
4836 isBinary(RowSetMD.getColumnType(columnIndex)) == false) {
4852 getCurrentRow().setColumnObject(columnIndex, str);
4872 * @param columnIndex the first column is <code>1</code>, the second
4883 public void updateObject(int columnIndex, Object x, int scale) throws SQLException {
4885 checkIndex(columnIndex);
4889 int type = RowSetMD.getColumnType(columnIndex);
4893 getCurrentRow().setColumnObject(columnIndex, x);
4910 * @param columnIndex the first column is <code>1</code>, the second
4919 public void updateObject(int columnIndex, Object x) throws SQLException {
4921 checkIndex(columnIndex);
4925 getCurrentRow().setColumnObject(columnIndex, x);
5686 * @param columnIndex the first column is <code>1</code>, the second
5697 public Object getObject(int columnIndex,
5704 checkIndex(columnIndex);
5709 value = getCurrentRow().getColumnObject(columnIndex);
5749 * @param columnIndex the first column is <code>1</code>, the second
5759 public Ref getRef(int columnIndex) throws SQLException {
5763 checkIndex(columnIndex);
5767 if (RowSetMD.getColumnType(columnIndex) != java.sql.Types.REF) {
5772 value = (Ref)(getCurrentRow().getColumnObject(columnIndex));
5788 * @param columnIndex the first column is <code>1</code>, the second
5798 public Blob getBlob(int columnIndex) throws SQLException {
5802 checkIndex(columnIndex);
5806 if (RowSetMD.getColumnType(columnIndex) != java.sql.Types.BLOB) {
5807 System.out.println(MessageFormat.format(resBundle.handleGetObject("cachedrowsetimpl.type").toString(), RowSetMD.getColumnType(columnIndex)));
5812 value = (Blob)(getCurrentRow().getColumnObject(columnIndex));
5828 * @param columnIndex the first column is <code>1</code>, the second
5838 public Clob getClob(int columnIndex) throws SQLException {
5842 checkIndex(columnIndex);
5846 if (RowSetMD.getColumnType(columnIndex) != java.sql.Types.CLOB) {
5847 System.out.println(MessageFormat.format(resBundle.handleGetObject("cachedrowsetimpl.type").toString(), RowSetMD.getColumnType(columnIndex)));
5852 value = (Clob)(getCurrentRow().getColumnObject(columnIndex));
5868 * @param columnIndex the first column is <code>1</code>, the second
5879 public Array getArray(int columnIndex) throws SQLException {
5883 checkIndex(columnIndex);
5887 if (RowSetMD.getColumnType(columnIndex) != java.sql.Types.ARRAY) {
5892 value = (java.sql.Array)(getCurrentRow().getColumnObject(columnIndex));
6006 * @param columnIndex the first column is <code>1</code>, the second
6019 public java.sql.Date getDate(int columnIndex, Calendar cal) throws SQLException {
6023 checkIndex(columnIndex);
6028 value = getCurrentRow().getColumnObject(columnIndex);
6037 RowSetMD.getColumnType(columnIndex),
6089 * @param columnIndex the first column is <code>1</code>, the second
6102 public java.sql.Time getTime(int columnIndex, Calendar cal) throws SQLException {
6106 checkIndex(columnIndex);
6111 value = getCurrentRow().getColumnObject(columnIndex);
6120 RowSetMD.getColumnType(columnIndex),
6168 * @param columnIndex the first column is <code>1</code>, the second
6181 public java.sql.Timestamp getTimestamp(int columnIndex, Calendar cal) throws SQLException {
6185 checkIndex(columnIndex);
6190 value = getCurrentRow().getColumnObject(columnIndex);
6199 RowSetMD.getColumnType(columnIndex),
6497 * @param columnIndex the first column is <code>1</code>, the second
6506 public void updateRef(int columnIndex, java.sql.Ref ref) throws SQLException {
6508 checkIndex(columnIndex);
6515 getCurrentRow().setColumnObject(columnIndex, new SerialRef(ref));
6558 * @param columnIndex the first column is <code>1</code>, the second
6567 public void updateClob(int columnIndex, Clob c) throws SQLException {
6569 checkIndex(columnIndex);
6578 getCurrentRow().setColumnObject(columnIndex, new SerialClob(c));
6625 * @param columnIndex the first column is <code>1</code>, the second
6634 public void updateBlob(int columnIndex, Blob b) throws SQLException {
6636 checkIndex(columnIndex);
6645 getCurrentRow().setColumnObject(columnIndex, new SerialBlob(b));
6692 * @param columnIndex the first column is <code>1</code>, the second
6701 public void updateArray(int columnIndex, Array a) throws SQLException {
6703 checkIndex(columnIndex);
6710 getCurrentRow().setColumnObject(columnIndex, new SerialArray(a));
6753 public java.net.URL getURL(int columnIndex) throws SQLException {
6759 checkIndex(columnIndex);
6763 if (RowSetMD.getColumnType(columnIndex) != java.sql.Types.DATALINK) {
6768 value = (java.net.URL)(getCurrentRow().getColumnObject(columnIndex));
7715 * @param columnIndex the first column is 1, the second is 2, ...
7720 public SQLXML getSQLXML(int columnIndex) throws SQLException {
7740 * @param columnIndex the first column is 1, the second 2, ...
7746 public RowId getRowId(int columnIndex) throws SQLException {
7772 * @param columnIndex the first column is 1, the second 2, ...
7777 public void updateRowId(int columnIndex, RowId x) throws SQLException {
7821 * @param columnIndex the first column is 1, the second 2, ...
7826 public void updateNString(int columnIndex, String nString) throws SQLException {
7846 * @param columnIndex the first column is 1, the second 2, ...
7851 public void updateNClob(int columnIndex, NClob nClob) throws SQLException {
8017 * @param columnIndex the first column is 1, the second is 2, ...
8021 public java.io.Reader getNCharacterStream(int columnIndex) throws SQLException {
8053 * @param columnIndex the first column is 1, the second 2, ...
8058 public void updateSQLXML(int columnIndex, SQLXML xmlObject) throws SQLException {
8087 * @param columnIndex the first column is 1, the second is 2, ...
8093 public String getNString(int columnIndex) throws SQLException {
8124 * @param columnIndex - the first column is 1, the second is 2, ...
8130 public void updateNCharacterStream(int columnIndex,
8176 * @param columnIndex the first column is 1, the second is 2, ...
8184 public void updateNCharacterStream(int columnIndex,
8241 * @param columnIndex the first column is 1, the second is 2, ...
8252 public void updateBlob(int columnIndex, InputStream inputStream, long length) throws SQLException{
8310 * @param columnIndex the first column is 1, the second is 2, ...
8320 public void updateBlob(int columnIndex, InputStream inputStream) throws SQLException {
8377 * @param columnIndex the first column is 1, the second is 2, ...
8387 public void updateClob(int columnIndex, Reader reader, long length) throws SQLException {
8444 * @param columnIndex the first column is 1, the second is 2, ...
8453 public void updateClob(int columnIndex, Reader reader) throws SQLException {
8510 * @param columnIndex the first column is 1, the second 2, ...
8522 public void updateNClob(int columnIndex, Reader reader, long length) throws SQLException {
8581 * @param columnIndex the first column is 1, the second 2, ...
8592 public void updateNClob(int columnIndex, Reader reader) throws SQLException {
8641 * @param columnIndex the first column is 1, the second is 2, ...
8651 public void updateAsciiStream(int columnIndex,
8665 * @param columnIndex the first column is 1, the second is 2, ...
8675 public void updateBinaryStream(int columnIndex,
8688 * @param columnIndex the first column is 1, the second is 2, ...
8698 public void updateCharacterStream(int columnIndex,
8786 * @param columnIndex the first column is 1, the second is 2, ...
8795 public void updateBinaryStream(int columnIndex,
8838 * @param columnIndex the first column is 1, the second is 2, ...
8847 public void updateCharacterStream(int columnIndex,
8890 * @param columnIndex the first column is 1, the second is 2, ...
8899 public void updateAsciiStream(int columnIndex,
10132 public <T> T getObject(int columnIndex, Class<T> type) throws SQLException {