public interface ResultSetRowInterface
Modifier and Type | Method and Description |
---|---|
Array |
getArray(int column)
Gets the value of the supplied column.
|
Array |
getArray(String columnName)
Gets the value of the supplied column.
|
InputStream |
getAsciiStream(int column)
Gets the value of the supplied column as a stream of ASCII characters.
|
InputStream |
getAsciiStream(String columnName)
Gets the value of the supplied column as a stream of ASCII characters.
|
BigDecimal |
getBigDecimal(int column)
Gets the value of the supplied column.
|
BigDecimal |
getBigDecimal(String columnName)
Gets the value of the supplied column.
|
InputStream |
getBinaryStream(int column)
Gets the value of the supplied column as a stream of uninterpreted bytes.
|
InputStream |
getBinaryStream(String columnName)
Gets the value of the supplied column as a stream of uninterpreted bytes.
|
Blob |
getBlob(int column)
Gets the value of the supplied column.
|
Blob |
getBlob(String columnName)
Gets the value of the supplied column.
|
Boolean |
getBoolean(int column)
Gets the value of the supplied column.
|
Boolean |
getBoolean(String columnName)
Gets the value of the supplied column.
|
Byte |
getByte(int column)
Gets the value of the supplied column.
|
Byte |
getByte(String columnName)
Gets the value of the supplied column.
|
byte[] |
getBytes(int column)
Gets the value of the supplied column.
|
byte[] |
getBytes(String columnName)
Gets the value of the supplied column.
|
Reader |
getCharacterStream(int column)
Gets the value of the supplied column as a stream of characters.
|
Reader |
getCharacterStream(String columnName)
Gets the value of the supplied column as a stream of characters.
|
Clob |
getClob(int column)
Gets the value of the supplied column.
|
Clob |
getClob(String columnName)
Gets the value of the supplied column.
|
Date |
getDate(int column)
Gets the value of the supplied column.
|
Date |
getDate(int column,
Calendar calendar)
Gets the value of the supplied column.
|
Date |
getDate(String columnName)
Gets the value of the supplied column.
|
Date |
getDate(String columnName,
Calendar calendar)
Gets the value of the supplied column.
|
Double |
getDouble(int column)
Gets the value of the supplied column.
|
Double |
getDouble(String columnName)
Gets the value of the supplied column.
|
Float |
getFloat(int column)
Gets the value of the supplied column.
|
Float |
getFloat(String columnName)
Gets the value of the supplied column.
|
Integer |
getInt(int column)
Gets the value of the supplied column.
|
Integer |
getInt(String columnName)
Gets the value of the supplied column.
|
Long |
getLong(int column)
Gets the value of the supplied column.
|
Long |
getLong(String columnName)
Gets the value of the supplied column.
|
ResultSetMetaData |
getMetaData()
Retrieves the number, types and properties of this ResultSet object's columns.
|
Object |
getObject(int column)
Gets the value of the supplied column.
|
Object |
getObject(String columnName)
Gets the value of the supplied column.
|
Object |
getObject(String columnName,
Map<String,Class<?>> map)
Gets the value of the supplied column.
|
Ref |
getRef(int column)
Gets the value of the supplied column.
|
Ref |
getRef(String columnName)
Gets the value of the supplied column.
|
int |
getRow()
Retrieves the current row number.
|
Short |
getShort(int column)
Gets the value of the supplied column.
|
Short |
getShort(String columnName)
Gets the value of the supplied column.
|
String |
getString(int column)
Gets the value of the supplied column.
|
String |
getString(String columnName)
Gets the value of the supplied column.
|
Time |
getTime(int column)
Gets the value of the supplied column.
|
Time |
getTime(int column,
Calendar calendar)
Gets the value of the supplied column.
|
Time |
getTime(String columnName)
Gets the value of the supplied column.
|
Time |
getTime(String columnName,
Calendar calendar)
Gets the value of the supplied column.
|
Timestamp |
getTimestamp(int column)
Gets the value of the supplied column.
|
Timestamp |
getTimestamp(int column,
Calendar calendar)
Gets the value of the supplied column.
|
Timestamp |
getTimestamp(String columnName)
Gets the value of the supplied column.
|
Timestamp |
getTimestamp(String columnName,
Calendar calendar)
Gets the value of the supplied column.
|
SQLWarning |
getWarnings()
Retrieves the first warning reported .
|
Array getArray(int column) throws SQLException
column
- Column index number (starting with 1).IllegalArgumentException
- When the supplied column is less than 1.SQLException
- When a database access error occurs.ResultSet.getArray(int)
Array getArray(String columnName) throws SQLException
columnName
- Name of the column.IllegalArgumentException
- When the supplied columnName is null or empty.SQLException
- When a database access error occurs.ResultSet.getArray(String)
InputStream getAsciiStream(int column) throws SQLException
column
- Column index number (starting with 1).IllegalArgumentException
- When the supplied column is less than 1.SQLException
- When a database access error occurs.ResultSet.getAsciiStream(int)
InputStream getAsciiStream(String columnName) throws SQLException
columnName
- Name of the column.IllegalArgumentException
- When the supplied columnName is null or empty.SQLException
- When a database access error occurs.ResultSet.getAsciiStream(String)
BigDecimal getBigDecimal(int column) throws SQLException
column
- Column index number (starting with 1).IllegalArgumentException
- When the supplied column is less than 1.SQLException
- When a database access error occurs.ResultSet.getBigDecimal(int)
BigDecimal getBigDecimal(String columnName) throws SQLException
columnName
- Name of the column.IllegalArgumentException
- When the supplied columnName is null or empty.SQLException
- When a database access error occurs.ResultSet.getBigDecimal(String)
InputStream getBinaryStream(int column) throws SQLException
column
- Column index number (starting with 1).IllegalArgumentException
- When the supplied column is less than 1.SQLException
- When a database access error occurs.ResultSet.getBinaryStream(int)
InputStream getBinaryStream(String columnName) throws SQLException
columnName
- Name of the column.IllegalArgumentException
- When the supplied columnName is null or empty.SQLException
- When a database access error occurs.ResultSet.getBinaryStream(String)
Blob getBlob(int column) throws SQLException
column
- Column index number (starting with 1).IllegalArgumentException
- When the supplied column is less than 1.SQLException
- When a database access error occurs.ResultSet.getBlob(int)
Blob getBlob(String columnName) throws SQLException
columnName
- Name of the column.IllegalArgumentException
- When the supplied columnName is null or empty.SQLException
- When a database access error occurs.ResultSet.getBlob(String)
Boolean getBoolean(int column) throws SQLException
column
- Column index number (starting with 1).IllegalArgumentException
- When the supplied column is less than 1.SQLException
- When a database access error occurs.ResultSet.getBoolean(int)
Boolean getBoolean(String columnName) throws SQLException
columnName
- Name of the column.IllegalArgumentException
- When the supplied columnName is null or empty.SQLException
- When a database access error occurs.ResultSet.getBoolean(String)
Byte getByte(int column) throws SQLException
column
- Column index number (starting with 1).IllegalArgumentException
- When the supplied column is less than 1.SQLException
- When a database access error occurs.ResultSet.getByte(int)
Byte getByte(String columnName) throws SQLException
columnName
- Name of the column.IllegalArgumentException
- When the supplied columnName is null or empty.SQLException
- When a database access error occurs.ResultSet.getByte(String)
byte[] getBytes(int column) throws SQLException
column
- Column index number (starting with 1).IllegalArgumentException
- When the supplied column is less than 1.SQLException
- When a database access error occurs.ResultSet.getBytes(int)
byte[] getBytes(String columnName) throws SQLException
columnName
- Name of the column.IllegalArgumentException
- When the supplied columnName is null or empty.SQLException
- When a database access error occurs.ResultSet.getBytes(String)
Reader getCharacterStream(int column) throws SQLException
column
- Column index number (starting with 1).IllegalArgumentException
- When the supplied column is less than 1.SQLException
- When a database access error occurs.ResultSet.getCharacterStream(int)
Reader getCharacterStream(String columnName) throws SQLException
columnName
- Name of the column.IllegalArgumentException
- When the supplied columnName is null or empty.SQLException
- When a database access error occurs.ResultSet.getCharacterStream(String)
Clob getClob(int column) throws SQLException
column
- Column index number (starting with 1).IllegalArgumentException
- When the supplied column is less than 1.SQLException
- When a database access error occurs.ResultSet.getClob(int)
Clob getClob(String columnName) throws SQLException
columnName
- Name of the column.IllegalArgumentException
- When the supplied columnName is null or empty.SQLException
- When a database access error occurs.ResultSet.getClob(String)
Date getDate(int column) throws SQLException
column
- Column index number (starting with 1).IllegalArgumentException
- When the supplied column is less than 1.SQLException
- When a database access error occurs.ResultSet.getDate(int)
Date getDate(int column, Calendar calendar) throws SQLException
column
- Column index number (starting with 1).calendar
- Calendar to construct the date.IllegalArgumentException
- When the supplied column is less than 1.NullPointerException
- When the supplied calendar is null.SQLException
- When a database access error occurs.ResultSet.getDate(int, Calendar)
Date getDate(String columnName) throws SQLException
columnName
- Name of the column.IllegalArgumentException
- When the supplied columnName is null or empty.SQLException
- When a database access error occurs.ResultSet.getDate(String)
Date getDate(String columnName, Calendar calendar) throws SQLException
columnName
- Name if the column.calendar
- Calendar to construct the date.IllegalArgumentException
- When the supplied columnName is null or empty.NullPointerException
- When the supplied calendar is null.SQLException
- When a database access error occurs.ResultSet.getDate(String, Calendar)
Double getDouble(int column) throws SQLException
column
- Column index number (starting with 1).IllegalArgumentException
- When the supplied column is less than 1.SQLException
- When a database access error occurs.ResultSet.getDouble(int)
Double getDouble(String columnName) throws SQLException
columnName
- Name of the column.IllegalArgumentException
- When the supplied columnName is null or empty.SQLException
- When a database access error occurs.ResultSet.getDouble(String)
Float getFloat(int column) throws SQLException
column
- Column index number (starting with 1).IllegalArgumentException
- When the supplied column is less than 1.SQLException
- When a database access error occurs.ResultSet.getFloat(int)
Float getFloat(String columnName) throws SQLException
columnName
- Name of the column.IllegalArgumentException
- When the supplied columnName is null or empty.SQLException
- When a database access error occurs.ResultSet.getFloat(String)
Integer getInt(int column) throws SQLException
column
- Column index number (starting with 1).IllegalArgumentException
- When the supplied column is less than 1.SQLException
- When a database access error occurs.ResultSet.getInt(int)
Integer getInt(String columnName) throws SQLException
columnName
- Name of the column.IllegalArgumentException
- When the supplied columnName is null or empty.SQLException
- When a database access error occurs.ResultSet.getInt(String)
Long getLong(int column) throws SQLException
column
- Column index number (starting with 1).IllegalArgumentException
- When the supplied column is less than 1.SQLException
- When a database access error occurs.ResultSet.getLong(int)
Long getLong(String columnName) throws SQLException
columnName
- Name of the column.IllegalArgumentException
- When the supplied columnName is null or empty.SQLException
- When a database access error occurs.ResultSet.getLong(String)
ResultSetMetaData getMetaData() throws SQLException
SQLException
- When a database access error occurs.ResultSet.getMetaData()
Object getObject(int column) throws SQLException
column
- Column index number (starting with 1).IllegalArgumentException
- When the supplied column is less than 1.SQLException
- When a database access error occurs.ResultSet.getObject(int)
Object getObject(String columnName) throws SQLException
columnName
- Name of the column.IllegalArgumentException
- When the supplied columnName is null or empty.SQLException
- When a database access error occurs.ResultSet.getObject(String)
Object getObject(String columnName, Map<String,Class<?>> map) throws SQLException
columnName
- Name of the column.map
- Map object that contains the mapping from SQL type names to classes in the Java programming language.IllegalArgumentException
- When the supplied columnName is null or empty.NullPointerException
- When the supplied map is null.SQLException
- When a database access error occurs.ResultSet.getObject(String, Map)
Ref getRef(int column) throws SQLException
column
- Column index number (starting with 1).IllegalArgumentException
- When the supplied column is less than 1.SQLException
- When a database access error occurs.ResultSet.getRef(int)
Ref getRef(String columnName) throws SQLException
columnName
- Name of the column.IllegalArgumentException
- When the supplied columnName is null or empty.SQLException
- When a database access error occurs.ResultSet.getRef(String)
int getRow() throws SQLException
SQLException
- When a database access error occurs.Short getShort(int column) throws SQLException
column
- Column index number (starting with 1).IllegalArgumentException
- When the supplied column is less than 1.SQLException
- When a database access error occurs.ResultSet.getShort(int)
Short getShort(String columnName) throws SQLException
columnName
- Name of the column.IllegalArgumentException
- When the supplied columnName is null or empty.SQLException
- When a database access error occurs.ResultSet.getShort(String)
String getString(int column) throws SQLException
column
- Column index number (starting with 1).IllegalArgumentException
- When the supplied column is less than 1.SQLException
- When a database access error occurs.ResultSet.getString(int)
String getString(String columnName) throws SQLException
columnName
- Name of the column.IllegalArgumentException
- When the supplied columnName is null or empty.SQLException
- When a database access error occurs.ResultSet.getString(String)
Time getTime(int column) throws SQLException
column
- Column index number (starting with 1).IllegalArgumentException
- When the supplied column is less than 1.SQLException
- When a database access error occurs.ResultSet.getTime(int)
Time getTime(int column, Calendar calendar) throws SQLException
column
- Column index number (starting with 1).calendar
- Calendar object to construct the time.IllegalArgumentException
- When the supplied column is less than 1.NullPointerException
- When the supplied calendar is null.SQLException
- When a database access error occurs.ResultSet.getTime(int, Calendar)
Time getTime(String columnName) throws SQLException
columnName
- Name of the column.IllegalArgumentException
- When the supplied columnName is null or empty.SQLException
- When a database access error occurs.ResultSet.getTime(String)
Time getTime(String columnName, Calendar calendar) throws SQLException
columnName
- Name of the column.calendar
- Calendar object to construct the time.IllegalArgumentException
- When the supplied columnName is null or empty.NullPointerException
- When the supplied calendar is null.SQLException
- When a database access error occurs.ResultSet.getTime(String, Calendar)
Timestamp getTimestamp(int column) throws SQLException
column
- Column index number (starting with 1).IllegalArgumentException
- When the supplied column is less than 1.SQLException
- When a database access error occurs.ResultSet.getTimestamp(int)
Timestamp getTimestamp(int column, Calendar calendar) throws SQLException
column
- Column index number (starting with 1).calendar
- Calendar object to construct the time.IllegalArgumentException
- When the supplied column is less than 1.NullPointerException
- When the supplied calendar is null.SQLException
- When a database access error occurs.ResultSet.getTimestamp(int, Calendar)
Timestamp getTimestamp(String columnName) throws SQLException
columnName
- Name of the column.IllegalArgumentException
- When the supplied columnName is null or empty.SQLException
- When a database access error occurs.ResultSet.getTimestamp(String)
Timestamp getTimestamp(String columnName, Calendar calendar) throws SQLException
columnName
- Name of the column.calendar
- Calendar object to construct the time.IllegalArgumentException
- When the supplied columnName is null or empty.NullPointerException
- When the supplied calendar is null.SQLException
- When a database access error occurs.ResultSet.getTimestamp(String, Calendar)
SQLWarning getWarnings() throws SQLException
SQLException
- When a database access error occurs.Copyright © 2008–2018. All rights reserved.