org.egothor.store
Class IListMetadataWrite

java.lang.Object
  extended by org.egothor.store.IListMetadata
      extended by org.egothor.store.IListMetadataWrite
All Implemented Interfaces:
IListMetadata, IListWriter

public class IListMetadataWrite
extends IListMetadata
implements IListWriter


Field Summary
 
Fields inherited from class org.egothor.store.IListMetadata
term
 
Constructor Summary
IListMetadataWrite(java.lang.String term, long offset)
           
 
Method Summary
 void append(long new_uid, IListItem item)
          Append a new inverted list item.
 void close()
          Close this IListWriter.
 IListWriter getNew(DataOutput ils_dta, ProximitiesFileOut prox)
           
 void store(DataOutput out)
          Description of the Method
 
Methods inherited from class org.egothor.store.IListMetadata
getLength, isBitmap, isSeparated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IListMetadataWrite

public IListMetadataWrite(java.lang.String term,
                          long offset)
Method Detail

getNew

public IListWriter getNew(DataOutput ils_dta,
                          ProximitiesFileOut prox)

append

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

Specified by:
append in interface IListWriter
Parameters:
new_uid - The new item identification.
item - The inverted list item.
Throws:
java.io.IOException

store

public void store(DataOutput out)
           throws java.io.IOException
Description of the Method

Parameters:
out - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

close

public void close()
Description copied from interface: IListWriter
Close this IListWriter.

Specified by:
close in interface IListWriter