Class EmbeddedRelationalDriver
java.lang.Object
com.apple.foundationdb.relational.api.EmbeddedRelationalDriver
- All Implemented Interfaces:
com.apple.foundationdb.relational.api.RelationalDriver
,Driver
@API(EXPERIMENTAL)
public class EmbeddedRelationalDriver
extends Object
implements com.apple.foundationdb.relational.api.RelationalDriver
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
acceptsURL
(String url) connect
(String url, Properties info) com.apple.foundationdb.relational.api.RelationalConnection
com.apple.foundationdb.relational.api.RelationalConnection
connect
(URI url, Transaction existingTransaction, com.apple.foundationdb.relational.api.Options connectionOptions) 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, getPropertyInfo, jdbcCompliant
-
Field Details
-
DRIVER_NAME
- See Also:
-
JDBC_COLON
- See Also:
-
JDBC_URL_PREFIX
- See Also:
-
-
Constructor Details
-
EmbeddedRelationalDriver
- Throws:
SQLException
-
-
Method Details
-
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
-
connect
public com.apple.foundationdb.relational.api.RelationalConnection connect(@Nonnull URI url, @Nullable Transaction existingTransaction, @Nonnull com.apple.foundationdb.relational.api.Options connectionOptions) throws SQLException - Throws:
SQLException
-
connect
- Specified by:
connect
in interfaceDriver
- Throws:
SQLException
-
acceptsURL
- Specified by:
acceptsURL
in interfaceDriver
-