public interface DbConnection
extends org.mule.runtime.extension.api.connectivity.TransactionalConnection
Connection adding connector's specific functionality| Modifier and Type | Method and Description |
|---|---|
void |
beginStreaming()
Starts streaming.
|
void |
endStreaming()
Marks that the streaming is over
|
List<DbType> |
getCustomDataTypes() |
Connection |
getJdbcConnection() |
StatementResultIteratorFactory |
getStatementResultIteratorFactory(ResultSetHandler resultSetHandler)
Returns the
StatementResultIteratorFactory used to create the StatementResultIterator for this connection. |
List<DbType> |
getVendorDataTypes() |
boolean |
isStreaming() |
void |
release()
Closes the underlying JDBC connection, provided that
isStreaming() is false |
StatementResultIteratorFactory getStatementResultIteratorFactory(ResultSetHandler resultSetHandler)
StatementResultIteratorFactory used to create the StatementResultIterator for this connection.resultSetHandler - used to process resultSets created from this connectionStatementResultIterator for this connection.List<DbType> getVendorDataTypes()
DbTypes which are specific to the Database vendorConnection getJdbcConnection()
void release()
isStreaming() is falsevoid beginStreaming()
this connection is about to be
iteratedboolean isStreaming()
beginStreaming() has been invoked on this instance but endStreaming() has notvoid endStreaming()
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.