Package | Description |
---|---|
org.terrier.compression.bit |
Provides implementation of a random access and input and output streams
where gamma, unary and binary, delta Golomb encoded integers can be read or written.
|
org.terrier.realtime.compression |
Provides in-memory bit and byte-level buffers that support compression.
|
org.terrier.structures.bit |
Provides on-disk index structures that support the older bit-level compression scheme.
|
org.terrier.structures.indexing.singlepass |
Provides implementation of the structures needed for performing a single
pass indexing
|
Modifier and Type | Class and Description |
---|---|
class |
BitByteOutputStream
An implementation of BitOutputStream that does no buffering.
|
class |
BitFile
Deprecated.
Use BitFileBuffered and BitOutputStream instead
|
class |
BitOutputStream
This class provides methods to write compressed integers to an outputstream.
The numbers are written into a byte starting from the most significant bit (i.e, left to right). |
class |
MemorySBOS
This class extends the BitByteOutputStream, so it provides the compression writing functions, but
uses a MemoryOutputStream as an underlying OutputStream, so it is needed to be flushed to disk separately.
|
Modifier and Type | Method and Description |
---|---|
int |
BitWritable.writeFields(BitOut out)
Write the object to the specified BitOut.
|
Modifier and Type | Class and Description |
---|---|
class |
MemBitSetBuffer
Buffer backed by a
BitSet . |
class |
MemByteBuffer
Buffer backed by a
ByteBuffer . |
Modifier and Type | Field and Description |
---|---|
protected BitOut |
DirectInvertedOutputStream.output
what to write to
|
Modifier and Type | Method and Description |
---|---|
BitOut |
DirectInvertedOutputStream.getBitOut()
Return the underlying BitOut implementation being used by the class
|
Constructor and Description |
---|
BlockDirectInvertedOutputStream(BitOut out)
Creates a new output stream, writing to the specified BitOut implementation.
|
BlockFieldDirectInvertedOutputStream(BitOut out)
Constructs an instance of the class with
|
DirectInvertedDocidOnlyOuptutStream(BitOut out)
Constructs an instance of the class with
|
DirectInvertedOutputStream(BitOut out)
Creates a new output stream, writing to the specified BitOut implementation.
|
FieldDirectInvertedOutputStream(BitOut out)
Constructs an instance of the class with
|
Modifier and Type | Field and Description |
---|---|
protected BitOut |
RunsMerger.bos
BitOut used to write the merged postings to disk
|
Modifier and Type | Method and Description |
---|---|
BitOut |
RunsMerger.getBos()
getBos
|
Modifier and Type | Method and Description |
---|---|
int |
PostingInRun.append(BitOut bos,
int last)
Writes the document data of this posting to a
BitOut
It encodes the data with the right compression methods. |
int |
SimplePostingInRun.append(BitOut bos,
int last,
int runShift)
Writes the document data of this posting to a
BitOut
It encodes the data with the right compression methods. |
abstract int |
PostingInRun.append(BitOut bos,
int last,
int runShift)
Writes the document data of this posting to a
BitOut
It encodes the data with the right compression methods. |
int |
FieldPostingInRun.append(BitOut bos,
int last,
int runShift)
Writes the document data of this posting to a
BitOut
It encodes the data with the right compression methods. |
int |
BlockPostingInRun.append(BitOut bos,
int last,
int runShift)
Writes the document data of this posting to a
BitOut
It encodes the data with the right compression methods. |
int |
BlockFieldPostingInRun.append(BitOut bos,
int last,
int runShift)
Writes the document data of this posting to a
BitOut
It encodes the data with the right compression methods. |
protected void |
RunsMerger.init(int size,
BitOut invertedFile) |
void |
RunsMerger.setBos(BitOut _bos)
setBos
|
Terrier 4.0. Copyright © 2004-2014 University of Glasgow