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,FieldDocumentIndexEntry.Factory,FieldLexiconEntry.Factory,FixedSizeIntWritableFactory,FixedSizeTextFactory,NonIncrementalDocumentIndexEntry.Factory,SimpleBitIndexPointer.Factory,SimpleDocumentIndexEntry.Factory,Tr3BlockFieldLexiconEntry.Factory,Tr3BlockLexiconEntry.Factory,Tr4BasicLexiconEntry.Factory,Tr4FieldLexiconEntry.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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetSize()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
-
-