|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.egothor.store.ThickBarrelOut
org.egothor.store.ThickBarrelSortedOut
public class ThickBarrelSortedOut
This object implements a barrel that writes its inverted lists to a single file. This class is a core implementation of a barrel writer with sorted inverted list by some criteria.
Constructor Summary | |
---|---|
ThickBarrelSortedOut(java.lang.String location,
IntegerArray rank)
|
Method Summary | |
---|---|
void |
append(BarrelReader old)
Appends the given Barrel to this one. |
void |
close()
Close this stream and mark resources for garbage collection. |
Methods inherited from class org.egothor.store.ThickBarrelOut |
---|
appendIList, saveDocument, setListenBarrelWriter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThickBarrelSortedOut(java.lang.String location, IntegerArray rank) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public void close()
close
in interface BarrelWriter
close
in class ThickBarrelOut
public void append(BarrelReader old) throws java.io.IOException
append
in interface BarrelWriter
append
in class ThickBarrelOut
old
- the Barrel to add to this one
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 |