public abstract static class CompressionFactory.CompressionConfiguration extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
blocks |
protected int |
fieldCount |
protected String[] |
fieldNames |
protected String |
structureName |
Constructor and Description |
---|
CompressionFactory.CompressionConfiguration(String structureName,
String[] fieldNames,
boolean blocks) |
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 boolean blocks
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 4.0. Copyright © 2004-2014 University of Glasgow