| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface GroovyResultSet
Represents an extent of objects
| Field Summary | 
|---|
| Fields inherited from interface java.sql.ResultSet | 
|---|
CLOSE_CURSORS_AT_COMMIT, CONCUR_READ_ONLY, CONCUR_UPDATABLE, FETCH_FORWARD, FETCH_REVERSE, FETCH_UNKNOWN, HOLD_CURSORS_OVER_COMMIT, TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVE | 
| Method Summary | |
|---|---|
 void | 
add(Map values)
Adds a new row to this result set  | 
 void | 
eachRow(Closure closure)
Call the closure once for each row in the result set.  | 
 Object | 
getAt(int index)
Supports integer-based subscript operators for accessing at numbered columns starting at zero.  | 
 Object | 
getAt(String columnName)
Gets the value of the designated column in the current row as an Object. | 
 void | 
putAt(int index,
      Object newValue)
Supports integer based subscript operators for updating the values of numbered columns starting at zero.  | 
 void | 
putAt(String columnName,
      Object newValue)
Updates the designated column with an Object value. | 
| Methods inherited from interface groovy.lang.GroovyObject | 
|---|
getMetaClass, getProperty, invokeMethod, setMetaClass, setProperty | 
| Methods inherited from interface java.sql.Wrapper | 
|---|
isWrapperFor, unwrap | 
| Method Detail | 
|---|
Object getAt(int index)
             throws SQLException
index - is the number of the column to look at starting at 1
SQLException - if a database error occursObject getAt(String columnName)
Object.
columnName - the SQL name of the column
MissingPropertyException - if an SQLException happens while getting the object
void putAt(int index,
           Object newValue)
           throws SQLException
index - is the number of the column to look at starting at 1newValue - the new value for this index
SQLException - if a database error occurs
void putAt(String columnName,
           Object newValue)
Object value.
columnName - the SQL name of the columnnewValue - the updated value
MissingPropertyException - if an SQLException happens while setting the new value
void add(Map values)
         throws SQLException
values - the new values to add
SQLException - if a database error occurs
void eachRow(Closure closure)
             throws SQLException
closure - the closure to call for each row
SQLException - if a database error occurs
  | 
Copyright © 2003-2012 The Codehaus. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||