Class NativeRepositoryInformation

java.lang.Object
org.eclipse.rdf4j.federated.endpoint.provider.RepositoryInformation
org.eclipse.rdf4j.federated.endpoint.provider.NativeRepositoryInformation

public class NativeRepositoryInformation extends RepositoryInformation
Graph information for RDF4J NativeStore initialization.

Format:

 <%name%> a sd:Service ;
        fedx:store "NativeStore" ;
        fedx:RepositoryLocation "%location%".

 relative path (to SailRepository.getDataDir()) in a "repositories" subfolder

 <http://DBpedia> a sd:Service ;
        fedx:store "NativeStore" ;
        fedx:repositoryLocation "data\\repositories\\native-storage.dbpedia".

 absolute Path

 <http://DBpedia> a sd:Service ;
        fedx:store "NativeStore" ;
        fedx:repositoryLocation "D:\\data\\repositories\\native-storage.dbpedia".
 

Note: the id is constructed from the location: repositories\\native-storage.dbpedia => native-storage.dbpedia

Author:
Andreas Schwarte
  • Constructor Details

    • NativeRepositoryInformation

      public NativeRepositoryInformation(Model graph, Resource repNode)
    • NativeRepositoryInformation

      public NativeRepositoryInformation(String name, String location)
  • Method Details

    • initialize

      protected void initialize(Model graph, Resource repNode)