Package nz.org.riskscape.engine.io
Class DataInputStreamTupleReader
java.lang.Object
nz.org.riskscape.engine.io.DataInputStreamTupleReader
- All Implemented Interfaces:
Closeable
,AutoCloseable
,nz.org.riskscape.engine.io.TupleReader
public class DataInputStreamTupleReader
extends Object
implements nz.org.riskscape.engine.io.TupleReader, Closeable
TupleReader that uses Type
deserialization methods to read a tuple from an
InputStream
-
Constructor Details
-
DataInputStreamTupleReader
-
-
Method Details
-
read
public nz.org.riskscape.engine.Tuple read(nz.org.riskscape.engine.types.Struct type) throws IOException - Specified by:
read
in interfacenz.org.riskscape.engine.io.TupleReader
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-