org.apache.hadoop.hbase.jdbc
Class Driver

java.lang.Object
  extended by org.apache.hadoop.hbase.jdbc.Driver
All Implemented Interfaces:
Driver

public class Driver
extends Object
implements Driver


Constructor Summary
Driver()
           
 
Method Summary
 boolean acceptsURL(String url)
           
 Connection connect(String url, Properties properties)
           
static Connection getConnection(String url, org.apache.hadoop.conf.Configuration config)
           
 int getMajorVersion()
           
 int getMinorVersion()
           
 DriverPropertyInfo[] getPropertyInfo(String s, Properties properties)
           
 boolean jdbcCompliant()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Driver

public Driver()
Method Detail

connect

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

getConnection

public static Connection getConnection(String url,
                                       org.apache.hadoop.conf.Configuration config)
                                throws SQLException
Throws:
SQLException

acceptsURL

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

getPropertyInfo

public DriverPropertyInfo[] getPropertyInfo(String s,
                                            Properties properties)
                                     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


Copyright © 2011. All Rights Reserved.