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