Save This Page
Home » groovy-src-1.6.3 » groovy » sql » [javadoc | source]
groovy.sql
public class: DataSet [javadoc | source]
java.lang.Object
   groovy.sql.Sql
      groovy.sql.DataSet
Represents an extent of objects
Fields inherited from groovy.sql.Sql:
log,  ARRAY,  BIGINT,  BINARY,  BIT,  BLOB,  BOOLEAN,  CHAR,  CLOB,  DATALINK,  DATE,  DECIMAL,  DISTINCT,  DOUBLE,  FLOAT,  INTEGER,  JAVA_OBJECT,  LONGVARBINARY,  LONGVARCHAR,  NULL,  NUMERIC,  OTHER,  REAL,  REF,  SMALLINT,  STRUCT,  TIME,  TIMESTAMP,  TINYINT,  VARBINARY,  VARCHAR
Constructor:
 public DataSet(Sql sql,
    Class type) 
 public DataSet(Sql sql,
    String table) 
Method from groovy.sql.DataSet Summary:
add,   cacheConnection,   closeResources,   closeResources,   commit,   createConnection,   createView,   each,   findAll,   firstRow,   getParameters,   getSql,   getSqlOrderByVisitor,   getSqlWhereVisitor,   reverse,   rollback,   rows,   sort,   withTransaction
Methods from groovy.sql.Sql:
ARRAY,   BIGINT,   BINARY,   BIT,   BLOB,   BOOLEAN,   CHAR,   CLOB,   DATALINK,   DATE,   DECIMAL,   DISTINCT,   DOUBLE,   FLOAT,   INTEGER,   JAVA_OBJECT,   LONGVARBINARY,   LONGVARCHAR,   NULL,   NUMERIC,   OTHER,   REAL,   REF,   SMALLINT,   STRUCT,   TIME,   TIMESTAMP,   TINYINT,   VARBINARY,   VARCHAR,   asSql,   cacheConnection,   cacheStatements,   call,   call,   call,   call,   call,   close,   closeResources,   closeResources,   commit,   configure,   createConnection,   dataSet,   dataSet,   eachRow,   eachRow,   eachRow,   eachRow,   execute,   execute,   execute,   executeInsert,   executeInsert,   executeInsert,   executeUpdate,   executeUpdate,   executeUpdate,   expand,   findWhereKeyword,   firstRow,   firstRow,   firstRow,   getConnection,   getDataSource,   getParameters,   getResultSetConcurrency,   getResultSetHoldability,   getResultSetType,   getUpdateCount,   in,   inout,   isCacheStatements,   loadDriver,   newInstance,   newInstance,   newInstance,   newInstance,   newInstance,   newInstance,   nullify,   out,   query,   query,   query,   resultSet,   rollback,   rows,   rows,   rows,   rows,   setCacheStatements,   setObject,   setParameters,   setResultSetConcurrency,   setResultSetHoldability,   setResultSetType,   withStatement,   withTransaction
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from groovy.sql.DataSet Detail:
 public  void add(Map map) throws SQLException 
 public  void cacheConnection(Closure closure) throws SQLException 
 protected  void closeResources(Connection connection,
    Statement statement) 
 protected  void closeResources(Connection connection,
    Statement statement,
    ResultSet results) 
 public  void commit() throws SQLException 
 protected Connection createConnection() throws SQLException 
 public DataSet createView(Closure criteria) 
 public  void each(Closure closure) throws SQLException 
 public DataSet findAll(Closure where) 
 public Object firstRow() throws SQLException 
    Returns the first row from a DataSet's underlying table
 public List getParameters() 
 public String getSql() 
 protected SqlOrderByVisitor getSqlOrderByVisitor() 
 protected SqlWhereVisitor getSqlWhereVisitor() 
 public DataSet reverse() 
 public  void rollback() throws SQLException 
 public List rows() throws SQLException 
    Returns a List of all of the rows from the table a DataSet represents
 public DataSet sort(Closure sort) 
 public  void withTransaction(Closure closure) throws SQLException