Class HashSpaceImpl

java.lang.Object
org.aksw.jena_sparql_api.http.repository.impl.HashSpaceImpl
All Implemented Interfaces:
HashSpace

public class HashSpaceImpl extends Object implements HashSpace
  • Field Details

    • basePath

      protected Path basePath
    • hashSplitLength

      protected int hashSplitLength
  • Constructor Details

    • HashSpaceImpl

      public HashSpaceImpl(Path basePath)
    • HashSpaceImpl

      public HashSpaceImpl(Path basePath, int hashSplitLength)
  • Method Details

    • get

      public Path get(String hash)
      Copies or moves a file into the hash space and returns the path
      Specified by:
      get in interface HashSpace
      Parameters:
      hash -
      file -
      move - if true, move the given file into the hash space
      Returns: