Class OptPFDS9

java.lang.Object
me.lemire.integercompression.OptPFDS9
All Implemented Interfaces:
IntegerCODEC, SkippableIntegerCODEC

public final class OptPFDS9 extends Object implements IntegerCODEC, SkippableIntegerCODEC
OptPFD based on Simple9 by Yan et al.

Follows:

H. Yan, S. Ding, T. Suel, Inverted index compression and query processing with optimized document ordering, in: WWW 09, 2009, pp. 401-410.

using Simple9 as the secondary coder. It encodes integers in blocks of 128 integers. For arrays containing an arbitrary number of integers, you should use it in conjunction with another CODEC:
 IntegerCODEC ic = new Composition(new OptPFDS9(), new VariableByte()).
Note that this does not use differential coding: if you are working on sorted lists, you must compute the deltas separately. For multi-threaded applications, each thread should use its own OptPFDS9 object.
Author:
Daniel Lemire