org.egothor.core
Interface IListWriter

All Known Implementing Classes:
IListMetadataWrite, MemoryIList

public interface IListWriter

The IListWriter interface defines an inverted list writer.

Author:
Leo Galambos

Method Summary
 void append(long new_uid, IListItem item)
          Append a new inverted list item.
 void close()
          Close this IListWriter.
 

Method Detail

append

void append(long new_uid,
            IListItem item)
            throws java.io.IOException
Append a new inverted list item. It must be stored with the new identification in this list.

Parameters:
new_uid - The new item identification.
item - The inverted list item.
Throws:
java.io.IOException

close

void close()
Close this IListWriter.