public abstract static class CompressionFactory.CompressionConfiguration extends Object
| Modifier and Type | Field and Description | 
|---|---|
| protected int | fieldCount | 
| protected String[] | fieldNames | 
| protected int | hasBlocks | 
| protected int | maxBlocks | 
| protected String | structureName | 
| Constructor and Description | 
|---|
| CompressionFactory.CompressionConfiguration(String structureName,
                                           String[] fieldNames,
                                           int hasBlocks,
                                           int maxBlocks) | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract Class<? extends IterablePosting> | getPostingIteratorClass()What is the posting iterator class for this structure | 
| abstract AbstractPostingOutputStream | getPostingOutputStream(String filename)Write a file of postings to the given location | 
| abstract Class<? extends PostingIndex<?>> | getStructureClass()What is the structure class for this structure | 
| abstract String | getStructureFileExtension()What is the file extension for this structure. | 
| abstract Class<? extends Iterator<IterablePosting>> | getStructureInputStreamClass()What is the input stream class for this structure | 
| void | writeIndexProperties(Index index,
                    String pointerSourceStream)Update the index's properties for this structure | 
protected int fieldCount
protected String[] fieldNames
protected int hasBlocks
protected int maxBlocks
protected String structureName
public abstract AbstractPostingOutputStream getPostingOutputStream(String filename)
public abstract Class<? extends IterablePosting> getPostingIteratorClass()
public abstract Class<? extends PostingIndex<?>> getStructureClass()
public abstract Class<? extends Iterator<IterablePosting>> getStructureInputStreamClass()
public abstract String getStructureFileExtension()
Terrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow