Constructor and Description |
---|
HiveDriver() |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsURL(String url)
Checks whether a given url is in a valid format.
|
Connection |
connect(String url,
Properties info) |
int |
getMajorVersion()
Returns the major version of this driver.
|
int |
getMinorVersion()
Returns the minor version of this driver.
|
Logger |
getParentLogger() |
DriverPropertyInfo[] |
getPropertyInfo(String url,
Properties info) |
boolean |
jdbcCompliant()
Returns whether the driver is JDBC compliant.
|
public boolean acceptsURL(String url) throws SQLException
acceptsURL
in interface Driver
SQLException
public Connection connect(String url, Properties info) throws SQLException
connect
in interface Driver
SQLException
public int getMajorVersion()
getMajorVersion
in interface Driver
public int getMinorVersion()
getMinorVersion
in interface Driver
public Logger getParentLogger() throws SQLFeatureNotSupportedException
getParentLogger
in interface Driver
SQLFeatureNotSupportedException
public DriverPropertyInfo[] getPropertyInfo(String url, Properties info) throws SQLException
getPropertyInfo
in interface Driver
SQLException
public boolean jdbcCompliant()
jdbcCompliant
in interface Driver
Copyright © 2017 The Apache Software Foundation. All rights reserved.