com.sun.labs.minion.indexer.entry
Interface MergeableEntry

All Superinterfaces:
java.lang.Comparable, Entry, IndexEntry
All Known Implementing Classes:
ClusterEntry, DocKeyEntry, FieldedDocKeyEntry, IDEntry, IDFreqEntry

public interface MergeableEntry
extends IndexEntry


Method Summary
 void merge(QueryEntry qe, int[] idMap)
          Merges postings from another entry into this one.
 
Methods inherited from interface com.sun.labs.minion.indexer.entry.IndexEntry
add, append, encodePostingsInfo, setID, setName, writePostings
 
Methods inherited from interface com.sun.labs.minion.indexer.entry.Entry
getEntry, getEntry, getID, getMaxFDT, getN, getName, getNumChannels, getPartition, getTotalOccurrences, setDictionary
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

merge

void merge(QueryEntry qe,
           int[] idMap)
Merges postings from another entry into this one.

Parameters:
qe - The entry that we want to append onto this one.
idMap - A map from old IDs in the given postings to new IDs with gaps removed for deleted data. If this is null, then there are no deleted documents.