This project has retired. For details please refer to its Attic page.
LensJdbcDriver (Lens 2.0.1-beta-incubating API)

org.apache.lens.client.jdbc
Class LensJdbcDriver

java.lang.Object
  extended by org.apache.lens.client.jdbc.LensJdbcDriver
All Implemented Interfaces:
Driver

public class LensJdbcDriver
extends Object
implements Driver

Top level JDBC driver for Lens.


Constructor Summary
LensJdbcDriver()
           
 
Method Summary
 boolean acceptsURL(String url)
           
 Connection connect(String s, Properties properties)
           
 int getMajorVersion()
           
 int getMinorVersion()
           
 Logger getParentLogger()
           
 DriverPropertyInfo[] getPropertyInfo(String url, Properties info)
           
 boolean jdbcCompliant()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LensJdbcDriver

public LensJdbcDriver()
Method Detail

connect

public Connection connect(String s,
                          Properties properties)
                   throws SQLException
Specified by:
connect in interface Driver
Throws:
SQLException

acceptsURL

public boolean acceptsURL(String url)
                   throws SQLException
Specified by:
acceptsURL in interface Driver
Throws:
SQLException

getPropertyInfo

public DriverPropertyInfo[] getPropertyInfo(String url,
                                            Properties info)
                                     throws SQLException
Specified by:
getPropertyInfo in interface Driver
Throws:
SQLException

getMajorVersion

public int getMajorVersion()
Specified by:
getMajorVersion in interface Driver

getMinorVersion

public int getMinorVersion()
Specified by:
getMinorVersion in interface Driver

jdbcCompliant

public boolean jdbcCompliant()
Specified by:
jdbcCompliant in interface Driver

getParentLogger

public Logger getParentLogger()
                       throws SQLFeatureNotSupportedException
Throws:
SQLFeatureNotSupportedException


Copyright © 2014–2015 Apache Software Foundation. All rights reserved.