Package org.terrier.structures
Class UncompressedMetaIndex
- java.lang.Object
-
- org.terrier.structures.BaseCompressingMetaIndex
-
- org.terrier.structures.CompressingMetaIndex
-
- org.terrier.structures.UncompressedMetaIndex
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,MetaIndex
public class UncompressedMetaIndex extends CompressingMetaIndex
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UncompressedMetaIndex.InputStream
-
Field Summary
-
Fields inherited from class org.terrier.structures.CompressingMetaIndex
inflaterCache
-
Fields inherited from class org.terrier.structures.BaseCompressingMetaIndex
dataSource, key2bytelength, key2byteoffset, key2reverseOffset, keyCount, keyFactories, keyNames, numDocs, offsetLookup, path, pointerCache, prefix, recordLength, reverseMetaMaps, valueByteLengths, valueByteOffsets, valuesSorted
-
-
Constructor Summary
Constructors Constructor Description UncompressedMetaIndex(IndexOnDisk index, java.lang.String structureName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected byte[]
decode(byte[] input)
-
Methods inherited from class org.terrier.structures.BaseCompressingMetaIndex
_binarySearch, close, getAllItems, getDocument, getItem, getItems, getItems, getItems, getKeys, getReverseKeys, loadIndex, main, size
-
-
-
-
Constructor Detail
-
UncompressedMetaIndex
public UncompressedMetaIndex(IndexOnDisk index, java.lang.String structureName) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
decode
protected byte[] decode(byte[] input) throws java.io.IOException
- Overrides:
decode
in classCompressingMetaIndex
- Throws:
java.io.IOException
-
-