org.apache.lens.driver.jdbc
Interface ConnectionProvider

All Superinterfaces:
Closeable
All Known Implementing Classes:
DataSourceConnectionProvider

public interface ConnectionProvider
extends Closeable

The Interface ConnectionProvider.


Method Summary
 Connection getConnection(org.apache.hadoop.conf.Configuration conf)
          Gets the connection.
 
Methods inherited from interface java.io.Closeable
close
 

Method Detail

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.