SesameNativeTemplate Class |
Namespace: VDS.RDF.Storage.Management.Provisioning.Sesame
The SesameNativeTemplate type exposes the following members.
Name | Description | |
---|---|---|
SesameNativeTemplate |
Creates a Sesame Native 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.) | |
IndexMode |
Gets/Sets the Indexing Mode.
| |
Label |
Gets/Sets the descriptive label for a Sesame store.
(Inherited from BaseSesameTemplate.) | |
RdfSchemaInferencing |
Gets/Sets whether to enable RDF Schema Inferencing.
| |
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 specify the configuration of a Sesame repository.
(Overrides BaseSesameTemplateGetTemplateGraph.) | |
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 ns: <http://www.openrdf.org/config/sail/native#>. [] a rep:Repository ; rep:repositoryID "{this.ID}" ; rdfs:label "{this.Label}" ; rep:repositoryImpl [ rep:repositoryType "openrdf:SailRepository" ; sr:sailImpl [ sail:sailType "openrdf:NativeStore" ; ns:tripleIndexes "{this.IndexMode}" ] ].
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.