Package uk.org.ogsadai.tuple.serialise

Examples of uk.org.ogsadai.tuple.serialise.TupleInputStream


    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)
        {
View Full Code Here

TOP

Related Classes of uk.org.ogsadai.tuple.serialise.TupleInputStream

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.