• User Guide
  • How-To Guides
  • Developer Guide
  • API Documentation
  • FAQs
  • Support
  • API Documentation
Show / Hide Table of Contents

Class SesameMemTemplate

Template for creating Sesame memory stores.
Inheritance
System.Object
StoreTemplate
BaseSesameTemplate
SesameMemTemplate
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()
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.Management.Provisioning.Sesame
Assembly: dotNetRDF.dll
Syntax
public class SesameMemTemplate : 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 sr: <http://www.openrdf.org/config/repository/sail#>.
@prefix sail: <http://www.openrdf.org/config/sail#>.
@prefix ms: <http://www.openrdf.org/config/sail/memory#>.

[] a rep:Repository ;
rep:repositoryID "{this.ID}" ;
rdfs:label "{this.Label}" ;    
   rep:repositoryImpl [
      rep:repositoryType "openrdf:SailRepository" ;
      sr:sailImpl [
         sail:sailType "openrdf:MemoryStore" ;
         ms:persist {this.Persist} ;
         ms:syncDelay {this.SyncDelay}
      ]
  ].

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

| Improve this Doc View Source

SesameMemTemplate(String)

Creates a new memory store template.
Declaration
public SesameMemTemplate(string id)
Parameters
Type Name Description
System.String id Store ID.

Properties

| Improve this Doc View Source

DirectTypeHierarchyInferencing

Gets/Sets whether to enable direct type hierarchy inferencing.
Declaration
public bool DirectTypeHierarchyInferencing { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Persist

Gets/Sets whether to persist the store.
Declaration
public bool Persist { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

RdfSchemaInferencing

Gets/Sets whether to enable RDF Schema Inferencing.
Declaration
public bool RdfSchemaInferencing { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

SyncDelay

Gets/Sets the sync delay.
Declaration
public int SyncDelay { get; set; }
Property Value
Type Description
System.Int32

Methods

| Improve this Doc View Source

GetTemplateGraph()

Gets the template graph used to create the store.
Declaration
public override IGraph GetTemplateGraph()
Returns
Type Description
IGraph
Overrides
BaseSesameTemplate.GetTemplateGraph()

Implements

IStoreTemplate

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • SesameMemTemplate(String)
  • Properties
    • DirectTypeHierarchyInferencing
    • Persist
    • RdfSchemaInferencing
    • SyncDelay
  • Methods
    • GetTemplateGraph()
  • Implements
  • Extension Methods
Back to top Generated by DocFX