org.terrier.structures.postings
Interface WritablePosting

All Superinterfaces:
Posting, Serializable, org.apache.hadoop.io.Writable
All Known Implementing Classes:
BasicIterablePosting, BasicIterablePostingDocidOnly, BasicPostingImpl, BlockFieldIterablePosting, BlockFieldPostingImpl, BlockIterablePosting, BlockPostingImpl, FieldIterablePosting, FieldPostingImpl

public interface WritablePosting
extends Posting, org.apache.hadoop.io.Writable, Serializable

Allow a Posting to be written to a DataOut

Since:
3.0
Author:
Craig Macdonald

Method Summary
 void setDocumentLength(int l)
           
 
Methods inherited from interface org.terrier.structures.postings.Posting
asWritablePosting, getDocumentLength, getFrequency, getId, setId
 
Methods inherited from interface org.apache.hadoop.io.Writable
readFields, write
 

Method Detail

setDocumentLength

void setDocumentLength(int l)


Terrier 3.6. Copyright © 2004-2011 University of Glasgow