|
Groovy 1.7.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
groovy.lang.GroovyObjectgroovy.sql.GroovyResultSet
interface GroovyResultSet extends GroovyObject
Represents an extent of objects
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 |
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 |
Methods inherited from interface GroovyObject | |
---|---|
getMetaClass, getProperty, invokeMethod, setMetaClass, setProperty |
Method Detail |
---|
public void add(Map values)
public void eachRow(Closure closure)
public Object getAt(int index)
public Object getAt(String columnName)
Object
.
public void putAt(int index, Object newValue)
public void putAt(String columnName, Object newValue)
Object
value.
Copyright © 2003-2009 The Codehaus. All rights reserved.