Class JDBCRelationalDriver
java.lang.Object
com.apple.foundationdb.relational.jdbc.JDBCRelationalDriver
- All Implemented Interfaces:
com.apple.foundationdb.relational.api.RelationalDriver
,Driver
@API(EXPERIMENTAL)
public class JDBCRelationalDriver
extends Object
implements com.apple.foundationdb.relational.api.RelationalDriver
JDBC Relational Driver.
Use mysql/postgres URL format; i.e. jdbc:relational://HOST[:PORT].
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
acceptsURL
(String url) connect
(String url, Properties info) com.apple.foundationdb.relational.api.RelationalConnection
getPropertyInfo
(String url, Properties info) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.apple.foundationdb.relational.api.RelationalDriver
connect, getMajorVersion, getMinorVersion, getParentLogger, jdbcCompliant
-
Constructor Details
-
JDBCRelationalDriver
public JDBCRelationalDriver()
-
-
Method Details
-
connect
- Specified by:
connect
in interfaceDriver
- Throws:
SQLException
-
acceptsURL
- Specified by:
acceptsURL
in interfaceDriver
- Throws:
SQLException
-
getPropertyInfo
- Specified by:
getPropertyInfo
in interfaceDriver
- Specified by:
getPropertyInfo
in interfacecom.apple.foundationdb.relational.api.RelationalDriver
-
connect
public com.apple.foundationdb.relational.api.RelationalConnection connect(@Nonnull URI url, @Nonnull com.apple.foundationdb.relational.api.Options connectionOptions) throws SQLException - Specified by:
connect
in interfacecom.apple.foundationdb.relational.api.RelationalDriver
- Throws:
SQLException
-