Class StardogV1Server
Management connection for Stardog 1.* servers.
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF.Storage.Management
Assembly: dotNetRdf.dll
Syntax
public class StardogV1Server : BaseStardogServer, IAsyncStorageServer, IConfigurationSerializable, IStorageServer, IDisposable
Constructors
| Improve this Doc View SourceStardogV1Server(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. |
System.Net.Http.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. |
System.Net.IWebProxy | proxy | Proxy Server. |
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. |
System.Net.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)
Creates a new connection to a Stardog Server.
Declaration
public StardogV1Server(string baseUri)
Parameters
Type | Name | Description |
---|---|---|
string | baseUri | Base Uri of the Server. |
Methods
| Improve this Doc 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. |
System.Object | state | State to pass to the callback. |
Overrides
| Improve this Doc 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
| Improve this Doc 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. |
System.Threading.CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><IAsyncStorageProvider> |
Overrides
Implements
System.IDisposable