接口 ResultSetInternalMethods
-
- 所有超级接口:
AutoCloseable,ProtocolEntity,Resultset,ResultSet,ResultsetRowsOwner,Wrapper
- 所有已知实现类:
ResultSetImpl,UpdatableResultSet
public interface ResultSetInternalMethods extends ResultSet, ResultsetRowsOwner, Resultset
This interface is intended to be used by implementors of statement interceptors so that implementors can create static or dynamic (via java.lang.reflect.Proxy) proxy instances of ResultSets. It consists of methods outside of java.sql.Result that are used internally by other classes in the driver. This interface, although public is not designed to be consumed publicly other than for the statement interceptor use case.
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 com.mysql.cj.protocol.Resultset
Resultset.Concurrency, Resultset.Type
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 BigIntegergetBigInteger(int columnIndex)chargetFirstCharOfQuery()Returns the first character of the query that was issued to create this result set, upper-cased.ObjectgetObjectStoredProc(int columnIndex, int desiredSqlType)Functions like ResultSet.getObject(), but using the given SQL type (as registered during CallableStatement.registerOutParameter()).ObjectgetObjectStoredProc(int i, Map<Object,Object> map, int desiredSqlType)Functions like ResultSet.getObject(), but using the given SQL type (as registered during CallableStatement.registerOutParameter()).ObjectgetObjectStoredProc(String columnName, int desiredSqlType)Functions like ResultSet.getObject(), but using the given SQL type (as registered during CallableStatement.registerOutParameter()).ObjectgetObjectStoredProc(String colName, Map<Object,Object> map, int desiredSqlType)Functions like ResultSet.getObject(), but using the given SQL type (as registered during CallableStatement.registerOutParameter()).voidinitializeWithMetadata()voidpopulateCachedMetaData(CachedResultSetMetaData cachedMetaData)voidrealClose(boolean calledExplicitly)Closes this ResultSet and releases resources.voidsetFirstCharOfQuery(char firstCharUpperCase)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.voidsetStatementUsedForFetchingRows(JdbcPreparedStatement stmt)voidsetWrapperStatement(Statement wrapperStatement)-
从接口继承的方法 com.mysql.cj.protocol.Resultset
clearNextResultset, getColumnDefinition, getNextResultset, getResultId, getRows, getServerInfo, getUpdateCount, getUpdateID, hasRows, initRowsWithMetadata, setColumnDefinition, setNextResultset
-
从接口继承的方法 java.sql.ResultSet
absolute, afterLast, beforeFirst, cancelRowUpdates, clearWarnings, close, deleteRow, findColumn, first, getArray, getArray, getAsciiStream, getAsciiStream, getBigDecimal, getBigDecimal, getBigDecimal, getBigDecimal, getBinaryStream, getBinaryStream, getBlob, getBlob, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getCharacterStream, getCharacterStream, getClob, getClob, getConcurrency, getCursorName, getDate, getDate, getDate, getDate, getDouble, getDouble, getFetchDirection, getFetchSize, getFloat, getFloat, getHoldability, getInt, getInt, getLong, getLong, getMetaData, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getNString, getObject, getObject, getObject, getObject, getObject, getObject, getRef, getRef, getRow, getRowId, getRowId, getShort, getShort, getSQLXML, getSQLXML, getStatement, getString, getString, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getType, getUnicodeStream, getUnicodeStream, getURL, getURL, getWarnings, insertRow, isAfterLast, isBeforeFirst, isClosed, isFirst, isLast, last, moveToCurrentRow, moveToInsertRow, next, previous, refreshRow, relative, rowDeleted, rowInserted, rowUpdated, setFetchDirection, setFetchSize, updateArray, updateArray, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateBigDecimal, updateBigDecimal, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBlob, updateBlob, updateBlob, updateBlob, updateBlob, updateBlob, updateBoolean, updateBoolean, updateByte, updateByte, updateBytes, updateBytes, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateClob, updateClob, updateClob, updateClob, updateClob, updateClob, updateDate, updateDate, updateDouble, updateDouble, updateFloat, updateFloat, updateInt, updateInt, updateLong, updateLong, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNString, updateNString, updateNull, updateNull, updateObject, updateObject, updateObject, updateObject, updateObject, updateObject, updateObject, updateObject, updateRef, updateRef, updateRow, updateRowId, updateRowId, updateShort, updateShort, updateSQLXML, updateSQLXML, updateString, updateString, updateTime, updateTime, updateTimestamp, updateTimestamp, wasNull
-
从接口继承的方法 com.mysql.cj.protocol.ResultsetRowsOwner
closeOwner, getConnection, getOwnerFetchSize, getOwningQuery, getOwningStatementFetchSize, getOwningStatementMaxRows, getOwningStatementServerId, getPointOfOrigin, getSession, getSyncMutex
-
从接口继承的方法 java.sql.Wrapper
isWrapperFor, unwrap
-
-
-
-
方法详细资料
-
getObjectStoredProc
Object getObjectStoredProc(int columnIndex, int desiredSqlType) throws SQLException
Functions like ResultSet.getObject(), but using the given SQL type (as registered during CallableStatement.registerOutParameter()).- 参数:
columnIndex- 1-based column indexdesiredSqlType- desired column type, one ofTypes- 返回:
- object
- 抛出:
SQLException- if an error occurs
-
getObjectStoredProc
Object getObjectStoredProc(int i, Map<Object,Object> map, int desiredSqlType) throws SQLException
Functions like ResultSet.getObject(), but using the given SQL type (as registered during CallableStatement.registerOutParameter()).- 参数:
i- 1-based column indexmap- mapdesiredSqlType- desired column type, one ofTypes- 返回:
- object
- 抛出:
SQLException- if an error occurs
-
getObjectStoredProc
Object getObjectStoredProc(String columnName, int desiredSqlType) throws SQLException
Functions like ResultSet.getObject(), but using the given SQL type (as registered during CallableStatement.registerOutParameter()).- 参数:
columnName- column namedesiredSqlType- desired column type, one ofTypes- 返回:
- object
- 抛出:
SQLException- if an error occurs
-
getObjectStoredProc
Object getObjectStoredProc(String colName, Map<Object,Object> map, int desiredSqlType) throws SQLException
Functions like ResultSet.getObject(), but using the given SQL type (as registered during CallableStatement.registerOutParameter()).- 参数:
colName- column namemap- mapdesiredSqlType- desired column type, one ofTypes- 返回:
- object
- 抛出:
SQLException- if an error occurs
-
realClose
void realClose(boolean calledExplicitly) throws SQLExceptionCloses this ResultSet and releases resources.- 参数:
calledExplicitly- was realClose called by the standard ResultSet.close() method, or was it closed internally by the driver?- 抛出:
SQLException- if an error occurs
-
setFirstCharOfQuery
void setFirstCharOfQuery(char firstCharUpperCase)
Sets the first character of the query that was issued to create this result set. The character should be upper-cased.- 参数:
firstCharUpperCase- character
-
setOwningStatement
void setOwningStatement(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.- 参数:
owningStatement- the statement this result set will belong to
-
getFirstCharOfQuery
char getFirstCharOfQuery()
Returns the first character of the query that was issued to create this result set, upper-cased.- 返回:
- character
-
setStatementUsedForFetchingRows
void setStatementUsedForFetchingRows(JdbcPreparedStatement stmt)
-
setWrapperStatement
void setWrapperStatement(Statement wrapperStatement)
- 参数:
wrapperStatement- The wrapperStatement to set.
-
initializeWithMetadata
void initializeWithMetadata() throws SQLException- 抛出:
SQLException
-
populateCachedMetaData
void populateCachedMetaData(CachedResultSetMetaData cachedMetaData) throws SQLException
- 抛出:
SQLException
-
getBigInteger
BigInteger getBigInteger(int columnIndex) throws SQLException
- 抛出:
SQLException
-
-