groovy.sql
Class CallResultSet

java.lang.Object
  extended by groovy.lang.GroovyObjectSupport
      extended by groovy.sql.GroovyResultSetExtension
          extended by groovy.sql.CallResultSet
All Implemented Interfaces:
GroovyObject

 class CallResultSet
extends GroovyResultSetExtension

Author:
rfuller Represents a ResultSet retrieved as a callable statement out parameter.

Field Summary
(package private)  java.sql.CallableStatement call
           
(package private)  boolean firstCall
           
(package private)  int indx
           
(package private)  java.sql.ResultSet resultSet
           
 
Constructor Summary
CallResultSet(java.sql.CallableStatement call, int indx)
           
 
Method Summary
protected static GroovyResultSet getImpl(java.sql.CallableStatement call, int idx)
           
protected  java.sql.ResultSet getResultSet()
          Gets the current result set.
 
Methods inherited from class groovy.sql.GroovyResultSetExtension
add, eachRow, getAt, getProperty, invokeMethod, next, normalizeIndex, previous, putAt, setProperty, toString
 
Methods inherited from class groovy.lang.GroovyObjectSupport
getMetaClass, setMetaClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

indx

int indx

call

java.sql.CallableStatement call

resultSet

java.sql.ResultSet resultSet

firstCall

boolean firstCall
Constructor Detail

CallResultSet

CallResultSet(java.sql.CallableStatement call,
              int indx)
Method Detail

getResultSet

protected java.sql.ResultSet getResultSet()
                                   throws java.sql.SQLException
Description copied from class: GroovyResultSetExtension
Gets the current result set.

Overrides:
getResultSet in class GroovyResultSetExtension
Returns:
the result set
Throws:
java.sql.SQLException - if the result set can not be returned

getImpl

protected static GroovyResultSet getImpl(java.sql.CallableStatement call,
                                         int idx)


Copyright © ${year} The Codehaus. All Rights Reserved.