public class TermsFastWriter extends Object
Constructor and Description |
---|
TermsFastWriter(String location)
Constructor for the TermsFastWriter object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addElement(IListMetadataWrite obj)
Appends the given element with the given key to the structure.
|
void |
close()
Flush all open buffers and close the files of the data structure.
|
public TermsFastWriter(String location) throws IOException
location
- the directory to store the data
structure inIOException
- if an I/O error occurspublic boolean addElement(IListMetadataWrite obj)
obj
- the element.public void close()
Copyright © 2016 Egothor. All Rights Reserved.