Class 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
    
      a sd:Service ;
            fedx:store "NativeStore" ;
            fedx:repositoryLocation "data\\repositories\\native-storage.dbpedia".
    
     absolute Path
    
      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 Detail

      • NativeRepositoryInformation

        public NativeRepositoryInformation​(Model graph,
                                           Resource repNode)
      • NativeRepositoryInformation

        public NativeRepositoryInformation​(String name,
                                           String location)
    • Method Detail

      • initialize

        protected void initialize​(Model graph,
                                  Resource repNode)