|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.egothor.store.ThickBarrelIn
public class ThickBarrelIn
The ThickBarrelIn object is a core implementation of a Barrel that has
document's metadata stored in Documents class and inverted list's
metadata in Terms. This object defines a Barrel that
stores its inverted lists in a single file.
| Field Summary | |
|---|---|
java.lang.String |
location
The directory where is the barrel stored. |
protected ProximitiesFileIn |
rf
|
| Constructor Summary | |
|---|---|
protected |
ThickBarrelIn(java.lang.String location,
Bitmap map,
Documents docs,
Terms terms)
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public java.lang.String location
protected ProximitiesFileIn rf
| Constructor Detail |
|---|
protected ThickBarrelIn(java.lang.String location,
Bitmap map,
Documents docs,
Terms terms)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public 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 BarrelReader
public void rewind()
throws java.io.IOException
rewind in interface BarrelReaderjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||