Class VertexByteArrayInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.apache.tinkerpop.gremlin.structure.io.gryo.VertexByteArrayInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
An
InputStream implementation that can independently process a Gryo file written with
GryoWriter.writeVertices(OutputStream, Iterator).- Author:
- Stephen Mallette (http://stephen.genoprime.com)
-
Field Summary
Fields inherited from class java.io.FilterInputStream
in -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, read, read, reset, skipMethods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
VertexByteArrayInputStream
-
-
Method Details
-
readVertexBytes
Read the bytes of the nextVertexin the stream. The returned stream can then be passed toGryoReader.readVertex(java.io.InputStream, java.util.function.Function).- Throws:
IOException
-