Show / Hide Table of Contents

Class AllegroGraphConnector

Class for connecting to an AllegroGraph Store.
Inheritance
System.Object
BaseHttpConnector
BaseAsyncHttpConnector
BaseSesameHttpProtocolConnector
AllegroGraphConnector
Implements
IConfigurationSerializable
IAsyncUpdateableStorage
IAsyncQueryableStorage
IAsyncStorageProvider
IUpdateableStorage
IQueryableStorage
IStorageProvider
IStorageCapabilities
System.IDisposable
Inherited Members
BaseSesameHttpProtocolConnector._baseUri
BaseSesameHttpProtocolConnector._store
BaseSesameHttpProtocolConnector._repositoriesPrefix
BaseSesameHttpProtocolConnector._queryPath
BaseSesameHttpProtocolConnector._updatePath
BaseSesameHttpProtocolConnector._fullContextEncoding
BaseSesameHttpProtocolConnector._postAllQueries
BaseSesameHttpProtocolConnector._server
BaseSesameHttpProtocolConnector.BaseUri
BaseSesameHttpProtocolConnector.RepositoryName
BaseSesameHttpProtocolConnector.IOBehaviour
BaseSesameHttpProtocolConnector.UpdateSupported
BaseSesameHttpProtocolConnector.DeleteSupported
BaseSesameHttpProtocolConnector.ListGraphsSupported
BaseSesameHttpProtocolConnector.IsReady
BaseSesameHttpProtocolConnector.IsReadOnly
BaseSesameHttpProtocolConnector.ParentServer
BaseSesameHttpProtocolConnector.Query(String)
BaseSesameHttpProtocolConnector.Query(IRdfHandler, ISparqlResultsHandler, String)
BaseSesameHttpProtocolConnector.CreateRdfWriter()
BaseSesameHttpProtocolConnector.LoadGraph(IGraph, Uri)
BaseSesameHttpProtocolConnector.LoadGraph(IRdfHandler, Uri)
BaseSesameHttpProtocolConnector.LoadGraph(IGraph, String)
BaseSesameHttpProtocolConnector.LoadGraph(IRdfHandler, String)
BaseSesameHttpProtocolConnector.SaveGraph(IGraph)
BaseSesameHttpProtocolConnector.UpdateGraph(Uri, IEnumerable<Triple>, IEnumerable<Triple>)
BaseSesameHttpProtocolConnector.UpdateGraph(String, IEnumerable<Triple>, IEnumerable<Triple>)
BaseSesameHttpProtocolConnector.DeleteGraph(Uri)
BaseSesameHttpProtocolConnector.DeleteGraph(String)
BaseSesameHttpProtocolConnector.ListGraphs()
BaseSesameHttpProtocolConnector.AsyncParentServer
BaseSesameHttpProtocolConnector.SaveGraph(IGraph, AsyncStorageCallback, Object)
BaseSesameHttpProtocolConnector.LoadGraph(IRdfHandler, String, AsyncStorageCallback, Object)
BaseSesameHttpProtocolConnector.UpdateGraph(String, IEnumerable<Triple>, IEnumerable<Triple>, AsyncStorageCallback, Object)
BaseSesameHttpProtocolConnector.DeleteGraph(String, AsyncStorageCallback, Object)
BaseSesameHttpProtocolConnector.Query(String, AsyncStorageCallback, Object)
BaseSesameHttpProtocolConnector.Query(IRdfHandler, ISparqlResultsHandler, String, AsyncStorageCallback, Object)
BaseSesameHttpProtocolConnector.Dispose()
BaseAsyncHttpConnector.LoadGraph(IGraph, Uri, AsyncStorageCallback, Object)
BaseAsyncHttpConnector.LoadGraph(IGraph, String, AsyncStorageCallback, Object)
BaseAsyncHttpConnector.LoadGraph(IRdfHandler, Uri, AsyncStorageCallback, Object)
BaseAsyncHttpConnector.LoadGraphAsync(HttpWebRequest, IRdfHandler, AsyncStorageCallback, Object)
BaseAsyncHttpConnector.SaveGraphAsync(HttpWebRequest, IRdfWriter, IGraph, AsyncStorageCallback, Object)
BaseAsyncHttpConnector.UpdateGraph(Uri, IEnumerable<Triple>, IEnumerable<Triple>, AsyncStorageCallback, Object)
BaseAsyncHttpConnector.UpdateGraphAsync(HttpWebRequest, IRdfWriter, Uri, IEnumerable<Triple>, AsyncStorageCallback, Object)
BaseAsyncHttpConnector.DeleteGraph(Uri, AsyncStorageCallback, Object)
BaseAsyncHttpConnector.DeleteGraphAsync(HttpWebRequest, Boolean, String, AsyncStorageCallback, Object)
BaseAsyncHttpConnector.ListGraphs(AsyncStorageCallback, Object)
BaseAsyncHttpConnector.MakeRequestSequence(IEnumerable<HttpWebRequest>, AsyncStorageCallback, Object)
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)
Namespace: VDS.RDF.Storage
Assembly: dotNetRDF.dll
Syntax
public class AllegroGraphConnector : BaseSesameHttpProtocolConnector, IConfigurationSerializable, IAsyncUpdateableStorage, IAsyncQueryableStorage, IAsyncStorageProvider, IUpdateableStorage, IQueryableStorage, IStorageProvider, IStorageCapabilities, IDisposable
Remarks

Connection to AllegroGraph is based on their new HTTP Protocol which is an extension of the Sesame 2.0 HTTP Protocol. The specification for the AllegroGraph protocol can be found. here

If you wish to use a Store which is part of the Root Catalog on an AllegroGraph 4.x and higher server you can either use the constructor overloads that omit the catalogID parameter or pass in null as the value for that parameter.

Constructors

| Improve this Doc View Source

AllegroGraphConnector(String, String)

Creates a new Connection to an AllegroGraph store in the Root Catalog (AllegroGraph 4.x and higher).
Declaration
public AllegroGraphConnector(string baseUri, string storeID)
Parameters
Type Name Description
System.String baseUri Base Uri for the Store.
System.String storeID Store ID.
| Improve this Doc View Source

AllegroGraphConnector(String, String, IWebProxy)

Creates a new Connection to an AllegroGraph store in the Root Catalog (AllegroGraph 4.x and higher).
Declaration
public AllegroGraphConnector(string baseUri, string storeID, IWebProxy proxy)
Parameters
Type Name Description
System.String baseUri Base Uri for the Store.
System.String storeID Store ID.
System.Net.IWebProxy proxy Proxy Server.
| Improve this Doc View Source

AllegroGraphConnector(String, String, String)

Creates a new Connection to an AllegroGraph store.
Declaration
public AllegroGraphConnector(string baseUri, string catalogID, string storeID)
Parameters
Type Name Description
System.String baseUri Base URI for the Store.
System.String catalogID Catalog ID.
System.String storeID Store ID.
| Improve this Doc View Source

AllegroGraphConnector(String, String, String, IWebProxy)

Creates a new Connection to an AllegroGraph store.
Declaration
public AllegroGraphConnector(string baseUri, string catalogID, string storeID, IWebProxy proxy)
Parameters
Type Name Description
System.String baseUri Base Uri for the Store.
System.String catalogID Catalog ID.
System.String storeID Store ID.
System.Net.IWebProxy proxy Proxy Server.
| Improve this Doc View Source

AllegroGraphConnector(String, String, String, String)

Creates a new Connection to an AllegroGraph store in the Root Catalog (AllegroGraph 4.x and higher).
Declaration
public AllegroGraphConnector(string baseUri, string storeID, string username, string password)
Parameters
Type Name Description
System.String baseUri Base Uri for the Store.
System.String storeID Store ID.
System.String username Username for connecting to the Store.
System.String password Password for connecting to the Store.
| Improve this Doc View Source

AllegroGraphConnector(String, String, String, String, IWebProxy)

Creates a new Connection to an AllegroGraph store in the Root Catalog (AllegroGraph 4.x and higher).
Declaration
public AllegroGraphConnector(string baseUri, string storeID, string username, string password, IWebProxy proxy)
Parameters
Type Name Description
System.String baseUri Base Uri for the Store.
System.String storeID Store 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.
| Improve this Doc View Source

AllegroGraphConnector(String, String, String, String, String)

Creates a new Connection to an AllegroGraph store.
Declaration
public AllegroGraphConnector(string baseUri, string catalogID, string storeID, string username, string password)
Parameters
Type Name Description
System.String baseUri Base Uri for the Store.
System.String catalogID Catalog ID.
System.String storeID Store ID.
System.String username Username for connecting to the Store.
System.String password Password for connecting to the Store.
| Improve this Doc View Source

AllegroGraphConnector(String, String, String, String, String, IWebProxy)

Creates a new Connection to an AllegroGraph store.
Declaration
public AllegroGraphConnector(string baseUri, string catalogID, string storeID, 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 storeID Store 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.

Properties

| Improve this Doc View Source

Catalog

Gets the Catalog under which the repository you are connected to is located.
Declaration
public string Catalog { get; }
Property Value
Type Description
System.String

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
BaseSesameHttpProtocolConnector.CreateRequest(String, String, String, Dictionary<String, String>)
| Improve this Doc View Source

EscapeQuery(String)

Does nothing as AllegroGraph does not require the same query escaping that Sesame does.
Declaration
protected override string EscapeQuery(string query)
Parameters
Type Name Description
System.String query Query to escape.
Returns
Type Description
System.String
Overrides
BaseSesameHttpProtocolConnector.EscapeQuery(String)
| Improve this Doc View Source

GetSaveContentType()

Gets the Content Type used to save data to the store i.e. the MIME type to use for the Content-Type header.
Declaration
protected override string GetSaveContentType()
Returns
Type Description
System.String
Overrides
BaseSesameHttpProtocolConnector.GetSaveContentType()
| 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
BaseSesameHttpProtocolConnector.SerializeConfiguration(ConfigurationSerializationContext)
| Improve this Doc View Source

ToString()

Gets a String which gives details of the Connection.
Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
BaseSesameHttpProtocolConnector.ToString()
| Improve this Doc View Source

Update(String)

Makes a SPARQL Update request to the Allegro Graph server.
Declaration
public virtual void Update(string sparqlUpdate)
Parameters
Type Name Description
System.String sparqlUpdate SPARQL Update.
| Improve this Doc View Source

Update(String, AsyncStorageCallback, Object)

Makes a SPARQL Update request to the Allegro Graph server.
Declaration
public virtual void Update(string sparqlUpdate, AsyncStorageCallback callback, object state)
Parameters
Type Name Description
System.String sparqlUpdate SPARQL Update.
AsyncStorageCallback callback Callback.
System.Object state State to pass to the callback.

Implements

IConfigurationSerializable
IAsyncUpdateableStorage
IAsyncQueryableStorage
IAsyncStorageProvider
IUpdateableStorage
IQueryableStorage
IStorageProvider
IStorageCapabilities
System.IDisposable

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • AllegroGraphConnector(String, String)
    • AllegroGraphConnector(String, String, IWebProxy)
    • AllegroGraphConnector(String, String, String)
    • AllegroGraphConnector(String, String, String, IWebProxy)
    • AllegroGraphConnector(String, String, String, String)
    • AllegroGraphConnector(String, String, String, String, IWebProxy)
    • AllegroGraphConnector(String, String, String, String, String)
    • AllegroGraphConnector(String, String, String, String, String, IWebProxy)
  • Properties
    • Catalog
  • Methods
    • CreateRequest(String, String, String, Dictionary<String, String>)
    • EscapeQuery(String)
    • GetSaveContentType()
    • SerializeConfiguration(ConfigurationSerializationContext)
    • ToString()
    • Update(String)
    • Update(String, AsyncStorageCallback, Object)
  • Implements
  • Extension Methods
Back to top Generated by DocFX