|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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.OrdinalMapIOException
public void setSize(int taxonomySize)
throws IOException
DirectoryTaxonomyWriter.OrdinalMap
setSize in interface DirectoryTaxonomyWriter.OrdinalMapIOException
public void addDone()
throws IOException
DirectoryTaxonomyWriter.OrdinalMap
addDone in interface DirectoryTaxonomyWriter.OrdinalMapIOException
public int[] getMap()
throws IOException
DirectoryTaxonomyWriter.OrdinalMap
getMap in interface DirectoryTaxonomyWriter.OrdinalMapIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||