Class HierarchicalFileMap

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

public class HierarchicalFileMap extends FileMap
Stores files in a hierarchical folder structure, alternating between the index name and the associated index value. When given a Schema, the structure defined by the schema is used. However, if schemaless, this reuses the existing folder hierarchy.

Paths are treated in a case-insensitive manner, even on platforms with case-sensitive file systems.

  • Constructor Details

    • HierarchicalFileMap

      public HierarchicalFileMap()
      Constructs a new hierarchical file map.
  • 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