Class EmbeddedRelationalDriver

  • All Implemented Interfaces:
    com.apple.foundationdb.relational.api.RelationalDriver, java.sql.Driver

    @API(EXPERIMENTAL)
    public class EmbeddedRelationalDriver
    extends java.lang.Object
    implements com.apple.foundationdb.relational.api.RelationalDriver
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean acceptsURL​(java.lang.String url)  
      java.sql.Connection connect​(java.lang.String url, java.util.Properties info)  
      com.apple.foundationdb.relational.api.RelationalConnection connect​(java.net.URI url, com.apple.foundationdb.relational.api.Options connectionOptions)  
      com.apple.foundationdb.relational.api.RelationalConnection connect​(java.net.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
    • Constructor Detail

      • EmbeddedRelationalDriver

        public EmbeddedRelationalDriver​(@Nullable
                                        EmbeddedRelationalEngine engine)
                                 throws java.sql.SQLException
        Throws:
        java.sql.SQLException
    • Method Detail

      • connect

        public com.apple.foundationdb.relational.api.RelationalConnection connect​(@Nonnull
                                                                                  java.net.URI url,
                                                                                  @Nonnull
                                                                                  com.apple.foundationdb.relational.api.Options connectionOptions)
                                                                           throws java.sql.SQLException
        Specified by:
        connect in interface com.apple.foundationdb.relational.api.RelationalDriver
        Throws:
        java.sql.SQLException
      • connect

        public com.apple.foundationdb.relational.api.RelationalConnection connect​(@Nonnull
                                                                                  java.net.URI url,
                                                                                  @Nullable
                                                                                  Transaction existingTransaction,
                                                                                  @Nonnull
                                                                                  com.apple.foundationdb.relational.api.Options connectionOptions)
                                                                           throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • connect

        public java.sql.Connection connect​(java.lang.String url,
                                           java.util.Properties info)
                                    throws java.sql.SQLException
        Specified by:
        connect in interface java.sql.Driver
        Throws:
        java.sql.SQLException
      • acceptsURL

        public boolean acceptsURL​(java.lang.String url)
        Specified by:
        acceptsURL in interface java.sql.Driver