SesameMemTemplate Class |
Namespace: VDS.RDF.Storage.Management.Provisioning.Sesame
The SesameMemTemplate type exposes the following members.
Name | Description | |
---|---|---|
![]() | SesameMemTemplate |
Creates a new memory store template.
|
Name | Description | |
---|---|---|
![]() | ContextNode |
Gets the Node used to refer to the store configuration context.
(Inherited from BaseSesameTemplate.) |
![]() | DirectTypeHierarchyInferencing |
Gets/Sets whether to enable direct type hierarchy inferencing.
|
![]() | ID |
Gets/Sets the Store ID.
(Inherited from StoreTemplate.) |
![]() | Label |
Gets/Sets the descriptive label for a Sesame store.
(Inherited from BaseSesameTemplate.) |
![]() | Persist |
Gets/Sets whether to persist the store.
|
![]() | RdfSchemaInferencing |
Gets/Sets whether to enable RDF Schema Inferencing.
|
![]() | SyncDelay |
Gets/Sets the sync delay.
|
![]() | TemplateDescription |
Gets the description of the type of store the template will create.
(Inherited from StoreTemplate.) |
![]() | TemplateName |
Gets the name of the type of store the template will create.
(Inherited from StoreTemplate.) |
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetBaseTemplateGraph |
Gets the basic template graph which is a graph with all the required namespaces registered and the ID and label filled in.
(Inherited from BaseSesameTemplate.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetTemplateGraph |
Gets the template graph used to create the store.
(Overrides BaseSesameTemplate.GetTemplateGraph().) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString |
Gets the string representation of the template which is the Template Name.
(Inherited from StoreTemplate.) |
![]() | Validate |
Validates the template.
(Inherited from StoreTemplate.) |
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.