public static class CompressionFactory.BitCompressionConfiguration extends CompressionFactory.CompressionConfiguration
blocks, fieldCount, fieldNames, structureName
Constructor and Description |
---|
CompressionFactory.BitCompressionConfiguration(String structureName,
String[] fieldNames,
boolean blocks) |
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
|
writeIndexProperties
public AbstractPostingOutputStream getPostingOutputStream(String filename)
CompressionFactory.CompressionConfiguration
getPostingOutputStream
in class CompressionFactory.CompressionConfiguration
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
Terrier 4.0. Copyright © 2004-2014 University of Glasgow