Package org.terrier.structures.indexing
Class UncompressedMetaIndexBuilder
- java.lang.Object
-
- org.terrier.structures.indexing.MetaIndexBuilder
-
- org.terrier.structures.indexing.BaseMetaIndexBuilder
-
- org.terrier.structures.indexing.UncompressedMetaIndexBuilder
-
- All Implemented Interfaces:
java.io.Closeable
,java.io.Flushable
,java.lang.AutoCloseable
public class UncompressedMetaIndexBuilder extends BaseMetaIndexBuilder
Writes all metadata as uncompressed- Since:
- 5.5
-
-
Field Summary
-
Fields inherited from class org.terrier.structures.indexing.BaseMetaIndexBuilder
baos, compressedBuffer, CROP_LONG, currentIndexOffset, currentOffset, dataOutput, DOCS_PER_CHECK, entryCount, entryLengthBytes, index, indexOutput, key2Index, keyCount, keyFactories, keyNames, lastValues, logger, MAX_INDEX_MB_IN_MEM_RETRIEVAL, MAX_MB_IN_MEM_RETRIEVAL, memCheck, REVERSE_ALLOW_DUPS, REVERSE_KEY_LOOKUP_WRITING_BUFFER_SIZE, reverseKeyNames, reverseKeys, reverseWriters, spaces, structureClass, structureInputStreamClass, structureName, valueLensBytes, valueLensChars, valuesSorted
-
-
Constructor Summary
Constructors Constructor Description UncompressedMetaIndexBuilder(IndexOnDisk _index, java.lang.String[] _keyNames, int[] _valueLens, java.lang.String[] _reverseKeys)
UncompressedMetaIndexBuilder(IndexOnDisk _index, java.lang.String _structureName, java.lang.String[] _keyNames, int[] _valueLens, java.lang.String[] _reverseKeys)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
writeData(byte[] data)
-
Methods inherited from class org.terrier.structures.indexing.BaseMetaIndexBuilder
close, flush, writeDocumentEntry, writeDocumentEntry
-
Methods inherited from class org.terrier.structures.indexing.MetaIndexBuilder
create
-
-
-
-
Constructor Detail
-
UncompressedMetaIndexBuilder
public UncompressedMetaIndexBuilder(IndexOnDisk _index, java.lang.String[] _keyNames, int[] _valueLens, java.lang.String[] _reverseKeys)
-
UncompressedMetaIndexBuilder
public UncompressedMetaIndexBuilder(IndexOnDisk _index, java.lang.String _structureName, java.lang.String[] _keyNames, int[] _valueLens, java.lang.String[] _reverseKeys)
-
-
Method Detail
-
writeData
protected int writeData(byte[] data) throws java.io.IOException
- Specified by:
writeData
in classBaseMetaIndexBuilder
- Throws:
java.io.IOException
-
-