Java Doc for DataSet.java in  » Scripting » groovy-1.0 » groovy » sql » 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 » Scripting » groovy 1.0 » groovy.sql 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   groovy.sql.Sql
      groovy.sql.DataSet

DataSet
public class DataSet extends Sql (Code)
Represents an extent of objects
author:
   Chris Stevenson
author:
   James Strachan
version:
   $Revision: 1197 $



Constructor Summary
public  DataSet(Sql sql, Class type)
    
public  DataSet(Sql sql, String table)
    
public  DataSet(DataSet parent, Closure where)
    

Method Summary
public  voidadd(Map values)
    
public  DataSetcreateView(Closure criteria)
    
public  voideach(Closure closure)
    
public  DataSetfindAll(Closure where)
    
public  ListgetParameters()
    
public  StringgetSql()
    
protected  SqlWhereVisitorgetSqlVisitor()
    


Constructor Detail
DataSet
public DataSet(Sql sql, Class type)(Code)



DataSet
public DataSet(Sql sql, String table)(Code)



DataSet
public DataSet(DataSet parent, Closure where)(Code)




Method Detail
add
public void add(Map values) throws SQLException(Code)



createView
public DataSet createView(Closure criteria)(Code)



each
public void each(Closure closure) throws SQLException(Code)



findAll
public DataSet findAll(Closure where)(Code)



getParameters
public List getParameters()(Code)



getSql
public String getSql()(Code)



getSqlVisitor
protected SqlWhereVisitor getSqlVisitor()(Code)



Fields inherited from groovy.sql.Sql
final public static OutParameter ARRAY(Code)(Java Doc)
final public static OutParameter BIGINT(Code)(Java Doc)
final public static OutParameter BINARY(Code)(Java Doc)
final public static OutParameter BIT(Code)(Java Doc)
final public static OutParameter BLOB(Code)(Java Doc)
final public static OutParameter BOOLEAN(Code)(Java Doc)
final public static OutParameter CHAR(Code)(Java Doc)
final public static OutParameter CLOB(Code)(Java Doc)
final public static OutParameter DATALINK(Code)(Java Doc)
final public static OutParameter DATE(Code)(Java Doc)
final public static OutParameter DECIMAL(Code)(Java Doc)
final public static OutParameter DISTINCT(Code)(Java Doc)
final public static OutParameter DOUBLE(Code)(Java Doc)
final public static OutParameter FLOAT(Code)(Java Doc)
final public static OutParameter INTEGER(Code)(Java Doc)
final public static OutParameter JAVA_OBJECT(Code)(Java Doc)
final public static OutParameter LONGVARBINARY(Code)(Java Doc)
final public static OutParameter LONGVARCHAR(Code)(Java Doc)
final public static OutParameter NULL(Code)(Java Doc)
final public static OutParameter NUMERIC(Code)(Java Doc)
final public static OutParameter OTHER(Code)(Java Doc)
final public static OutParameter REAL(Code)(Java Doc)
final public static OutParameter REF(Code)(Java Doc)
final public static OutParameter SMALLINT(Code)(Java Doc)
final public static OutParameter STRUCT(Code)(Java Doc)
final public static OutParameter TIME(Code)(Java Doc)
final public static OutParameter TIMESTAMP(Code)(Java Doc)
final public static OutParameter TINYINT(Code)(Java Doc)
final public static OutParameter VARBINARY(Code)(Java Doc)
final public static OutParameter VARCHAR(Code)(Java Doc)
protected Logger log(Code)(Java Doc)
int updateCount(Code)(Java Doc)

Methods inherited from groovy.sql.Sql
public static InParameter ARRAY(Object value)(Code)(Java Doc)
public static InParameter BIGINT(Object value)(Code)(Java Doc)
public static InParameter BINARY(Object value)(Code)(Java Doc)
public static InParameter BIT(Object value)(Code)(Java Doc)
public static InParameter BLOB(Object value)(Code)(Java Doc)
public static InParameter BOOLEAN(Object value)(Code)(Java Doc)
public static InParameter CHAR(Object value)(Code)(Java Doc)
public static InParameter CLOB(Object value)(Code)(Java Doc)
public static InParameter DATALINK(Object value)(Code)(Java Doc)
public static InParameter DATE(Object value)(Code)(Java Doc)
public static InParameter DECIMAL(Object value)(Code)(Java Doc)
public static InParameter DISTINCT(Object value)(Code)(Java Doc)
public static InParameter DOUBLE(Object value)(Code)(Java Doc)
public static InParameter FLOAT(Object value)(Code)(Java Doc)
public static InParameter INTEGER(Object value)(Code)(Java Doc)
public static InParameter JAVA_OBJECT(Object value)(Code)(Java Doc)
public static InParameter LONGVARBINARY(Object value)(Code)(Java Doc)
public static InParameter LONGVARCHAR(Object value)(Code)(Java Doc)
public static InParameter NULL(Object value)(Code)(Java Doc)
public static InParameter NUMERIC(Object value)(Code)(Java Doc)
public static InParameter OTHER(Object value)(Code)(Java Doc)
public static InParameter REAL(Object value)(Code)(Java Doc)
public static InParameter REF(Object value)(Code)(Java Doc)
public static InParameter SMALLINT(Object value)(Code)(Java Doc)
public static InParameter STRUCT(Object value)(Code)(Java Doc)
public static InParameter TIME(Object value)(Code)(Java Doc)
public static InParameter TIMESTAMP(Object value)(Code)(Java Doc)
public static InParameter TINYINT(Object value)(Code)(Java Doc)
public static InParameter VARBINARY(Object value)(Code)(Java Doc)
public static InParameter VARCHAR(Object value)(Code)(Java Doc)
protected String asSql(GString gstring, List values)(Code)(Java Doc)
public int call(String sql) throws Exception(Code)(Java Doc)
public int call(String sql, List params) throws Exception(Code)(Java Doc)
public void call(String sql, List params, Closure closure) throws Exception(Code)(Java Doc)
public int call(GString gstring) throws Exception(Code)(Java Doc)
public void call(GString gstring, Closure closure) throws Exception(Code)(Java Doc)
public void close() throws SQLException(Code)(Java Doc)
protected void closeResources(Connection connection, Statement statement, ResultSet results)(Code)(Java Doc)
protected void closeResources(Connection connection, Statement statement)(Code)(Java Doc)
public void commit()(Code)(Java Doc)
protected void configure(Statement statement)(Code)(Java Doc)
protected Connection createConnection() throws SQLException(Code)(Java Doc)
public DataSet dataSet(String table)(Code)(Java Doc)
public DataSet dataSet(Class type)(Code)(Java Doc)
public void eachRow(String sql, Closure closure) throws SQLException(Code)(Java Doc)
public void eachRow(String sql, List params, Closure closure) throws SQLException(Code)(Java Doc)
public void eachRow(GString gstring, Closure closure) throws SQLException(Code)(Java Doc)
public boolean execute(String sql) throws SQLException(Code)(Java Doc)
public boolean execute(String sql, List params) throws SQLException(Code)(Java Doc)
public boolean execute(GString gstring) throws SQLException(Code)(Java Doc)
public List executeInsert(String sql) throws SQLException(Code)(Java Doc)
public List executeInsert(String sql, List params) throws SQLException(Code)(Java Doc)
public List executeInsert(GString gstring) throws SQLException(Code)(Java Doc)
public int executeUpdate(String sql) throws SQLException(Code)(Java Doc)
public int executeUpdate(String sql, List params) throws SQLException(Code)(Java Doc)
public int executeUpdate(GString gstring) throws SQLException(Code)(Java Doc)
public static ExpandedVariable expand(Object object)(Code)(Java Doc)
protected int findWhereKeyword(String sql)(Code)(Java Doc)
public Object firstRow(String sql) throws SQLException(Code)(Java Doc)
public Object firstRow(String sql, List params) throws SQLException(Code)(Java Doc)
public Connection getConnection()(Code)(Java Doc)
public DataSource getDataSource()(Code)(Java Doc)
protected List getParameters(GString gstring)(Code)(Java Doc)
public int getUpdateCount()(Code)(Java Doc)
public static InParameter in(int type, Object value)(Code)(Java Doc)
public static InOutParameter inout(InParameter in)(Code)(Java Doc)
public static void loadDriver(String driverClassName) throws ClassNotFoundException(Code)(Java Doc)
public static Sql newInstance(String url) throws SQLException(Code)(Java Doc)
public static Sql newInstance(String url, Properties properties) throws SQLException(Code)(Java Doc)
public static Sql newInstance(String url, Properties properties, String driverClassName) throws SQLException, ClassNotFoundException(Code)(Java Doc)
public static Sql newInstance(String url, String user, String password) throws SQLException(Code)(Java Doc)
public static Sql newInstance(String url, String user, String password, String driverClassName) throws SQLException, ClassNotFoundException(Code)(Java Doc)
public static Sql newInstance(String url, String driverClassName) throws SQLException, ClassNotFoundException(Code)(Java Doc)
protected String nullify(String sql)(Code)(Java Doc)
public static OutParameter out(int type)(Code)(Java Doc)
public void query(String sql, Closure closure) throws SQLException(Code)(Java Doc)
public void query(String sql, List params, Closure closure) throws SQLException(Code)(Java Doc)
public void query(GString gstring, Closure closure) throws SQLException(Code)(Java Doc)
public void queryEach(String sql, Closure closure) throws SQLException(Code)(Java Doc)
public void queryEach(String sql, List params, Closure closure) throws SQLException(Code)(Java Doc)
public void queryEach(GString gstring, Closure closure) throws SQLException(Code)(Java Doc)
public static ResultSetOutParameter resultSet(int type)(Code)(Java Doc)
public void rollback()(Code)(Java Doc)
public List rows(String sql) throws SQLException(Code)(Java Doc)
public List rows(String sql, List params) throws SQLException(Code)(Java Doc)
protected void setObject(PreparedStatement statement, int i, Object value) throws SQLException(Code)(Java Doc)
protected void setParameters(List params, PreparedStatement statement) throws SQLException(Code)(Java Doc)
public void withStatement(Closure configureStatement)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

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