- 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.
- callWithRows(String, List, boolean, Closure) - Method in Sql
-
Base internal method for both call() and callWithRows() style of methods.
- CHAR - Field in Sql
-
- checkForNamedParams(String, List) - 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
-
- 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) - 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) - 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.
- execute(Connection, String) - Method in Sql.AbstractStatementCommand
-
Execute the command that's defined by the subclass following
the Command pattern.
- execute(Connection, String) - Method in Sql.CreatePreparedStatementCommand
-
- execute(Connection, String) - Method in Sql.CreateStatementCommand
-
- executeBatch() - Method in BatchingStatementWrapper
-
- executeInsert(GString) - Method in Sql
-
Executes the given SQL statement (typically an INSERT statement).
- executePreparedQuery(String, List) - 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
-
- 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(CallableStatement, int) - Method in CallResultSet
-
- getImpl() - Method in GroovyResultSetProxy
-
Gets a proxy instance that can be used as GroovyResultSet.
- 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 name
- getProperty(String) - Method in ResultSetMetaDataWrapper
-
- getResultSet() - Method in CallResultSet
-
- 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, List) - 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
-