@Deprecated public final class EmbeddedDriver extends Object implements Driver
| Modifier and Type | Field and Description |
|---|---|
static String |
BASE_URL
Deprecated.
|
static String |
SYSTEM_URL
Deprecated.
|
| Constructor and Description |
|---|
EmbeddedDriver(com.google.inject.Provider<com.complexible.stardog.Kernel> theKernelProvider,
OptionalConstructorParam<Set<ConnectionView>> theConnectionViews,
OptionalConstructorParam<Set<AdminConnectionView>> theAdminConnectionViews)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptsURL(String theURL)
Deprecated.
Whether or not this driver can provide a connection for the provided URL
|
Connection |
connect(String theURL,
Options theOptions)
Deprecated.
Open a connection to the database
|
AdminConnection |
connectAdmin(String theURL,
Options theOptions)
Deprecated.
[Optional] Creates an
AdminConnection to the database if the underlying protocol supports admin operations. |
boolean |
equals(Object theObj)
Deprecated.
|
int |
getMajorVersion()
Deprecated.
Return the major version of this driver
|
int |
getMinorVersion()
Deprecated.
Return the minor version of this driver
|
int |
hashCode()
Deprecated.
|
public static final String BASE_URL
public static final String SYSTEM_URL
@Inject
public EmbeddedDriver(com.google.inject.Provider<com.complexible.stardog.Kernel> theKernelProvider,
OptionalConstructorParam<Set<ConnectionView>> theConnectionViews,
OptionalConstructorParam<Set<AdminConnectionView>> theAdminConnectionViews)
public boolean acceptsURL(String theURL)
acceptsURL in interface DrivertheURL - the URLpublic Connection connect(String theURL, Options theOptions) throws StardogException
connect in interface DrivertheURL - the URL of the databasetheOptions - any options needed for the connection, such as timeouts or username/pwStardogException - if the driver is unable to establish the connectionpublic AdminConnection connectAdmin(String theURL, Options theOptions) throws StardogException, UnsupportedOperationException
AdminConnection to the database if the underlying protocol supports admin operations.connectAdmin in interface DrivertheURL - the URL of the databasetheOptions - any options needed for the connection, such as timeouts or username/pwStardogException - if the driver is unable to establish the connectionUnsupportedOperationException - if the driver does not support admin operationspublic int getMajorVersion()
getMajorVersion in interface Driverpublic int getMinorVersion()
getMinorVersion in interface DriverCopyright © 2010-2016 Stardog Union. All Rights Reserved.