public class GroovyRowResult extends GroovyObjectSupport
Represents an extent of objects. It's used in the oneRow method to be able to access the result of a SQL query by the name of the column, or by the column number.
| Constructor and description |
|---|
GroovyRowResult
(Map result) |
| Type | Name and description |
|---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set |
entrySet() |
boolean |
equals(Object o) |
Object |
get(Object property) |
Object |
getAt(int index)Retrieve the value of the property by its index. |
Object |
getProperty(String property)Retrieve the value of the property by its name |
int |
hashCode() |
boolean |
isEmpty() |
Set |
keySet() |
Object |
put(Object key, Object value) |
void |
putAll(Map t) |
Object |
remove(Object rawKey) |
int |
size() |
String |
toString() |
Collection |
values() |
| Methods inherited from class | Name |
|---|---|
class GroovyObjectSupport |
getMetaClass, getProperty, invokeMethod, setMetaClass, setProperty |
class Object |
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Retrieve the value of the property by its index. A negative index will count backwards from the last column.
index - is the number of the column to look atRetrieve the value of the property by its name
property - is the name of the property to look atCopyright © 2003-2014 The Codehaus. All rights reserved.