public static class KryoReader.Builder
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
KryoReader.Builder |
batchSize(long batchSize)
Set the size between commits when reading into the
Graph instance. |
KryoReader |
create() |
KryoReader.Builder |
edgeIdKey(java.lang.String edgeIdKey)
The name of the key to supply to
BatchGraph.Builder.edgeIdKey when reading data into
the Graph. |
KryoReader.Builder |
mapper(KryoMapper kryoMapper)
Supply a mapper
KryoMapper instance to use as the serializer for the KryoWriter. |
KryoReader.Builder |
vertexIdKey(java.lang.String vertexIdKey)
The name of the key to supply to
BatchGraph.Builder.vertexIdKey when reading data into
the Graph. |
KryoReader.Builder |
workingDirectory(java.lang.String workingDirectory)
The reader requires a working directory to write temp files to.
|
public KryoReader.Builder batchSize(long batchSize)
Graph instance. This value defaults to
BatchGraph.DEFAULT_BUFFER_SIZE.public KryoReader.Builder mapper(KryoMapper kryoMapper)
KryoMapper instance to use as the serializer for the KryoWriter.public KryoReader.Builder vertexIdKey(java.lang.String vertexIdKey)
BatchGraph.Builder.vertexIdKey when reading data into
the Graph.public KryoReader.Builder edgeIdKey(java.lang.String edgeIdKey)
BatchGraph.Builder.edgeIdKey when reading data into
the Graph.public KryoReader.Builder workingDirectory(java.lang.String workingDirectory)
public KryoReader create()
Copyright © 2013-2015 TinkerPop. All Rights Reserved.