Java Doc for ResultSetInternalMethods.java in  » Database-JDBC-Connection-Pool » mysql-connector-java-5.1.3 » com » mysql » jdbc » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database JDBC Connection Pool » mysql connector java 5.1.3 » com.mysql.jdbc 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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  voidbuildIndexMapping()
     Builds a hash between column names and their indices for fast retrieval.
public  voidclearNextResult()
     Clears the reference to the next result set in a multi-result set "chain".
abstract public  ResultSetInternalMethodscopy()
     Returns a new instance of this result set, that shares the underlying row data.
public  chargetFirstCharOfQuery()
     Returns the first character of the query that was issued to create this result set, upper-cased.
public  ResultSetInternalMethodsgetNextResultSet()
     Returns the next ResultSet in a multi-resultset "chain", if any, null if none exists.
abstract public  ObjectgetObjectStoredProc(int columnIndex, int desiredSqlType)
     Functions like ResultSet.getObject(), but using the given SQL type (as registered during CallableStatement.registerOutParameter()).
abstract public  ObjectgetObjectStoredProc(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  ObjectgetObjectStoredProc(String columnName, int desiredSqlType)
     Functions like ResultSet.getObject(), but using the given SQL type (as registered during CallableStatement.registerOutParameter()).
abstract public  ObjectgetObjectStoredProc(String colName, java.util.Map map, int desiredSqlType)
     Functions like ResultSet.getObject(), but using the given SQL type (as registered during CallableStatement.registerOutParameter()).
public  StringgetServerInfo()
     Returns the server informational message returned from a DDL or DML statement (if any), or null if none.
public  longgetUpdateCount()
     Returns the update count for this result set (if one exists), otherwise -1.
public  longgetUpdateID()
     Returns the AUTO_INCREMENT value for the DDL/DML statement which created this result set.
public  voidinitializeFromCachedMetaData(CachedResultSetMetaData cachedMetaData)
    
public  voidinitializeWithMetadata()
    
public  voidpopulateCachedMetaData(CachedResultSetMetaData cachedMetaData)
    
public  voidrealClose(boolean calledExplicitly)
     Closes this ResultSet and releases resources.
abstract public  booleanreallyResult()
    
public  voidredefineFieldsForDBMD(Field[] metadataFields)
     Used by DatabaseMetadata implementations to coerce the metadata returned by metadata queries into that required by the JDBC specification.
public  voidsetFirstCharOfQuery(char firstCharUpperCase)
     Sets the first character of the query that was issued to create this result set.
public  voidsetOwningStatement(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  voidsetStatementUsedForFetchingRows(PreparedStatement stmt)
    
public  voidsetWrapperStatement(java.sql.Statement wrapperStatement)
    



Method Detail
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".



copy
abstract public ResultSetInternalMethods copy() throws SQLException(Code)
Returns a new instance of this result set, that shares the underlying row data.



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.



initializeFromCachedMetaData
public void initializeFromCachedMetaData(CachedResultSetMetaData cachedMetaData)(Code)



initializeWithMetadata
public void initializeWithMetadata() throws SQLException(Code)



populateCachedMetaData
public void populateCachedMetaData(CachedResultSetMetaData cachedMetaData) throws SQLException(Code)



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.



setStatementUsedForFetchingRows
public void setStatementUsedForFetchingRows(PreparedStatement stmt)(Code)



setWrapperStatement
public void setWrapperStatement(java.sql.Statement wrapperStatement)(Code)

Parameters:
  wrapperStatement - The wrapperStatement to set.



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.