public interface ItemAccumulator
Modifier and Type | Method and Description |
---|---|
void |
addItem(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(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(Object item) throws IOException
item
- column cell valueIOException
uk.ac.bristol.star.feather.ColStat writeColumnBytes(OutputStream out) throws IOException
addItem
method.
The number of bytes written must be a multiple of 8.out
- destination streamIOException
void close() throws IOException
IOException
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.