public class CassandraDriver extends Object implements Driver
| Modifier and Type | Field and Description |
|---|---|
static int |
DVR_MAJOR_VERSION |
static int |
DVR_MINOR_VERSION |
static String |
DVR_NAME |
static int |
DVR_PATCH_VERSION |
| Constructor and Description |
|---|
CassandraDriver() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptsURL(String url)
Method to validate whether provided connection url matches with pattern or not.
|
Connection |
connect(String url,
Properties props)
Method to return connection instance for given connection url and connection props.
|
int |
getMajorVersion()
Returns default major version.
|
int |
getMinorVersion()
Returns default minor version.
|
Logger |
getParentLogger() |
DriverPropertyInfo[] |
getPropertyInfo(String url,
Properties props)
Returns default driver property info object.
|
boolean |
jdbcCompliant()
Returns true, if it is jdbc compliant.
|
public static final int DVR_MAJOR_VERSION
public static final int DVR_MINOR_VERSION
public static final int DVR_PATCH_VERSION
public static final String DVR_NAME
public boolean acceptsURL(String url) throws SQLException
acceptsURL in interface DriverSQLExceptionpublic Connection connect(String url, Properties props) throws SQLException
connect in interface DriverSQLExceptionpublic int getMajorVersion()
getMajorVersion in interface Driverpublic int getMinorVersion()
getMinorVersion in interface Driverpublic DriverPropertyInfo[] getPropertyInfo(String url, Properties props) throws SQLException
getPropertyInfo in interface DriverSQLExceptionpublic boolean jdbcCompliant()
jdbcCompliant in interface Driverpublic Logger getParentLogger() throws SQLFeatureNotSupportedException
getParentLogger in interface DriverSQLFeatureNotSupportedExceptionCopyright © 2015–2016. All rights reserved.