Java Doc for ResultGetter.java in  » Database-ORM » iBATIS » com » ibatis » sqlmap » client » extensions » 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 ORM » iBATIS » com.ibatis.sqlmap.client.extensions 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.ibatis.sqlmap.client.extensions.ResultGetter

All known Subclasses:   com.ibatis.sqlmap.engine.type.ResultGetterImpl,
ResultGetter
public interface ResultGetter (Code)
Allows values to be retrieved from the underlying result set. TypeHandlerCallback implementations use this interface to get values that they can subsequently manipulate before having them returned. Each of these methods has a corresponding method on the ResultSet (or CallableStatement) class, the only difference being that there is no need to specify the column name or index with these methods.

NOTE: There is no need to implement this. The implementation will be passed into the TypeHandlerCallback automatically.





Method Summary
public  ArraygetArray()
    
public  BigDecimalgetBigDecimal()
    
public  BlobgetBlob()
    
public  booleangetBoolean()
    
public  bytegetByte()
    
public  byte[]getBytes()
    
public  ClobgetClob()
    
public  intgetColumnIndex()
     Returns the index of the column being got in the underlying ResultSet.
public  StringgetColumnName()
     Returns the name of the column being got in the underlying ResultSet.
public  DategetDate()
    
public  DategetDate(Calendar cal)
    
public  doublegetDouble()
    
public  floatgetFloat()
    
public  intgetInt()
    
public  longgetLong()
    
public  ObjectgetObject()
    
public  ObjectgetObject(Map map)
    
public  RefgetRef()
    
public  ResultSetgetResultSet()
    
public  shortgetShort()
    
public  StringgetString()
    
public  TimegetTime()
    
public  TimegetTime(Calendar cal)
    
public  TimestampgetTimestamp()
    
public  TimestampgetTimestamp(Calendar cal)
    
public  URLgetURL()
    
public  booleanwasNull()
    



Method Detail
getArray
public Array getArray() throws SQLException(Code)
Gets an array from the underlying result set - the array
throws:
  SQLException - - if the underlying result set throws an exception



getBigDecimal
public BigDecimal getBigDecimal() throws SQLException(Code)
Gets a BigDecimal from the underlying result set - the BigDecimal
throws:
  SQLException - - if the underlying result set throws an exception



getBlob
public Blob getBlob() throws SQLException(Code)
Gets a Blob from the underlying result set - the Blob
throws:
  SQLException - - if the underlying result set throws an exception



getBoolean
public boolean getBoolean() throws SQLException(Code)
Gets a boolean from the underlying result set - the boolean
throws:
  SQLException - - if the underlying result set throws an exception



getByte
public byte getByte() throws SQLException(Code)
Gets a byte from the underlying result set - the byte
throws:
  SQLException - - if the underlying result set throws an exception



getBytes
public byte[] getBytes() throws SQLException(Code)
Gets a byte[] from the underlying result set - the byte[]
throws:
  SQLException - - if the underlying result set throws an exception



getClob
public Clob getClob() throws SQLException(Code)
Gets a Clob from the underlying result set - the Clob
throws:
  SQLException - - if the underlying result set throws an exception



getColumnIndex
public int getColumnIndex()(Code)
Returns the index of the column being got in the underlying ResultSet. Only use this method if the value returned from getColumnName is null. the index of the column (if zero then use the column name)



getColumnName
public String getColumnName()(Code)
Returns the name of the column being got in the underlying ResultSet. May be null in which case the getColumnIndex method should be used. the column name (may be null)



getDate
public Date getDate() throws SQLException(Code)
Gets a Date from the underlying result set - the Date
throws:
  SQLException - - if the underlying result set throws an exception



getDate
public Date getDate(Calendar cal) throws SQLException(Code)
Gets a Date from the underlying result set using a calendar
Parameters:
  cal - - the Calendar - the Date
throws:
  SQLException - - if the underlying result set throws an exception



getDouble
public double getDouble() throws SQLException(Code)
Gets a double from the underlying result set - the double
throws:
  SQLException - - if the underlying result set throws an exception



getFloat
public float getFloat() throws SQLException(Code)
Gets a float from the underlying result set - the float
throws:
  SQLException - - if the underlying result set throws an exception



getInt
public int getInt() throws SQLException(Code)
Gets an int from the underlying result set - the int
throws:
  SQLException - - if the underlying result set throws an exception



getLong
public long getLong() throws SQLException(Code)
Gets a long from the underlying result set - the long
throws:
  SQLException - - if the underlying result set throws an exception



getObject
public Object getObject() throws SQLException(Code)
Gets an Object from the underlying result set - the Object
throws:
  SQLException - - if the underlying result set throws an exception



getObject
public Object getObject(Map map) throws SQLException(Code)
Gets an Object from the underlying result set using a Map
Parameters:
  map - - the Map - the Object
throws:
  SQLException - - if the underlying result set throws an exception



getRef
public Ref getRef() throws SQLException(Code)
Gets a Ref from the underlying result set - the Ref
throws:
  SQLException - - if the underlying result set throws an exception



getResultSet
public ResultSet getResultSet()(Code)
Returns the underlying ResultSet...be careful! a ResultSet instance.



getShort
public short getShort() throws SQLException(Code)
Gets a short from the underlying result set - the short
throws:
  SQLException - - if the underlying result set throws an exception



getString
public String getString() throws SQLException(Code)
Gets a String from the underlying result set - the String
throws:
  SQLException - - if the underlying result set throws an exception



getTime
public Time getTime() throws SQLException(Code)
Gets a Time from the underlying result set - the Time
throws:
  SQLException - - if the underlying result set throws an exception



getTime
public Time getTime(Calendar cal) throws SQLException(Code)
Gets a Time from the underlying result set using a Calendar
Parameters:
  cal - - the Calendar - the Time
throws:
  SQLException - - if the underlying result set throws an exception



getTimestamp
public Timestamp getTimestamp() throws SQLException(Code)
Gets a Timestamp from the underlying result set - the Timestamp
throws:
  SQLException - - if the underlying result set throws an exception



getTimestamp
public Timestamp getTimestamp(Calendar cal) throws SQLException(Code)
Gets a Timestamp from the underlying result set
Parameters:
  cal - - the Calendar - the Timestamp
throws:
  SQLException - - if the underlying result set throws an exception



getURL
public URL getURL() throws SQLException(Code)
Gets a URL from the underlying result set - the URL
throws:
  SQLException - - if the underlying result set throws an exception



wasNull
public boolean wasNull() throws SQLException(Code)
Tells if the field was null - true if it was null
throws:
  SQLException - - if the underlying result set throws an exception



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