Package nz.org.riskscape.engine.io
Interface TupleStorage
public interface TupleStorage
Generic, and slightly wip, interface for creating TupleReader
s and TupleWriter
s
-
Method Summary
-
Method Details
-
createTemporaryWriter
- Returns:
- a
TupleWriter
that is a temporary place to store tuples. So far required for paging large streams out of memory for sorting. Will be deleted sometime in the future. - Throws:
IOException
-
getReader
- Parameters:
writer
- the writer that we want to read tuples from- Returns:
- a
TupleReader
that will return tuples that were written to the givenTupleWriter
in the order they were written (FIFO). - Throws:
IOException
-