com.sun.labs.minion.indexer.dictionary
Interface NameEncoder

All Known Implementing Classes:
DateNameHandler, DoubleNameHandler, LongNameHandler, StringNameHandler

public interface NameEncoder

An interface for encoding the names of entries in a dictionary.


Method Summary
 void encodeName(java.lang.Object prev, java.lang.Object curr, WriteableBuffer b)
          Encodes the name of an entry, given the name of the previous entry in the dictionary.
 

Method Detail

encodeName

void encodeName(java.lang.Object prev,
                java.lang.Object curr,
                WriteableBuffer b)
Encodes the name of an entry, given the name of the previous entry in the dictionary.

Parameters:
prev - The name of the previous entry in the dictionary.
curr - The name of the entry to encode.
b - The buffer onto which the name of the term should be encoded.