public class KyuubiHiveDriver extends Object implements Driver
| Modifier and Type | Field and Description |
|---|---|
static String |
DBNAME_PROPERTY_KEY |
static String |
DEFAULT_PORT |
static String |
HOST_PROPERTY_KEY |
static String |
PORT_PROPERTY_KEY |
| Constructor and Description |
|---|
KyuubiHiveDriver() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptsURL(String url) |
Connection |
connect(String url,
Properties info) |
static String |
fetchManifestAttribute(Attributes.Name attributeName)
Package scoped to allow manifest fetching from other KyuubiHiveDriver classes Helper to
initialize attributes and return one.
|
static int |
getMajorDriverVersion()
Package scoped access to the Driver's Major Version
|
int |
getMajorVersion() |
static int |
getMinorDriverVersion()
Package scoped access to the Driver's Minor Version
|
int |
getMinorVersion() |
Logger |
getParentLogger() |
DriverPropertyInfo[] |
getPropertyInfo(String url,
Properties info) |
boolean |
jdbcCompliant()
Returns whether the driver is JDBC compliant.
|
public static final String DBNAME_PROPERTY_KEY
public static final String HOST_PROPERTY_KEY
public static final String PORT_PROPERTY_KEY
public static final String DEFAULT_PORT
public boolean acceptsURL(String url) throws SQLException
acceptsURL in interface DriverSQLExceptionpublic Connection connect(String url, Properties info) throws SQLException
connect in interface DriverSQLExceptionpublic int getMajorVersion()
getMajorVersion in interface Driverpublic int getMinorVersion()
getMinorVersion in interface Driverpublic Logger getParentLogger() throws SQLFeatureNotSupportedException
getParentLogger in interface DriverSQLFeatureNotSupportedExceptionpublic DriverPropertyInfo[] getPropertyInfo(String url, Properties info) throws SQLException
getPropertyInfo in interface DriverSQLExceptionpublic boolean jdbcCompliant()
jdbcCompliant in interface Driverpublic static String fetchManifestAttribute(Attributes.Name attributeName) throws SQLException
SQLExceptionpublic static int getMajorDriverVersion()
public static int getMinorDriverVersion()
Copyright © 2023 The Apache Software Foundation. All rights reserved.