|
||||||||||
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.MemoryOrdinalMap
public static final class DirectoryTaxonomyWriter.MemoryOrdinalMap
DirectoryTaxonomyWriter.OrdinalMap
maintained in memory
Constructor Summary | |
---|---|
DirectoryTaxonomyWriter.MemoryOrdinalMap()
|
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.MemoryOrdinalMap()
Method Detail |
---|
public void setSize(int taxonomySize)
DirectoryTaxonomyWriter.OrdinalMap
setSize
in interface DirectoryTaxonomyWriter.OrdinalMap
public void addMapping(int origOrdinal, int newOrdinal)
addMapping
in interface DirectoryTaxonomyWriter.OrdinalMap
public void addDone()
DirectoryTaxonomyWriter.OrdinalMap
addDone
in interface DirectoryTaxonomyWriter.OrdinalMap
public int[] getMap()
DirectoryTaxonomyWriter.OrdinalMap
getMap
in interface DirectoryTaxonomyWriter.OrdinalMap
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |