public interface ConnectionProvider extends Closeable
Modifier and Type | Method and Description |
---|---|
Connection |
getConnection(org.apache.hadoop.conf.Configuration conf)
Gets the connection.
|
Connection getConnection(org.apache.hadoop.conf.Configuration conf) throws SQLException
conf
- the confSQLException
- the SQL exceptionCopyright © 2014–2018 Apache Software Foundation. All rights reserved.