public class ThickFastIn extends Object implements BarrelReader
| Modifier and Type | Field and Description |
|---|---|
String |
location
The directory where is the barrel stored.
|
| Constructor and Description |
|---|
ThickFastIn(String location) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the DB files.
|
SequenceWithClose<DocumentData> |
getDocuments()
Return an enumeration containing stored metadata of documents.
|
SequenceWithClose<IListReader> |
getILists()
Returns an enumeration of inverted lists.
|
long |
length()
Return the number of active (not deleted) documents.
|
void |
rewind()
Restart this BarrelReader so that the documents can be read again.
|
public String location
public ThickFastIn(String location) throws IOException
location - IOExceptionpublic SequenceWithClose<DocumentData> getDocuments()
getDocuments in interface BarrelReaderpublic SequenceWithClose<IListReader> getILists()
getILists in interface BarrelReaderpublic long length()
length in interface BarrelReaderpublic void close()
close in interface AutoCloseableclose in interface BarrelReaderpublic void rewind()
throws IOException
rewind in interface BarrelReaderIOExceptionCopyright © 2016 Egothor. All Rights Reserved.