| com.mysql.jdbc.ResultSetInternalMethods
ResultSetInternalMethods | public interface ResultSetInternalMethods extends java.sql.ResultSet(Code) | | 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.
version: $Id: $ |
Method Summary | |
public void | buildIndexMapping() Builds a hash between column names and their indices for fast retrieval. | public void | clearNextResult() Clears the reference to the next result set in a multi-result set
"chain". | abstract public ResultSetInternalMethods | copy() Returns a new instance of this result set, that shares the
underlying row data. | public char | getFirstCharOfQuery() Returns the first character of the query that was issued to create this
result set, upper-cased. | public ResultSetInternalMethods | getNextResultSet() Returns the next ResultSet in a multi-resultset "chain", if any,
null if none exists. | abstract public Object | getObjectStoredProc(int columnIndex, int desiredSqlType) Functions like ResultSet.getObject(), but using the given SQL type
(as registered during CallableStatement.registerOutParameter()). | abstract public Object | getObjectStoredProc(int i, java.util.Map map, int desiredSqlType) Functions like ResultSet.getObject(), but using the given SQL type
(as registered during CallableStatement.registerOutParameter()). | abstract public Object | getObjectStoredProc(String columnName, int desiredSqlType) Functions like ResultSet.getObject(), but using the given SQL type
(as registered during CallableStatement.registerOutParameter()). | abstract public Object | getObjectStoredProc(String colName, java.util.Map map, int desiredSqlType) Functions like ResultSet.getObject(), but using the given SQL type
(as registered during CallableStatement.registerOutParameter()). | public String | getServerInfo() Returns the server informational message returned from a DDL or DML
statement (if any), or null if none. | public long | getUpdateCount() Returns the update count for this result set (if one exists), otherwise
-1. | public long | getUpdateID() Returns the AUTO_INCREMENT value for the DDL/DML statement which created
this result set. | public void | initializeFromCachedMetaData(CachedResultSetMetaData cachedMetaData) | public void | initializeWithMetadata() | public void | populateCachedMetaData(CachedResultSetMetaData cachedMetaData) | public void | realClose(boolean calledExplicitly) Closes this ResultSet and releases resources. | abstract public boolean | reallyResult() | public void | redefineFieldsForDBMD(Field[] metadataFields) Used by DatabaseMetadata implementations to coerce the metadata returned
by metadata queries into that required by the JDBC specification. | public void | setFirstCharOfQuery(char firstCharUpperCase) Sets the first character of the query that was issued to create
this result set. | public void | setOwningStatement(com.mysql.jdbc.StatementImpl 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. | public void | setStatementUsedForFetchingRows(PreparedStatement stmt) | public void | setWrapperStatement(java.sql.Statement wrapperStatement) |
buildIndexMapping | public void buildIndexMapping() throws SQLException(Code) | | Builds a hash between column names and their indices for fast retrieval.
This is done lazily to support findColumn() and get*(String), as it
can be more expensive than just retrieving result set values by ordinal
index.
|
clearNextResult | public void clearNextResult()(Code) | | Clears the reference to the next result set in a multi-result set
"chain".
|
getFirstCharOfQuery | public char getFirstCharOfQuery()(Code) | | Returns the first character of the query that was issued to create this
result set, upper-cased.
|
getNextResultSet | public ResultSetInternalMethods getNextResultSet()(Code) | | Returns the next ResultSet in a multi-resultset "chain", if any,
null if none exists.
|
getObjectStoredProc | abstract public Object getObjectStoredProc(int columnIndex, int desiredSqlType) throws SQLException(Code) | | Functions like ResultSet.getObject(), but using the given SQL type
(as registered during CallableStatement.registerOutParameter()).
|
getObjectStoredProc | abstract public Object getObjectStoredProc(int i, java.util.Map map, int desiredSqlType) throws SQLException(Code) | | Functions like ResultSet.getObject(), but using the given SQL type
(as registered during CallableStatement.registerOutParameter()).
|
getObjectStoredProc | abstract public Object getObjectStoredProc(String columnName, int desiredSqlType) throws SQLException(Code) | | Functions like ResultSet.getObject(), but using the given SQL type
(as registered during CallableStatement.registerOutParameter()).
|
getObjectStoredProc | abstract public Object getObjectStoredProc(String colName, java.util.Map map, int desiredSqlType) throws SQLException(Code) | | Functions like ResultSet.getObject(), but using the given SQL type
(as registered during CallableStatement.registerOutParameter()).
|
getServerInfo | public String getServerInfo()(Code) | | Returns the server informational message returned from a DDL or DML
statement (if any), or null if none.
|
getUpdateCount | public long getUpdateCount()(Code) | | Returns the update count for this result set (if one exists), otherwise
-1.
|
getUpdateID | public long getUpdateID()(Code) | | Returns the AUTO_INCREMENT value for the DDL/DML statement which created
this result set.
the AUTO_INCREMENT value for the DDL/DML statement which createdthis result set. |
realClose | public void realClose(boolean calledExplicitly) throws SQLException(Code) | | Closes this ResultSet and releases resources.
Parameters: calledExplicitly - was realClose called by the standardResultSet.close() method, or was it closed internally by the driver? |
reallyResult | abstract public boolean reallyResult()(Code) | | Does the result set contain rows, or is it the result of a DDL or DML
statement?
|
redefineFieldsForDBMD | public void redefineFieldsForDBMD(Field[] metadataFields)(Code) | | Used by DatabaseMetadata implementations to coerce the metadata returned
by metadata queries into that required by the JDBC specification.
Parameters: metadataFields - the coerced metadata to be applied to result sets returned by "SHOW ..." or SELECTs on INFORMATION_SCHEMA performed on behalfof methods in DatabaseMetadata. |
setFirstCharOfQuery | public void setFirstCharOfQuery(char firstCharUpperCase)(Code) | | Sets the first character of the query that was issued to create
this result set. The character should be upper-cased.
|
setOwningStatement | public void setOwningStatement(com.mysql.jdbc.StatementImpl owningStatement)(Code) | | 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.
|
setWrapperStatement | public void setWrapperStatement(java.sql.Statement wrapperStatement)(Code) | | Parameters: wrapperStatement - The wrapperStatement to set. |
|
|