Java Doc for AmberQuery.java in  » EJB-Server-resin-3.1.5 » resin » com » caucho » amber » 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 » EJB Server resin 3.1.5 » resin » com.caucho.amber 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.caucho.amber.AmberQuery

All known Subclasses:   com.caucho.amber.query.UserQuery,
AmberQuery
public interface AmberQuery (Code)
Represents an Amber query




Method Summary
public  ResultSetexecuteQuery()
     Executes the query returning a result set.
public  intexecuteUpdate()
     Executes the query as an update, returning the rows changed.
public  StringgetQueryString()
     Returns the query string.
public  ObjectgetSingleResult()
    
public  voidinit(com.caucho.amber.manager.AmberConnection aConn)
     Initialize with the connection.
public  List<Object>list()
     Execute the query, returning a list.
public  voidlist(List<Object> list)
     Execute the query, filling a list.
public  voidlist(Map<Object, Object> map, Method methodGetMapKey)
     Execute the query, filling a map.
public  voidsetByte(int index, byte v)
    
public  voidsetCacheMaxAge(long ms)
     Sets the cache max age.
public  voidsetDate(int index, java.sql.Date v)
    
public  voidsetDouble(int index, double v)
    
public  voidsetFirstResult(int index)
     Sets the first result.
public  voidsetFloat(int index, float v)
    
public  voidsetInt(int index, int v)
    
public  voidsetLoadOnQuery(boolean isLoad)
     Sets the load on query.
public  voidsetLong(int index, long v)
    
public  voidsetMaxResults(int index)
     Sets the maximum number of results.
public  voidsetNull(int index, int type)
     Sets the argument with an null.
public  voidsetObject(int index, Object v)
     Sets the argument with an object.
public  voidsetShort(int index, short v)
    
public  voidsetString(int index, String v)
    
public  voidsetTimestamp(int index, java.sql.Timestamp v)
    



Method Detail
executeQuery
public ResultSet executeQuery() throws SQLException(Code)
Executes the query returning a result set.



executeUpdate
public int executeUpdate() throws SQLException(Code)
Executes the query as an update, returning the rows changed.



getQueryString
public String getQueryString()(Code)
Returns the query string.



getSingleResult
public Object getSingleResult() throws SQLException(Code)
Execute the query, returning a single value



init
public void init(com.caucho.amber.manager.AmberConnection aConn)(Code)
Initialize with the connection.



list
public List<Object> list() throws SQLException(Code)
Execute the query, returning a list.



list
public void list(List<Object> list) throws SQLException(Code)
Execute the query, filling a list.



list
public void list(Map<Object, Object> map, Method methodGetMapKey) throws SQLException, IllegalAccessException, InvocationTargetException(Code)
Execute the query, filling a map.



setByte
public void setByte(int index, byte v)(Code)
Sets the argument with a byte



setCacheMaxAge
public void setCacheMaxAge(long ms)(Code)
Sets the cache max age.



setDate
public void setDate(int index, java.sql.Date v)(Code)
Sets the argument with a date



setDouble
public void setDouble(int index, double v)(Code)
Sets the argument with a double



setFirstResult
public void setFirstResult(int index)(Code)
Sets the first result.



setFloat
public void setFloat(int index, float v)(Code)
Sets the argument with a double



setInt
public void setInt(int index, int v)(Code)
Sets the argument with an integer



setLoadOnQuery
public void setLoadOnQuery(boolean isLoad)(Code)
Sets the load on query.



setLong
public void setLong(int index, long v)(Code)
Sets the argument with a long



setMaxResults
public void setMaxResults(int index)(Code)
Sets the maximum number of results.



setNull
public void setNull(int index, int type)(Code)
Sets the argument with an null.



setObject
public void setObject(int index, Object v)(Code)
Sets the argument with an object.



setShort
public void setShort(int index, short v)(Code)
Sets the argument with a short



setString
public void setString(int index, String v)(Code)
Sets the argument with a string



setTimestamp
public void setTimestamp(int index, java.sql.Timestamp v)(Code)
Sets the argument with a timestamp



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