- cacheConnection(Closure) - Method in DataSet
-
- cacheConnection(Closure) - Method in Sql
-
Caches the connection used while the closure is active.
- cacheStatements(Closure) - Method in Sql
-
Caches every created preparedStatement in Closure closure
Every cached preparedStatement is closed after closure has been called.
- call(GString, Closure) - Method in Sql
-
Performs a stored procedure call with the given parameters,
calling the closure once with all result objects.
- callWithAllRows(String, List<Object>, 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(String, List<Object>, int, Closure) - Method in Sql
-
Base internal method for call(), callWithRows(), and callWithAllRows() style of methods.
- CHAR - Field in Sql
-
- checkForNamedParams(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(Connection, Statement) - Method in DataSet
-
- closeResources(Connection) - Method in Sql
-
An extension point allowing the behavior of resource closing to be
overridden in derived classes.
- closeResources(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(Statement) - Method in Sql
-
Provides a hook for derived classes to be able to configure JDBC statements.
- containsKey(Object) - Method in GroovyRowResult
-
Checks if the result contains (ignoring case) the given key.
- containsValue(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(String, List<Object>) - Method in Sql
-
Factory for the PreparedQueryCommand command pattern object allows subclass to supply implementations
of the command class.
- createQueryCommand(String) - Method in Sql
-
Factory for the QueryCommand command pattern object allows subclasses to
supply implementations of the command class.
- createView(Closure) - Method in DataSet
-
- each(int, int, Closure) - Method in DataSet
-
Calls the provided closure for a "page" of rows from the table represented by this DataSet.
- eachRow(Closure) - Method in GroovyResultSet
-
Call the closure once for each row in the result set.
- eachRow(Closure) - Method in GroovyResultSetExtension
-
Call the closure once for each row in the result set.
- eachRow(GString, Closure) - Method in Sql
-
Performs the given SQL query calling the given Closure with each row of the result set.
- entrySet() - Method in GroovyRowResult
-
- equals(Object) - Method in GroovyRowResult
-
- execute(GString, Closure) - Method in Sql
-
Executes the given SQL with embedded expressions inside.
- execute() - Method in Sql.AbstractQueryCommand
-
Execute the command that's defined by the subclass following
the Command pattern.
- executeBatch() - Method in BatchingStatementWrapper
-
- executeInsert(GString, List<String>) - Method in Sql
-
Executes the given SQL statement (typically an INSERT statement).
- executePreparedQuery(String, List<Object>) - Method in Sql
-
Useful helper method which handles resource management when executing a
prepared query which returns a result set.
- executeQuery(String) - Method in Sql
-
Useful helper method which handles resource management when executing a
query which returns a result set.
- executeUpdate(GString) - Method in Sql
-
Executes the given SQL update with embedded expressions inside.
- expand(Object) - Method in Sql
-
When using GString SQL queries, allows a variable to be expanded
in the Sql string rather than representing an sql parameter.
- ExpandedVariable - Interface in groovy.sql
Identifies a variable to be expanded into the
sql string rather than representing a placeholder.
- get(Object) - Method in GroovyRowResult
-
Find the property value for the given name (ignoring case).
- getAt(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
-
- getOrderBy() - Method in SqlOrderByVisitor
-
- getParameters() - Method in DataSet
-
- getParameters(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(String) - Method in GroovyResultSetExtension
-
Gets the value of the designated column in the current row
of as an Object.
- getProperty(String) - Method in GroovyRowResult
-
Retrieve the value of the property by its (case-insensitive) name.
- getProperty(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.
- getUpdateCount() - Method in Sql
-
@return Returns the updateCount.
- getUpdatedParams(List<Object>, List<Tuple>) - Method in Sql
-
- getValue() - Method in InParameter
-
The object holding the data value.
- 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(ResultSet) - Constructor in GroovyResultSetExtension
-
Creates a GroovyResultSet implementation.
- GroovyResultSetProxy - Class in groovy.sql
GroovyResultSetProxy is used to create a proxy for GroovyResultSet.
- GroovyResultSetProxy(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) - Constructor in GroovyRowResult
-