public class ThickFastOut extends Object implements BarrelWriter
Constructor and Description |
---|
ThickFastOut(String location)
Constructor for the ThickBarrelOut object.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public ThickFastOut(String location) throws 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 createdIOException
- if the directory cannot be createdpublic void close()
close
in interface AutoCloseable
close
in interface BarrelWriter
public void append(BarrelReader old) throws IOException
append
in interface BarrelWriter
old
- the Barrel to add to this oneIOException
- if an I/O error occurspublic void appendIList(long max_len, IListReader il) throws IOException
remap
value.max_len
- Description of the Parameteril
- the inverted list to addIOException
- if an I/O error occursCopyright © 2016 Egothor. All Rights Reserved.