public class SnowflakeDriver extends Object implements Driver
| Modifier and Type | Field and Description |
|---|---|
static long |
changeVersion |
protected static boolean |
disableIncidents |
static Handler |
fileHandler |
static String |
implementVersion |
static SnowflakeDriver |
INSTANCE |
static int |
majorVersion |
static int |
minorVersion |
| Constructor and Description |
|---|
SnowflakeDriver() |
| 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)
Connect method
|
int |
getMajorVersion() |
int |
getMinorVersion() |
Logger |
getParentLogger() |
DriverPropertyInfo[] |
getPropertyInfo(String url,
Properties info) |
static boolean |
isDisableIncidents() |
boolean |
jdbcCompliant() |
static void |
setDisableIncidents(boolean throttleIncidents) |
public static Handler fileHandler
public static SnowflakeDriver INSTANCE
public static String implementVersion
public static int majorVersion
public static int minorVersion
public static long changeVersion
protected static boolean disableIncidents
public boolean acceptsURL(String url) throws SQLException
acceptsURL in interface Driverurl - url of the database including host and portSQLException - if failed to accept urlpublic Connection connect(String url, Properties info) throws SQLException
connect in interface Driverurl - jdbc urlinfo - addition info for passing database/schema namesSQLException - if failed to create a snowflake connectionpublic int getMajorVersion()
getMajorVersion in interface Driverpublic int getMinorVersion()
getMinorVersion in interface Driverpublic DriverPropertyInfo[] getPropertyInfo(String url, Properties info) throws SQLException
getPropertyInfo in interface DriverSQLExceptionpublic boolean jdbcCompliant()
jdbcCompliant in interface Driverpublic Logger getParentLogger() throws SQLFeatureNotSupportedException
getParentLogger in interface DriverSQLFeatureNotSupportedExceptionpublic static boolean isDisableIncidents()
public static void setDisableIncidents(boolean throttleIncidents)
Copyright © 2017. All rights reserved.