Class: RepositoryConfig

RepositoryConfig(idopt, locationopt, paramsopt, sesameTypeopt, titleopt, typeopt)

Helper class to use when new repository is programmatically created.

Constructor

new RepositoryConfig(idopt, locationopt, paramsopt, sesameTypeopt, titleopt, typeopt)

Parameters:
Name Type Attributes Description
id string <optional>

Repository ID

location string <optional>

Repository location

params Object <optional>

Map of repository configuration parameters. See GraphDB Documentation. Since GraphDB 11.4, storageEncryption set to "true" encrypts the repository at rest. It needs a master key configured on the GraphDB instance and cannot be changed after creation, see Encryption at rest.

sesameType string <optional>

Repository type as sesame rdf type. May be one of the following: owlim:ReplicationCluster for master repository owlim:ReplicationClusterWorker for worker repository owlim:MonitorRepository for se repository openrdf:SailRepository for se repository graphdb:SailRepository for free repository openrdf:SystemRepository for openrdf-system repository graphdb:OntopRepository for ontop repository

title string <optional>

Repository title

type string <optional>

Repository type as RepositoryType

Author:
  • Teodossi Dossev
Source:

Classes

RepositoryConfig

Methods

toJson() → {Object}

Repository configuration to json getter

Source:
Returns:

Repository configuration as key value pairs object

Type
Object