Show / Hide Table of Contents

Class BaseSesameTemplate

Abstract base class for templates for creating new stores in Sesame.

Inheritance
object
StoreTemplate
BaseSesameTemplate
SesameHttpTemplate
SesameMemTemplate
SesameNativeTemplate
Implements
IStoreTemplate
Inherited Members
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 abstract class BaseSesameTemplate : StoreTemplate, IStoreTemplate
Remarks

Sesame templates generate a configuration graph like the one mentioned in the Sesame documentation, this graph is POSTed to the SYSTEM repository causing a new store to be created.

Constructors

| Edit this page View Source

BaseSesameTemplate(string, string, string)

Creates a new Sesame template.

Declaration
public BaseSesameTemplate(string id, string name, string description)
Parameters
Type Name Description
string id

ID.

string name

Template name.

string description

Template description.

Fields

| Edit this page View Source

RepositoryHttpNamespace

Constants for Sesame repository configuration namespaces.

Declaration
public const string RepositoryHttpNamespace = "http://www.openrdf.org/config/repository/http#"
Field Value
Type Description
string
| Edit this page View Source

RepositoryNamespace

Constants for Sesame repository configuration namespaces.

Declaration
public const string RepositoryNamespace = "http://www.openrdf.org/config/repository#"
Field Value
Type Description
string
| Edit this page View Source

RepositorySailNamespace

Constants for Sesame repository configuration namespaces.

Declaration
public const string RepositorySailNamespace = "http://www.openrdf.org/config/repository/sail#"
Field Value
Type Description
string
| Edit this page View Source

SailMemoryNamespace

Constants for Sesame repository configuration namespaces.

Declaration
public const string SailMemoryNamespace = "http://www.openrdf.org/config/sail/memory#"
Field Value
Type Description
string
| Edit this page View Source

SailNamespace

Constants for Sesame repository configuration namespaces.

Declaration
public const string SailNamespace = "http://www.openrdf.org/config/sail#"
Field Value
Type Description
string
| Edit this page View Source

SailNativeNamespace

Constants for Sesame repository configuration namespaces.

Declaration
public const string SailNativeNamespace = "http://www.openrdf.org/config/sail/native#"
Field Value
Type Description
string

Properties

| Edit this page View Source

ContextNode

Gets the Node used to refer to the store configuration context.

Declaration
[Browsable(false)]
public INode ContextNode { get; }
Property Value
Type Description
INode
| Edit this page View Source

Label

Gets/Sets the descriptive label for a Sesame store.

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

Methods

| Edit this page View Source

GetBaseTemplateGraph()

Gets the basic template graph which is a graph with all the required namespaces registered and the ID and label filled in.

Declaration
protected virtual IGraph GetBaseTemplateGraph()
Returns
Type Description
IGraph
| Edit this page View Source

GetTemplateGraph()

Gets a Graph representing the RDF that must be inserted into Sesame's SYSTEM repository in order to create the desired store.

Declaration
public abstract IGraph GetTemplateGraph()
Returns
Type Description
IGraph

Implements

IStoreTemplate

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Constructors
    • BaseSesameTemplate(string, string, string)
  • Fields
    • RepositoryHttpNamespace
    • RepositoryNamespace
    • RepositorySailNamespace
    • SailMemoryNamespace
    • SailNamespace
    • SailNativeNamespace
  • Properties
    • ContextNode
    • Label
  • Methods
    • GetBaseTemplateGraph()
    • GetTemplateGraph()
  • Implements
  • Extension Methods
Back to top Generated by DocFX