public class ClientDriver extends ClientDRDADriver
ClientSharedUtils.USE_THRIFT_AS_DEFAULTDRDA_CONNECTION_PROTOCOL, exceptionsOnLoadDriver__, GEMXD_PROTOCOL, registeredDriver__, SNAPPY_PROTOCOL, URL_PREFIX_REGEX, URL_SUFFIX_REGEX| Constructor and Description |
|---|
ClientDriver() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptsURL(String url) |
protected Connection |
createThriftConnection(String server,
int port,
Properties props) |
static ClientDriver |
getRegisteredDriver() |
protected Matcher |
matchProtocol(String url) |
protected Matcher |
matchURL(String url) |
protected boolean |
useThriftProtocol(Matcher m) |
connect, getFactory, getMajorVersion, getMinorVersion, getParentLogger, getPropertyInfo, getServer, getURLProperties, jdbcCompliantpublic boolean acceptsURL(String url) throws SQLException
acceptsURL in interface DriveracceptsURL in class ClientDRDADriverSQLExceptionprotected boolean useThriftProtocol(Matcher m)
useThriftProtocol in class ClientDRDADriverprotected Matcher matchURL(String url)
matchURL in class ClientDRDADriverprotected Matcher matchProtocol(String url)
matchProtocol in class ClientDRDADriverprotected Connection createThriftConnection(String server, int port, Properties props) throws SQLException
createThriftConnection in class ClientDRDADriverSQLExceptionpublic static ClientDriver getRegisteredDriver()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.