public class Optimizer extends Reduce
The reduction will be made by joining two rows where the first is a subset of the second.
| Constructor and Description | 
|---|
| Optimizer()Constructor for the Optimizer object. | 
| Modifier and Type | Method and Description | 
|---|---|
| org.egothor.stemmer.Cell | merge(org.egothor.stemmer.Cell m,
     org.egothor.stemmer.Cell e)Merge the given Cells and return the resulting Cell. | 
| Row | merge(Row master,
     Row existing)Merge the given rows and return the resulting Row. | 
| Trie | optimize(Trie orig)Optimize (remove empty rows) from the given Trie and return the resulting
 Trie. | 
public Trie optimize(Trie orig)
public Row merge(Row master, Row existing)
master - the master Rowexisting - the existing Rowpublic org.egothor.stemmer.Cell merge(org.egothor.stemmer.Cell m,
                                      org.egothor.stemmer.Cell e)
m - the master Celle - the existing CellCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.