public class IntegerCodecCompressionConfiguration extends CompressionFactory.CompressionConfiguration
IntegerCodec
.index.structureName.compression.integer.ids.codec=LemireFORVBCodec index.structureName.compression.integer.tfs.codec=LemireFORVBCodec index.structureName.compression.integer.fields.codec=LemireFORVBCodec index.structureName.compression.integer.blocks.codec=LemireFORVBCodec indexing.compression.configuration=IntegerCodecCompressionConfiguration index.structureName.compression.integer.chunk.size=1024
fieldCount, fieldNames, hasBlocks, maxBlocks, structureName
Constructor and Description |
---|
IntegerCodecCompressionConfiguration(String structureName,
String[] fieldNames,
int hasBlocks,
int maxBlocks) |
Modifier and Type | Method and Description |
---|---|
Class<? extends IterablePosting> |
getPostingIteratorClass()
What is the posting iterator class for this structure
|
AbstractPostingOutputStream |
getPostingOutputStream(String filename)
Write a file of postings to the given location
|
Class<? extends PostingIndex<?>> |
getStructureClass()
What is the structure class for this structure
|
String |
getStructureFileExtension()
What is the file extension for this structure.
|
Class<? extends Iterator<IterablePosting>> |
getStructureInputStreamClass()
What is the input stream class for this structure
|
static IntegerCodec |
loadCodec(String className) |
IntegerCodec |
loadCodecForType(String type) |
String |
toString() |
void |
writeIndexProperties(Index index,
String pointerSourceStreamStructureName)
Update the index's properties for this structure
|
protected void |
writeProperties(Properties p) |
public static IntegerCodec loadCodec(String className) throws Exception
Exception
public IntegerCodec loadCodecForType(String type) throws Exception
Exception
public AbstractPostingOutputStream getPostingOutputStream(String filename)
CompressionFactory.CompressionConfiguration
getPostingOutputStream
in class CompressionFactory.CompressionConfiguration
protected void writeProperties(Properties p)
public Class<? extends IterablePosting> getPostingIteratorClass()
CompressionFactory.CompressionConfiguration
getPostingIteratorClass
in class CompressionFactory.CompressionConfiguration
public Class<? extends PostingIndex<?>> getStructureClass()
CompressionFactory.CompressionConfiguration
getStructureClass
in class CompressionFactory.CompressionConfiguration
public Class<? extends Iterator<IterablePosting>> getStructureInputStreamClass()
CompressionFactory.CompressionConfiguration
getStructureInputStreamClass
in class CompressionFactory.CompressionConfiguration
public String getStructureFileExtension()
CompressionFactory.CompressionConfiguration
getStructureFileExtension
in class CompressionFactory.CompressionConfiguration
public void writeIndexProperties(Index index, String pointerSourceStreamStructureName)
CompressionFactory.CompressionConfiguration
writeIndexProperties
in class CompressionFactory.CompressionConfiguration
Terrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow