public class VertexByteArrayInputStream
extends java.io.FilterInputStream
InputStream implementation that can independently process a Gremlin Kryo file written with
GraphWriter.writeVertices(java.io.OutputStream, com.tinkerpop.gremlin.process.Traversal).| Constructor and Description |
|---|
VertexByteArrayInputStream(java.io.InputStream inputStream) |
| Modifier and Type | Method and Description |
|---|---|
java.io.ByteArrayOutputStream |
readVertexBytes()
Read the bytes of the next
Vertex in the stream. |
public VertexByteArrayInputStream(java.io.InputStream inputStream)
public java.io.ByteArrayOutputStream readVertexBytes()
throws java.io.IOException
Vertex in the stream. The returned
stream can then be passed to KryoReader.readVertex(java.io.InputStream, java.util.function.Function).java.io.IOExceptionCopyright © 2013-2015 TinkerPop. All Rights Reserved.