public class SqlServerResultIterator extends ResultIterator
SqlServerEngine engine.| Constructor and Description |
|---|
SqlServerResultIterator(PreparedStatement statement)
Creates a new instance of
SqlServerResultIterator. |
SqlServerResultIterator(Statement statement,
String sql)
Creates a new instance of
SqlServerResultIterator. |
| Modifier and Type | Method and Description |
|---|---|
ResultColumn |
createResultColumn(String name,
Object value)
Creates a
ResultColumn for the given engine in place. |
protected QueryExceptionHandler |
getQueryExceptionHandler()
Gets the instance of
QueryExceptionHandler to be used in disambiguating SQL exceptions. |
cancel, close, getColumnNames, getCurrentRowCount, isClosed, needsWrapInTransaction, next, nextResultpublic SqlServerResultIterator(Statement statement, String sql) throws DatabaseEngineException
SqlServerResultIterator.statement - The statement.sql - The sql statement.DatabaseEngineException - If a database access error occurs.public SqlServerResultIterator(PreparedStatement statement) throws DatabaseEngineException
SqlServerResultIterator.statement - The prepared statement.DatabaseEngineException - If a database access error occurs.public ResultColumn createResultColumn(String name, Object value)
ResultIteratorResultColumn for the given engine in place.createResultColumn in class ResultIteratorname - The name of the column.value - The value on the column.protected QueryExceptionHandler getQueryExceptionHandler()
ResultIteratorQueryExceptionHandler to be used in disambiguating SQL exceptions.getQueryExceptionHandler in class ResultIteratorQueryExceptionHandler.Copyright © 2023 Feedzai. All rights reserved.