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
- IOException
public SequenceWithClose<DocumentData> getDocuments()
getDocuments
in interface BarrelReader
public SequenceWithClose<IListReader> getILists()
getILists
in interface BarrelReader
public long length()
length
in interface BarrelReader
public void close()
close
in interface AutoCloseable
close
in interface BarrelReader
public void rewind() throws IOException
rewind
in interface BarrelReader
IOException
Copyright © 2016 Egothor. All Rights Reserved.