|
Groovy 1.7.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgroovy.lang.GroovyObjectSupport
groovy.sql.GroovyRowResult
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 Summary | |
GroovyRowResult(Map result)
|
Method Summary | |
---|---|
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 key)
|
int
|
size()
|
String
|
toString()
|
Collection
|
values()
|
Methods inherited from class GroovyObjectSupport | |
---|---|
getMetaClass, getProperty, invokeMethod, setMetaClass, setProperty |
Methods inherited from class Object | |
---|---|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
Constructor Detail |
---|
public GroovyRowResult(Map result)
Method Detail |
---|
public void clear()
public boolean containsKey(Object key)
public boolean containsValue(Object value)
public Set entrySet()
public boolean equals(Object o)
public Object get(Object property)
public Object getAt(int index)
public Object getProperty(String property)
public int hashCode()
public boolean isEmpty()
public Set keySet()
public Object put(Object key, Object value)
public void putAll(Map t)
public Object remove(Object key)
public int size()
public String toString()
public Collection values()
Copyright © 2003-2009 The Codehaus. All rights reserved.