|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.egothor.store.ThickBarrelOut
public class ThickBarrelOut
This object implements a barrel that writes its inverted lists to a single file. This class is a core implementation of a barrel writer.
Constructor Summary | |
---|---|
ThickBarrelOut(java.lang.String location)
Constructor for the ThickBarrelOut object. |
Method Summary | |
---|---|
void |
append(BarrelReader old)
Appends the given Barrel to this one. |
void |
appendIList(long max_len,
IListReader il)
Appends the given inverted list to this Barrel. |
void |
close()
Close this stream and mark resources for garbage collection. |
void |
saveDocument(long globalUID,
long localUID,
int revision)
|
void |
setListenBarrelWriter(ListenBarrelWriter listener)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThickBarrelOut(java.lang.String location) throws java.io.IOException
location
directory and initializes DB
files for metadata in that new directory. This constructor
allocates the inverted lists single file that is located in a
directory location
in a file with filename lists
location
- the directory to be created
java.io.IOException
- if the directory cannot be createdMethod Detail |
---|
public void setListenBarrelWriter(ListenBarrelWriter listener)
public void close()
close
in interface BarrelWriter
public void saveDocument(long globalUID, long localUID, int revision) throws java.io.IOException
java.io.IOException
public void append(BarrelReader old) throws java.io.IOException
append
in interface BarrelWriter
old
- the Barrel to add to this one
java.io.IOException
- if an I/O error occurspublic void appendIList(long max_len, IListReader il) throws java.io.IOException
remap
value.
max_len
- Description of the Parameteril
- the inverted list to add
java.io.IOException
- if an I/O error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |