Show / Hide Table of Contents

Class SesameHttpTemplate

Templates for creating remote Sesame stores.

Inheritance
object
StoreTemplate
BaseSesameTemplate
SesameHttpTemplate
Implements
IStoreTemplate
Inherited Members
BaseSesameTemplate.RepositoryNamespace
BaseSesameTemplate.RepositorySailNamespace
BaseSesameTemplate.RepositoryHttpNamespace
BaseSesameTemplate.SailNamespace
BaseSesameTemplate.SailMemoryNamespace
BaseSesameTemplate.SailNativeNamespace
BaseSesameTemplate.Label
BaseSesameTemplate.GetBaseTemplateGraph()
BaseSesameTemplate.ContextNode
StoreTemplate.ID
StoreTemplate.TemplateName
StoreTemplate.TemplateDescription
StoreTemplate.Validate()
StoreTemplate.ToString()
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: VDS.RDF.Storage.Management.Provisioning.Sesame
Assembly: dotNetRdf.dll
Syntax
public class SesameHttpTemplate : BaseSesameTemplate, IStoreTemplate
Remarks

This template generates a Sesame repository config graph like the following, depending on exact options the graph may differ:

@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix rep: <http://www.openrdf.org/config/repository#>.
@prefix hr: <http://www.openrdf.org/config/repository/http#>.
[] a rep:Repository ;
rep:repositoryImpl [
rep:repositoryType "openrdf:HTTPRepository" ;
hr:repositoryURL <{%Sesame server location|http://localhost:8080/openrdf-sesame%}/repositories/{%Remote repository ID|SYSTEM%}>
];
rep:repositoryID "{this.ID}" ;
rdfs:label "{this.Label}" .

The placeholders of the form {this.Property} represent properties of this class whose values will be inserted into the repository config graph and used to create a new store in Sesame.

Constructors

| Edit this page View Source

SesameHttpTemplate(string)

Creates a new Template.

Declaration
public SesameHttpTemplate(string id)
Parameters
Type Name Description
string id

Store ID.

Properties

| Edit this page View Source

RemoteRepositoryID

Gets/Sets the ID of the remote repository to connect to.

Declaration
public string RemoteRepositoryID { get; set; }
Property Value
Type Description
string
| Edit this page View Source

RemoteServer

Gets/Sets the remote Sesame server to connect to.

Declaration
public string RemoteServer { get; set; }
Property Value
Type Description
string

Methods

| Edit this page View Source

GetTemplateGraph()

Gets the template graph.

Declaration
public override IGraph GetTemplateGraph()
Returns
Type Description
IGraph
Overrides
BaseSesameTemplate.GetTemplateGraph()

Implements

IStoreTemplate

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Constructors
    • SesameHttpTemplate(string)
  • Properties
    • RemoteRepositoryID
    • RemoteServer
  • Methods
    • GetTemplateGraph()
  • Implements
  • Extension Methods
Back to top Generated by DocFX