public void deserialise(InputStream input, BlockWriter writer)
throws PipeClosedException, PipeIOException, PipeTerminatedException
{
try
{
TupleInputStream tuples = new TupleInputStream(input);
writer.write(new MetadataWrapper(tuples.readTupleMetadata()));
while (true)
{
Tuple tuple = tuples.readTuple();
writer.write(tuple);
}
}
catch (EOFException e)
{