Package | Description |
---|---|
org.terrier.compression.integer |
Provides implementations of a random access and input and output streams with byte-level compression.
|
org.terrier.compression.integer.codec |
Provides implementations of byte-level compression codecs for use when compressing index structures.
|
org.terrier.structures.integer |
Provides generic posting index classes that support byte-level compression.
|
Modifier and Type | Class and Description |
---|---|
class |
ByteOutputStream
Bytewise counterpart of
BitOut |
Modifier and Type | Method and Description |
---|---|
void |
VIntCodec.compress(int[] in,
int len,
ByteOut out) |
void |
UnaryCodec.compress(int[] in,
int len,
ByteOut out) |
void |
LemireCodec.compress(int[] in,
int len,
ByteOut out) |
abstract void |
IntegerCodec.compress(int[] in,
int len,
ByteOut out)
Compress and write down an integer array
|
void |
GammaCodec.compress(int[] in,
int len,
ByteOut out) |
void |
VIntCodec.compress(long[] in,
int len,
ByteOut out) |
Modifier and Type | Field and Description |
---|---|
protected ByteOut |
IntegerCodingPostingOutputStream.output |
Constructor and Description |
---|
IntegerCodingPostingOutputStream(ByteOut output,
int chunkSize,
int fieldsCount,
int hasBlocks,
IntegerCodec idsCodec,
IntegerCodec tfsCodec,
IntegerCodec fieldsCodec,
IntegerCodec blocksCodec) |
Terrier 4.0. Copyright © 2004-2014 University of Glasgow