Class StardogV1Server
Management connection for Stardog 1.* servers.
Inherited Members
Namespace: VDS.RDF.Storage.Management
Assembly: dotNetRdf.dll
Syntax
public class StardogV1Server : BaseStardogServer, IAsyncStorageServer, IConfigurationSerializable, IStorageServer, IDisposable
Constructors
| Edit this page View SourceStardogV1Server(string)
Creates a new connection to a Stardog Server.
Declaration
public StardogV1Server(string baseUri)
Parameters
Type | Name | Description |
---|---|---|
string | baseUri | Base Uri of the Server. |
StardogV1Server(string, HttpClientHandler)
Creates a new connection to a Stardog server.
Declaration
public StardogV1Server(string baseUri, HttpClientHandler httpClientHandler)
Parameters
Type | Name | Description |
---|---|---|
string | baseUri | Base URI of the server. |
HttpClientHandler | httpClientHandler | Handler to configure outgoing HTTP requests. |
StardogV1Server(string, IWebProxy)
Creates a new connection to a Stardog Server.
Declaration
public StardogV1Server(string baseUri, IWebProxy proxy)
Parameters
Type | Name | Description |
---|---|---|
string | baseUri | Base Uri of the Server. |
IWebProxy | proxy | Proxy Server. |
StardogV1Server(string, string, string)
Creates a new connection to a Stardog Server.
Declaration
public StardogV1Server(string baseUri, string username, string password)
Parameters
Type | Name | Description |
---|---|---|
string | baseUri | Base Uri of the Server. |
string | username | Username. |
string | password | Password. |
StardogV1Server(string, string, string, IWebProxy)
Creates a new connection to a Stardog Server.
Declaration
public StardogV1Server(string baseUri, string username, string password, IWebProxy proxy)
Parameters
Type | Name | Description |
---|---|---|
string | baseUri | Base Uri of the Server. |
string | username | Username. |
string | password | Password. |
IWebProxy | proxy | Proxy Server. |
Methods
| Edit this page View SourceGetStore(string)
Gets a provider for the Store with the given ID.
Declaration
public override IStorageProvider GetStore(string storeId)
Parameters
Type | Name | Description |
---|---|---|
string | storeId | Store ID. |
Returns
Type | Description |
---|---|
IStorageProvider |
Overrides
| Edit this page View SourceGetStore(string, AsyncStorageCallback, object)
Gets a database from the server.
Declaration
public override void GetStore(string storeId, AsyncStorageCallback callback, object state)
Parameters
Type | Name | Description |
---|---|---|
string | storeId | Store ID. |
AsyncStorageCallback | callback | Callback. |
object | state | State to pass to the callback. |
Overrides
| Edit this page View SourceGetStoreAsync(string, CancellationToken)
Gets a store asynchronously.
Declaration
public override Task<IAsyncStorageProvider> GetStoreAsync(string storeId, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | storeId | Store ID. |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task<IAsyncStorageProvider> |