Class DirectoryTaxonomyWriter.DiskOrdinalMap

java.lang.Object
org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter.DiskOrdinalMap
All Implemented Interfaces:
DirectoryTaxonomyWriter.OrdinalMap
Enclosing class:
DirectoryTaxonomyWriter

public static final class DirectoryTaxonomyWriter.DiskOrdinalMap extends Object implements DirectoryTaxonomyWriter.OrdinalMap
DirectoryTaxonomyWriter.OrdinalMap maintained on file system
  • Constructor Summary

    Constructors
    Constructor
    Description
    Sole constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Call addDone() to say that all addMapping() have been done.
    void
    addMapping(int origOrdinal, int newOrdinal)
    Record a mapping.
    int[]
    Return the map from the taxonomy's original (consecutive) ordinals to the new taxonomy's ordinals.
    void
    setSize(int taxonomySize)
    Set the size of the map.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait