Package org.monetdb.monetdbe
Class MonetResultSet
java.lang.Object
org.monetdb.monetdbe.MonetWrapper
org.monetdb.monetdbe.MonetResultSet
- All Implemented Interfaces:
AutoCloseable,ResultSet,Wrapper
public class MonetResultSet extends MonetWrapper implements ResultSet
A
ResultSet suitable for the MonetDB embedded database.
A table of data representing a database result set, which is usually generated by executing a statement that queries the database.
A ResultSet object maintains a cursor pointing to its current row of data. Initially the cursor is positioned before the first row.
The next method moves the cursor to the next row, and because it returns false when there are no more rows in the ResultSet object,
it can be used in a while loop to iterate through the result set.
The ResultSet interface provides getter methods (getBoolean, getLong, and so on) for retrieving column values from the current row.
Values can be retrieved using either the index number of the column or the name of the column.
In general, using the column index will be more efficient. Columns are numbered from 1.-
Field Summary
Fields inherited from interface java.sql.ResultSet
CLOSE_CURSORS_AT_COMMIT, CONCUR_READ_ONLY, CONCUR_UPDATABLE, FETCH_FORWARD, FETCH_REVERSE, FETCH_UNKNOWN, HOLD_CURSORS_OVER_COMMIT, TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVE -
Method Summary
Modifier and Type Method Description booleanabsolute(int row)Moves the cursor to the given row number in this ResultSet object.voidafterLast()Moves the cursor to the end of this ResultSet object, just after the last row.voidbeforeFirst()Moves the cursor to the front of this ResultSet object, just before the first row.voidcancelRowUpdates()Feature not supported.voidclearWarnings()Clears all warnings reported on this ResultSet object.voidclose()Releases this ResultSet object's database and JDBC resources immediately instead of waiting for this to happen when it is automatically closed.voiddeleteRow()Feature not supported.intfindColumn(String columnLabel)Maps the given ResultSet column label to its ResultSet column index.booleanfirst()Moves the cursor to the first row in this ResultSet object.ArraygetArray(int columnIndex)Feature not supported.ArraygetArray(String columnLabel)Feature not supported.InputStreamgetAsciiStream(int columnIndex)Feature not supported.InputStreamgetAsciiStream(String columnLabel)Feature not supported.BigDecimalgetBigDecimal(int columnIndex)Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.BigDecimal in the Java programming language.BigDecimalgetBigDecimal(int columnIndex, int scale)Deprecated.BigDecimalgetBigDecimal(String columnLabel)Similar to getBigDecimal(int), uses columnLabel instead.BigDecimalgetBigDecimal(String columnLabel, int scale)Deprecated.BigIntegergetBigInteger(int columnIndex)Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.BigInteger in the Java programming language.BigIntegergetBigInteger(String columnLabel)Similar to getBigInteger(int), uses columnLabel instead.InputStreamgetBinaryStream(int columnIndex)Retrieves the value of the designated column in the current row of this ResultSet object as a stream of uninterpreted bytes.InputStreamgetBinaryStream(String columnLabel)Similar to getBinaryStream(int), uses columnLabel instead.BlobgetBlob(int columnIndex)Retrieves the value of the designated column in the current row of this ResultSet object as a Blob object in the Java programming language.BlobgetBlob(String columnLabel)Similar to getBlob(int), uses columnLabel instead.booleangetBoolean(int columnIndex)Retrieves the value of the designated column in the current row of this ResultSet object as a boolean in the Java programming language.booleangetBoolean(String columnLabel)Similar to getBoolean(int), uses columnLabel instead.bytegetByte(int columnIndex)Retrieves the value of the designated column in the current row of this ResultSet object as a byte in the Java programming language.bytegetByte(String columnLabel)Similar to getByte(int), uses columnLabel instead.byte[]getBytes(int columnIndex)Retrieves the value of the designated column in the current row of this ResultSet object as a byte array in the Java programming language.byte[]getBytes(String columnLabel)Similar to getBytes(int), uses columnLabel instead.ReadergetCharacterStream(int columnIndex)Retrieves the value of the designated column in the current row of this ResultSet object as a java.io.Reader object.ReadergetCharacterStream(String columnLabel)Similar to getCharacterStream(int), uses columnLabel instead.ClobgetClob(int columnIndex)Retrieves the value of the designated column in the current row of this ResultSet object as a Clob object in the Java programming language.ClobgetClob(String columnLabel)Similar to getClob(int), uses columnLabel instead.intgetColumnsNumber()intgetConcurrency()Retrieves the concurrency mode of this ResultSet object.StringgetCursorName()Retrieves the name of the SQL cursor used by this ResultSet object.DategetDate(int columnIndex)Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.Date in the Java programming language.DategetDate(int columnIndex, Calendar cal)Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.Date in the Java programming language.DategetDate(String columnLabel)Similar to getDate(int), uses columnLabel instead.DategetDate(String columnLabel, Calendar cal)Similar to getDate(int,Calendar), uses columnLabel instead.doublegetDouble(int columnIndex)Retrieves the value of the designated column in the current row of this ResultSet object as a double in the Java programming language.doublegetDouble(String columnLabel)Similar to getDouble(int), uses columnLabel instead.intgetFetchDirection()Retrieves the fetch direction for this ResultSet object.intgetFetchSize()Retrieves the fetch size for this ResultSet object.floatgetFloat(int columnIndex)Retrieves the value of the designated column in the current row of this ResultSet object as a float in the Java programming language.floatgetFloat(String columnLabel)Similar to getFloat(int), uses columnLabel instead.intgetHoldability()Retrieves the holdability of this ResultSet objectintgetInt(int columnIndex)Retrieves the value of the designated column in the current row of this ResultSet object as a int in the Java programming language.intgetInt(String columnLabel)Similar to getInt(int), uses columnLabel instead.LocalDategetLocalDate(int columnIndex)Retrieves the value of the designated column in the current row of this ResultSet object as a java.time.LocalDate in the Java programming language.LocalDateTimegetLocalDateTime(int columnIndex)Retrieves the value of the designated column in the current row of this ResultSet object as a java.time.LocalDateTime in the Java programming language.LocalTimegetLocalTime(int columnIndex)Retrieves the value of the designated column in the current row of this ResultSet object as a java.time.LocalTime in the Java programming language.longgetLong(int columnIndex)Retrieves the value of the designated column in the current row of this ResultSet object as a long in the Java programming language.longgetLong(String columnLabel)Similar to getLong(int), uses columnLabel instead.ResultSetMetaDatagetMetaData()Retrieves the number, types and properties of this ResultSet object's columns.ReadergetNCharacterStream(int columnIndex)Same as getCharacterStream(int).ReadergetNCharacterStream(String columnLabel)Similar to getNCharacterStream(int), uses columnLabel instead.NClobgetNClob(int columnIndex)Feature not supported.NClobgetNClob(String columnLabel)Feature not supported.StringgetNString(int columnIndex)Same as getString(int).StringgetNString(String columnLabel)Similar to getNString(int), uses columnLabel instead.ObjectgetObject(int columnIndex)Gets the value of the designated column in the current row as an Java object.<T> TgetObject(int columnIndex, Class<T> type)Retrieves the value of the designated column in the current row of this ResultSet object and will convert from the SQL type of the column to the requested Java data type, if the conversion is supported.ObjectgetObject(int columnIndex, Map<String,Class<?>> map)Retrieves the value of the designated column in the current row of this ResultSet object as an Java object.ObjectgetObject(String columnLabel)Similar to getObject(int), uses columnLabel instead.<T> TgetObject(String columnLabel, Class<T> type)Similar to getObject(int,Class), uses columnLabel instead.ObjectgetObject(String columnLabel, Map<String,Class<?>> map)Similar to getObject(int,Map), uses columnLabel instead.RefgetRef(int columnIndex)Feature not supported.RefgetRef(String columnLabel)Feature not supported.intgetRow()Retrieves the current row number.RowIdgetRowId(int columnIndex)Feature not supported.RowIdgetRowId(String columnLabel)Feature not supported.intgetRowsNumber()shortgetShort(int columnIndex)Retrieves the value of the designated column in the current row of this ResultSet object as a short in the Java programming language.shortgetShort(String columnLabel)Similar to getShort(int), uses columnLabel instead.SQLXMLgetSQLXML(int columnIndex)Feature not supported.SQLXMLgetSQLXML(String columnLabel)Feature not supported.StatementgetStatement()Retrieves the Statement object that produced this ResultSet object.StringgetString(int columnIndex)Retrieves the value of the designated column in the current row of this ResultSet object as a String in the Java programming language.StringgetString(String columnLabel)Similar to getString(int), uses columnLabel instead.TimegetTime(int columnIndex)Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.Time in the Java programming language.TimegetTime(int columnIndex, Calendar cal)Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.Time in the Java programming language.TimegetTime(String columnLabel)Similar to getTime(int), uses columnLabel instead.TimegetTime(String columnLabel, Calendar cal)Similar to getTime(int,Calendar), uses columnLabel instead.TimestampgetTimestamp(int columnIndex)Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.Timestamp in the Java programming language.TimestampgetTimestamp(int columnIndex, Calendar cal)Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.Timestamp in the Java programming language.TimestampgetTimestamp(String columnLabel)Similar to getTimestamp(int), uses columnLabel instead.TimestampgetTimestamp(String columnLabel, Calendar cal)Similar to getTimestamp(int,Calendar), uses columnLabel instead.intgetType()Retrieves the type of this ResultSet object.InputStreamgetUnicodeStream(int columnIndex)Feature not supported.InputStreamgetUnicodeStream(String columnLabel)Feature not supported.URLgetURL(int columnIndex)Retrieves the value of the designated column in the current row of this ResultSet object as a java.net.URL object in the Java programming language.URLgetURL(String columnLabel)Similar to getURL(int), uses columnLabel instead.SQLWarninggetWarnings()Retrieves the first warning reported by calls on this ResultSet object.voidinsertRow()Feature not supported.booleanisAfterLast()Retrieves whether the cursor is after the last row in this ResultSet object.booleanisBeforeFirst()Retrieves whether the cursor is before the first row in this ResultSet object.booleanisClosed()Retrieves whether this ResultSet object has been closed.booleanisFirst()Retrieves whether the cursor is on the first row of this ResultSet object.booleanisLast()Retrieves whether the cursor is on the last row of this ResultSet object.booleanlast()Moves the cursor to the last row in this ResultSet object.voidmoveToCurrentRow()Feature not supported.voidmoveToInsertRow()Feature not supported.booleannext()Moves the cursor to the previous row in this ResultSet object.booleanprevious()Moves the cursor to the previous row in this ResultSet object.voidrefreshRow()Feature not supported.booleanrelative(int rows)Moves the cursor a relative number of rows, either positive or negative.booleanrowDeleted()Feature not supported.booleanrowInserted()Feature not supported.booleanrowUpdated()Feature not supported.voidsetFetchDirection(int direction)Gives a hint as to the direction in which the rows in this ResultSet object will be processed.voidsetFetchSize(int rows)Gives the driver a hint as to the number of rows that should be fetched from the database when more rows are needed for this ResultSet object.voidupdateArray(int columnIndex, Array x)Feature not supported.voidupdateArray(String columnLabel, Array x)Feature not supported.voidupdateAsciiStream(int columnIndex, InputStream x)Feature not supported.voidupdateAsciiStream(int columnIndex, InputStream x, int length)Feature not supported.voidupdateAsciiStream(int columnIndex, InputStream x, long length)Feature not supported.voidupdateAsciiStream(String columnLabel, InputStream x)Feature not supported.voidupdateAsciiStream(String columnLabel, InputStream x, int length)Feature not supported.voidupdateAsciiStream(String columnLabel, InputStream x, long length)Feature not supported.voidupdateBigDecimal(int columnIndex, BigDecimal x)Feature not supported.voidupdateBigDecimal(String columnLabel, BigDecimal x)Feature not supported.voidupdateBinaryStream(int columnIndex, InputStream x)voidupdateBinaryStream(int columnIndex, InputStream x, int length)Feature not supported.voidupdateBinaryStream(int columnIndex, InputStream x, long length)Feature not supported.voidupdateBinaryStream(String columnLabel, InputStream x)Feature not supported.voidupdateBinaryStream(String columnLabel, InputStream x, int length)Feature not supported.voidupdateBinaryStream(String columnLabel, InputStream x, long length)Feature not supported.voidupdateBlob(int columnIndex, InputStream inputStream)Feature not supported.voidupdateBlob(int columnIndex, InputStream inputStream, long length)Feature not supported.voidupdateBlob(int columnIndex, Blob x)Feature not supported.voidupdateBlob(String columnLabel, InputStream inputStream)Feature not supported.voidupdateBlob(String columnLabel, InputStream inputStream, long length)voidupdateBlob(String columnLabel, Blob x)Feature not supported.voidupdateBoolean(int columnIndex, boolean x)Feature not supported.voidupdateBoolean(String columnLabel, boolean x)Feature not supported.voidupdateByte(int columnIndex, byte x)Feature not supported.voidupdateByte(String columnLabel, byte x)Feature not supported.voidupdateBytes(int columnIndex, byte[] x)Feature not supported.voidupdateBytes(String columnLabel, byte[] x)Feature not supported.voidupdateCharacterStream(int columnIndex, Reader x)Feature not supported.voidupdateCharacterStream(int columnIndex, Reader x, int length)Feature not supported.voidupdateCharacterStream(int columnIndex, Reader x, long length)Feature not supported.voidupdateCharacterStream(String columnLabel, Reader reader)Feature not supported.voidupdateCharacterStream(String columnLabel, Reader reader, int length)Feature not supported.voidupdateCharacterStream(String columnLabel, Reader reader, long length)Feature not supported.voidupdateClob(int columnIndex, Reader reader)Feature not supported.voidupdateClob(int columnIndex, Reader reader, long length)Feature not supported.voidupdateClob(int columnIndex, Clob x)Feature not supported.voidupdateClob(String columnLabel, Reader reader)Feature not supported.voidupdateClob(String columnLabel, Reader reader, long length)Feature not supported.voidupdateClob(String columnLabel, Clob x)Feature not supported.voidupdateDate(int columnIndex, Date x)Feature not supported.voidupdateDate(String columnLabel, Date x)Feature not supported.voidupdateDouble(int columnIndex, double x)Feature not supported.voidupdateDouble(String columnLabel, double x)Feature not supported.voidupdateFloat(int columnIndex, float x)Feature not supported.voidupdateFloat(String columnLabel, float x)Feature not supported.voidupdateInt(int columnIndex, int x)Feature not supported.voidupdateInt(String columnLabel, int x)Feature not supported.voidupdateLong(int columnIndex, long x)Feature not supported.voidupdateLong(String columnLabel, long x)Feature not supported.voidupdateNCharacterStream(int columnIndex, Reader x)Feature not supported.voidupdateNCharacterStream(int columnIndex, Reader x, long length)Feature not supported.voidupdateNCharacterStream(String columnLabel, Reader reader)Feature not supported.voidupdateNCharacterStream(String columnLabel, Reader reader, long length)Feature not supported.voidupdateNClob(int columnIndex, Reader reader)Feature not supported.voidupdateNClob(int columnIndex, Reader reader, long length)Feature not supported.voidupdateNClob(int columnIndex, NClob nClob)Feature not supported.voidupdateNClob(String columnLabel, Reader reader)Feature not supported.voidupdateNClob(String columnLabel, Reader reader, long length)Feature not supported.voidupdateNClob(String columnLabel, NClob nClob)Feature not supported.voidupdateNString(int columnIndex, String nString)Feature not supported.voidupdateNString(String columnLabel, String nString)Feature not supported.voidupdateNull(int columnIndex)Feature not supported.voidupdateNull(String columnLabel)Feature not supported.voidupdateObject(int columnIndex, Object x)Feature not supported.voidupdateObject(int columnIndex, Object x, int scaleOrLength)Feature not supported.voidupdateObject(int columnIndex, Object x, SQLType targetSqlType)Feature not supported.voidupdateObject(int columnIndex, Object x, SQLType targetSqlType, int scaleOrLength)Feature not supported.voidupdateObject(String columnLabel, Object x)Feature not supported.voidupdateObject(String columnLabel, Object x, int scaleOrLength)Feature not supported.voidupdateObject(String columnLabel, Object x, SQLType targetSqlType)Feature not supported.voidupdateObject(String columnLabel, Object x, SQLType targetSqlType, int scaleOrLength)Feature not supported.voidupdateRef(int columnIndex, Ref x)Feature not supported.voidupdateRef(String columnLabel, Ref x)Feature not supported.voidupdateRow()Feature not supported.voidupdateRowId(int columnIndex, RowId x)Feature not supported.voidupdateRowId(String columnLabel, RowId x)Feature not supported.voidupdateShort(int columnIndex, short x)Feature not supported.voidupdateShort(String columnLabel, short x)Feature not supported.voidupdateSQLXML(int columnIndex, SQLXML xmlObject)Feature not supported.voidupdateSQLXML(String columnLabel, SQLXML xmlObject)Feature not supported.voidupdateString(int columnIndex, String x)Feature not supported.voidupdateString(String columnLabel, String x)Feature not supported.voidupdateTime(int columnIndex, Time x)Feature not supported.voidupdateTime(String columnLabel, Time x)Feature not supported.voidupdateTimestamp(int columnIndex, Timestamp x)Feature not supported.voidupdateTimestamp(String columnLabel, Timestamp x)Feature not supported.booleanwasNull()Reports whether the last column read had a value of SQL NULL.
-
Method Details
-
getRowsNumber
public int getRowsNumber() -
getColumnsNumber
public int getColumnsNumber() -
getObject
Gets the value of the designated column in the current row as an Java object. The type of the Java object will be the default Java object type corresponding to the column's SQL type, following the mapping for built-in types specified in the JDBC specification. If the value is an SQL NULL, the driver returns a Java null.- Specified by:
getObjectin interfaceResultSet- Parameters:
columnIndex- Column index (starts at 1)- Returns:
- a java.lang.Object holding the column value
- Throws:
SQLException- if the columnIndex is not valid or this method is called on a closed result set
-
getObject
Retrieves the value of the designated column in the current row of this ResultSet object as an Java object. This method uses the specified Map object for custom mapping if appropriate. If there is no mapping for the column's SQL type, return the default java object type for that column.- Specified by:
getObjectin interfaceResultSet- Parameters:
columnIndex- Column index (starts at 1)map- a java.util.Map object that contains the mapping from SQL type names to classes in the Java programming language- Returns:
- an Object representing the SQL value in the specified column
- Throws:
SQLException- if the columnIndex is not valid or this method is called on a closed result set
-
getObject
Retrieves the value of the designated column in the current row of this ResultSet object and will convert from the SQL type of the column to the requested Java data type, if the conversion is supported. If the conversion is not supported or null is specified for the type, a SQLException is thrown.- Specified by:
getObjectin interfaceResultSet- Parameters:
columnIndex- Column index (starts at 1)type- Class representing the Java data type to convert the designated column to- Returns:
- an instance of type holding the column value
- Throws:
SQLException- if conversion is not supported, type is null or another error occurs
-
findColumn
Maps the given ResultSet column label to its ResultSet column index.- Specified by:
findColumnin interfaceResultSet- Parameters:
columnLabel- the label for the column specified with the SQL AS clause or the column's name- Returns:
- the column index of the given column name
- Throws:
SQLException- if the ResultSet object does not contain a column labeled columnLabel or this method is called on a closed result
-
getString
Retrieves the value of the designated column in the current row of this ResultSet object as a String in the Java programming language.- Specified by:
getStringin interfaceResultSet- Parameters:
columnIndex- Column index (starts at 1)- Returns:
- the column value; if the value is SQL NULL, the value returned is null
- Throws:
SQLException- if the columnIndex is not valid or this method is called on a closed result set
-
getBoolean
Retrieves the value of the designated column in the current row of this ResultSet object as a boolean in the Java programming language. If the designated column has a datatype of CHAR or VARCHAR and contains a "0" or has a datatype of BIT, TINYINT, SMALLINT, INTEGER or BIGINT and contains a 0, a value of false is returned. If the designated column has a datatype of CHAR or VARCHAR and contains a "1" or has a datatype of BIT, TINYINT, SMALLINT, INTEGER or BIGINT and contains a 1, a value of true is returned.- Specified by:
getBooleanin interfaceResultSet- Parameters:
columnIndex- Column index (starts at 1)- Returns:
- the column value; if the value is SQL NULL, the value returned is false
- Throws:
SQLException- if the columnIndex is not valid or this method is called on a closed result set
-
getByte
Retrieves the value of the designated column in the current row of this ResultSet object as a byte in the Java programming language.- Specified by:
getBytein interfaceResultSet- Parameters:
columnIndex- Column index (starts at 1)- Returns:
- the column value; if the value is SQL NULL, the value returned is 0
- Throws:
SQLException- if the columnIndex is not valid or this method is called on a closed result set
-
getShort
Retrieves the value of the designated column in the current row of this ResultSet object as a short in the Java programming language.- Specified by:
getShortin interfaceResultSet- Parameters:
columnIndex- Column index (starts at 1)- Returns:
- the column value; if the value is SQL NULL, the value returned is 0
- Throws:
SQLException- if the columnIndex is not valid or this method is called on a closed result set
-
getInt
Retrieves the value of the designated column in the current row of this ResultSet object as a int in the Java programming language.- Specified by:
getIntin interfaceResultSet- Parameters:
columnIndex- Column index (starts at 1)- Returns:
- the column value; if the value is SQL NULL, the value returned is 0
- Throws:
SQLException- if the columnIndex is not valid or this method is called on a closed result set
-
getLong
Retrieves the value of the designated column in the current row of this ResultSet object as a long in the Java programming language.- Specified by:
getLongin interfaceResultSet- Parameters:
columnIndex- Column index (starts at 1)- Returns:
- the column value; if the value is SQL NULL, the value returned is 0
- Throws:
SQLException- if the columnIndex is not valid or this method is called on a closed result set
-
getFloat
Retrieves the value of the designated column in the current row of this ResultSet object as a float in the Java programming language.- Specified by:
getFloatin interfaceResultSet- Parameters:
columnIndex- Column index (starts at 1)- Returns:
- the column value; if the value is SQL NULL, the value returned is 0
- Throws:
SQLException- if the columnIndex is not valid or this method is called on a closed result set
-
getDouble
Retrieves the value of the designated column in the current row of this ResultSet object as a double in the Java programming language.- Specified by:
getDoublein interfaceResultSet- Parameters:
columnIndex- Column index (starts at 1)- Returns:
- the column value; if the value is SQL NULL, the value returned is 0
- Throws:
SQLException- if the columnIndex is not valid or this method is called on a closed result set
-
getBytes
Retrieves the value of the designated column in the current row of this ResultSet object as a byte array in the Java programming language. The bytes represent the raw values returned by the driver.- Specified by:
getBytesin interfaceResultSet- Parameters:
columnIndex- Column index (starts at 1)- Returns:
- the column value; if the value is SQL NULL, the value returned is null
- Throws:
SQLException- if the columnIndex is not valid or this method is called on a closed result set
-
getBigDecimal
Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.BigDecimal in the Java programming language.- Specified by:
getBigDecimalin interfaceResultSet- Parameters:
columnIndex- Column index (starts at 1)- Returns:
- the column value; if the value is SQL NULL, the value returned is null
- Throws:
SQLException- if the columnIndex is not valid or this method is called on a closed result set
-
getBigInteger
Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.BigInteger in the Java programming language.- Parameters:
columnIndex- Column index (starts at 1)- Returns:
- the column value; if the value is SQL NULL, the value returned is null
- Throws:
SQLException- if the columnIndex is not valid or this method is called on a closed result set
-
getLocalDate
Retrieves the value of the designated column in the current row of this ResultSet object as a java.time.LocalDate in the Java programming language.- Parameters:
columnIndex- Column index (starts at 1)- Returns:
- the column value; if the value is SQL NULL, the value returned is null
- Throws:
SQLException- if the columnIndex is not valid, the LocalDate value fetched from the database cannot be parsed or this method is called on a closed result set
-
getDate
Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.Date in the Java programming language. This method uses the given calendar to set the timezone.- Specified by:
getDatein interfaceResultSet- Parameters:
columnIndex- Column index (starts at 1)cal- the java.util.Calendar object to use in constructing the date- Returns:
- the column value; if the value is SQL NULL, the value returned is null
- Throws:
SQLException- if the columnIndex is not valid or this method is called on a closed result set
-
getLocalTime
Retrieves the value of the designated column in the current row of this ResultSet object as a java.time.LocalTime in the Java programming language.- Parameters:
columnIndex- Column index (starts at 1)- Returns:
- the column value; if the value is SQL NULL, the value returned is null
- Throws:
SQLException- if the columnIndex is not valid, the LocalTime value fetched from the database cannot be parsed or this method is called on a closed result set
-
getTime
Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.Time in the Java programming language. This method uses the given calendar to set the timezone.- Specified by:
getTimein interfaceResultSet- Parameters:
columnIndex- Column index (starts at 1)cal- the java.util.Calendar object to use in constructing the date- Returns:
- the column value; if the value is SQL NULL, the value returned is null
- Throws:
SQLException- if the columnIndex is not valid or this method is called on a closed result set
-
getLocalDateTime
Retrieves the value of the designated column in the current row of this ResultSet object as a java.time.LocalDateTime in the Java programming language.- Parameters:
columnIndex- Column index (starts at 1)- Returns:
- the column value; if the value is SQL NULL, the value returned is null
- Throws:
SQLException- if the columnIndex is not valid, the LocalDateTime value fetched from the database cannot be parsed or this method is called on a closed result set
-
getTimestamp
Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.Timestamp in the Java programming language. This method uses the given calendar to set the timezone.- Specified by:
getTimestampin interfaceResultSet- Parameters:
columnIndex- Column index (starts at 1)cal- the java.util.Calendar object to use in constructing the date- Returns:
- the column value; if the value is SQL NULL, the value returned is null
- Throws:
SQLException- if the columnIndex is not valid or this method is called on a closed result set
-
getBlob
Retrieves the value of the designated column in the current row of this ResultSet object as a Blob object in the Java programming language.- Specified by:
getBlobin interfaceResultSet- Parameters:
columnIndex- Column index (starts at 1)- Returns:
- a Blob object representing the SQL BLOB value in the specified column
- Throws:
SQLException- if the columnIndex is not valid or this method is called on a closed result set
-
getClob
Retrieves the value of the designated column in the current row of this ResultSet object as a Clob object in the Java programming language.- Specified by:
getClobin interfaceResultSet- Parameters:
columnIndex- Column index (starts at 1)- Returns:
- a Clob object representing the SQL CLOB value in the specified column
- Throws:
SQLException- if the columnIndex is not valid or this method is called on a closed result set
-
getURL
Retrieves the value of the designated column in the current row of this ResultSet object as a java.net.URL object in the Java programming language.- Specified by:
getURLin interfaceResultSet- Parameters:
columnIndex- Column index (starts at 1)- Returns:
- the column value as a java.net.URL object; if the value is SQL NULL, the value returned is null in the Java programming language
- Throws:
SQLException- if the columnIndex is not valid, this method is called on a closed result set or if a URL is malformed
-
getBinaryStream
Retrieves the value of the designated column in the current row of this ResultSet object as a stream of uninterpreted bytes. The value can then be read in chunks from the stream. This method is particularly suitable for retrieving large LONGVARBINARY values.- Specified by:
getBinaryStreamin interfaceResultSet- Parameters:
columnIndex- Column index (starts at 1)- Returns:
- a Java input stream that delivers the database column value as a stream of uninterpreted bytes; if the value is SQL NULL, the value returned is null
- Throws:
SQLException- if the columnIndex is not valid or this method is called on a closed result set
-
getCharacterStream
Retrieves the value of the designated column in the current row of this ResultSet object as a java.io.Reader object.- Specified by:
getCharacterStreamin interfaceResultSet- Parameters:
columnIndex- Column index (starts at 1)- Returns:
- a java.io.Reader object that contains the column value; if the value is SQL NULL, the value returned is null in the Java programming language.
- Throws:
SQLException- if the columnIndex is not valid or this method is called on a closed result set
-
getDate
Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.Date in the Java programming language.- Specified by:
getDatein interfaceResultSet- Parameters:
columnIndex- Column index (starts at 1)- Returns:
- the column value; if the value is SQL NULL, the value returned is null
- Throws:
SQLException- if the columnIndex is not valid or this method is called on a closed result set
-
getTime
Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.Time in the Java programming language.- Specified by:
getTimein interfaceResultSet- Parameters:
columnIndex- Column index (starts at 1)- Returns:
- the column value; if the value is SQL NULL, the value returned is null
- Throws:
SQLException- if the columnIndex is not valid or this method is called on a closed result set
-
getTimestamp
Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.Timestamp in the Java programming language.- Specified by:
getTimestampin interfaceResultSet- Parameters:
columnIndex- Column index (starts at 1)- Returns:
- the column value; if the value is SQL NULL, the value returned is null
- Throws:
SQLException- if the columnIndex is not valid or this method is called on a closed result set
-
isClosed
Retrieves whether this ResultSet object has been closed. A Statement is closed if the method close has been called on it, or if it is automatically closed.- Specified by:
isClosedin interfaceResultSet- Returns:
- true if this ResultSet object is closed; false if it is still open
- Throws:
SQLException
-
close
Releases this ResultSet object's database and JDBC resources immediately instead of waiting for this to happen when it is automatically closed. The closing of a ResultSet object does not close the Blob or Clob objects created by the ResultSet, unless their free method is invoked. Note: A ResultSet object is automatically closed by the Statement object that generated it when that Statement object is closed, re-executed, or is used to retrieve the next result from a sequence of multiple results.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceResultSet- Throws:
SQLException- if a database access error occurs
-
getMetaData
Retrieves the number, types and properties of this ResultSet object's columns.- Specified by:
getMetaDatain interfaceResultSet- Returns:
- the description of this ResultSet object's columns
- Throws:
SQLException
-
absolute
Moves the cursor to the given row number in this ResultSet object. If the row number is positive, the cursor moves to the given row number with respect to the beginning of the result set. The first row is row 1, the second is row 2, and so on. If the given row number is negative, the cursor moves to an absolute row position with respect to the end of the result set. For example, calling the method absolute(-1) positions the cursor on the last row; calling the method absolute(-2) moves the cursor to the next-to-last row, and so on. If the row number specified is zero, the cursor is moved to before the first row. An attempt to position the cursor beyond the first/last row in the result set leaves the cursor before the first row or after the last row.- Specified by:
absolutein interfaceResultSet- Parameters:
row- the number of the row to which the cursor should move. A value of zero indicates that the cursor will be positioned before the first row; a positive number indicates the row number counting from the beginning of the result set; a negative number indicates the row number counting from the end of the result set- Returns:
- true if the cursor is moved to a position in this ResultSet object; false if the cursor is before the first row or after the last row
- Throws:
SQLException- if this method is called on a closed result set or the result set type is TYPE_FORWARD_ONLY
-
relative
Moves the cursor a relative number of rows, either positive or negative. Attempting to move beyond the first/last row in the result set positions the cursor before/after the the first/last row. Calling relative(0) is valid, but does not change the cursor position.- Specified by:
relativein interfaceResultSet- Parameters:
rows- an int specifying the number of rows to move from the current row; a positive number moves the cursor forward; a negative number moves the cursor backward- Returns:
- true if the cursor is on a row; false otherwise
- Throws:
SQLException- if this method is called on a closed result set or the result set type is TYPE_FORWARD_ONLY
-
next
Moves the cursor to the previous row in this ResultSet object. A ResultSet cursor is initially positioned before the first row; the first call to the method next makes the first row the current row; the second call makes the second row the current row, and so on. When a call to the next method returns false, the cursor is positioned after the last row. Any invocation of a ResultSet method which requires a current row will result in a SQLException being thrown.- Specified by:
nextin interfaceResultSet- Returns:
- true if the new current row is valid; false if there are no more rows
- Throws:
SQLException- if this method is called on a closed result set or the result set type is TYPE_FORWARD_ONLY
-
previous
Moves the cursor to the previous row in this ResultSet object. When a call to the previous method returns false, the cursor is positioned before the first row. Any invocation of a ResultSet method which requires a current row will result in a SQLException being thrown.- Specified by:
previousin interfaceResultSet- Returns:
- true if the cursor is now positioned on a valid row; false if the cursor is positioned before the first row
- Throws:
SQLException- if this method is called on a closed result set or the result set type is TYPE_FORWARD_ONLY
-
isBeforeFirst
Retrieves whether the cursor is before the first row in this ResultSet object.- Specified by:
isBeforeFirstin interfaceResultSet- Returns:
- true if the cursor is before the first row; false if the cursor is at any other position or the result set contains no rows
- Throws:
SQLException- if this method is called on a closed result set
-
isAfterLast
Retrieves whether the cursor is after the last row in this ResultSet object.- Specified by:
isAfterLastin interfaceResultSet- Returns:
- true if the cursor is before the first row; false if the cursor is at any other position or the result set contains no rows
- Throws:
SQLException- if this method is called on a closed result set
-
isFirst
Retrieves whether the cursor is on the first row of this ResultSet object.- Specified by:
isFirstin interfaceResultSet- Returns:
- true if the cursor is on the first row; false otherwise
- Throws:
SQLException- if this method is called on a closed result set
-
isLast
Retrieves whether the cursor is on the last row of this ResultSet object.- Specified by:
isLastin interfaceResultSet- Returns:
- true if the cursor is on the last row; false otherwise
- Throws:
SQLException- if this method is called on a closed result set
-
beforeFirst
Moves the cursor to the front of this ResultSet object, just before the first row.- Specified by:
beforeFirstin interfaceResultSet- Throws:
SQLException- if this method is called on a closed result set or the result set type is TYPE_FORWARD_ONLY
-
afterLast
Moves the cursor to the end of this ResultSet object, just after the last row.- Specified by:
afterLastin interfaceResultSet- Throws:
SQLException- if this method is called on a closed result set or the result set type is TYPE_FORWARD_ONLY
-
first
Moves the cursor to the first row in this ResultSet object.- Specified by:
firstin interfaceResultSet- Returns:
- true if the cursor is on a valid row; false if there are no rows in the result set
- Throws:
SQLException- if this method is called on a closed result set or the result set type is TYPE_FORWARD_ONLY
-
last
Moves the cursor to the last row in this ResultSet object.- Specified by:
lastin interfaceResultSet- Returns:
- true if the cursor is on a valid row; false if there are no rows in the result set
- Throws:
SQLException- if this method is called on a closed result set or the result set type is TYPE_FORWARD_ONLY
-
getStatement
Retrieves the Statement object that produced this ResultSet object. If the result set was generated some other way, such as by a DatabaseMetaData method, this method may return null.- Specified by:
getStatementin interfaceResultSet- Returns:
- the Statement object that produced this ResultSet object or null if the result set was produced some other way
- Throws:
SQLException- if this method is called on a closed result set
-
getRow
Retrieves the current row number. The first row is number 1, the second number 2, and so on.- Specified by:
getRowin interfaceResultSet- Returns:
- the current row number; 0 if there is no current row
- Throws:
SQLException- if this method is called on a closed result set
-
getType
Retrieves the type of this ResultSet object. The type is determined by the Statement object that created the result set.- Specified by:
getTypein interfaceResultSet- Returns:
- ResultSet.TYPE_FORWARD_ONLY, ResultSet.TYPE_SCROLL_INSENSITIVE, or ResultSet.TYPE_SCROLL_SENSITIVE
- Throws:
SQLException- if this method is called on a closed result set
-
getConcurrency
Retrieves the concurrency mode of this ResultSet object. The concurrency used is determined by the Statement object that created the result set.- Specified by:
getConcurrencyin interfaceResultSet- Returns:
- the concurrency type, either ResultSet.CONCUR_READ_ONLY or ResultSet.CONCUR_UPDATABLE
- Throws:
SQLException- if this method is called on a closed result set
-
wasNull
Reports whether the last column read had a value of SQL NULL. Note that you must first call one of the getter methods on a column to try to read its value and then call the method wasNull to see if the value read was SQL NULL.- Specified by:
wasNullin interfaceResultSet- Returns:
- true if the last column value read was SQL NULL and false otherwise
- Throws:
SQLException- if this method is called on a closed result set
-
getHoldability
Retrieves the holdability of this ResultSet object- Specified by:
getHoldabilityin interfaceResultSet- Returns:
- either ResultSet.HOLD_CURSORS_OVER_COMMIT or ResultSet.CLOSE_CURSORS_AT_COMMIT
- Throws:
SQLException- if this method is called on a closed result set
-
setFetchDirection
Gives a hint as to the direction in which the rows in this ResultSet object will be processed. The initial value is determined by the Statement object that produced this ResultSet object. The fetch direction may be changed at any time.- Specified by:
setFetchDirectionin interfaceResultSet- Parameters:
direction- an int specifying the suggested fetch direction; one of ResultSet.FETCH_FORWARD, ResultSet.FETCH_REVERSE, or ResultSet.FETCH_UNKNOWN- Throws:
SQLException- if this method is called on a closed result set
-
getFetchDirection
Retrieves the fetch direction for this ResultSet object.- Specified by:
getFetchDirectionin interfaceResultSet- Returns:
- the current fetch direction for this ResultSet object
- Throws:
SQLException- if this method is called on a closed result set
-
setFetchSize
Gives the driver a hint as to the number of rows that should be fetched from the database when more rows are needed for this ResultSet object. If the fetch size specified is zero, the driver ignores the value and is free to make its own best guess as to what the fetch size should be. The default value is set by the Statement object that created the result set. The fetch size may be changed at any time. Not used currently.- Specified by:
setFetchSizein interfaceResultSet- Parameters:
rows- the number of rows to fetch- Throws:
SQLException- if this method is called on a closed result set
-
getFetchSize
Retrieves the fetch size for this ResultSet object. Not used currently.- Specified by:
getFetchSizein interfaceResultSet- Returns:
- the current fetch size for this ResultSet object
- Throws:
SQLException- if this method is called on a closed result set
-
getWarnings
Retrieves the first warning reported by calls on this ResultSet object. Subsequent warnings on this ResultSet object will be chained to the SQLWarning object that this method returns.- Specified by:
getWarningsin interfaceResultSet- Returns:
- the first SQLWarning object reported or null if there are none
- Throws:
SQLException- if this method is called on a closed result set
-
clearWarnings
Clears all warnings reported on this ResultSet object. After this method is called, the method getWarnings returns null until a new warning is reported for this ResultSet object.- Specified by:
clearWarningsin interfaceResultSet- Throws:
SQLException- if this method is called on a closed result set
-
getCursorName
Retrieves the name of the SQL cursor used by this ResultSet object.- Specified by:
getCursorNamein interfaceResultSet- Returns:
- the SQL name for this ResultSet object's cursor
- Throws:
SQLException- if this method is called on a closed result set
-
getBigDecimal
Deprecated.Deprecated.- Specified by:
getBigDecimalin interfaceResultSet- Throws:
SQLException
-
getNString
Same as getString(int).- Specified by:
getNStringin interfaceResultSet- Throws:
SQLException- See Also:
getString(int)
-
getNCharacterStream
Same as getCharacterStream(int).- Specified by:
getNCharacterStreamin interfaceResultSet- Throws:
SQLException- See Also:
getCharacterStream(int)
-
getObject
Similar to getObject(int), uses columnLabel instead.- Specified by:
getObjectin interfaceResultSet- Parameters:
columnLabel- the label for the column specified with the SQL AS clause or the column's name- Throws:
SQLException- See Also:
getObject(int)
-
getObject
Similar to getObject(int,Map), uses columnLabel instead.- Specified by:
getObjectin interfaceResultSet- Parameters:
columnLabel- the label for the column specified with the SQL AS clause or the column's name- Throws:
SQLException- See Also:
getObject(int, Map)
-
getObject
Similar to getObject(int,Class), uses columnLabel instead.- Specified by:
getObjectin interfaceResultSet- Parameters:
columnLabel- the label for the column specified with the SQL AS clause or the column's name- Throws:
SQLException- See Also:
getObject(int,Class)
-
getString
Similar to getString(int), uses columnLabel instead.- Specified by:
getStringin interfaceResultSet- Parameters:
columnLabel- the label for the column specified with the SQL AS clause or the column's name- Throws:
SQLException- See Also:
getString(int)
-
getBoolean
Similar to getBoolean(int), uses columnLabel instead.- Specified by:
getBooleanin interfaceResultSet- Parameters:
columnLabel- the label for the column specified with the SQL AS clause or the column's name- Throws:
SQLException- See Also:
getBoolean(int)
-
getByte
Similar to getByte(int), uses columnLabel instead.- Specified by:
getBytein interfaceResultSet- Parameters:
columnLabel- the label for the column specified with the SQL AS clause or the column's name- Throws:
SQLException- See Also:
getByte(int)
-
getShort
Similar to getShort(int), uses columnLabel instead.- Specified by:
getShortin interfaceResultSet- Parameters:
columnLabel- the label for the column specified with the SQL AS clause or the column's name- Throws:
SQLException- See Also:
getShort(int)
-
getInt
Similar to getInt(int), uses columnLabel instead.- Specified by:
getIntin interfaceResultSet- Parameters:
columnLabel- the label for the column specified with the SQL AS clause or the column's name- Throws:
SQLException- See Also:
getInt(int)
-
getLong
Similar to getLong(int), uses columnLabel instead.- Specified by:
getLongin interfaceResultSet- Parameters:
columnLabel- the label for the column specified with the SQL AS clause or the column's name- Throws:
SQLException- See Also:
getLong(int)
-
getFloat
Similar to getFloat(int), uses columnLabel instead.- Specified by:
getFloatin interfaceResultSet- Parameters:
columnLabel- the label for the column specified with the SQL AS clause or the column's name- Throws:
SQLException- See Also:
getFloat(int)
-
getDouble
Similar to getDouble(int), uses columnLabel instead.- Specified by:
getDoublein interfaceResultSet- Parameters:
columnLabel- the label for the column specified with the SQL AS clause or the column's name- Throws:
SQLException- See Also:
getDouble(int)
-
getBigDecimal
Deprecated.Deprecated.- Specified by:
getBigDecimalin interfaceResultSet- Throws:
SQLException
-
getBigDecimal
Similar to getBigDecimal(int), uses columnLabel instead.- Specified by:
getBigDecimalin interfaceResultSet- Parameters:
columnLabel- the label for the column specified with the SQL AS clause or the column's name- Throws:
SQLException- See Also:
getBigDecimal(int)
-
getBytes
Similar to getBytes(int), uses columnLabel instead.- Specified by:
getBytesin interfaceResultSet- Parameters:
columnLabel- the label for the column specified with the SQL AS clause or the column's name- Throws:
SQLException- See Also:
getBytes(int)
-
getDate
Similar to getDate(int), uses columnLabel instead.- Specified by:
getDatein interfaceResultSet- Parameters:
columnLabel- the label for the column specified with the SQL AS clause or the column's name- Throws:
SQLException- See Also:
getDate(int)
-
getTime
Similar to getTime(int), uses columnLabel instead.- Specified by:
getTimein interfaceResultSet- Parameters:
columnLabel- the label for the column specified with the SQL AS clause or the column's name- Throws:
SQLException- See Also:
getTime(int)
-
getTimestamp
Similar to getTimestamp(int), uses columnLabel instead.- Specified by:
getTimestampin interfaceResultSet- Parameters:
columnLabel- the label for the column specified with the SQL AS clause or the column's name- Throws:
SQLException- See Also:
getTimestamp(int)
-
getBlob
Similar to getBlob(int), uses columnLabel instead.- Specified by:
getBlobin interfaceResultSet- Parameters:
columnLabel- the label for the column specified with the SQL AS clause or the column's name- Throws:
SQLException- See Also:
getBlob(int)
-
getClob
Similar to getClob(int), uses columnLabel instead.- Specified by:
getClobin interfaceResultSet- Parameters:
columnLabel- the label for the column specified with the SQL AS clause or the column's name- Throws:
SQLException- See Also:
getClob(int)
-
getURL
Similar to getURL(int), uses columnLabel instead.- Specified by:
getURLin interfaceResultSet- Parameters:
columnLabel- the label for the column specified with the SQL AS clause or the column's name- Throws:
SQLException- See Also:
getURL(int)
-
getNString
Similar to getNString(int), uses columnLabel instead.- Specified by:
getNStringin interfaceResultSet- Parameters:
columnLabel- the label for the column specified with the SQL AS clause or the column's name- Throws:
SQLException- See Also:
getNString(int)
-
getBinaryStream
Similar to getBinaryStream(int), uses columnLabel instead.- Specified by:
getBinaryStreamin interfaceResultSet- Parameters:
columnLabel- the label for the column specified with the SQL AS clause or the column's name- Throws:
SQLException- See Also:
getBinaryStream(int)
-
getCharacterStream
Similar to getCharacterStream(int), uses columnLabel instead.- Specified by:
getCharacterStreamin interfaceResultSet- Parameters:
columnLabel- the label for the column specified with the SQL AS clause or the column's name- Throws:
SQLException- See Also:
getCharacterStream(int)
-
getNCharacterStream
Similar to getNCharacterStream(int), uses columnLabel instead.- Specified by:
getNCharacterStreamin interfaceResultSet- Parameters:
columnLabel- the label for the column specified with the SQL AS clause or the column's name- Throws:
SQLException- See Also:
getNCharacterStream(int)
-
getDate
Similar to getDate(int,Calendar), uses columnLabel instead.- Specified by:
getDatein interfaceResultSet- Parameters:
columnLabel- the label for the column specified with the SQL AS clause or the column's name- Throws:
SQLException- See Also:
getDate(int,Calendar)
-
getTime
Similar to getTime(int,Calendar), uses columnLabel instead.- Specified by:
getTimein interfaceResultSet- Parameters:
columnLabel- the label for the column specified with the SQL AS clause or the column's name- Throws:
SQLException- See Also:
getTime(int,Calendar)
-
getTimestamp
Similar to getTimestamp(int,Calendar), uses columnLabel instead.- Specified by:
getTimestampin interfaceResultSet- Parameters:
columnLabel- the label for the column specified with the SQL AS clause or the column's name- Throws:
SQLException- See Also:
getTimestamp(int,Calendar)
-
getBigInteger
Similar to getBigInteger(int), uses columnLabel instead.- Parameters:
columnLabel- the label for the column specified with the SQL AS clause or the column's name- Returns:
- the column value; if the value is SQL NULL, the value returned is null
- Throws:
SQLException- if the columnIndex is not valid or this method is called on a closed result set- See Also:
getBigInteger(int)
-
getNClob
Feature not supported.- Specified by:
getNClobin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
getSQLXML
Feature not supported.- Specified by:
getSQLXMLin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
getAsciiStream
Feature not supported.- Specified by:
getAsciiStreamin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
getUnicodeStream
Feature not supported.- Specified by:
getUnicodeStreamin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
getRowId
Feature not supported.- Specified by:
getRowIdin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
getArray
Feature not supported.- Specified by:
getArrayin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
getRef
Feature not supported.- Specified by:
getRefin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
getRef
Feature not supported.- Specified by:
getRefin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
getArray
Feature not supported.- Specified by:
getArrayin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
getRowId
Feature not supported.- Specified by:
getRowIdin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
getNClob
Feature not supported.- Specified by:
getNClobin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
getSQLXML
Feature not supported.- Specified by:
getSQLXMLin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
getAsciiStream
Feature not supported.- Specified by:
getAsciiStreamin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
getUnicodeStream
Feature not supported.- Specified by:
getUnicodeStreamin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
rowUpdated
Feature not supported.- Specified by:
rowUpdatedin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
rowInserted
Feature not supported.- Specified by:
rowInsertedin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
rowDeleted
Feature not supported.- Specified by:
rowDeletedin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateObject
public void updateObject(int columnIndex, Object x, SQLType targetSqlType, int scaleOrLength) throws SQLExceptionFeature not supported.- Specified by:
updateObjectin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateObject
public void updateObject(String columnLabel, Object x, SQLType targetSqlType, int scaleOrLength) throws SQLExceptionFeature not supported.- Specified by:
updateObjectin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateObject
Feature not supported.- Specified by:
updateObjectin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateObject
Feature not supported.- Specified by:
updateObjectin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateNull
Feature not supported.- Specified by:
updateNullin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateBoolean
Feature not supported.- Specified by:
updateBooleanin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateByte
Feature not supported.- Specified by:
updateBytein interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateShort
Feature not supported.- Specified by:
updateShortin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateInt
Feature not supported.- Specified by:
updateIntin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateLong
Feature not supported.- Specified by:
updateLongin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateFloat
Feature not supported.- Specified by:
updateFloatin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateDouble
Feature not supported.- Specified by:
updateDoublein interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateBigDecimal
Feature not supported.- Specified by:
updateBigDecimalin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateString
Feature not supported.- Specified by:
updateStringin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateBytes
Feature not supported.- Specified by:
updateBytesin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateDate
Feature not supported.- Specified by:
updateDatein interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateTime
Feature not supported.- Specified by:
updateTimein interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateTimestamp
Feature not supported.- Specified by:
updateTimestampin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateAsciiStream
Feature not supported.- Specified by:
updateAsciiStreamin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateBinaryStream
Feature not supported.- Specified by:
updateBinaryStreamin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateCharacterStream
Feature not supported.- Specified by:
updateCharacterStreamin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateObject
Feature not supported.- Specified by:
updateObjectin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateObject
Feature not supported.- Specified by:
updateObjectin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateNull
Feature not supported.- Specified by:
updateNullin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateBoolean
Feature not supported.- Specified by:
updateBooleanin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateByte
Feature not supported.- Specified by:
updateBytein interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateShort
Feature not supported.- Specified by:
updateShortin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateInt
Feature not supported.- Specified by:
updateIntin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateLong
Feature not supported.- Specified by:
updateLongin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateFloat
Feature not supported.- Specified by:
updateFloatin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateDouble
Feature not supported.- Specified by:
updateDoublein interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateBigDecimal
Feature not supported.- Specified by:
updateBigDecimalin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateString
Feature not supported.- Specified by:
updateStringin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateBytes
Feature not supported.- Specified by:
updateBytesin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateDate
Feature not supported.- Specified by:
updateDatein interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateTime
Feature not supported.- Specified by:
updateTimein interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateTimestamp
Feature not supported.- Specified by:
updateTimestampin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateAsciiStream
Feature not supported.- Specified by:
updateAsciiStreamin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateBinaryStream
Feature not supported.- Specified by:
updateBinaryStreamin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateCharacterStream
public void updateCharacterStream(String columnLabel, Reader reader, int length) throws SQLExceptionFeature not supported.- Specified by:
updateCharacterStreamin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateObject
Feature not supported.- Specified by:
updateObjectin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateObject
Feature not supported.- Specified by:
updateObjectin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
insertRow
Feature not supported.- Specified by:
insertRowin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateRow
Feature not supported.- Specified by:
updateRowin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
deleteRow
Feature not supported.- Specified by:
deleteRowin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
refreshRow
Feature not supported.- Specified by:
refreshRowin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
cancelRowUpdates
Feature not supported.- Specified by:
cancelRowUpdatesin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
moveToInsertRow
Feature not supported.- Specified by:
moveToInsertRowin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
moveToCurrentRow
Feature not supported.- Specified by:
moveToCurrentRowin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateRef
Feature not supported.- Specified by:
updateRefin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateRef
Feature not supported.- Specified by:
updateRefin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateBlob
Feature not supported.- Specified by:
updateBlobin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateBlob
Feature not supported.- Specified by:
updateBlobin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateClob
Feature not supported.- Specified by:
updateClobin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateClob
Feature not supported.- Specified by:
updateClobin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateArray
Feature not supported.- Specified by:
updateArrayin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateArray
Feature not supported.- Specified by:
updateArrayin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateRowId
Feature not supported.- Specified by:
updateRowIdin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateRowId
Feature not supported.- Specified by:
updateRowIdin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateNString
Feature not supported.- Specified by:
updateNStringin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateNString
Feature not supported.- Specified by:
updateNStringin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateNClob
Feature not supported.- Specified by:
updateNClobin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateNClob
Feature not supported.- Specified by:
updateNClobin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateSQLXML
Feature not supported.- Specified by:
updateSQLXMLin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateSQLXML
Feature not supported.- Specified by:
updateSQLXMLin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateNCharacterStream
Feature not supported.- Specified by:
updateNCharacterStreamin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateNCharacterStream
public void updateNCharacterStream(String columnLabel, Reader reader, long length) throws SQLExceptionFeature not supported.- Specified by:
updateNCharacterStreamin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateAsciiStream
Feature not supported.- Specified by:
updateAsciiStreamin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateBinaryStream
Feature not supported.- Specified by:
updateBinaryStreamin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateCharacterStream
Feature not supported.- Specified by:
updateCharacterStreamin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateAsciiStream
Feature not supported.- Specified by:
updateAsciiStreamin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateBinaryStream
Feature not supported.- Specified by:
updateBinaryStreamin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateCharacterStream
public void updateCharacterStream(String columnLabel, Reader reader, long length) throws SQLExceptionFeature not supported.- Specified by:
updateCharacterStreamin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateBlob
Feature not supported.- Specified by:
updateBlobin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateBlob
public void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException- Specified by:
updateBlobin interfaceResultSet- Throws:
SQLException
-
updateClob
Feature not supported.- Specified by:
updateClobin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateClob
Feature not supported.- Specified by:
updateClobin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateNClob
Feature not supported.- Specified by:
updateNClobin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateNClob
Feature not supported.- Specified by:
updateNClobin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateNCharacterStream
Feature not supported.- Specified by:
updateNCharacterStreamin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateNCharacterStream
Feature not supported.- Specified by:
updateNCharacterStreamin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateAsciiStream
Feature not supported.- Specified by:
updateAsciiStreamin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateBinaryStream
- Specified by:
updateBinaryStreamin interfaceResultSet- Throws:
SQLException
-
updateCharacterStream
Feature not supported.- Specified by:
updateCharacterStreamin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateAsciiStream
Feature not supported.- Specified by:
updateAsciiStreamin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateBinaryStream
Feature not supported.- Specified by:
updateBinaryStreamin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateCharacterStream
Feature not supported.- Specified by:
updateCharacterStreamin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateBlob
Feature not supported.- Specified by:
updateBlobin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateBlob
Feature not supported.- Specified by:
updateBlobin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateClob
Feature not supported.- Specified by:
updateClobin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateClob
Feature not supported.- Specified by:
updateClobin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateNClob
Feature not supported.- Specified by:
updateNClobin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-
updateNClob
Feature not supported.- Specified by:
updateNClobin interfaceResultSet- Throws:
SQLFeatureNotSupportedException- This feature is not supportedSQLException
-