Class HashFileMap

java.lang.Object
org.moeaframework.analysis.store.fs.FileMap
org.moeaframework.analysis.store.fs.HashFileMap
All Implemented Interfaces:
Defined

public class HashFileMap extends FileMap
File map that hashes the reference to create a flat folder structure. An optional prefix is used at the top-level to help organize the containers.
  • Constructor Details

    • HashFileMap

      public HashFileMap(int prefixLength)
      Constructs a hash file map with the given prefix length.
      Parameters:
      prefixLength - if > 0, the length of the prefix; if 0, no prefix folder is created
  • Method Details

    • mapContainer

      public Path mapContainer(Schema schema, Path root, Reference reference) throws IOException
      Throws:
      IOException
    • getDefinition

      public String getDefinition()
      Description copied from interface: Defined
      Returns the string representation, or definition, of this object.
      Returns:
      the definition