* <code>String</code> object. * * @param columnIndex the first column is <code>1</code>, the second * is <code>2</code>, and so on; must be <code>1</code> or larger * and equal to or less than the number of columns in the rowset * @return the column value; if the value is SQL <code>NULL</code>, the * result is <code>null</code> * @throws SQLException if the given column index is out of bounds or * the cursor is not on a valid row */ public String getString(int columnIndex) throws SQLException { return crsInternal.getString(columnIndex); } /** * Retrieves the value of the designated column in the current row * of this <code>JoinRowSetImpl</code> object as a * <code>boolean</code> value. * * @param columnIndex the first column is <code>1</code>, the second * is <code>2</code>, and so on; must be <code>1</code> or larger * and equal to or less than the number of columns in the rowset * @return the column value; if the value is SQL <code>NULL</code>, the * result is <code>false</code> * @throws SQLException if the given column index is out of bounds, * the cursor is not on a valid row, or this method fails */ public boolean getBoolean(int columnIndex) throws SQLException { return crsInternal.getBoolean(columnIndex); } /** * Retrieves the value of the designated column in the current row * of this <code>JoinRowSetImpl</code> object as a * <code>byte</code> value. * * @param columnIndex the first column is <code>1</code>, the second * is <code>2</code>, and so on; must be <code>1</code> or larger * and equal to or less than the number of columns in the rowset * @return the column value; if the value is SQL <code>NULL</code>, the * result is <code>0</code> * @throws SQLException if the given column index is out of bounds, * the cursor is not on a valid row, or this method fails */ public byte getByte(int columnIndex) throws SQLException { return crsInternal.getByte(columnIndex); } /** * Retrieves the value of the designated column in the current row * of this <code>JoinRowSetImpl</code> object as a * <code>short</code> value. * * @param columnIndex the first column is <code>1</code>, the second * is <code>2</code>, and so on; must be <code>1</code> or larger * and equal to or less than the number of columns in the rowset * @return the column value; if the value is SQL <code>NULL</code>, the * result is <code>0</code> * @throws SQLException if the given column index is out of bounds, * the cursor is not on a valid row, or this method fails */ public short getShort(int columnIndex) throws SQLException { return crsInternal.getShort(columnIndex); } /** * Retrieves the value of the designated column in the current row * of this <code>JoinRowSetImpl</code> object as a * <code>short</code> value. * * @param columnIndex the first column is <code>1</code>, the second * is <code>2</code>, and so on; must be <code>1</code> or larger * and equal to or less than the number of columns in the rowset * @return the column value; if the value is SQL <code>NULL</code>, the * result is <code>0</code> * @throws SQLException if the given column index is out of bounds, * the cursor is not on a valid row, or this method fails */ public int getInt(int columnIndex) throws SQLException { return crsInternal.getInt(columnIndex); } /** * Retrieves the value of the designated column in the current row * of this <code>JoinRowSetImpl</code> object as a * <code>long</code> value. * * @param columnIndex the first column is <code>1</code>, the second * is <code>2</code>, and so on; must be <code>1</code> or larger * and equal to or less than the number of columns in the rowset * @return the column value; if the value is SQL <code>NULL</code>, the * result is <code>0</code> * @throws SQLException if the given column index is out of bounds, * the cursor is not on a valid row, or this method fails */ public long getLong(int columnIndex) throws SQLException { return crsInternal.getLong(columnIndex); } /** * Retrieves the value of the designated column in the current row * of this <code>JoinRowSetImpl</code> object as a * <code>float</code> value. * * @param columnIndex the first column is <code>1</code>, the second * is <code>2</code>, and so on; must be <code>1</code> or larger * and equal to or less than the number of columns in the rowset * @return the column value; if the value is SQL <code>NULL</code>, the * result is <code>0</code> * @throws SQLException if the given column index is out of bounds, * the cursor is not on a valid row, or this method fails */ public float getFloat(int columnIndex) throws SQLException { return crsInternal.getFloat(columnIndex); } /** * Retrieves the value of the designated column in the current row * of this <code>JoinRowSetImpl</code> object as a * <code>double</code> value. * * @param columnIndex the first column is <code>1</code>, the second * is <code>2</code>, and so on; must be <code>1</code> or larger * and equal to or less than the number of columns in the rowset * @return the column value; if the value is SQL <code>NULL</code>, the * result is <code>0</code> * @throws SQLException if the given column index is out of bounds, * the cursor is not on a valid row, or this method fails */ public double getDouble(int columnIndex) throws SQLException { return crsInternal.getDouble(columnIndex); } /** * Retrieves the value of the designated column in the current row * of this <code>JoinRowSetImpl</code> object as a * <code>java.math.BigDecimal</code> object. * <P> * This method is deprecated; use the version of <code>getBigDecimal</code> * that does not take a scale parameter and returns a value with full * precision. * * @param columnIndex the first column is <code>1</code>, the second * is <code>2</code>, and so on; must be <code>1</code> or larger * and equal to or less than the number of columns in the rowset * @param scale the number of digits to the right of the decimal point in the * value returned * @return the column value with the specified number of digits to the right * of the decimal point; if the value is SQL <code>NULL</code>, the * result is <code>null</code> * @throws SQLException if the given column index is out of bounds, * the cursor is not on a valid row, or this method fails * @deprecated */ public BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException { return crsInternal.getBigDecimal(columnIndex); } /** * Retrieves the value of the designated column in the current row * of this <code>JoinRowSetImpl</code> object as a * <code>byte array</code> value. * * @param columnIndex the first column is <code>1</code>, the second * is <code>2</code>, and so on; must be <code>1</code> or larger * and equal to or less than the number of columns in the rowset * @return the column value; if the value is SQL <code>NULL</code>, the * result is <code>null</code> * @throws SQLException if the given column index is out of bounds, * the cursor is not on a valid row, or the the value to be * retrieved is not binary */ public byte[] getBytes(int columnIndex) throws SQLException { return crsInternal.getBytes(columnIndex); } /** * Retrieves the value of the designated column in the current row * of this <code>JoinRowSetImpl</code> object as a * <code>java.sql.Date</code> object. * * @param columnIndex the first column is <code>1</code>, the second * is <code>2</code>, and so on; must be <code>1</code> or larger * and equal to or less than the number of columns in the rowset * @return the column value; if the value is SQL <code>NULL</code>, the * result is <code>null</code> * @throws SQLException if the given column index is out of bounds, * the cursor is not on a valid row, or this method fails */ public java.sql.Date getDate(int columnIndex) throws SQLException { return crsInternal.getDate(columnIndex); } /** * Retrieves the value of the designated column in the current row * of this <code>JoinRowSetImpl</code> object as a * <code>java.sql.Time</code> object. * * @param columnIndex the first column is <code>1</code>, the second * is <code>2</code>, and so on; must be <code>1</code> or larger * and equal to or less than the number of columns in the rowset * @return the column value; if the value is SQL <code>NULL</code>, the * result is <code>null</code> * @throws SQLException if the given column index is out of bounds, * the cursor is not on a valid row, or this method fails */ public java.sql.Time getTime(int columnIndex) throws SQLException { return crsInternal.getTime(columnIndex); } /** * Retrieves the value of the designated column in the current row * of this <code>JoinRowSetImpl</code> object as a * <code>java.sql.Timestamp</code> object. * * @param columnIndex the first column is <code>1</code>, the second * is <code>2</code>, and so on; must be <code>1</code> or larger * and equal to or less than the number of columns in the rowset * @return the column value; if the value is SQL <code>NULL</code>, the * result is <code>null</code> * @throws SQLException if the given column index is out of bounds, * the cursor is not on a valid row, or this method fails */ public java.sql.Timestamp getTimestamp(int columnIndex) throws SQLException { return crsInternal.getTimestamp(columnIndex); } /** * Retrieves the value of the designated column in the current row * of this <code>JoinRowSetImpl</code> object as a * <code>java.sql.Timestamp</code> object. * * @param columnIndex the first column is <code>1</code>, the second * is <code>2</code>, and so on; must be <code>1</code> or larger * and equal to or less than the number of columns in the rowset * @return the column value; if the value is SQL <code>NULL</code>, the * result is <code>null</code> * @throws SQLException if the given column index is out of bounds, * the cursor is not on a valid row, or this method fails */ public java.io.InputStream getAsciiStream(int columnIndex) throws SQLException { return crsInternal.getAsciiStream(columnIndex); } /** * A column value can be retrieved as a stream of Unicode characters * and then read in chunks from the stream. This method is particularly * suitable for retrieving large LONGVARCHAR values. The JDBC driver will * do any necessary conversion from the database format into Unicode. * * <P><B>Note:</B> All the data in the returned stream must be * read prior to getting the value of any other column. The next * call to a get method implicitly closes the stream. . Also, a * stream may return 0 for available() whether there is data * available or not. * * @param columnIndex the first column is <code>1</code>, the second * is <code>2</code>, and so on; must be <code>1</code> or larger * and equal to or less than the number of columns in this rowset * @return a Java input stream that delivers the database column value * as a stream of two byte Unicode characters. If the value is SQL NULL * then the result is null. * @throws SQLException if an error occurs * @deprecated */ public java.io.InputStream getUnicodeStream(int columnIndex) throws SQLException { return crsInternal.getUnicodeStream(columnIndex); } /** * A column value can be retrieved as a stream of uninterpreted bytes * and then read in chunks from the stream. This method is particularly * suitable for retrieving large LONGVARBINARY values. * * <P><B>Note:</B> All the data in the returned stream must be * read prior to getting the value of any other column. The next * call to a get method implicitly closes the stream. Also, a * stream may return 0 for available() whether there is data * available or not. * * @param columnIndex the first column is <code>1</code>, the second * is <code>2</code>, and so on; must be <code>1</code> or larger * and equal to or less than the number of columns in the rowset * @return a Java input stream that delivers the database column value * as a stream of uninterpreted bytes. If the value is SQL NULL * then the result is null. * @throws SQLException if an error occurs */ public java.io.InputStream getBinaryStream(int columnIndex) throws SQLException { return crsInternal.getBinaryStream(columnIndex); } // ColumnName methods /** * Retrieves the value stored in the designated column * of the current row as a <code>String</code> object. * * @param columnName a <code>String</code> object giving the SQL name of * a column in this <code>JoinRowSetImpl</code> object * @return the column value; if the value is SQL <code>NULL</code>, * the result is <code>null</code> * @throws SQLException if the given column name does not match one of * this rowset's column names or the cursor is not on one of * this rowset's rows or its insert row */ public String getString(String columnName) throws SQLException { return crsInternal.getString(columnName); } /** * Retrieves the value stored in the designated column * of the current row as a <code>boolean</code> value. * * @param columnName a <code>String</code> object giving the SQL name of * a column in this <code>JoinRowSetImpl</code> object * @return the column value; if the value is SQL <code>NULL</code>, * the result is <code>false</code> * @throws SQLException if the given column name does not match one of * this rowset's column names or the cursor is not on one of * this rowset's rows or its insert row */ public boolean getBoolean(String columnName) throws SQLException { return crsInternal.getBoolean(columnName); } /** * Retrieves the value stored in the designated column * of the current row as a <code>byte</code> value. * * @param columnName a <code>String</code> object giving the SQL name of * a column in this <code>JoinRowSetImpl</code> object * @return the column value; if the value is SQL <code>NULL</code>, * the result is <code>0</code> * @throws SQLException if the given column name does not match one of * this rowset's column names or the cursor is not on one of * this rowset's rows or its insert row */ public byte getByte(String columnName) throws SQLException { return crsInternal.getByte(columnName); } /** * Retrieves the value stored in the designated column * of the current row as a <code>short</code> value. * * @param columnName a <code>String</code> object giving the SQL name of * a column in this <code>JoinRowSetImpl</code> object * @return the column value; if the value is SQL <code>NULL</code>, * the result is <code>0</code> * @throws SQLException if the given column name does not match one of * this rowset's column names or the cursor is not on one of * this rowset's rows or its insert row */ public short getShort(String columnName) throws SQLException { return crsInternal.getShort(columnName); } /** * Retrieves the value stored in the designated column * of the current row as an <code>int</code> value. * * @param columnName a <code>String</code> object giving the SQL name of * a column in this <code>JoinRowSetImpl</code> object * @return the column value; if the value is SQL <code>NULL</code>, * the result is <code>0</code> * @throws SQLException if the given column name does not match one of * this rowset's column names or the cursor is not on one of * this rowset's rows or its insert row */ public int getInt(String columnName) throws SQLException { return crsInternal.getInt(columnName); } /** * Retrieves the value stored in the designated column * of the current row as a <code>long</code> value. * * @param columnName a <code>String</code> object giving the SQL name of * a column in this <code>JoinRowSetImpl</code> object * @return the column value; if the value is SQL <code>NULL</code>, * the result is <code>0</code> * @throws SQLException if the given column name does not match one of * this rowset's column names or the cursor is not on one of * this rowset's rows or its insert row */ public long getLong(String columnName) throws SQLException { return crsInternal.getLong(columnName); } /** * Retrieves the value stored in the designated column * of the current row as a <code>float</code> value. * * @param columnName a <code>String</code> object giving the SQL name of * a column in this <code>JoinRowSetImpl</code> object * @return the column value; if the value is SQL <code>NULL</code>, * the result is <code>0</code> * @throws SQLException if the given column name does not match one of * this rowset's column names or the cursor is not on one of * this rowset's rows or its insert row */ public float getFloat(String columnName) throws SQLException { return crsInternal.getFloat(columnName); } /** * Retrieves the value stored in the designated column * of the current row as a <code>double</code> value. * * @param columnName a <code>String</code> object giving the SQL name of * a column in this <code>JoinRowSetImpl</code> object * @return the column value; if the value is SQL <code>NULL</code>, * the result is <code>0</code> * @throws SQLException if the given column name does not match one of * this rowset's column names or the cursor is not on one of * this rowset's rows or its insert row */ public double getDouble(String columnName) throws SQLException { return crsInternal.getDouble(columnName); } /** * Retrieves the value stored in the designated column * of the current row as a <code>java.math.BigDecimal</code> object. * * @param columnName a <code>String</code> object giving the SQL name of * a column in this <code>JoinRowSetImpl</code> object * @param scale the number of digits to the right of the decimal point * @return the column value; if the value is SQL <code>NULL</code>, * the result is <code>null</code> * @throws SQLException if the given column name does not match one of * this rowset's column names or the cursor is not on one of * this rowset's rows or its insert row * @deprecated use the method <code>getBigDecimal(String columnName)</code> * instead */ public BigDecimal getBigDecimal(String columnName, int scale) throws SQLException { return crsInternal.getBigDecimal(columnName); } /** * Retrieves the value stored in the designated column * of the current row as a byte array. * The bytes represent the raw values returned by the driver. * * @param columnName a <code>String</code> object giving the SQL name of * a column in this <code>JoinRowSetImpl</code> object * @return the column value; if the value is SQL <code>NULL</code>, * the result is <code>null</code> * @throws SQLException if the given column name does not match one of * this rowset's column names or the cursor is not on one of * this rowset's rows or its insert row */ public byte[] getBytes(String columnName) throws SQLException { return crsInternal.getBytes(columnName); } /** * Retrieves the value stored in the designated column * of the current row as a <code>java.sql.Date</code> object. * * @param columnName a <code>String</code> object giving the SQL name of * a column in this <code>JoinRowSetImpl</code> object * @return the column value; if the value is SQL <code>NULL</code>, * the result is <code>null</code> * @throws SQLException if the given column name does not match one of * this rowset's column names or the cursor is not on one of * this rowset's rows or its insert row */ public java.sql.Date getDate(String columnName) throws SQLException { return crsInternal.getDate(columnName); } /** * Retrieves the value stored in the designated column * of the current row as a <code>java.sql.Time</code> object. * * @param columnName a <code>String</code> object giving the SQL name of * a column in this <code>JoinRowSetImpl</code> object * @return the column value; if the value is SQL <code>NULL</code>, * the result is <code>null</code> * @throws SQLException if the given column name does not match one of * this rowset's column names or the cursor is not on one of * this rowset's rows or its insert row */ public java.sql.Time getTime(String columnName) throws SQLException { return crsInternal.getTime(columnName); } /** * Retrieves the value stored in the designated column * of the current row as a <code>java.sql.Timestamp</code> object. * * @param columnName a <code>String</code> object giving the SQL name of * a column in this <code>JoinRowSetImpl</code> object * @return the column value; if the value is SQL <code>NULL</code>, * the result is <code>null</code> * @throws SQLException if the given column name does not match one of * this rowset's column names or the cursor is not on one ofLines 1001–1500 of 4353. Previous lines Load more
* <code>String</code> object. * * @param columnIndex the first column is <code>1</code>, the second * is <code>2</code>, and so on; must be <code>1</code> or larger * and equal to or less than the number of columns in the rowset * @return the column value; if the value is SQL <code>NULL</code>, the * result is <code>null</code> * @throws SQLException if the given column index is out of bounds or * the cursor is not on a valid row */ public String getString(int columnIndex) throws SQLException { return crsInternal.getString(columnIndex); } /** * Retrieves the value of the designated column in the current row * of this <code>JoinRowSetImpl</code> object as a * <code>boolean</code> value. * * @param columnIndex the first column is <code>1</code>, the second * is <code>2</code>, and so on; must be <code>1</code> or larger * and equal to or less than the number of columns in the rowset * @return the column value; if the value is SQL <code>NULL</code>, the * result is <code>false</code> * @throws SQLException if the given column index is out of bounds, * the cursor is not on a valid row, or this method fails */ public boolean getBoolean(int columnIndex) throws SQLException { return crsInternal.getBoolean(columnIndex); } /** * Retrieves the value of the designated column in the current row * of this <code>JoinRowSetImpl</code> object as a * <code>byte</code> value. * * @param columnIndex the first column is <code>1</code>, the second * is <code>2</code>, and so on; must be <code>1</code> or larger * and equal to or less than the number of columns in the rowset * @return the column value; if the value is SQL <code>NULL</code>, the * result is <code>0</code> * @throws SQLException if the given column index is out of bounds, * the cursor is not on a valid row, or this method fails */ public byte getByte(int columnIndex) throws SQLException { return crsInternal.getByte(columnIndex); } /** * Retrieves the value of the designated column in the current row * of this <code>JoinRowSetImpl</code> object as a * <code>short</code> value. * * @param columnIndex the first column is <code>1</code>, the second * is <code>2</code>, and so on; must be <code>1</code> or larger * and equal to or less than the number of columns in the rowset * @return the column value; if the value is SQL <code>NULL</code>, the * result is <code>0</code> * @throws SQLException if the given column index is out of bounds, * the cursor is not on a valid row, or this method fails */ public short getShort(int columnIndex) throws SQLException { return crsInternal.getShort(columnIndex); } /** * Retrieves the value of the designated column in the current row * of this <code>JoinRowSetImpl</code> object as a * <code>short</code> value. * * @param columnIndex the first column is <code>1</code>, the second * is <code>2</code>, and so on; must be <code>1</code> or larger * and equal to or less than the number of columns in the rowset * @return the column value; if the value is SQL <code>NULL</code>, the * result is <code>0</code> * @throws SQLException if the given column index is out of bounds, * the cursor is not on a valid row, or this method fails */ public int getInt(int columnIndex) throws SQLException { return crsInternal.getInt(columnIndex); } /** * Retrieves the value of the designated column in the current row * of this <code>JoinRowSetImpl</code> object as a * <code>long</code> value. * * @param columnIndex the first column is <code>1</code>, the second * is <code>2</code>, and so on; must be <code>1</code> or larger * and equal to or less than the number of columns in the rowset * @return the column value; if the value is SQL <code>NULL</code>, the * result is <code>0</code> * @throws SQLException if the given column index is out of bounds, * the cursor is not on a valid row, or this method fails */ public long getLong(int columnIndex) throws SQLException { return crsInternal.getLong(columnIndex); } /** * Retrieves the value of the designated column in the current row * of this <code>JoinRowSetImpl</code> object as a * <code>float</code> value. * * @param columnIndex the first column is <code>1</code>, the second * is <code>2</code>, and so on; must be <code>1</code> or larger * and equal to or less than the number of columns in the rowset * @return the column value; if the value is SQL <code>NULL</code>, the * result is <code>0</code> * @throws SQLException if the given column index is out of bounds, * the cursor is not on a valid row, or this method fails */ public float getFloat(int columnIndex) throws SQLException { return crsInternal.getFloat(columnIndex); } /** * Retrieves the value of the designated column in the current row * of this <code>JoinRowSetImpl</code> object as a * <code>double</code> value. * * @param columnIndex the first column is <code>1</code>, the second * is <code>2</code>, and so on; must be <code>1</code> or larger * and equal to or less than the number of columns in the rowset * @return the column value; if the value is SQL <code>NULL</code>, the * result is <code>0</code> * @throws SQLException if the given column index is out of bounds, * the cursor is not on a valid row, or this method fails */ public double getDouble(int columnIndex) throws SQLException { return crsInternal.getDouble(columnIndex); } /** * Retrieves the value of the designated column in the current row * of this <code>JoinRowSetImpl</code> object as a * <code>java.math.BigDecimal</code> object. * <P> * This method is deprecated; use the version of <code>getBigDecimal</code> * that does not take a scale parameter and returns a value with full * precision. * * @param columnIndex the first column is <code>1</code>, the second * is <code>2</code>, and so on; must be <code>1</code> or larger * and equal to or less than the number of columns in the rowset * @param scale the number of digits to the right of the decimal point in the * value returned * @return the column value with the specified number of digits to the right * of the decimal point; if the value is SQL <code>NULL</code>, the * result is <code>null</code> * @throws SQLException if the given column index is out of bounds, * the cursor is not on a valid row, or this method fails * @deprecated */ public BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException { return crsInternal.getBigDecimal(columnIndex); } /** * Retrieves the value of the designated column in the current row * of this <code>JoinRowSetImpl</code> object as a * <code>byte array</code> value. * * @param columnIndex the first column is <code>1</code>, the second * is <code>2</code>, and so on; must be <code>1</code> or larger * and equal to or less than the number of columns in the rowset * @return the column value; if the value is SQL <code>NULL</code>, the * result is <code>null</code> * @throws SQLException if the given column index is out of bounds, * the cursor is not on a valid row, or the the value to be * retrieved is not binary */ public byte[] getBytes(int columnIndex) throws SQLException { return crsInternal.getBytes(columnIndex); } /** * Retrieves the value of the designated column in the current row * of this <code>JoinRowSetImpl</code> object as a * <code>java.sql.Date</code> object. * * @param columnIndex the first column is <code>1</code>, the second * is <code>2</code>, and so on; must be <code>1</code> or larger * and equal to or less than the number of columns in the rowset * @return the column value; if the value is SQL <code>NULL</code>, the * result is <code>null</code> * @throws SQLException if the given column index is out of bounds, * the cursor is not on a valid row, or this method fails */ public java.sql.Date getDate(int columnIndex) throws SQLException { return crsInternal.getDate(columnIndex); } /** * Retrieves the value of the designated column in the current row * of this <code>JoinRowSetImpl</code> object as a * <code>java.sql.Time</code> object. * * @param columnIndex the first column is <code>1</code>, the second * is <code>2</code>, and so on; must be <code>1</code> or larger * and equal to or less than the number of columns in the rowset * @return the column value; if the value is SQL <code>NULL</code>, the * result is <code>null</code> * @throws SQLException if the given column index is out of bounds, * the cursor is not on a valid row, or this method fails */ public java.sql.Time getTime(int columnIndex) throws SQLException { return crsInternal.getTime(columnIndex); } /** * Retrieves the value of the designated column in the current row * of this <code>JoinRowSetImpl</code> object as a * <code>java.sql.Timestamp</code> object. * * @param columnIndex the first column is <code>1</code>, the second * is <code>2</code>, and so on; must be <code>1</code> or larger * and equal to or less than the number of columns in the rowset * @return the column value; if the value is SQL <code>NULL</code>, the * result is <code>null</code> * @throws SQLException if the given column index is out of bounds, * the cursor is not on a valid row, or this method fails */ public java.sql.Timestamp getTimestamp(int columnIndex) throws SQLException { return crsInternal.getTimestamp(columnIndex); } /** * Retrieves the value of the designated column in the current row * of this <code>JoinRowSetImpl</code> object as a * <code>java.sql.Timestamp</code> object. * * @param columnIndex the first column is <code>1</code>, the second * is <code>2</code>, and so on; must be <code>1</code> or larger * and equal to or less than the number of columns in the rowset * @return the column value; if the value is SQL <code>NULL</code>, the * result is <code>null</code> * @throws SQLException if the given column index is out of bounds, * the cursor is not on a valid row, or this method fails */ public java.io.InputStream getAsciiStream(int columnIndex) throws SQLException { return crsInternal.getAsciiStream(columnIndex); } /** * A column value can be retrieved as a stream of Unicode characters * and then read in chunks from the stream. This method is particularly * suitable for retrieving large LONGVARCHAR values. The JDBC driver will * do any necessary conversion from the database format into Unicode. * * <P><B>Note:</B> All the data in the returned stream must be * read prior to getting the value of any other column. The next * call to a get method implicitly closes the stream. . Also, a * stream may return 0 for available() whether there is data * available or not. * * @param columnIndex the first column is <code>1</code>, the second * is <code>2</code>, and so on; must be <code>1</code> or larger * and equal to or less than the number of columns in this rowset * @return a Java input stream that delivers the database column value * as a stream of two byte Unicode characters. If the value is SQL NULL * then the result is null. * @throws SQLException if an error occurs * @deprecated */ public java.io.InputStream getUnicodeStream(int columnIndex) throws SQLException { return crsInternal.getUnicodeStream(columnIndex); } /** * A column value can be retrieved as a stream of uninterpreted bytes * and then read in chunks from the stream. This method is particularly * suitable for retrieving large LONGVARBINARY values. * * <P><B>Note:</B> All the data in the returned stream must be * read prior to getting the value of any other column. The next * call to a get method implicitly closes the stream. Also, a * stream may return 0 for available() whether there is data * available or not. * * @param columnIndex the first column is <code>1</code>, the second * is <code>2</code>, and so on; must be <code>1</code> or larger * and equal to or less than the number of columns in the rowset * @return a Java input stream that delivers the database column value * as a stream of uninterpreted bytes. If the value is SQL NULL * then the result is null. * @throws SQLException if an error occurs */ public java.io.InputStream getBinaryStream(int columnIndex) throws SQLException { return crsInternal.getBinaryStream(columnIndex); } // ColumnName methods /** * Retrieves the value stored in the designated column * of the current row as a <code>String</code> object. * * @param columnName a <code>String</code> object giving the SQL name of * a column in this <code>JoinRowSetImpl</code> object * @return the column value; if the value is SQL <code>NULL</code>, * the result is <code>null</code> * @throws SQLException if the given column name does not match one of * this rowset's column names or the cursor is not on one of * this rowset's rows or its insert row */ public String getString(String columnName) throws SQLException { return crsInternal.getString(columnName); } /** * Retrieves the value stored in the designated column * of the current row as a <code>boolean</code> value. * * @param columnName a <code>String</code> object giving the SQL name of * a column in this <code>JoinRowSetImpl</code> object * @return the column value; if the value is SQL <code>NULL</code>, * the result is <code>false</code> * @throws SQLException if the given column name does not match one of * this rowset's column names or the cursor is not on one of * this rowset's rows or its insert row */ public boolean getBoolean(String columnName) throws SQLException { return crsInternal.getBoolean(columnName); } /** * Retrieves the value stored in the designated column * of the current row as a <code>byte</code> value. * * @param columnName a <code>String</code> object giving the SQL name of * a column in this <code>JoinRowSetImpl</code> object * @return the column value; if the value is SQL <code>NULL</code>, * the result is <code>0</code> * @throws SQLException if the given column name does not match one of * this rowset's column names or the cursor is not on one of * this rowset's rows or its insert row */ public byte getByte(String columnName) throws SQLException { return crsInternal.getByte(columnName); } /** * Retrieves the value stored in the designated column * of the current row as a <code>short</code> value. * * @param columnName a <code>String</code> object giving the SQL name of * a column in this <code>JoinRowSetImpl</code> object * @return the column value; if the value is SQL <code>NULL</code>, * the result is <code>0</code> * @throws SQLException if the given column name does not match one of * this rowset's column names or the cursor is not on one of * this rowset's rows or its insert row */ public short getShort(String columnName) throws SQLException { return crsInternal.getShort(columnName); } /** * Retrieves the value stored in the designated column * of the current row as an <code>int</code> value. * * @param columnName a <code>String</code> object giving the SQL name of * a column in this <code>JoinRowSetImpl</code> object * @return the column value; if the value is SQL <code>NULL</code>, * the result is <code>0</code> * @throws SQLException if the given column name does not match one of * this rowset's column names or the cursor is not on one of * this rowset's rows or its insert row */ public int getInt(String columnName) throws SQLException { return crsInternal.getInt(columnName); } /** * Retrieves the value stored in the designated column * of the current row as a <code>long</code> value. * * @param columnName a <code>String</code> object giving the SQL name of * a column in this <code>JoinRowSetImpl</code> object * @return the column value; if the value is SQL <code>NULL</code>, * the result is <code>0</code> * @throws SQLException if the given column name does not match one of * this rowset's column names or the cursor is not on one of * this rowset's rows or its insert row */ public long getLong(String columnName) throws SQLException { return crsInternal.getLong(columnName); } /** * Retrieves the value stored in the designated column * of the current row as a <code>float</code> value. * * @param columnName a <code>String</code> object giving the SQL name of * a column in this <code>JoinRowSetImpl</code> object * @return the column value; if the value is SQL <code>NULL</code>, * the result is <code>0</code> * @throws SQLException if the given column name does not match one of * this rowset's column names or the cursor is not on one of * this rowset's rows or its insert row */ public float getFloat(String columnName) throws SQLException { return crsInternal.getFloat(columnName); } /** * Retrieves the value stored in the designated column * of the current row as a <code>double</code> value. * * @param columnName a <code>String</code> object giving the SQL name of * a column in this <code>JoinRowSetImpl</code> object * @return the column value; if the value is SQL <code>NULL</code>, * the result is <code>0</code> * @throws SQLException if the given column name does not match one of * this rowset's column names or the cursor is not on one of * this rowset's rows or its insert row */ public double getDouble(String columnName) throws SQLException { return crsInternal.getDouble(columnName); } /** * Retrieves the value stored in the designated column * of the current row as a <code>java.math.BigDecimal</code> object. * * @param columnName a <code>String</code> object giving the SQL name of * a column in this <code>JoinRowSetImpl</code> object * @param scale the number of digits to the right of the decimal point * @return the column value; if the value is SQL <code>NULL</code>, * the result is <code>null</code> * @throws SQLException if the given column name does not match one of * this rowset's column names or the cursor is not on one of * this rowset's rows or its insert row * @deprecated use the method <code>getBigDecimal(String columnName)</code> * instead */ public BigDecimal getBigDecimal(String columnName, int scale) throws SQLException { return crsInternal.getBigDecimal(columnName); } /** * Retrieves the value stored in the designated column * of the current row as a byte array. * The bytes represent the raw values returned by the driver. * * @param columnName a <code>String</code> object giving the SQL name of * a column in this <code>JoinRowSetImpl</code> object * @return the column value; if the value is SQL <code>NULL</code>, * the result is <code>null</code> * @throws SQLException if the given column name does not match one of * this rowset's column names or the cursor is not on one of * this rowset's rows or its insert row */ public byte[] getBytes(String columnName) throws SQLException { return crsInternal.getBytes(columnName); } /** * Retrieves the value stored in the designated column * of the current row as a <code>java.sql.Date</code> object. * * @param columnName a <code>String</code> object giving the SQL name of * a column in this <code>JoinRowSetImpl</code> object * @return the column value; if the value is SQL <code>NULL</code>, * the result is <code>null</code> * @throws SQLException if the given column name does not match one of * this rowset's column names or the cursor is not on one of * this rowset's rows or its insert row */ public java.sql.Date getDate(String columnName) throws SQLException { return crsInternal.getDate(columnName); } /** * Retrieves the value stored in the designated column * of the current row as a <code>java.sql.Time</code> object. * * @param columnName a <code>String</code> object giving the SQL name of * a column in this <code>JoinRowSetImpl</code> object * @return the column value; if the value is SQL <code>NULL</code>, * the result is <code>null</code> * @throws SQLException if the given column name does not match one of * this rowset's column names or the cursor is not on one of * this rowset's rows or its insert row */ public java.sql.Time getTime(String columnName) throws SQLException { return crsInternal.getTime(columnName); } /** * Retrieves the value stored in the designated column * of the current row as a <code>java.sql.Timestamp</code> object. * * @param columnName a <code>String</code> object giving the SQL name of * a column in this <code>JoinRowSetImpl</code> object * @return the column value; if the value is SQL <code>NULL</code>, * the result is <code>null</code> * @throws SQLException if the given column name does not match one of * this rowset's column names or the cursor is not on one of