|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgroovy.sql.Sql
groovy.sql.TeiidSql
public final class TeiidSql
An extension of Groovy's Sql to support getting TeiidStatement
specific properties.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class groovy.sql.Sql |
---|
groovy.sql.Sql.AbstractQueryCommand, groovy.sql.Sql.PreparedQueryCommand, groovy.sql.Sql.QueryCommand |
Field Summary |
---|
Fields inherited from class groovy.sql.Sql |
---|
ARRAY, BIGINT, BINARY, BIT, BLOB, BOOLEAN, CHAR, CLOB, DATALINK, DATE, DECIMAL, DISTINCT, DOUBLE, FLOAT, INTEGER, JAVA_OBJECT, LOG, LONGVARBINARY, LONGVARCHAR, NULL, NUMERIC, OTHER, REAL, REF, SMALLINT, STRUCT, TIME, TIMESTAMP, TINYINT, VARBINARY, VARCHAR |
Constructor Summary | |
---|---|
TeiidSql(java.sql.Connection connection)
|
Method Summary | |
---|---|
protected void |
closeResources(java.sql.Connection connection,
java.sql.Statement statement)
|
protected void |
closeResources(java.sql.Connection connection,
java.sql.Statement statement,
java.sql.ResultSet results)
|
protected void |
configure(java.sql.Statement statement)
|
void |
eachRow(java.lang.String sql,
groovy.lang.Closure metaClosure,
groovy.lang.Closure rowClosure)
Overridden to fix passing the resultset to the closure |
java.util.Collection<Annotation> |
getAnnotations()
|
java.lang.String |
getDebugLog()
|
int |
getMaxRows()
|
PlanNode |
getPlan()
|
protected void |
getPlanInfo(java.sql.Statement s)
|
java.sql.SQLWarning |
getSQLWarnings()
|
void |
setMaxRows(int maxRows)
|
Methods inherited from class groovy.sql.Sql |
---|
ARRAY, asList, asList, asSql, BIGINT, BINARY, BIT, BLOB, BOOLEAN, cacheConnection, cacheStatements, call, call, call, call, call, call, CHAR, checkForNamedParams, CLOB, close, closeResources, commit, createConnection, createPreparedQueryCommand, createQueryCommand, DATALINK, dataSet, dataSet, DATE, DECIMAL, DISTINCT, DOUBLE, eachRow, eachRow, eachRow, eachRow, eachRow, execute, execute, execute, execute, executeInsert, executeInsert, executeInsert, executeInsert, executePreparedQuery, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, expand, findWhereKeyword, firstRow, firstRow, firstRow, firstRow, FLOAT, getConnection, getDataSource, getParameters, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, in, inout, INTEGER, isCacheNamedQueries, isCacheStatements, isEnableNamedQueries, isWithinBatch, JAVA_OBJECT, loadDriver, LONGVARBINARY, LONGVARCHAR, newInstance, newInstance, newInstance, newInstance, newInstance, newInstance, newInstance, NULL, nullify, NUMERIC, OTHER, out, query, query, query, REAL, REF, resultSet, rollback, rows, rows, rows, rows, rows, rows, rows, setCacheNamedQueries, setCacheStatements, setEnableNamedQueries, setInternalConnection, setObject, setParameters, setResultSetConcurrency, setResultSetHoldability, setResultSetType, SMALLINT, STRUCT, TIME, TIMESTAMP, TINYINT, VARBINARY, VARCHAR, withBatch, withBatch, withStatement, withTransaction |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TeiidSql(java.sql.Connection connection)
Method Detail |
---|
protected void configure(java.sql.Statement statement)
configure
in class groovy.sql.Sql
public void eachRow(java.lang.String sql, groovy.lang.Closure metaClosure, groovy.lang.Closure rowClosure) throws java.sql.SQLException
eachRow
in class groovy.sql.Sql
java.sql.SQLException
protected void closeResources(java.sql.Connection connection, java.sql.Statement statement)
closeResources
in class groovy.sql.Sql
protected void closeResources(java.sql.Connection connection, java.sql.Statement statement, java.sql.ResultSet results)
closeResources
in class groovy.sql.Sql
protected void getPlanInfo(java.sql.Statement s)
public java.sql.SQLWarning getSQLWarnings()
public int getMaxRows()
public void setMaxRows(int maxRows)
public PlanNode getPlan()
public java.util.Collection<Annotation> getAnnotations()
public java.lang.String getDebugLog()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |