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