public class ConcatListReader extends ConcatLists
| Constructor and Description |
|---|
ConcatListReader(int max_len,
String term)
Constructor for the ConcatListReader object
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(long off,
IListReader ilr)
Add the given inverted list at the given position in this
ConcatListReader.
|
void |
close()
Close the IListReaders and mark for garbage collection.
|
IListItem |
cursor() |
long |
getPostings()
Return the number of postings.
|
void |
switchContext()
Description of the Method
|
public ConcatListReader(int max_len,
String term)
max_len - the initial lengthterm - the termpublic long getPostings()
getPostings in interface IListReadergetPostings in class ConcatListspublic void add(long off,
IListReader ilr)
off - where to addilr - the inverted list to addpublic void switchContext()
switchContext in class ConcatListspublic IListItem cursor()
public void close()
close in interface AutoCloseableclose in interface IListReaderclose in class ConcatListsCopyright © 2016 Egothor. All Rights Reserved.