public final class TeiidSql
extends groovy.sql.Sql
TeiidStatement specific properties.ALL_RESULT_SETS, ARRAY, BIGINT, BINARY, BIT, BLOB, BOOLEAN, CHAR, CLOB, DATALINK, DATE, DECIMAL, DISTINCT, DOUBLE, FIRST_RESULT_SET, FLOAT, INTEGER, JAVA_OBJECT, LOG, LONGVARBINARY, LONGVARCHAR, NO_RESULT_SETS, NULL, NUMERIC, OTHER, REAL, REF, SMALLINT, STRUCT, TIME, TIMESTAMP, TINYINT, VARBINARY, VARCHAR| Constructor and Description |
|---|
TeiidSql(Connection connection) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
closeResources(Connection connection,
Statement statement) |
protected void |
closeResources(Connection connection,
Statement statement,
ResultSet results) |
protected void |
configure(Statement statement) |
void |
eachRow(String sql,
groovy.lang.Closure metaClosure,
groovy.lang.Closure rowClosure)
Overridden to fix passing the resultset to the closure
|
Collection<Annotation> |
getAnnotations() |
String |
getDebugLog() |
int |
getMaxRows() |
PlanNode |
getPlan() |
protected void |
getPlanInfo(Statement s) |
SQLWarning |
getSQLWarnings() |
void |
setMaxRows(int maxRows) |
ARRAY, asList, asList, asList, asSql, BIGINT, BINARY, BIT, BLOB, BOOLEAN, buildSqlWithIndexedProps, cacheConnection, cacheStatements, call, call, call, call, call, call, callWithAllRows, callWithAllRows, callWithRows, callWithRows, callWithRows, CHAR, checkForNamedParams, CLOB, close, closeResources, commit, createConnection, createPreparedQueryCommand, createQueryCommand, DATALINK, dataSet, dataSet, DATE, DECIMAL, DISTINCT, DOUBLE, eachRow, eachRow, eachRow, eachRow, eachRow, eachRow, eachRow, eachRow, eachRow, eachRow, eachRow, eachRow, eachRow, eachRow, eachRow, eachRow, eachRow, eachRow, eachRow, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, executeInsert, executeInsert, executeInsert, executeInsert, executeInsert, executeInsert, executeInsert, executeInsert, executeInsert, executeInsert, executePreparedQuery, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, executeUpdate, expand, findWhereKeyword, firstRow, firstRow, firstRow, firstRow, firstRow, FLOAT, getConnection, getDataSource, getParameters, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getUpdatedParams, in, inout, INTEGER, isCacheNamedQueries, isCacheStatements, isEnableNamedQueries, isWithinBatch, JAVA_OBJECT, loadDriver, LONGVARBINARY, LONGVARCHAR, newInstance, newInstance, newInstance, newInstance, newInstance, newInstance, newInstance, NULL, nullify, NUMERIC, OTHER, out, preCheckForNamedParams, query, query, query, query, query, REAL, REF, resultSet, rollback, rows, rows, rows, rows, rows, rows, rows, rows, rows, rows, rows, rows, rows, rows, 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, withBatch, withBatch, withInstance, withInstance, withInstance, withInstance, withInstance, withInstance, withInstance, withStatement, withTransactionpublic TeiidSql(Connection connection)
protected void configure(Statement statement)
configure in class groovy.sql.Sqlpublic void eachRow(String sql, groovy.lang.Closure metaClosure, groovy.lang.Closure rowClosure) throws SQLException
eachRow in class groovy.sql.SqlSQLExceptionprotected void closeResources(Connection connection, Statement statement)
closeResources in class groovy.sql.Sqlprotected void closeResources(Connection connection, Statement statement, ResultSet results)
closeResources in class groovy.sql.Sqlprotected void getPlanInfo(Statement s)
public SQLWarning getSQLWarnings()
public int getMaxRows()
public void setMaxRows(int maxRows)
public PlanNode getPlan()
public Collection<Annotation> getAnnotations()
public String getDebugLog()
Copyright © 2016 JBoss by Red Hat. All rights reserved.