|
Groovy 1.7.0 | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.codehaus.groovy.runtime.SqlGroovyMethods
class SqlGroovyMethods extends Object
This class defines all the new SQL-related groovy methods which enhance the normal JDK SQL classes when inside the Groovy environment. Static methods are used with the first parameter the destination class.
| Nested Class Summary | |
|---|---|
class |
SqlGroovyMethods.ResultSetMetaDataIterator
|
| Constructor Summary | |
SqlGroovyMethods()
|
|
| Method Summary | |
|---|---|
static Iterator
|
iterator(ResultSetMetaData resultSetMetaData)
Return an Iterator given a ResultSetMetaData. |
static GroovyRowResult
|
toRowResult(ResultSet rs)
Returns a GroovyRowResult given a ResultSet. |
static Timestamp
|
toTimestamp(Date d)
Return a java.sql.Timestamp given a java.util.Date. |
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
| Constructor Detail |
|---|
SqlGroovyMethods()
| Method Detail |
|---|
public static Iterator iterator(ResultSetMetaData resultSetMetaData)
public static GroovyRowResult toRowResult(ResultSet rs)
public static Timestamp toTimestamp(Date d)
Copyright © 2003-2009 The Codehaus. All rights reserved.