org.terrier.structures.seralization
Interface FixedSizeWriteableFactory<T extends org.apache.hadoop.io.Writable>

Type Parameters:
T - Some Writable type of fixed size when written using Writable interface methods.
All Superinterfaces:
WriteableFactory<T>
All Known Implementing Classes:
BasicDocumentIndexEntry.Factory, BasicLexiconEntry.Factory, BlockFieldLexiconEntry.Factory, BlockLexiconEntry.Factory, FieldDocumentIndexEntry.Factory, FieldLexiconEntry.Factory, FixedSizeIntWritableFactory, FixedSizeTextFactory, SimpleBitIndexPointer.Factory, SimpleDocumentIndexEntry.Factory

public interface FixedSizeWriteableFactory<T extends org.apache.hadoop.io.Writable>
extends WriteableFactory<T>

Sub-interface for WritableFactory, where the Writable objects have a fixed size on disk.

Author:
Craig Macdonald

Method Summary
 int getSize()
          Returns the size in bytes when T is written to disk by Writable interface methods
 
Methods inherited from interface org.terrier.structures.seralization.WriteableFactory
newInstance
 

Method Detail

getSize

int getSize()
Returns the size in bytes when T is written to disk by Writable interface methods



Terrier 3.5. Copyright © 2004-2011 University of Glasgow