Package org.terrier.structures.seralization
Provides classes for things that can be serializaed to disk. Invariably, these have a fixed-size, so that random-seeks etc can be utilised on persistent data structures.
-
Interface Summary Interface Description FixedSizeWriteableFactory<T extends org.apache.hadoop.io.Writable> Sub-interface for WritableFactory, where the Writable objects have a fixed size on disk.WriteableFactory<T> General interface for factories of Writable objects. -
Class Summary Class Description FixedSizeIntWritableFactory Makes an IntWritable, which has a fixed Writable size of 4 bytes.FixedSizeTextFactory Makes aText
object that has a fixed size when written usingWritable
methods.