public class IndexedStreamColumnStore extends Object implements ColumnStore
| Constructor and Description |
|---|
IndexedStreamColumnStore(Codec codec,
File dataFile,
File indexFile)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
acceptCell(Object value)
Writes a datum to this store.
|
ColumnReader |
createReader()
Returns an object that can provide random access to the
cells written to this store.
|
void |
endCells()
Signals that no more calls to
acceptCell will be made,
and that calls to createReader may be made. |
public IndexedStreamColumnStore(Codec codec, File dataFile, File indexFile) throws IOException
codec - encoder/decoder for the type of data stored in this
columndataFile - filename used for storing the data;
it is the caller's responsibility to clear this upindexFile - filename used for storing offset values;
it is the caller's responsibility to clear this upIOExceptionpublic void acceptCell(Object value) throws IOException
ColumnStoreacceptCell in interface ColumnStorevalue - the value to addIOExceptionpublic void endCells()
throws IOException
ColumnStoreacceptCell will be made,
and that calls to createReader may be made.endCells in interface ColumnStoreIOExceptionpublic ColumnReader createReader()
ColumnStorecreateReader in interface ColumnStoreCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.