public class IndexedStreamColumnStore extends java.lang.Object implements ColumnStore
| Constructor and Description | 
|---|
IndexedStreamColumnStore(Codec codec,
                        java.io.File dataFile,
                        java.io.File indexFile)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
acceptCell(java.lang.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, java.io.File dataFile, java.io.File indexFile) throws java.io.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 upjava.io.IOExceptionpublic void acceptCell(java.lang.Object value)
                throws java.io.IOException
ColumnStoreacceptCell in interface ColumnStorevalue - the value to addjava.io.IOExceptionpublic void endCells()
              throws java.io.IOException
ColumnStoreacceptCell will be made,
 and that calls to createReader may be made.endCells in interface ColumnStorejava.io.IOExceptionpublic ColumnReader createReader()
ColumnStorecreateReader in interface ColumnStore