|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.facet.taxonomy.directory.DirectoryTaxonomyWriter.DiskOrdinalMap
public static final class DirectoryTaxonomyWriter.DiskOrdinalMap
DirectoryTaxonomyWriter.OrdinalMap
maintained on file system
Constructor Summary | |
---|---|
DirectoryTaxonomyWriter.DiskOrdinalMap(File tmpfile)
|
Method Summary | |
---|---|
void |
addDone()
Call addDone() to say that all addMapping() have been done. |
void |
addMapping(int origOrdinal,
int newOrdinal)
|
int[] |
getMap()
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 |
Constructor Detail |
---|
public DirectoryTaxonomyWriter.DiskOrdinalMap(File tmpfile) throws FileNotFoundException
FileNotFoundException
Method Detail |
---|
public void addMapping(int origOrdinal, int newOrdinal) throws IOException
addMapping
in interface DirectoryTaxonomyWriter.OrdinalMap
IOException
public void setSize(int taxonomySize) throws IOException
DirectoryTaxonomyWriter.OrdinalMap
setSize
in interface DirectoryTaxonomyWriter.OrdinalMap
IOException
public void addDone() throws IOException
DirectoryTaxonomyWriter.OrdinalMap
addDone
in interface DirectoryTaxonomyWriter.OrdinalMap
IOException
public int[] getMap() throws IOException
DirectoryTaxonomyWriter.OrdinalMap
getMap
in interface DirectoryTaxonomyWriter.OrdinalMap
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |