Package com.mysql.cj.jdbc.result
Class ResultSetImpl
java.lang.Object
com.mysql.cj.protocol.a.result.NativeResultset
com.mysql.cj.jdbc.result.ResultSetImpl
- All Implemented Interfaces:
ResultSetInternalMethods,ProtocolEntity,Resultset,ResultsetRowsOwner,WarningListener,java.lang.AutoCloseable,java.sql.ResultSet,java.sql.Wrapper
- Direct Known Subclasses:
UpdatableResultSet
public class ResultSetImpl extends NativeResultset implements ResultSetInternalMethods, WarningListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.mysql.cj.protocol.Resultset
Resultset.Concurrency, Resultset.Type -
Field Summary
Fields Modifier and Type Field Description protected boolean[]columnUsedKeep track of columns accessedprotected JdbcConnectionconnectionThe Connection instance that created usprotected intcurrentRowThe current row #, -1 == before start of result setprotected java.lang.StringdbThe database that was in use when we were createdprotected RuntimeProperty<java.lang.Boolean>emulateLocatorsprotected ProfilerEventHandlereventSinkprotected intfetchDirectionThe direction to fetch rows (always FETCH_FORWARD)protected intfetchSizeThe number of rows to fetch in one go...protected charfirstCharOfQueryFirst character of the query that created this result set...Used to determine whether or not to parse server info messages in certain circumstances.protected booleangatherPerfMetricsprotected booleanisClosedHas this result set been closed?protected intresultSetConcurrencyAre we read-only or updatable?protected intresultSetTypeAre we scroll-sensitive/insensitive?protected NativeSessionsessionprotected booleanuseUsageAdvisorprotected java.sql.SQLWarningwarningChainThe warning chainprotected java.sql.StatementwrapperStatementprotected booleanyearIsDateTypeFields inherited from class com.mysql.cj.protocol.a.result.NativeResultset
columnDefinition, nextResultset, resultId, rowData, serverInfo, thisRow, updateCount, updateId -
Constructor Summary
Constructors Constructor Description ResultSetImpl(OkPacket ok, JdbcConnection conn, StatementImpl creatorStmt)Create a result set for an executeUpdate statement.ResultSetImpl(ResultsetRows tuples, JdbcConnection conn, StatementImpl creatorStmt)Creates a new ResultSet object. -
Method Summary
Modifier and Type Method Description booleanabsolute(int row)voidafterLast()voidbeforeFirst()voidcancelRowUpdates()protected JdbcConnectioncheckClosed()Ensures that the result set is not closedprotected voidcheckColumnBounds(int columnIndex)Checks if columnIndex is within the number of columns in this result set.protected voidcheckRowPos()Ensures that the cursor is positioned on a valid row and that the result set is not closedvoidclearWarnings()voidclose()voidcloseOwner(boolean calledExplicitly)voiddeleteRow()intfindColumn(java.lang.String columnName)booleanfirst()java.sql.ArraygetArray(int columnIndex)java.sql.ArraygetArray(java.lang.String colName)java.io.InputStreamgetAsciiStream(int columnIndex)java.io.InputStreamgetAsciiStream(java.lang.String columnName)java.math.BigDecimalgetBigDecimal(int columnIndex)java.math.BigDecimalgetBigDecimal(int columnIndex, int scale)Deprecated.java.math.BigDecimalgetBigDecimal(java.lang.String columnName)java.math.BigDecimalgetBigDecimal(java.lang.String columnName, int scale)Deprecated.java.math.BigIntegergetBigInteger(int columnIndex)java.io.InputStreamgetBinaryStream(int columnIndex)java.io.InputStreamgetBinaryStream(java.lang.String columnName)java.sql.BlobgetBlob(int columnIndex)java.sql.BlobgetBlob(java.lang.String colName)booleangetBoolean(int columnIndex)booleangetBoolean(java.lang.String columnName)bytegetByte(int columnIndex)bytegetByte(java.lang.String columnName)byte[]getBytes(int columnIndex)byte[]getBytes(java.lang.String columnName)java.io.ReadergetCharacterStream(int columnIndex)java.io.ReadergetCharacterStream(java.lang.String columnName)java.sql.ClobgetClob(int columnIndex)java.sql.ClobgetClob(java.lang.String colName)intgetConcurrency()JdbcConnectiongetConnection()java.lang.StringgetCursorName()java.sql.DategetDate(int columnIndex)java.sql.DategetDate(int columnIndex, java.util.Calendar cal)java.sql.DategetDate(java.lang.String columnName)java.sql.DategetDate(java.lang.String columnName, java.util.Calendar cal)doublegetDouble(int columnIndex)doublegetDouble(java.lang.String columnName)protected ExceptionInterceptorgetExceptionInterceptor()intgetFetchDirection()intgetFetchSize()chargetFirstCharOfQuery()Returns the first character of the query that was issued to create this result set, upper-cased.floatgetFloat(int columnIndex)floatgetFloat(java.lang.String columnName)intgetHoldability()intgetInt(int columnIndex)intgetInt(java.lang.String columnName)java.time.LocalDategetLocalDate(int columnIndex)java.time.LocalDateTimegetLocalDateTime(int columnIndex)java.time.LocalTimegetLocalTime(int columnIndex)longgetLong(int columnIndex)longgetLong(java.lang.String columnName)ColumnDefinitiongetMetadata()java.sql.ResultSetMetaDatagetMetaData()java.io.ReadergetNCharacterStream(int columnIndex)java.io.ReadergetNCharacterStream(java.lang.String columnName)java.sql.NClobgetNClob(int columnIndex)java.sql.NClobgetNClob(java.lang.String columnName)java.lang.StringgetNString(int columnIndex)java.lang.StringgetNString(java.lang.String columnName)java.lang.ObjectgetObject(int columnIndex)<T> TgetObject(int columnIndex, java.lang.Class<T> type)java.lang.ObjectgetObject(int i, java.util.Map<java.lang.String,java.lang.Class<?>> map)java.lang.ObjectgetObject(java.lang.String columnName)<T> TgetObject(java.lang.String columnLabel, java.lang.Class<T> type)java.lang.ObjectgetObject(java.lang.String colName, java.util.Map<java.lang.String,java.lang.Class<?>> map)java.lang.ObjectgetObjectStoredProc(int columnIndex, int desiredSqlType)Functions like ResultSet.getObject(), but using the given SQL type (as registered during CallableStatement.registerOutParameter()).java.lang.ObjectgetObjectStoredProc(int i, java.util.Map<java.lang.Object,java.lang.Object> map, int desiredSqlType)Functions like ResultSet.getObject(), but using the given SQL type (as registered during CallableStatement.registerOutParameter()).java.lang.ObjectgetObjectStoredProc(java.lang.String columnName, int desiredSqlType)Functions like ResultSet.getObject(), but using the given SQL type (as registered during CallableStatement.registerOutParameter()).java.lang.ObjectgetObjectStoredProc(java.lang.String colName, java.util.Map<java.lang.Object,java.lang.Object> map, int desiredSqlType)Functions like ResultSet.getObject(), but using the given SQL type (as registered during CallableStatement.registerOutParameter()).intgetOwnerFetchSize()QuerygetOwningQuery()StatementImplgetOwningStatement()intgetOwningStatementFetchSize()intgetOwningStatementMaxRows()longgetOwningStatementServerId()java.lang.StringgetPointOfOrigin()StackTrace generated where ResultSet was created...java.sql.RefgetRef(int i)java.sql.RefgetRef(java.lang.String colName)intgetRow()java.sql.RowIdgetRowId(int columnIndex)java.sql.RowIdgetRowId(java.lang.String columnLabel)SessiongetSession()shortgetShort(int columnIndex)shortgetShort(java.lang.String columnName)java.sql.SQLXMLgetSQLXML(int columnIndex)java.sql.SQLXMLgetSQLXML(java.lang.String columnLabel)java.sql.StatementgetStatement()java.lang.StringgetString(int columnIndex)java.lang.StringgetString(java.lang.String columnName)java.lang.ObjectgetSyncMutex()java.sql.TimegetTime(int columnIndex)java.sql.TimegetTime(int columnIndex, java.util.Calendar cal)java.sql.TimegetTime(java.lang.String columnName)java.sql.TimegetTime(java.lang.String columnName, java.util.Calendar cal)java.sql.TimestampgetTimestamp(int columnIndex)java.sql.TimestampgetTimestamp(int columnIndex, java.util.Calendar cal)java.sql.TimestampgetTimestamp(java.lang.String columnName)java.sql.TimestampgetTimestamp(java.lang.String columnName, java.util.Calendar cal)intgetType()java.io.InputStreamgetUnicodeStream(int columnIndex)Deprecated.java.io.InputStreamgetUnicodeStream(java.lang.String columnName)Deprecated.java.net.URLgetURL(int colIndex)java.net.URLgetURL(java.lang.String colName)java.util.CalendargetUtilCalendar(int columnIndex)java.sql.SQLWarninggetWarnings()voidinitializeWithMetadata()voidinsertRow()booleanisAfterLast()booleanisBeforeFirst()booleanisClosed()booleanisFirst()booleanisLast()booleanisWrapperFor(java.lang.Class<?> iface)booleanlast()voidmoveToCurrentRow()voidmoveToInsertRow()booleannext()voidpopulateCachedMetaData(CachedResultSetMetaData cachedMetaData)booleanprev()The prev method is not part of JDBC, but because of the architecture of this driver it is possible to move both forward and backward within the result set.booleanprevious()voidrealClose(boolean calledExplicitly)Closes this ResultSet and releases resources.voidrefreshRow()booleanrelative(int rows)booleanrowDeleted()booleanrowInserted()booleanrowUpdated()voidsetFetchDirection(int direction)voidsetFetchSize(int rows)voidsetFirstCharOfQuery(char c)Sets the first character of the query that was issued to create this result set.voidsetOwningStatement(JdbcStatement owningStatement)Sets the statement that "owns" this result set (usually used when the result set should internally "belong" to one statement, but is created by another.voidsetResultSetConcurrency(int concurrencyFlag)Sets the concurrencyvoidsetResultSetType(int typeFlag)Sets the result set typevoidsetServerInfo(java.lang.String info)Sets server info (if any)voidsetStatementUsedForFetchingRows(JdbcPreparedStatement stmt)voidsetWrapperStatement(java.sql.Statement wrapperStatement)java.lang.StringtoString()<T> Tunwrap(java.lang.Class<T> iface)voidupdateArray(int columnIndex, java.sql.Array arg1)voidupdateArray(java.lang.String columnLabel, java.sql.Array arg1)voidupdateAsciiStream(int columnIndex, java.io.InputStream x)voidupdateAsciiStream(int columnIndex, java.io.InputStream x, int length)voidupdateAsciiStream(int columnIndex, java.io.InputStream x, long length)voidupdateAsciiStream(java.lang.String columnLabel, java.io.InputStream x)voidupdateAsciiStream(java.lang.String columnName, java.io.InputStream x, int length)voidupdateAsciiStream(java.lang.String columnLabel, java.io.InputStream x, long length)voidupdateBigDecimal(int columnIndex, java.math.BigDecimal x)voidupdateBigDecimal(java.lang.String columnName, java.math.BigDecimal x)voidupdateBinaryStream(int columnIndex, java.io.InputStream x)voidupdateBinaryStream(int columnIndex, java.io.InputStream x, int length)voidupdateBinaryStream(int columnIndex, java.io.InputStream x, long length)voidupdateBinaryStream(java.lang.String columnLabel, java.io.InputStream x)voidupdateBinaryStream(java.lang.String columnName, java.io.InputStream x, int length)voidupdateBinaryStream(java.lang.String columnLabel, java.io.InputStream x, long length)voidupdateBlob(int columnIndex, java.io.InputStream inputStream)voidupdateBlob(int columnIndex, java.io.InputStream inputStream, long length)voidupdateBlob(int columnIndex, java.sql.Blob arg1)voidupdateBlob(java.lang.String columnLabel, java.io.InputStream inputStream)voidupdateBlob(java.lang.String columnLabel, java.io.InputStream inputStream, long length)voidupdateBlob(java.lang.String columnLabel, java.sql.Blob arg1)voidupdateBoolean(int columnIndex, boolean x)voidupdateBoolean(java.lang.String columnName, boolean x)voidupdateByte(int columnIndex, byte x)voidupdateByte(java.lang.String columnName, byte x)voidupdateBytes(int columnIndex, byte[] x)voidupdateBytes(java.lang.String columnName, byte[] x)voidupdateCharacterStream(int columnIndex, java.io.Reader x)voidupdateCharacterStream(int columnIndex, java.io.Reader x, int length)voidupdateCharacterStream(int columnIndex, java.io.Reader x, long length)voidupdateCharacterStream(java.lang.String columnLabel, java.io.Reader reader)voidupdateCharacterStream(java.lang.String columnName, java.io.Reader reader, int length)voidupdateCharacterStream(java.lang.String columnLabel, java.io.Reader reader, long length)voidupdateClob(int columnIndex, java.io.Reader reader)voidupdateClob(int columnIndex, java.io.Reader reader, long length)voidupdateClob(int columnIndex, java.sql.Clob arg1)voidupdateClob(java.lang.String columnLabel, java.io.Reader reader)voidupdateClob(java.lang.String columnLabel, java.io.Reader reader, long length)voidupdateClob(java.lang.String columnName, java.sql.Clob clob)voidupdateDate(int columnIndex, java.sql.Date x)voidupdateDate(java.lang.String columnName, java.sql.Date x)voidupdateDouble(int columnIndex, double x)voidupdateDouble(java.lang.String columnName, double x)voidupdateFloat(int columnIndex, float x)voidupdateFloat(java.lang.String columnName, float x)voidupdateInt(int columnIndex, int x)voidupdateInt(java.lang.String columnName, int x)voidupdateLong(int columnIndex, long x)voidupdateLong(java.lang.String columnName, long x)voidupdateNCharacterStream(int columnIndex, java.io.Reader x)voidupdateNCharacterStream(int columnIndex, java.io.Reader x, long length)voidupdateNCharacterStream(java.lang.String columnLabel, java.io.Reader reader)voidupdateNCharacterStream(java.lang.String columnLabel, java.io.Reader reader, long length)voidupdateNClob(int columnIndex, java.io.Reader reader)voidupdateNClob(int columnIndex, java.io.Reader reader, long length)voidupdateNClob(int columnIndex, java.sql.NClob nClob)voidupdateNClob(java.lang.String columnLabel, java.io.Reader reader)voidupdateNClob(java.lang.String columnLabel, java.io.Reader reader, long length)voidupdateNClob(java.lang.String columnName, java.sql.NClob nClob)voidupdateNString(int columnIndex, java.lang.String nString)voidupdateNString(java.lang.String columnLabel, java.lang.String nString)voidupdateNull(int columnIndex)voidupdateNull(java.lang.String columnName)voidupdateObject(int columnIndex, java.lang.Object x)voidupdateObject(int columnIndex, java.lang.Object x, int scale)voidupdateObject(int columnIndex, java.lang.Object x, java.sql.SQLType targetSqlType)voidupdateObject(int columnIndex, java.lang.Object x, java.sql.SQLType targetSqlType, int scaleOrLength)voidupdateObject(java.lang.String columnName, java.lang.Object x)voidupdateObject(java.lang.String columnName, java.lang.Object x, int scale)voidupdateObject(java.lang.String columnLabel, java.lang.Object x, java.sql.SQLType targetSqlType)voidupdateObject(java.lang.String columnLabel, java.lang.Object x, java.sql.SQLType targetSqlType, int scaleOrLength)voidupdateRef(int columnIndex, java.sql.Ref arg1)voidupdateRef(java.lang.String columnLabel, java.sql.Ref arg1)voidupdateRow()voidupdateRowId(int columnIndex, java.sql.RowId x)voidupdateRowId(java.lang.String columnName, java.sql.RowId x)voidupdateShort(int columnIndex, short x)voidupdateShort(java.lang.String columnName, short x)voidupdateSQLXML(int columnIndex, java.sql.SQLXML xmlObject)voidupdateSQLXML(java.lang.String columnLabel, java.sql.SQLXML xmlObject)voidupdateString(int columnIndex, java.lang.String x)voidupdateString(java.lang.String columnName, java.lang.String x)voidupdateTime(int columnIndex, java.sql.Time x)voidupdateTime(java.lang.String columnName, java.sql.Time x)voidupdateTimestamp(int columnIndex, java.sql.Timestamp x)voidupdateTimestamp(java.lang.String columnName, java.sql.Timestamp x)voidwarningEncountered(java.lang.String warning)Accumulate internal warnings as the SQLWarning chain.booleanwasNull()Methods inherited from class com.mysql.cj.protocol.a.result.NativeResultset
clearNextResultset, getColumnDefinition, getNextResultset, getResultId, getRows, getServerInfo, getUpdateCount, getUpdateID, hasRows, initRowsWithMetadata, setColumnDefinition, setNextResultsetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.mysql.cj.protocol.Resultset
clearNextResultset, getColumnDefinition, getNextResultset, getResultId, getRows, getServerInfo, getUpdateCount, getUpdateID, hasRows, initRowsWithMetadata, setColumnDefinition, setNextResultset
-
Field Details
-
db
protected java.lang.String dbThe database that was in use when we were created -
columnUsed
protected boolean[] columnUsedKeep track of columns accessed -
connection
The Connection instance that created us -
session
-
currentRow
protected int currentRowThe current row #, -1 == before start of result set -
eventSink
-
fetchDirection
protected int fetchDirectionThe direction to fetch rows (always FETCH_FORWARD) -
fetchSize
protected int fetchSizeThe number of rows to fetch in one go... -
firstCharOfQuery
protected char firstCharOfQueryFirst character of the query that created this result set...Used to determine whether or not to parse server info messages in certain circumstances. -
isClosed
protected boolean isClosedHas this result set been closed? -
resultSetConcurrency
protected int resultSetConcurrencyAre we read-only or updatable? -
resultSetType
protected int resultSetTypeAre we scroll-sensitive/insensitive? -
useUsageAdvisor
protected boolean useUsageAdvisor -
gatherPerfMetrics
protected boolean gatherPerfMetrics -
warningChain
protected java.sql.SQLWarning warningChainThe warning chain -
wrapperStatement
protected java.sql.Statement wrapperStatement -
emulateLocators
-
yearIsDateType
protected boolean yearIsDateType
-
-
Constructor Details
-
ResultSetImpl
Create a result set for an executeUpdate statement.- Parameters:
ok-OkPacketconn- the Connection that created us.creatorStmt- the Statement that created us.
-
ResultSetImpl
public ResultSetImpl(ResultsetRows tuples, JdbcConnection conn, StatementImpl creatorStmt) throws java.sql.SQLExceptionCreates a new ResultSet object.- Parameters:
tuples- actual row dataconn- the Connection that created us.creatorStmt- the Statement that created us.- Throws:
java.sql.SQLException- if an error occurs
-
-
Method Details
-
initializeWithMetadata
public void initializeWithMetadata() throws java.sql.SQLException- Specified by:
initializeWithMetadatain interfaceResultSetInternalMethods- Throws:
java.sql.SQLException
-
absolute
public boolean absolute(int row) throws java.sql.SQLException- Specified by:
absolutein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
afterLast
public void afterLast() throws java.sql.SQLException- Specified by:
afterLastin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
beforeFirst
public void beforeFirst() throws java.sql.SQLException- Specified by:
beforeFirstin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
cancelRowUpdates
public void cancelRowUpdates() throws java.sql.SQLException- Specified by:
cancelRowUpdatesin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
checkClosed
Ensures that the result set is not closed- Returns:
- connection
- Throws:
java.sql.SQLException- if the result set is closed
-
checkColumnBounds
protected final void checkColumnBounds(int columnIndex) throws java.sql.SQLExceptionChecks if columnIndex is within the number of columns in this result set.- Parameters:
columnIndex- the index to check- Throws:
java.sql.SQLException- if the index is out of bounds
-
checkRowPos
protected void checkRowPos() throws java.sql.SQLExceptionEnsures that the cursor is positioned on a valid row and that the result set is not closed- Throws:
java.sql.SQLException- if the result set is not in a valid state for traversal
-
clearWarnings
public void clearWarnings() throws java.sql.SQLException- Specified by:
clearWarningsin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
close
public void close() throws java.sql.SQLException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
populateCachedMetaData
public void populateCachedMetaData(CachedResultSetMetaData cachedMetaData) throws java.sql.SQLException- Specified by:
populateCachedMetaDatain interfaceResultSetInternalMethods- Throws:
java.sql.SQLException
-
deleteRow
public void deleteRow() throws java.sql.SQLException- Specified by:
deleteRowin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
findColumn
public int findColumn(java.lang.String columnName) throws java.sql.SQLException- Specified by:
findColumnin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
first
public boolean first() throws java.sql.SQLException- Specified by:
firstin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getArray
public java.sql.Array getArray(int columnIndex) throws java.sql.SQLException- Specified by:
getArrayin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getArray
public java.sql.Array getArray(java.lang.String colName) throws java.sql.SQLException- Specified by:
getArrayin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getAsciiStream
public java.io.InputStream getAsciiStream(int columnIndex) throws java.sql.SQLException- Specified by:
getAsciiStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getAsciiStream
public java.io.InputStream getAsciiStream(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getAsciiStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBigDecimal
public java.math.BigDecimal getBigDecimal(int columnIndex) throws java.sql.SQLException- Specified by:
getBigDecimalin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBigDecimal
@Deprecated public java.math.BigDecimal getBigDecimal(int columnIndex, int scale) throws java.sql.SQLExceptionDeprecated.- Specified by:
getBigDecimalin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBigDecimal
public java.math.BigDecimal getBigDecimal(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getBigDecimalin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBigDecimal
@Deprecated public java.math.BigDecimal getBigDecimal(java.lang.String columnName, int scale) throws java.sql.SQLExceptionDeprecated.- Specified by:
getBigDecimalin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBinaryStream
public java.io.InputStream getBinaryStream(int columnIndex) throws java.sql.SQLException- Specified by:
getBinaryStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBinaryStream
public java.io.InputStream getBinaryStream(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getBinaryStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBlob
public java.sql.Blob getBlob(int columnIndex) throws java.sql.SQLException- Specified by:
getBlobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBlob
public java.sql.Blob getBlob(java.lang.String colName) throws java.sql.SQLException- Specified by:
getBlobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBoolean
public boolean getBoolean(int columnIndex) throws java.sql.SQLException- Specified by:
getBooleanin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBoolean
public boolean getBoolean(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getBooleanin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getByte
public byte getByte(int columnIndex) throws java.sql.SQLException- Specified by:
getBytein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getByte
public byte getByte(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getBytein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBytes
public byte[] getBytes(int columnIndex) throws java.sql.SQLException- Specified by:
getBytesin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBytes
public byte[] getBytes(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getBytesin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getCharacterStream
public java.io.Reader getCharacterStream(int columnIndex) throws java.sql.SQLException- Specified by:
getCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getCharacterStream
public java.io.Reader getCharacterStream(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getClob
public java.sql.Clob getClob(int columnIndex) throws java.sql.SQLException- Specified by:
getClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getClob
public java.sql.Clob getClob(java.lang.String colName) throws java.sql.SQLException- Specified by:
getClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getDate
public java.sql.Date getDate(int columnIndex) throws java.sql.SQLException- Specified by:
getDatein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getDate
public java.sql.Date getDate(int columnIndex, java.util.Calendar cal) throws java.sql.SQLException- Specified by:
getDatein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getDate
public java.sql.Date getDate(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getDatein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getDate
public java.sql.Date getDate(java.lang.String columnName, java.util.Calendar cal) throws java.sql.SQLException- Specified by:
getDatein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getDouble
public double getDouble(int columnIndex) throws java.sql.SQLException- Specified by:
getDoublein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getDouble
public double getDouble(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getDoublein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getFloat
public float getFloat(int columnIndex) throws java.sql.SQLException- Specified by:
getFloatin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getFloat
public float getFloat(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getFloatin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getInt
public int getInt(int columnIndex) throws java.sql.SQLException- Specified by:
getIntin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getBigInteger
public java.math.BigInteger getBigInteger(int columnIndex) throws java.sql.SQLException- Specified by:
getBigIntegerin interfaceResultSetInternalMethods- Throws:
java.sql.SQLException
-
getInt
public int getInt(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getIntin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getLong
public long getLong(int columnIndex) throws java.sql.SQLException- Specified by:
getLongin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getLong
public long getLong(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getLongin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getShort
public short getShort(int columnIndex) throws java.sql.SQLException- Specified by:
getShortin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getShort
public short getShort(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getShortin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getString
public java.lang.String getString(int columnIndex) throws java.sql.SQLException- Specified by:
getStringin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getString
public java.lang.String getString(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getStringin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getTime
public java.sql.Time getTime(int columnIndex) throws java.sql.SQLException- Specified by:
getTimein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getTime
public java.sql.Time getTime(int columnIndex, java.util.Calendar cal) throws java.sql.SQLException- Specified by:
getTimein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getTime
public java.sql.Time getTime(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getTimein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getTime
public java.sql.Time getTime(java.lang.String columnName, java.util.Calendar cal) throws java.sql.SQLException- Specified by:
getTimein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getTimestamp
public java.sql.Timestamp getTimestamp(int columnIndex) throws java.sql.SQLException- Specified by:
getTimestampin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getLocalDate
public java.time.LocalDate getLocalDate(int columnIndex) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getLocalDateTime
public java.time.LocalDateTime getLocalDateTime(int columnIndex) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getLocalTime
public java.time.LocalTime getLocalTime(int columnIndex) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getUtilCalendar
public java.util.Calendar getUtilCalendar(int columnIndex) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getTimestamp
public java.sql.Timestamp getTimestamp(int columnIndex, java.util.Calendar cal) throws java.sql.SQLException- Specified by:
getTimestampin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getTimestamp
public java.sql.Timestamp getTimestamp(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getTimestampin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getTimestamp
public java.sql.Timestamp getTimestamp(java.lang.String columnName, java.util.Calendar cal) throws java.sql.SQLException- Specified by:
getTimestampin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getNCharacterStream
public java.io.Reader getNCharacterStream(int columnIndex) throws java.sql.SQLException- Specified by:
getNCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getNCharacterStream
public java.io.Reader getNCharacterStream(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getNCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getNClob
public java.sql.NClob getNClob(int columnIndex) throws java.sql.SQLException- Specified by:
getNClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getNClob
public java.sql.NClob getNClob(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getNClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getNString
public java.lang.String getNString(int columnIndex) throws java.sql.SQLException- Specified by:
getNStringin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getNString
public java.lang.String getNString(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getNStringin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getConcurrency
public int getConcurrency() throws java.sql.SQLException- Specified by:
getConcurrencyin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getCursorName
public java.lang.String getCursorName() throws java.sql.SQLException- Specified by:
getCursorNamein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getFetchDirection
public int getFetchDirection() throws java.sql.SQLException- Specified by:
getFetchDirectionin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getFetchSize
public int getFetchSize() throws java.sql.SQLException- Specified by:
getFetchSizein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getFirstCharOfQuery
public char getFirstCharOfQuery()Description copied from interface:ResultSetInternalMethodsReturns the first character of the query that was issued to create this result set, upper-cased.- Specified by:
getFirstCharOfQueryin interfaceResultSetInternalMethods- Returns:
- character
-
getMetaData
public java.sql.ResultSetMetaData getMetaData() throws java.sql.SQLException- Specified by:
getMetaDatain interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getObject
public java.lang.Object getObject(int columnIndex) throws java.sql.SQLException- Specified by:
getObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getObject
public <T> T getObject(int columnIndex, java.lang.Class<T> type) throws java.sql.SQLException- Specified by:
getObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getObject
public <T> T getObject(java.lang.String columnLabel, java.lang.Class<T> type) throws java.sql.SQLException- Specified by:
getObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getObject
public java.lang.Object getObject(int i, java.util.Map<java.lang.String,java.lang.Class<?>> map) throws java.sql.SQLException- Specified by:
getObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getObject
public java.lang.Object getObject(java.lang.String columnName) throws java.sql.SQLException- Specified by:
getObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getObject
public java.lang.Object getObject(java.lang.String colName, java.util.Map<java.lang.String,java.lang.Class<?>> map) throws java.sql.SQLException- Specified by:
getObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getObjectStoredProc
public java.lang.Object getObjectStoredProc(int columnIndex, int desiredSqlType) throws java.sql.SQLExceptionDescription copied from interface:ResultSetInternalMethodsFunctions like ResultSet.getObject(), but using the given SQL type (as registered during CallableStatement.registerOutParameter()).- Specified by:
getObjectStoredProcin interfaceResultSetInternalMethods- Parameters:
columnIndex- 1-based column indexdesiredSqlType- desired column type, one ofTypes- Returns:
- object
- Throws:
java.sql.SQLException- if an error occurs
-
getObjectStoredProc
public java.lang.Object getObjectStoredProc(int i, java.util.Map<java.lang.Object,java.lang.Object> map, int desiredSqlType) throws java.sql.SQLExceptionDescription copied from interface:ResultSetInternalMethodsFunctions like ResultSet.getObject(), but using the given SQL type (as registered during CallableStatement.registerOutParameter()).- Specified by:
getObjectStoredProcin interfaceResultSetInternalMethods- Parameters:
i- 1-based column indexmap- mapdesiredSqlType- desired column type, one ofTypes- Returns:
- object
- Throws:
java.sql.SQLException- if an error occurs
-
getObjectStoredProc
public java.lang.Object getObjectStoredProc(java.lang.String columnName, int desiredSqlType) throws java.sql.SQLExceptionDescription copied from interface:ResultSetInternalMethodsFunctions like ResultSet.getObject(), but using the given SQL type (as registered during CallableStatement.registerOutParameter()).- Specified by:
getObjectStoredProcin interfaceResultSetInternalMethods- Parameters:
columnName- column namedesiredSqlType- desired column type, one ofTypes- Returns:
- object
- Throws:
java.sql.SQLException- if an error occurs
-
getObjectStoredProc
public java.lang.Object getObjectStoredProc(java.lang.String colName, java.util.Map<java.lang.Object,java.lang.Object> map, int desiredSqlType) throws java.sql.SQLExceptionDescription copied from interface:ResultSetInternalMethodsFunctions like ResultSet.getObject(), but using the given SQL type (as registered during CallableStatement.registerOutParameter()).- Specified by:
getObjectStoredProcin interfaceResultSetInternalMethods- Parameters:
colName- column namemap- mapdesiredSqlType- desired column type, one ofTypes- Returns:
- object
- Throws:
java.sql.SQLException- if an error occurs
-
getRef
public java.sql.Ref getRef(int i) throws java.sql.SQLException- Specified by:
getRefin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getRef
public java.sql.Ref getRef(java.lang.String colName) throws java.sql.SQLException- Specified by:
getRefin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getRow
public int getRow() throws java.sql.SQLException- Specified by:
getRowin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getStatement
public java.sql.Statement getStatement() throws java.sql.SQLException- Specified by:
getStatementin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getType
public int getType() throws java.sql.SQLException- Specified by:
getTypein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getUnicodeStream
@Deprecated public java.io.InputStream getUnicodeStream(int columnIndex) throws java.sql.SQLExceptionDeprecated.- Specified by:
getUnicodeStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getUnicodeStream
@Deprecated public java.io.InputStream getUnicodeStream(java.lang.String columnName) throws java.sql.SQLExceptionDeprecated.- Specified by:
getUnicodeStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getURL
public java.net.URL getURL(int colIndex) throws java.sql.SQLException- Specified by:
getURLin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getURL
public java.net.URL getURL(java.lang.String colName) throws java.sql.SQLException- Specified by:
getURLin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getWarnings
public java.sql.SQLWarning getWarnings() throws java.sql.SQLException- Specified by:
getWarningsin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
insertRow
public void insertRow() throws java.sql.SQLException- Specified by:
insertRowin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
isAfterLast
public boolean isAfterLast() throws java.sql.SQLException- Specified by:
isAfterLastin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
isBeforeFirst
public boolean isBeforeFirst() throws java.sql.SQLException- Specified by:
isBeforeFirstin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
isFirst
public boolean isFirst() throws java.sql.SQLException- Specified by:
isFirstin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
isLast
public boolean isLast() throws java.sql.SQLException- Specified by:
isLastin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
last
public boolean last() throws java.sql.SQLException- Specified by:
lastin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
moveToCurrentRow
public void moveToCurrentRow() throws java.sql.SQLException- Specified by:
moveToCurrentRowin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
moveToInsertRow
public void moveToInsertRow() throws java.sql.SQLException- Specified by:
moveToInsertRowin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
next
public boolean next() throws java.sql.SQLException- Specified by:
nextin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
prev
public boolean prev() throws java.sql.SQLExceptionThe prev method is not part of JDBC, but because of the architecture of this driver it is possible to move both forward and backward within the result set.If an input stream from the previous row is open, it is implicitly closed. The ResultSet's warning chain is cleared when a new row is read
- Returns:
- true if the new current is valid; false if there are no more rows
- Throws:
java.sql.SQLException- if a database access error occurs
-
previous
public boolean previous() throws java.sql.SQLException- Specified by:
previousin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
realClose
public void realClose(boolean calledExplicitly) throws java.sql.SQLExceptionDescription copied from interface:ResultSetInternalMethodsCloses this ResultSet and releases resources.- Specified by:
realClosein interfaceResultSetInternalMethods- Parameters:
calledExplicitly- was realClose called by the standard ResultSet.close() method, or was it closed internally by the driver?- Throws:
java.sql.SQLException- if an error occurs
-
isClosed
public boolean isClosed() throws java.sql.SQLException- Specified by:
isClosedin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
refreshRow
public void refreshRow() throws java.sql.SQLException- Specified by:
refreshRowin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
relative
public boolean relative(int rows) throws java.sql.SQLException- Specified by:
relativein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
rowDeleted
public boolean rowDeleted() throws java.sql.SQLException- Specified by:
rowDeletedin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
rowInserted
public boolean rowInserted() throws java.sql.SQLException- Specified by:
rowInsertedin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
rowUpdated
public boolean rowUpdated() throws java.sql.SQLException- Specified by:
rowUpdatedin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
setFetchDirection
public void setFetchDirection(int direction) throws java.sql.SQLException- Specified by:
setFetchDirectionin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
setFetchSize
public void setFetchSize(int rows) throws java.sql.SQLException- Specified by:
setFetchSizein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
setFirstCharOfQuery
public void setFirstCharOfQuery(char c)Description copied from interface:ResultSetInternalMethodsSets the first character of the query that was issued to create this result set. The character should be upper-cased.- Specified by:
setFirstCharOfQueryin interfaceResultSetInternalMethods- Parameters:
c- character
-
setOwningStatement
Description copied from interface:ResultSetInternalMethodsSets the statement that "owns" this result set (usually used when the result set should internally "belong" to one statement, but is created by another.- Specified by:
setOwningStatementin interfaceResultSetInternalMethods- Parameters:
owningStatement- the statement this result set will belong to
-
setResultSetConcurrency
public void setResultSetConcurrency(int concurrencyFlag)Sets the concurrency- Parameters:
concurrencyFlag- CONCUR_UPDATABLE or CONCUR_READONLY
-
setResultSetType
public void setResultSetType(int typeFlag)Sets the result set type- Parameters:
typeFlag- SCROLL_SENSITIVE or SCROLL_INSENSITIVE (we only support SCROLL_INSENSITIVE)
-
setServerInfo
public void setServerInfo(java.lang.String info)Sets server info (if any)- Parameters:
info- the server info message
-
setStatementUsedForFetchingRows
- Specified by:
setStatementUsedForFetchingRowsin interfaceResultSetInternalMethods
-
setWrapperStatement
public void setWrapperStatement(java.sql.Statement wrapperStatement)- Specified by:
setWrapperStatementin interfaceResultSetInternalMethods- Parameters:
wrapperStatement- The wrapperStatement to set.
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
updateArray
public void updateArray(int columnIndex, java.sql.Array arg1) throws java.sql.SQLException- Specified by:
updateArrayin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateArray
public void updateArray(java.lang.String columnLabel, java.sql.Array arg1) throws java.sql.SQLException- Specified by:
updateArrayin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateAsciiStream
public void updateAsciiStream(int columnIndex, java.io.InputStream x) throws java.sql.SQLException- Specified by:
updateAsciiStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateAsciiStream
public void updateAsciiStream(java.lang.String columnLabel, java.io.InputStream x) throws java.sql.SQLException- Specified by:
updateAsciiStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateAsciiStream
public void updateAsciiStream(int columnIndex, java.io.InputStream x, int length) throws java.sql.SQLException- Specified by:
updateAsciiStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateAsciiStream
public void updateAsciiStream(java.lang.String columnName, java.io.InputStream x, int length) throws java.sql.SQLException- Specified by:
updateAsciiStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateAsciiStream
public void updateAsciiStream(int columnIndex, java.io.InputStream x, long length) throws java.sql.SQLException- Specified by:
updateAsciiStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateAsciiStream
public void updateAsciiStream(java.lang.String columnLabel, java.io.InputStream x, long length) throws java.sql.SQLException- Specified by:
updateAsciiStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBigDecimal
public void updateBigDecimal(int columnIndex, java.math.BigDecimal x) throws java.sql.SQLException- Specified by:
updateBigDecimalin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBigDecimal
public void updateBigDecimal(java.lang.String columnName, java.math.BigDecimal x) throws java.sql.SQLException- Specified by:
updateBigDecimalin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBinaryStream
public void updateBinaryStream(int columnIndex, java.io.InputStream x) throws java.sql.SQLException- Specified by:
updateBinaryStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBinaryStream
public void updateBinaryStream(java.lang.String columnLabel, java.io.InputStream x) throws java.sql.SQLException- Specified by:
updateBinaryStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBinaryStream
public void updateBinaryStream(int columnIndex, java.io.InputStream x, int length) throws java.sql.SQLException- Specified by:
updateBinaryStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBinaryStream
public void updateBinaryStream(java.lang.String columnName, java.io.InputStream x, int length) throws java.sql.SQLException- Specified by:
updateBinaryStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBinaryStream
public void updateBinaryStream(int columnIndex, java.io.InputStream x, long length) throws java.sql.SQLException- Specified by:
updateBinaryStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBinaryStream
public void updateBinaryStream(java.lang.String columnLabel, java.io.InputStream x, long length) throws java.sql.SQLException- Specified by:
updateBinaryStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBlob
public void updateBlob(int columnIndex, java.sql.Blob arg1) throws java.sql.SQLException- Specified by:
updateBlobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBlob
public void updateBlob(java.lang.String columnLabel, java.sql.Blob arg1) throws java.sql.SQLException- Specified by:
updateBlobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBlob
public void updateBlob(int columnIndex, java.io.InputStream inputStream) throws java.sql.SQLException- Specified by:
updateBlobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBlob
public void updateBlob(java.lang.String columnLabel, java.io.InputStream inputStream) throws java.sql.SQLException- Specified by:
updateBlobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBlob
public void updateBlob(int columnIndex, java.io.InputStream inputStream, long length) throws java.sql.SQLException- Specified by:
updateBlobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBlob
public void updateBlob(java.lang.String columnLabel, java.io.InputStream inputStream, long length) throws java.sql.SQLException- Specified by:
updateBlobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBoolean
public void updateBoolean(int columnIndex, boolean x) throws java.sql.SQLException- Specified by:
updateBooleanin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBoolean
public void updateBoolean(java.lang.String columnName, boolean x) throws java.sql.SQLException- Specified by:
updateBooleanin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateByte
public void updateByte(int columnIndex, byte x) throws java.sql.SQLException- Specified by:
updateBytein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateByte
public void updateByte(java.lang.String columnName, byte x) throws java.sql.SQLException- Specified by:
updateBytein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBytes
public void updateBytes(int columnIndex, byte[] x) throws java.sql.SQLException- Specified by:
updateBytesin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateBytes
public void updateBytes(java.lang.String columnName, byte[] x) throws java.sql.SQLException- Specified by:
updateBytesin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateCharacterStream
public void updateCharacterStream(int columnIndex, java.io.Reader x) throws java.sql.SQLException- Specified by:
updateCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateCharacterStream
public void updateCharacterStream(java.lang.String columnLabel, java.io.Reader reader) throws java.sql.SQLException- Specified by:
updateCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateCharacterStream
public void updateCharacterStream(int columnIndex, java.io.Reader x, int length) throws java.sql.SQLException- Specified by:
updateCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateCharacterStream
public void updateCharacterStream(java.lang.String columnName, java.io.Reader reader, int length) throws java.sql.SQLException- Specified by:
updateCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateCharacterStream
public void updateCharacterStream(int columnIndex, java.io.Reader x, long length) throws java.sql.SQLException- Specified by:
updateCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateCharacterStream
public void updateCharacterStream(java.lang.String columnLabel, java.io.Reader reader, long length) throws java.sql.SQLException- Specified by:
updateCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateClob
public void updateClob(int columnIndex, java.sql.Clob arg1) throws java.sql.SQLException- Specified by:
updateClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateClob
public void updateClob(java.lang.String columnName, java.sql.Clob clob) throws java.sql.SQLException- Specified by:
updateClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateClob
public void updateClob(int columnIndex, java.io.Reader reader) throws java.sql.SQLException- Specified by:
updateClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateClob
public void updateClob(java.lang.String columnLabel, java.io.Reader reader) throws java.sql.SQLException- Specified by:
updateClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateClob
public void updateClob(int columnIndex, java.io.Reader reader, long length) throws java.sql.SQLException- Specified by:
updateClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateClob
public void updateClob(java.lang.String columnLabel, java.io.Reader reader, long length) throws java.sql.SQLException- Specified by:
updateClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateDate
public void updateDate(int columnIndex, java.sql.Date x) throws java.sql.SQLException- Specified by:
updateDatein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateDate
public void updateDate(java.lang.String columnName, java.sql.Date x) throws java.sql.SQLException- Specified by:
updateDatein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateDouble
public void updateDouble(int columnIndex, double x) throws java.sql.SQLException- Specified by:
updateDoublein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateDouble
public void updateDouble(java.lang.String columnName, double x) throws java.sql.SQLException- Specified by:
updateDoublein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateFloat
public void updateFloat(int columnIndex, float x) throws java.sql.SQLException- Specified by:
updateFloatin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateFloat
public void updateFloat(java.lang.String columnName, float x) throws java.sql.SQLException- Specified by:
updateFloatin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateInt
public void updateInt(int columnIndex, int x) throws java.sql.SQLException- Specified by:
updateIntin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateInt
public void updateInt(java.lang.String columnName, int x) throws java.sql.SQLException- Specified by:
updateIntin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateLong
public void updateLong(int columnIndex, long x) throws java.sql.SQLException- Specified by:
updateLongin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateLong
public void updateLong(java.lang.String columnName, long x) throws java.sql.SQLException- Specified by:
updateLongin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNCharacterStream
public void updateNCharacterStream(int columnIndex, java.io.Reader x) throws java.sql.SQLException- Specified by:
updateNCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNCharacterStream
public void updateNCharacterStream(java.lang.String columnLabel, java.io.Reader reader) throws java.sql.SQLException- Specified by:
updateNCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNCharacterStream
public void updateNCharacterStream(int columnIndex, java.io.Reader x, long length) throws java.sql.SQLException- Specified by:
updateNCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNCharacterStream
public void updateNCharacterStream(java.lang.String columnLabel, java.io.Reader reader, long length) throws java.sql.SQLException- Specified by:
updateNCharacterStreamin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNClob
public void updateNClob(int columnIndex, java.sql.NClob nClob) throws java.sql.SQLException- Specified by:
updateNClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNClob
public void updateNClob(java.lang.String columnName, java.sql.NClob nClob) throws java.sql.SQLException- Specified by:
updateNClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNClob
public void updateNClob(int columnIndex, java.io.Reader reader) throws java.sql.SQLException- Specified by:
updateNClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNClob
public void updateNClob(java.lang.String columnLabel, java.io.Reader reader) throws java.sql.SQLException- Specified by:
updateNClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNClob
public void updateNClob(int columnIndex, java.io.Reader reader, long length) throws java.sql.SQLException- Specified by:
updateNClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNClob
public void updateNClob(java.lang.String columnLabel, java.io.Reader reader, long length) throws java.sql.SQLException- Specified by:
updateNClobin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNull
public void updateNull(int columnIndex) throws java.sql.SQLException- Specified by:
updateNullin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNull
public void updateNull(java.lang.String columnName) throws java.sql.SQLException- Specified by:
updateNullin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNString
public void updateNString(int columnIndex, java.lang.String nString) throws java.sql.SQLException- Specified by:
updateNStringin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateNString
public void updateNString(java.lang.String columnLabel, java.lang.String nString) throws java.sql.SQLException- Specified by:
updateNStringin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateObject
public void updateObject(int columnIndex, java.lang.Object x) throws java.sql.SQLException- Specified by:
updateObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateObject
public void updateObject(java.lang.String columnName, java.lang.Object x) throws java.sql.SQLException- Specified by:
updateObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateObject
public void updateObject(int columnIndex, java.lang.Object x, int scale) throws java.sql.SQLException- Specified by:
updateObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateObject
public void updateObject(java.lang.String columnName, java.lang.Object x, int scale) throws java.sql.SQLException- Specified by:
updateObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateObject
public void updateObject(int columnIndex, java.lang.Object x, java.sql.SQLType targetSqlType) throws java.sql.SQLException- Specified by:
updateObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateObject
public void updateObject(int columnIndex, java.lang.Object x, java.sql.SQLType targetSqlType, int scaleOrLength) throws java.sql.SQLException- Specified by:
updateObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateObject
public void updateObject(java.lang.String columnLabel, java.lang.Object x, java.sql.SQLType targetSqlType) throws java.sql.SQLException- Specified by:
updateObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateObject
public void updateObject(java.lang.String columnLabel, java.lang.Object x, java.sql.SQLType targetSqlType, int scaleOrLength) throws java.sql.SQLException- Specified by:
updateObjectin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateRef
public void updateRef(int columnIndex, java.sql.Ref arg1) throws java.sql.SQLException- Specified by:
updateRefin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateRef
public void updateRef(java.lang.String columnLabel, java.sql.Ref arg1) throws java.sql.SQLException- Specified by:
updateRefin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateRow
public void updateRow() throws java.sql.SQLException- Specified by:
updateRowin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateRowId
public void updateRowId(int columnIndex, java.sql.RowId x) throws java.sql.SQLException- Specified by:
updateRowIdin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateRowId
public void updateRowId(java.lang.String columnName, java.sql.RowId x) throws java.sql.SQLException- Specified by:
updateRowIdin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateShort
public void updateShort(int columnIndex, short x) throws java.sql.SQLException- Specified by:
updateShortin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateShort
public void updateShort(java.lang.String columnName, short x) throws java.sql.SQLException- Specified by:
updateShortin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateSQLXML
public void updateSQLXML(int columnIndex, java.sql.SQLXML xmlObject) throws java.sql.SQLException- Specified by:
updateSQLXMLin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateSQLXML
public void updateSQLXML(java.lang.String columnLabel, java.sql.SQLXML xmlObject) throws java.sql.SQLException- Specified by:
updateSQLXMLin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateString
public void updateString(int columnIndex, java.lang.String x) throws java.sql.SQLException- Specified by:
updateStringin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateString
public void updateString(java.lang.String columnName, java.lang.String x) throws java.sql.SQLException- Specified by:
updateStringin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateTime
public void updateTime(int columnIndex, java.sql.Time x) throws java.sql.SQLException- Specified by:
updateTimein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateTime
public void updateTime(java.lang.String columnName, java.sql.Time x) throws java.sql.SQLException- Specified by:
updateTimein interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateTimestamp
public void updateTimestamp(int columnIndex, java.sql.Timestamp x) throws java.sql.SQLException- Specified by:
updateTimestampin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
updateTimestamp
public void updateTimestamp(java.lang.String columnName, java.sql.Timestamp x) throws java.sql.SQLException- Specified by:
updateTimestampin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
wasNull
public boolean wasNull() throws java.sql.SQLException- Specified by:
wasNullin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getExceptionInterceptor
-
getHoldability
public int getHoldability() throws java.sql.SQLException- Specified by:
getHoldabilityin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getRowId
public java.sql.RowId getRowId(int columnIndex) throws java.sql.SQLException- Specified by:
getRowIdin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getRowId
public java.sql.RowId getRowId(java.lang.String columnLabel) throws java.sql.SQLException- Specified by:
getRowIdin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getSQLXML
public java.sql.SQLXML getSQLXML(int columnIndex) throws java.sql.SQLException- Specified by:
getSQLXMLin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
getSQLXML
public java.sql.SQLXML getSQLXML(java.lang.String columnLabel) throws java.sql.SQLException- Specified by:
getSQLXMLin interfacejava.sql.ResultSet- Throws:
java.sql.SQLException
-
isWrapperFor
public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException- Specified by:
isWrapperForin interfacejava.sql.Wrapper- Throws:
java.sql.SQLException
-
unwrap
public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException- Specified by:
unwrapin interfacejava.sql.Wrapper- Throws:
java.sql.SQLException
-
warningEncountered
public void warningEncountered(java.lang.String warning)Accumulate internal warnings as the SQLWarning chain.- Specified by:
warningEncounteredin interfaceWarningListener
-
getMetadata
-
getOwningStatement
-
closeOwner
public void closeOwner(boolean calledExplicitly)- Specified by:
closeOwnerin interfaceResultsetRowsOwner
-
getConnection
- Specified by:
getConnectionin interfaceResultsetRowsOwner
-
getSession
- Specified by:
getSessionin interfaceResultsetRowsOwner
-
getPointOfOrigin
public java.lang.String getPointOfOrigin()Description copied from interface:ResultsetRowsOwnerStackTrace generated where ResultSet was created... used when profiling- Specified by:
getPointOfOriginin interfaceResultsetRowsOwner- Returns:
- string representation of a stack trace
-
getOwnerFetchSize
public int getOwnerFetchSize()- Specified by:
getOwnerFetchSizein interfaceResultsetRowsOwner
-
getOwningQuery
- Specified by:
getOwningQueryin interfaceResultsetRowsOwner
-
getOwningStatementMaxRows
public int getOwningStatementMaxRows()- Specified by:
getOwningStatementMaxRowsin interfaceResultsetRowsOwner
-
getOwningStatementFetchSize
public int getOwningStatementFetchSize()- Specified by:
getOwningStatementFetchSizein interfaceResultsetRowsOwner
-
getOwningStatementServerId
public long getOwningStatementServerId()- Specified by:
getOwningStatementServerIdin interfaceResultsetRowsOwner
-
getSyncMutex
public java.lang.Object getSyncMutex()- Specified by:
getSyncMutexin interfaceResultsetRowsOwner
-