public static class GraphSONReader.Builder extends Object
Modifier and Type | Method and Description |
---|---|
GraphSONReader.Builder |
batchSize(long batchSize)
Number of mutations to perform before a commit is executed.
|
GraphSONReader |
create() |
GraphSONReader.Builder |
edgeIdKey(String edgeIdKey)
The name of the key to supply to
BatchGraph.Builder.edgeIdKey when reading data into
the Graph . |
GraphSONReader.Builder |
mapper(GraphSONMapper mapper)
Override all of the
GraphSONMapper builder
options with this mapper. |
GraphSONReader.Builder |
vertexIdKey(String vertexIdKey)
The name of the key to supply to
BatchGraph.Builder.vertexIdKey when reading data into
the Graph . |
public GraphSONReader.Builder vertexIdKey(String vertexIdKey)
BatchGraph.Builder.vertexIdKey
when reading data into
the Graph
.public GraphSONReader.Builder edgeIdKey(String edgeIdKey)
BatchGraph.Builder.edgeIdKey
when reading data into
the Graph
.public GraphSONReader.Builder batchSize(long batchSize)
public GraphSONReader.Builder mapper(GraphSONMapper mapper)
GraphSONMapper
builder
options with this mapper. If this value is set to something other than null then that value will be
used to construct the writer.public GraphSONReader create()
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.