BaseStardogConnector Class |
Namespace: VDS.RDF.Storage
public abstract class BaseStardogConnector : BaseAsyncHttpConnector, IAsyncQueryableStorage, IAsyncStorageProvider, IStorageCapabilities, IDisposable, IAsyncTransactionalStorage, IConfigurationSerializable, IQueryableStorage, IStorageProvider, ITransactionalStorage, IReasoningQueryableStorage
The BaseStardogConnector type exposes the following members.
Name | Description | |
---|---|---|
![]() | BaseStardogConnector(String, String) |
Creates a new connection to a Stardog Store.
|
![]() | BaseStardogConnector(String, String, IWebProxy) |
Creates a new connection to a Stardog Store.
|
![]() | BaseStardogConnector(String, String, StardogReasoningMode) |
Creates a new connection to a Stardog Store.
|
![]() | BaseStardogConnector(String, String, String, String) |
Creates a new connection to a Stardog Store.
|
![]() | BaseStardogConnector(String, String, StardogReasoningMode, IWebProxy) |
Creates a new connection to a Stardog Store.
|
![]() | BaseStardogConnector(String, String, String, String, IWebProxy) |
Creates a new connection to a Stardog Store.
|
![]() | BaseStardogConnector(String, String, StardogReasoningMode, String, String) |
Creates a new connection to a Stardog Store.
|
![]() | BaseStardogConnector(String, String, StardogReasoningMode, String, String, IWebProxy) |
Creates a new connection to a Stardog Store.
|
Name | Description | |
---|---|---|
![]() | AsyncParentServer |
Gets the parent server.
(Overrides BaseAsyncHttpConnector.AsyncParentServer.) |
![]() | BaseUri |
Gets the Base URI of the Stardog server.
|
![]() | DeleteSupported |
Returns that deleting graphs from the Stardog store is not yet supported (due to a .Net specific issue).
(Overrides BaseAsyncHttpConnector.DeleteSupported.) |
![]() | IOBehaviour |
Gets the IO Behaviour of Stardog.
(Overrides BaseAsyncHttpConnector.IOBehaviour.) |
![]() | IsReadOnly |
Returns that the Connection is not read-only.
(Overrides BaseAsyncHttpConnector.IsReadOnly.) |
![]() | IsReady |
Returns that the Connection is ready.
(Overrides BaseAsyncHttpConnector.IsReady.) |
![]() | KbId |
Gets the knowledge base ID being used by this connector.
|
![]() | ListGraphsSupported |
Returns that listing Graphs is supported.
(Overrides BaseAsyncHttpConnector.ListGraphsSupported.) |
![]() | ParentServer |
Gets the parent server.
(Overrides BaseAsyncHttpConnector.ParentServer.) |
![]() | Password |
Password for accessing the Store.
(Inherited from BaseHttpConnector.) |
![]() | Proxy |
Gets/Sets a Proxy Server to be used.
(Inherited from BaseHttpConnector.) |
![]() | ProxyCredentials |
Gets/Sets Credentials to be used for Proxy Server.
(Inherited from BaseHttpConnector.) |
![]() | Reasoning |
Gets/Sets the reasoning mode to use for queries.
|
![]() | Timeout |
Gets/Sets the HTTP Timeouts used specified in milliseconds.
(Inherited from BaseHttpConnector.) |
![]() | UpdateSupported |
Returns that Updates are supported on Stardog Stores.
(Overrides BaseAsyncHttpConnector.UpdateSupported.) |
![]() | Username |
Password for accessing the Store.
(Inherited from BaseHttpConnector.) |
Name | Description | |
---|---|---|
![]() | AddStardogHeaders |
Adds Stardog specific request headers; reasoning needed for < 2.2.
|
![]() | ApplyRequestOptions |
Helper method which applies standard request options to the request, these currently include proxy settings and HTTP timeout.
(Inherited from BaseHttpConnector.) |
![]() | Begin() |
Begins a new Transaction.
|
![]() | Begin(Boolean) |
Begins a new Transaction.
|
![]() | Begin(AsyncStorageCallback, Object) |
Begins a transaction asynchronously.
|
![]() | BeginTransaction |
Start a transaction.
|
![]() | ClearProxy |
Clears any in-use credentials so subsequent requests will not use a proxy server.
(Inherited from BaseHttpConnector.) |
![]() | ClearProxyCredentials |
Clears the in-use proxy credentials so subsequent requests still use the proxy server but without credentials.
(Inherited from BaseHttpConnector.) |
![]() | Commit() |
Commits the active Transaction.
|
![]() | Commit(AsyncStorageCallback, Object) |
Commits a transaction asynchronously.
|
![]() | CommitTransaction |
Commit an open transaction.
|
![]() | CreateRequest |
Helper method for creating HTTP Requests to the Store.
|
![]() | DeleteGraph(String) |
Deletes a Graph from the Stardog store.
|
![]() | DeleteGraph(Uri) |
Deletes a Graph from the Stardog store.
|
![]() | DeleteGraph(Uri, AsyncStorageCallback, Object) |
Deletes a Graph from the Store.
(Inherited from BaseAsyncHttpConnector.) |
![]() | DeleteGraph(String, AsyncStorageCallback, Object) |
Deletes a Graph from the Store.
(Overrides BaseAsyncHttpConnector.DeleteGraph(String, AsyncStorageCallback, Object).) |
![]() | DeleteGraphAsync(HttpWebRequest, Boolean, String, AsyncStorageCallback, Object) |
Helper method for doing async delete operations, callers just need to provide an appropriately prepared HTTP request.
(Inherited from BaseAsyncHttpConnector.) |
![]() | DeleteGraphAsync(String, Boolean, String, AsyncStorageCallback, Object) |
Delete a graph as part of an open transaction.
|
![]() | Dispose |
Disposes of the Connector.
(Overrides BaseAsyncHttpConnector.Dispose().) |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetReasoningParameter |
Get the query parameter string that specifies the current reasoning mode.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | ListGraphs() |
Gets the list of Graphs in the Stardog store.
|
![]() | ListGraphs(AsyncStorageCallback, Object) |
Lists the Graphs in the Store asynchronously.
(Inherited from BaseAsyncHttpConnector.) |
![]() | LoadGraph(IGraph, String) |
Loads a Graph from the Store.
|
![]() | LoadGraph(IGraph, Uri) |
Loads a Graph from the Store.
|
![]() | LoadGraph(IRdfHandler, String) |
Loads a Graph from the Store.
|
![]() | LoadGraph(IRdfHandler, Uri) |
Loads a Graph from the Store.
|
![]() | LoadGraph(IGraph, String, AsyncStorageCallback, Object) |
Loads a Graph from the Store asynchronously.
(Inherited from BaseAsyncHttpConnector.) |
![]() | LoadGraph(IGraph, Uri, AsyncStorageCallback, Object) |
Loads a Graph from the Store asynchronously.
(Inherited from BaseAsyncHttpConnector.) |
![]() | LoadGraph(IRdfHandler, Uri, AsyncStorageCallback, Object) |
Loads a Graph from the Store asynchronously.
(Inherited from BaseAsyncHttpConnector.) |
![]() | LoadGraph(IRdfHandler, String, AsyncStorageCallback, Object) |
Loads a Graph from the Store asynchronously.
(Overrides BaseAsyncHttpConnector.LoadGraph(IRdfHandler, String, AsyncStorageCallback, Object).) |
![]() | LoadGraphAsync |
Helper method for doing async load operations, callers just need to provide an appropriately prepared HTTP request.
(Inherited from BaseAsyncHttpConnector.) |
![]() | MakeRequestSequence |
Helper method for doing async operations where a sequence of HTTP requests must be run.
(Inherited from BaseAsyncHttpConnector.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Query(String) |
Makes a SPARQL Query against the underlying Store using whatever reasoning mode is currently in-use.
|
![]() | Query(String, Boolean) |
Makes a SPARQL Query against the underlying Store using whatever reasoning mode is currently in-use, the reasoning can be set by query.
|
![]() | Query(String, AsyncStorageCallback, Object) |
Queries the store asynchronously.
|
![]() | Query(IRdfHandler, ISparqlResultsHandler, String) |
Makes a SPARQL Query against the underlying Store using whatever reasoning mode is currently in-use processing the results using an appropriate handler from those provided.
|
![]() | Query(IRdfHandler, ISparqlResultsHandler, String, Boolean) |
Makes a SPARQL Query against the underlying Store using whatever reasoning mode is currently in-use processing the results using an appropriate handler from those provided, the reasoning can be set by query.
|
![]() | Query(IRdfHandler, ISparqlResultsHandler, String, AsyncStorageCallback, Object) |
Queries the store asynchronously.
|
![]() | Rollback() |
Rolls back the active Transaction.
|
![]() | Rollback(AsyncStorageCallback, Object) |
Rolls back a transaction asynchronously.
|
![]() | RollbackTransaction |
Rollback an open transaction.
|
![]() | SaveGraph(IGraph) |
Saves a Graph into the Store (see remarks for notes on merge/overwrite behaviour).
|
![]() | SaveGraph(IGraph, AsyncStorageCallback, Object) |
Saves a Graph to the Store asynchronously.
(Overrides BaseAsyncHttpConnector.SaveGraph(IGraph, AsyncStorageCallback, Object).) |
![]() | SaveGraphAsync(IGraph, AsyncStorageCallback, Object) |
Saves a Graph to the Store asynchronously.
|
![]() | SaveGraphAsync(HttpWebRequest, IRdfWriter, IGraph, AsyncStorageCallback, Object) |
Helper method for doing async save operations, callers just need to provide an appropriately perpared HTTP requests and a RDF writer which will be used to write the data to the request body.
(Inherited from BaseAsyncHttpConnector.) |
![]() | SaveGraphAsync(String, Boolean, IGraph, AsyncStorageCallback, Object) |
Save a graph to the database asynchronously within the context of an open transaction.
|
![]() | SerializeConfiguration |
Serializes the connection's configuration.
|
![]() | SerializeStandardConfig |
Helper method which adds standard configuration information (proxy and timeout settings) to serialized configuration.
(Inherited from BaseHttpConnector.) |
![]() | SetCredentials | (Inherited from BaseHttpConnector.) |
![]() | SetProxy(String) |
Sets a Proxy Server to be used.
(Inherited from BaseHttpConnector.) |
![]() | SetProxy(Uri) |
Sets a Proxy Server to be used.
(Inherited from BaseHttpConnector.) |
![]() | SetProxyCredentials(String, String) |
Sets Credentials to be used for Proxy Server.
(Inherited from BaseHttpConnector.) |
![]() | SetProxyCredentials(String, String, String) |
Sets Credentials to be used for Proxy Server.
(Inherited from BaseHttpConnector.) |
![]() | ToString |
Gets a String which gives details of the Connection.
(Overrides Object.ToString().) |
![]() | UpdateGraph(String, IEnumerable<Triple>, IEnumerable<Triple>) |
Updates a Graph in the Stardog store.
|
![]() | UpdateGraph(Uri, IEnumerable<Triple>, IEnumerable<Triple>) |
Updates a Graph in the Stardog Store.
|
![]() | UpdateGraph(Uri, IEnumerable<Triple>, IEnumerable<Triple>, AsyncStorageCallback, Object) |
Updates a Graph in the Store asynchronously.
(Inherited from BaseAsyncHttpConnector.) |
![]() | UpdateGraph(String, IEnumerable<Triple>, IEnumerable<Triple>, AsyncStorageCallback, Object) |
Updates a Graph in the Store asychronously.
(Overrides BaseAsyncHttpConnector.UpdateGraph(String, IEnumerable<Triple>, IEnumerable<Triple>, AsyncStorageCallback, Object).) |
![]() | UpdateGraphAsync(String, IEnumerable<Triple>, IEnumerable<Triple>, AsyncStorageCallback, Object) |
Apply an update to a graph.
|
![]() | UpdateGraphAsync(HttpWebRequest, IRdfWriter, Uri, IEnumerable<Triple>, AsyncStorageCallback, Object) |
Helper method for doing async update operations, callers just need to provide an appropriately prepared HTTP request and a RDF writer which will be used to write the data to the request body.
(Inherited from BaseAsyncHttpConnector.) |
![]() | UpdateGraphAsync(String, Boolean, String, IEnumerable<Triple>, IEnumerable<Triple>, AsyncStorageCallback, Object) |
Apply an update to a graph as part of a transaction.
|
Name | Description | |
---|---|---|
![]() ![]() | AnonymousUser |
Constant for the default Anonymous user account and password used by Stardog if you have not supplied a shiro.ini file or otherwise disabled security.
|
![]() | Server |
The underlying server connection.
|
Has full support for Stardog Transactions, connection is in auto-commit mode by default i.e. all write operations (Delete/Save/Update) will create and use a dedicated transaction for their operation, if the operation fails the transaction will automatically be rolled back. You can manage Transactions using the Begin(), Commit() and Rollback() methods.
The connector maintains a single transaction which is shared across all threads since Stardog is currently provides only MRSW (Multiple Reader Single Writer) concurrency and does not permit multiple transactions to occur simultaneously.