Show / Hide Table of Contents

Class AllegroGraphServer

Represents an AllegroGraph server, may be used to access and manage stores within a catalog on the server.

Inheritance
System.Object
BaseHttpConnector
SesameServer
AllegroGraphServer
Implements
IAsyncStorageServer
IConfigurationSerializable
IStorageServer
System.IDisposable
Inherited Members
SesameServer.SystemRepositoryID
SesameServer._baseUri
SesameServer._username
SesameServer._pwd
SesameServer._hasCredentials
SesameServer._repositoriesPrefix
SesameServer.TemplateTypes
SesameServer.IOBehaviour
SesameServer.DeleteStoreAsync(string, CancellationToken)
SesameServer.GetDefaultTemplateAsync(string, CancellationToken)
SesameServer.GetAvailableTemplatesAsync(string, CancellationToken)
SesameServer.CreateStoreAsync(IStoreTemplate, CancellationToken)
SesameServer.GetStoreAsync(string, CancellationToken)
SesameServer.ListStoresAsync(CancellationToken)
SesameServer.EnsureSystemConnection()
SesameServer.Dispose(bool)
BaseHttpConnector.HttpClient
BaseHttpConnector.HttpClientHandler
BaseHttpConnector.SetProxy(string)
BaseHttpConnector.SetProxy(Uri)
BaseHttpConnector.Proxy
BaseHttpConnector.ClearProxy()
BaseHttpConnector.SetProxyCredentials(string, string)
BaseHttpConnector.SetProxyCredentials(string, string, string)
BaseHttpConnector.ProxyCredentials
BaseHttpConnector.ClearProxyCredentials()
BaseHttpConnector.Timeout
BaseHttpConnector.SerializeStandardConfig(INode, ConfigurationSerializationContext)
BaseHttpConnector.SetCredentials(string, string)
BaseHttpConnector.Dispose()
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.Client.dll
Syntax
public class AllegroGraphServer : SesameServer, IAsyncStorageServer, IConfigurationSerializable, IStorageServer, IDisposable

Constructors

| Improve this Doc View Source

AllegroGraphServer(string, IWebProxy)

Creates a new Connection to an AllegroGraph store in the Root Catalog (AllegroGraph 4.x and higher).

Declaration
public AllegroGraphServer(string baseUri, IWebProxy proxy)
Parameters
Type Name Description
string baseUri

Base Uri for the Store.

System.Net.IWebProxy proxy

Proxy Server.

| Improve this Doc View Source

AllegroGraphServer(string, string, IWebProxy)

Creates a new Connection to an AllegroGraph store.

Declaration
public AllegroGraphServer(string baseUri, string catalogID, IWebProxy proxy)
Parameters
Type Name Description
string baseUri

Base Uri for the Store.

string catalogID

Catalog ID.

System.Net.IWebProxy proxy

Proxy Server.

| Improve this Doc View Source

AllegroGraphServer(string, string, string, IWebProxy)

Creates a new Connection to an AllegroGraph store in the Root Catalog (AllegroGraph 4.x and higher).

Declaration
public AllegroGraphServer(string baseUri, string username, string password, IWebProxy proxy)
Parameters
Type Name Description
string baseUri

Base Uri for the Store.

string username

Username for connecting to the Store.

string password

Password for connecting to the Store.

System.Net.IWebProxy proxy

Proxy Server.

| Improve this Doc View Source

AllegroGraphServer(string, string, string, string, IWebProxy)

Creates a new Connection to an AllegroGraph store.

Declaration
public AllegroGraphServer(string baseUri, string catalogID, string username, string password, IWebProxy proxy)
Parameters
Type Name Description
string baseUri

Base Uri for the Store.

string catalogID

Catalog ID.

string username

Username for connecting to the Store.

string password

Password for connecting to the Store.

System.Net.IWebProxy proxy

Proxy Server.

| Improve this Doc View Source

AllegroGraphServer(string, string, string, string)

Creates a new Connection to an AllegroGraph store.

Declaration
public AllegroGraphServer(string baseUri, string catalogID, string username, string password)
Parameters
Type Name Description
string baseUri

Base Uri for the Store.

string catalogID

Catalog ID.

string username

Username for connecting to the Store.

string password

Password for connecting to the Store.

| Improve this Doc View Source

AllegroGraphServer(string, string, string)

Creates a new Connection to an AllegroGraph store in the Root Catalog (AllegroGraph 4.x and higher).

Declaration
public AllegroGraphServer(string baseUri, string username, string password)
Parameters
Type Name Description
string baseUri

Base Uri for the Store.

string username

Username for connecting to the Store.

string password

Password for connecting to the Store.

| Improve this Doc View Source

AllegroGraphServer(string, string)

Creates a new Connection to an AllegroGraph store.

Declaration
public AllegroGraphServer(string baseUri, string catalogID)
Parameters
Type Name Description
string baseUri

Base URI for the Store.

string catalogID

Catalog ID.

| Improve this Doc View Source

AllegroGraphServer(string)

Creates a new Connection to an AllegroGraph store in the Root Catalog (AllegroGraph 4.x and higher).

Declaration
public AllegroGraphServer(string baseUri)
Parameters
Type Name Description
string baseUri

Base Uri for the Store.

Methods

| Improve this Doc View Source

CreateRequest(string, string, HttpMethod, Dictionary<string, string>)

Helper method for creating HTTP Requests to the Store.

Declaration
protected override HttpRequestMessage CreateRequest(string servicePath, string accept, HttpMethod method, Dictionary<string, string> queryParams)
Parameters
Type Name Description
string servicePath

Path to the Service requested.

string accept

Acceptable Content Types.

System.Net.Http.HttpMethod method

HTTP Method.

System.Collections.Generic.Dictionary<TKey, TValue><string, string> queryParams

Querystring Parameters.

Returns
Type Description
System.Net.Http.HttpRequestMessage
Overrides
SesameServer.CreateRequest(string, string, HttpMethod, Dictionary<string, string>)
| Improve this Doc View Source

CreateRequest(string, string, string, Dictionary<string, string>)

Helper method for creating HTTP Requests to the Store.

Declaration
[Obsolete]
protected override HttpWebRequest CreateRequest(string servicePath, string accept, string method, Dictionary<string, string> queryParams)
Parameters
Type Name Description
string servicePath

Path to the Service requested.

string accept

Acceptable Content Types.

string method

HTTP Method.

System.Collections.Generic.Dictionary<TKey, TValue><string, string> queryParams

Querystring Parameters.

Returns
Type Description
System.Net.HttpWebRequest
Overrides
SesameServer.CreateRequest(string, string, string, Dictionary<string, string>)
| Improve this Doc View Source

CreateStore(IStoreTemplate, AsyncStorageCallback, object)

Creates a new Store on the server within the current catalog asynchronously.

Declaration
public override void CreateStore(IStoreTemplate template, AsyncStorageCallback callback, object state)
Parameters
Type Name Description
IStoreTemplate template

Template to create the store from.

AsyncStorageCallback callback

Callback.

System.Object state

State to pass to callback.

Overrides
SesameServer.CreateStore(IStoreTemplate, AsyncStorageCallback, object)
| Improve this Doc View Source

CreateStore(IStoreTemplate)

Creates a new Store (if it doesn't already exist).

Declaration
public override bool CreateStore(IStoreTemplate template)
Parameters
Type Name Description
IStoreTemplate template

Template for creating the new Store.

Returns
Type Description
System.Boolean
Overrides
SesameServer.CreateStore(IStoreTemplate)
| Improve this Doc View Source

DeleteStore(string, AsyncStorageCallback, object)

Deletes a Store from the server within the current catalog asynchronously.

Declaration
public override void DeleteStore(string storeId, AsyncStorageCallback callback, object state)
Parameters
Type Name Description
string storeId

Store ID.

AsyncStorageCallback callback

Callback.

System.Object state

State to pass to callback.

Overrides
SesameServer.DeleteStore(string, AsyncStorageCallback, object)
| Improve this Doc View Source

DeleteStore(string)

Requests that AllegroGraph deletes a Store.

Declaration
public override void DeleteStore(string storeID)
Parameters
Type Name Description
string storeID

Store ID.

Overrides
SesameServer.DeleteStore(string)
| Improve this Doc View Source

GetAvailableTemplates(string, AsyncStorageCallback, object)

Gets all available templates for creating a new Store.

Declaration
public override void GetAvailableTemplates(string id, AsyncStorageCallback callback, object state)
Parameters
Type Name Description
string id

Store ID.

AsyncStorageCallback callback

Callback.

System.Object state

State to pass to callback.

Overrides
SesameServer.GetAvailableTemplates(string, AsyncStorageCallback, object)
| Improve this Doc View Source

GetAvailableTemplates(string)

Gets all available templates for creating a new Store.

Declaration
public override IEnumerable<IStoreTemplate> GetAvailableTemplates(string id)
Parameters
Type Name Description
string id

Store ID.

Returns
Type Description
System.Collections.Generic.IEnumerable<T><IStoreTemplate>
Overrides
SesameServer.GetAvailableTemplates(string)
| Improve this Doc View Source

GetDefaultTemplate(string, AsyncStorageCallback, object)

Gets a default template for creating a new Store.

Declaration
public override void GetDefaultTemplate(string id, AsyncStorageCallback callback, object state)
Parameters
Type Name Description
string id

Store ID.

AsyncStorageCallback callback

Callback.

System.Object state

State to pass to callback.

Overrides
SesameServer.GetDefaultTemplate(string, AsyncStorageCallback, object)
| Improve this Doc View Source

GetDefaultTemplate(string)

Gets a default template for creating a new Store.

Declaration
public override IStoreTemplate GetDefaultTemplate(string id)
Parameters
Type Name Description
string id

Store ID.

Returns
Type Description
IStoreTemplate
Overrides
SesameServer.GetDefaultTemplate(string)
| Improve this Doc View Source

GetStore(string, AsyncStorageCallback, object)

Gets a Store within the current catalog asynchronously.

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 call back.

Overrides
SesameServer.GetStore(string, AsyncStorageCallback, object)
Remarks

AllegroGraph groups stores by catalog, you may only use this method to obtain stores within your current catalogue.

| Improve this Doc View Source

GetStore(string)

Gets a Store within the current catalog.

Declaration
public override IStorageProvider GetStore(string storeId)
Parameters
Type Name Description
string storeId

Store ID.

Returns
Type Description
IStorageProvider
Overrides
SesameServer.GetStore(string)
Remarks

AllegroGraph groups stores by catalogue, you may only use this method to obtain stores within your current catalogue.

| Improve this Doc View Source

ListStores()

Get the lists of stores available on the Server.

Declaration
public override IEnumerable<string> ListStores()
Returns
Type Description
System.Collections.Generic.IEnumerable<T><string>
Overrides
SesameServer.ListStores()
| Improve this Doc View Source

ListStores(AsyncStorageCallback, object)

Gets the List of Stores available on the server within the current catalog asynchronously.

Declaration
[Obsolete("Replaced with ListStoresAsync(CancellationToken).")]
public override void ListStores(AsyncStorageCallback callback, object state)
Parameters
Type Name Description
AsyncStorageCallback callback

Callback.

System.Object state

State to pass to callback.

Overrides
SesameServer.ListStores(AsyncStorageCallback, object)
| Improve this Doc View Source

SerializeConfiguration(ConfigurationSerializationContext)

Serializes the connection's configuration.

Declaration
public override void SerializeConfiguration(ConfigurationSerializationContext context)
Parameters
Type Name Description
ConfigurationSerializationContext context

Configuration Serialization Context.

Overrides
SesameServer.SerializeConfiguration(ConfigurationSerializationContext)

Implements

IAsyncStorageServer
IConfigurationSerializable
IStorageServer
System.IDisposable

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • AllegroGraphServer(string, IWebProxy)
    • AllegroGraphServer(string, string, IWebProxy)
    • AllegroGraphServer(string, string, string, IWebProxy)
    • AllegroGraphServer(string, string, string, string, IWebProxy)
    • AllegroGraphServer(string, string, string, string)
    • AllegroGraphServer(string, string, string)
    • AllegroGraphServer(string, string)
    • AllegroGraphServer(string)
  • Methods
    • CreateRequest(string, string, HttpMethod, Dictionary<string, string>)
    • CreateRequest(string, string, string, Dictionary<string, string>)
    • CreateStore(IStoreTemplate, AsyncStorageCallback, object)
    • CreateStore(IStoreTemplate)
    • DeleteStore(string, AsyncStorageCallback, object)
    • DeleteStore(string)
    • GetAvailableTemplates(string, AsyncStorageCallback, object)
    • GetAvailableTemplates(string)
    • GetDefaultTemplate(string, AsyncStorageCallback, object)
    • GetDefaultTemplate(string)
    • GetStore(string, AsyncStorageCallback, object)
    • GetStore(string)
    • ListStores()
    • ListStores(AsyncStorageCallback, object)
    • SerializeConfiguration(ConfigurationSerializationContext)
  • Implements
  • Extension Methods
Back to top Generated by DocFX