public interface ItemAccumulator
Modifier and Type | Method and Description |
---|---|
void |
addItem(java.lang.Object item)
Receive the next value in the column.
|
void |
close()
Tidies up resources, in particular discarding any off-heap
temporary storage that may have been allocated.
|
uk.ac.bristol.star.feather.ColStat |
writeColumnBytes(java.io.OutputStream out)
Writes a feather-format column to the given output stream
representing all the objects submitted by prior valls to
the
addItem method. |
void addItem(java.lang.Object item) throws java.io.IOException
item
- column cell valuejava.io.IOException
uk.ac.bristol.star.feather.ColStat writeColumnBytes(java.io.OutputStream out) throws java.io.IOException
addItem
method.
The number of bytes written must be a multiple of 8.out
- destination streamjava.io.IOException
void close() throws java.io.IOException
java.io.IOException