private static class CaptureChangeMySQL.DriverShim extends Object implements Driver
| Constructor and Description |
|---|
DriverShim(Driver d) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptsURL(String u) |
Connection |
connect(String u,
Properties p) |
int |
getMajorVersion() |
int |
getMinorVersion() |
Logger |
getParentLogger() |
DriverPropertyInfo[] |
getPropertyInfo(String u,
Properties p) |
boolean |
jdbcCompliant() |
private Driver driver
DriverShim(Driver d)
public boolean acceptsURL(String u) throws SQLException
acceptsURL in interface DriverSQLExceptionpublic Connection connect(String u, Properties p) throws SQLException
connect in interface DriverSQLExceptionpublic int getMajorVersion()
getMajorVersion in interface Driverpublic int getMinorVersion()
getMinorVersion in interface Driverpublic DriverPropertyInfo[] getPropertyInfo(String u, Properties p) throws SQLException
getPropertyInfo in interface DriverSQLExceptionpublic boolean jdbcCompliant()
jdbcCompliant in interface Driverpublic Logger getParentLogger() throws SQLFeatureNotSupportedException
getParentLogger in interface DriverSQLFeatureNotSupportedExceptionCopyright © 2018 Apache NiFi Project. All rights reserved.