Package io.yellowbrick.jdbc
Class YellowbrickDriver
- java.lang.Object
-
- io.yellowbrick.jdbc.YellowbrickDriver
-
- All Implemented Interfaces:
DriverConstants,Driver
public class YellowbrickDriver extends Object implements Driver, DriverConstants
-
-
Field Summary
-
Fields inherited from interface io.yellowbrick.jdbc.DriverConstants
PG_URL_PREFIX, YB_JDBC_OAUTH2_AUDIENCE, YB_JDBC_OAUTH2_CACERT_PATH, YB_JDBC_OAUTH2_CLIENT_ID, YB_JDBC_OAUTH2_CLIENT_SECRET, YB_JDBC_OAUTH2_DISABLE_TRUST, YB_JDBC_OAUTH2_ISSUER, YB_JDBC_OAUTH2_LOGIN_HINT, YB_JDBC_OAUTH2_NO_BROWSER, YB_JDBC_OAUTH2_QUIET, YB_JDBC_OAUTH2_SCOPES, YB_JDBC_OAUTH2_SCOPES_DEFAULT, YB_JDBC_OAUTH2_TOKEN_CACHE, YB_JDBC_OAUTH2_TOKEN_CACHE_DEFAULT, YB_JDBC_OAUTH2_TOKEN_CACHE_DISABLED, YB_JDBC_OAUTH2_TOKEN_CACHE_FILE, YB_JDBC_OAUTH2_TOKEN_CACHE_MEMORY, YB_JDBC_OAUTH2_TOKEN_CACHE_OPTIONS, YB_JDBC_OAUTH2_TOKEN_OPTIONS, YB_JDBC_OAUTH2_TOKEN_TYPE, YB_JDBC_OAUTH2_TOKEN_TYPE_ACCESS_TOKEN, YB_JDBC_OAUTH2_TOKEN_TYPE_DEFAULT, YB_JDBC_OAUTH2_TOKEN_TYPE_ID_TOKEN, YB_URL_PREFIX
-
-
Constructor Summary
Constructors Constructor Description YellowbrickDriver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanacceptsURL(String url)Connectionconnect(String url, Properties info)intgetMajorVersion()intgetMinorVersion()LoggergetParentLogger()DriverPropertyInfo[]getPropertyInfo(String url, Properties info)booleanjdbcCompliant()
-
-
-
Method Detail
-
connect
public Connection connect(String url, Properties info) throws SQLException
- Specified by:
connectin interfaceDriver- Throws:
SQLException
-
acceptsURL
public boolean acceptsURL(String url)
- Specified by:
acceptsURLin interfaceDriver
-
getPropertyInfo
public DriverPropertyInfo[] getPropertyInfo(String url, Properties info) throws SQLException
- Specified by:
getPropertyInfoin interfaceDriver- Throws:
SQLException
-
getMajorVersion
public int getMajorVersion()
- Specified by:
getMajorVersionin interfaceDriver
-
getMinorVersion
public int getMinorVersion()
- Specified by:
getMinorVersionin interfaceDriver
-
jdbcCompliant
public boolean jdbcCompliant()
- Specified by:
jdbcCompliantin interfaceDriver
-
getParentLogger
public Logger getParentLogger()
- Specified by:
getParentLoggerin interfaceDriver
-
-