This project has retired. For details please refer to its
Attic page.
ConnectionProvider (Lens 2.0.1-beta-incubating API)
org.apache.lens.driver.jdbc
Interface ConnectionProvider
- All Superinterfaces:
- Closeable
- All Known Implementing Classes:
- DataSourceConnectionProvider
public interface ConnectionProvider
- extends Closeable
The Interface ConnectionProvider.
getConnection
Connection getConnection(org.apache.hadoop.conf.Configuration conf)
throws SQLException
- Gets the connection.
- Parameters:
conf
- the conf
- Returns:
- the connection
- Throws:
SQLException
- the SQL exception
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.