- cacheConnection(groovy.lang.Closure) - Method in DataSet
-
- cacheConnection(groovy.lang.Closure) - Method in Sql
-
Caches the connection used while the closure is active.
- cacheStatements(groovy.lang.Closure) - Method in Sql
-
Caches every created preparedStatement in Closure closure
Every cached preparedStatement is closed after closure has been called.
- call(groovy.lang.GString, groovy.lang.Closure) - Method in Sql
-
Performs a stored procedure call with the given parameters,
calling the closure once with all result objects.
- callWithAllRows(java.lang.String, List<Object>, groovy.lang.Closure) - Method in Sql
-
Performs a stored procedure call with the given parameters,
calling the closure once with all result objects,
and also returning a list of lists with the rows of the ResultSet(s).
- callWithRows(java.lang.String, List<Object>, int, groovy.lang.Closure) - Method in Sql
-
Base internal method for call(), callWithRows(), and callWithAllRows() style of methods.
- CHAR - Field in Sql
-
- checkForNamedParams(java.lang.String, List<Object>) - Method in Sql
-
- clear() - Method in GroovyRowResult
-
- clearBatch() - Method in BatchingStatementWrapper
-
- CLOB - Field in Sql
-
- close() - Method in BatchingStatementWrapper
-
- close() - Method in DataSet
-
- close() - Method in Sql
-
If this SQL object was created with a Connection then this method closes
the connection.
- closeResources(java.sql.Connection, java.sql.Statement) - Method in DataSet
-
- closeResources(java.sql.Connection) - Method in Sql
-
An extension point allowing the behavior of resource closing to be
overridden in derived classes.
- closeResources(java.sql.ResultSet) - Method in Sql.AbstractQueryCommand
-
After performing the execute operation and making use of its return, it's necessary
to free the resources allocated for the statement.
- commit() - Method in DataSet
-
- commit() - Method in Sql
-
If this SQL object was created with a Connection then this method commits
the connection.
- configure(java.sql.Statement) - Method in Sql
-
Provides a hook for derived classes to be able to configure JDBC statements.
- containsKey(java.lang.Object) - Method in GroovyRowResult
-
Checks if the result contains (ignoring case) the given key.
- containsValue(java.lang.Object) - Method in GroovyRowResult
-
- createConnection() - Method in DataSet
-
- createConnection() - Method in Sql
-
An extension point allowing derived classes to change the behavior of
connection creation.
- createPreparedQueryCommand(java.lang.String, List<Object>) - Method in Sql
-
Factory for the PreparedQueryCommand command pattern object allows subclass to supply implementations
of the command class.
- createQueryCommand(java.lang.String) - Method in Sql
-
Factory for the QueryCommand command pattern object allows subclasses to
supply implementations of the command class.
- createView(groovy.lang.Closure) - Method in DataSet
-
- get(java.lang.Object) - Method in GroovyRowResult
-
Find the property value for the given name (ignoring case).
- getAt(java.lang.String) - Method in GroovyResultSet
-
Gets the value of the designated column in the current row
as an Object.
- getAt(int) - Method in GroovyResultSetExtension
-
Supports integer based subscript operators for accessing at numbered columns
starting at zero.
- getAt(int) - Method in GroovyRowResult
-
Retrieve the value of the property by its index.
- getConnection() - Method in Sql
-
If this instance was created with a single Connection then the connection
is returned.
- getDataSource() - Method in Sql
-
- getImpl() - Method in GroovyResultSetProxy
-
Gets a proxy instance that can be used as GroovyResultSet.
- getMaxRows() - Method in Sql.AbstractQueryCommand
-
Get the maximum number of rows to return in the ResultSet
- getObject() - Method in ExpandedVariable
-
- getObject() - Method in Sql
-
- getOrderBy() - Method in SqlOrderByVisitor
-
- getParameters() - Method in DataSet
-
- getParameters(groovy.lang.GString) - Method in Sql
-
Hook to allow derived classes to override behavior associated with
extracting params from a GString.
- getParameters() - Method in SqlWhereVisitor
-
- getParams() - Method in SqlWithParams
-
- getProperty(java.lang.String) - Method in GroovyResultSetExtension
-
Gets the value of the designated column in the current row
of as an Object.
- getProperty(java.lang.String) - Method in GroovyRowResult
-
Retrieve the value of the property by its (case-insensitive) name.
- getProperty(java.lang.String) - Method in ResultSetMetaDataWrapper
-
- getResultSet() - Method in GroovyResultSetExtension
-
Gets the current result set.
- getResultSetConcurrency() - Method in Sql
-
Gets the resultSetConcurrency for statements created using the connection.
- getResultSetHoldability() - Method in Sql
-
Gets the resultSetHoldability for statements created using the connection.
- getResultSetType() - Method in Sql
-
Gets the resultSetType for statements created using the connection.
- getSql() - Method in DataSet
-
- getSql() - Method in SqlWithParams
-
- getSqlOrderByVisitor() - Method in DataSet
-
- getSqlWhereVisitor() - Method in DataSet
-
- getType() - Method in InParameter
-
The JDBC data type.
- getType() - Method in OutParameter
-
Get the JDBC datatype for this parameter.
- getType() - Method in Sql
-
- getUpdateCount() - Method in Sql
-
- Returns:
- Returns the updateCount.
- getUpdatedParams(List<Object>, List<Tuple>) - Method in Sql
-
- getValue() - Method in InParameter
-
The object holding the data value.
- getValue() - Method in Sql
-
- getWhere() - Method in SqlWhereVisitor
-
- GroovyResultSet - Interface in groovy.sql
Represents an extent of objects
- GroovyResultSetExtension - Class in groovy.sql
GroovyResultSetExtension implements additional logic for ResultSet.
- GroovyResultSetExtension(java.sql.ResultSet) - Constructor in GroovyResultSetExtension
-
Creates a GroovyResultSet implementation.
- GroovyResultSetProxy - Class in groovy.sql
GroovyResultSetProxy is used to create a proxy for GroovyResultSet.
- GroovyResultSetProxy(groovy.sql.GroovyResultSetExtension) - Constructor in GroovyResultSetProxy
-
Creates a new proxy instance with a custom extension.
- GroovyRowResult - Class in groovy.sql
Represents an extent of objects.
- GroovyRowResult(Map<String,Object>) - Constructor in GroovyRowResult
-