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.EnsureSystemConnection()
SesameServer.Dispose()
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.Username
BaseHttpConnector.Password
BaseHttpConnector.ApplyRequestOptions(HttpWebRequest)
BaseHttpConnector.SerializeStandardConfig(INode, ConfigurationSerializationContext)
BaseHttpConnector.SetCredentials(String, String)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VDS.RDF.Storage.Management
Assembly: dotNetRDF.dll
Syntax
public class AllegroGraphServer : SesameServer, IAsyncStorageServer, IConfigurationSerializable, IStorageServer, IDisposable

Constructors

| 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
System.String baseUri Base Uri for the Store.
| 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
System.String baseUri Base Uri for the Store.
System.Net.IWebProxy proxy Proxy Server.
| 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
System.String baseUri Base URI for the Store.
System.String catalogID Catalog ID.
| 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
System.String baseUri Base Uri for the Store.
System.String catalogID Catalog ID.
System.Net.IWebProxy proxy Proxy Server.
| 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
System.String baseUri Base Uri for the Store.
System.String username Username for connecting to the Store.
System.String password Password for connecting to the Store.
| 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
System.String baseUri Base Uri for the Store.
System.String username Username for connecting to the Store.
System.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
System.String baseUri Base Uri for the Store.
System.String catalogID Catalog ID.
System.String username Username for connecting to the Store.
System.String password Password for connecting to the Store.
| 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
System.String baseUri Base Uri for the Store.
System.String catalogID Catalog ID.
System.String username Username for connecting to the Store.
System.String password Password for connecting to the Store.
System.Net.IWebProxy proxy Proxy Server.

Methods

| Improve this Doc View Source

CreateRequest(String, String, String, Dictionary<String, String>)

Helper method for creating HTTP Requests to the Store.
Declaration
protected override HttpWebRequest CreateRequest(string servicePath, string accept, string method, Dictionary<string, string> queryParams)
Parameters
Type Name Description
System.String servicePath Path to the Service requested.
System.String accept Acceptable Content Types.
System.String method HTTP Method.
System.Collections.Generic.Dictionary<System.String, System.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)

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

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

DeleteStore(String)

Requests that AllegroGraph deletes a Store.
Declaration
public override void DeleteStore(string storeID)
Parameters
Type Name Description
System.String storeID Store ID.
Overrides
SesameServer.DeleteStore(String)
| 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
System.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

GetAvailableTemplates(String)

Gets all available templates for creating a new Store.
Declaration
public override IEnumerable<IStoreTemplate> GetAvailableTemplates(string id)
Parameters
Type Name Description
System.String id Store ID.
Returns
Type Description
System.Collections.Generic.IEnumerable<IStoreTemplate>
Overrides
SesameServer.GetAvailableTemplates(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
System.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

GetDefaultTemplate(String)

Gets a default template for creating a new Store.
Declaration
public override IStoreTemplate GetDefaultTemplate(string id)
Parameters
Type Name Description
System.String id Store ID.
Returns
Type Description
IStoreTemplate
Overrides
SesameServer.GetDefaultTemplate(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
System.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

GetStore(String)

Gets a Store within the current catalog.
Declaration
public override IStorageProvider GetStore(string storeID)
Parameters
Type Name Description
System.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

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
System.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

ListStores()

Get the lists of stores available on the Server.
Declaration
public override IEnumerable<string> ListStores()
Returns
Type Description
System.Collections.Generic.IEnumerable<System.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
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.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • AllegroGraphServer(String)
    • AllegroGraphServer(String, IWebProxy)
    • AllegroGraphServer(String, String)
    • AllegroGraphServer(String, String, IWebProxy)
    • AllegroGraphServer(String, String, String)
    • AllegroGraphServer(String, String, String, IWebProxy)
    • AllegroGraphServer(String, String, String, String)
    • AllegroGraphServer(String, String, String, String, IWebProxy)
  • Methods
    • CreateRequest(String, String, String, Dictionary<String, String>)
    • CreateStore(IStoreTemplate)
    • CreateStore(IStoreTemplate, AsyncStorageCallback, Object)
    • DeleteStore(String)
    • DeleteStore(String, AsyncStorageCallback, Object)
    • GetAvailableTemplates(String)
    • GetAvailableTemplates(String, AsyncStorageCallback, Object)
    • GetDefaultTemplate(String)
    • GetDefaultTemplate(String, AsyncStorageCallback, Object)
    • GetStore(String)
    • GetStore(String, AsyncStorageCallback, Object)
    • ListStores()
    • ListStores(AsyncStorageCallback, Object)
    • SerializeConfiguration(ConfigurationSerializationContext)
  • Implements
  • Extension Methods
Back to top Generated by DocFX