public static final class GraphSONReader.Builder extends Object implements GraphReader.ReaderBuilder<GraphSONReader>
| Modifier and Type | Method and Description |
|---|---|
GraphSONReader.Builder |
batchSize(long batchSize)
Number of mutations to perform before a commit is executed when using
GraphSONReader.readGraph(InputStream, Graph). |
GraphSONReader |
create()
Creates the
GraphReader implementation given options provided to the GraphReader.ReaderBuilder
implementation. |
GraphSONReader.Builder |
mapper(GraphSONMapper mapper)
Override all of the
GraphSONMapper builder
options with this mapper. |
public GraphSONReader.Builder batchSize(long batchSize)
GraphSONReader.readGraph(InputStream, Graph).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()
GraphReader.ReaderBuilderGraphReader implementation given options provided to the GraphReader.ReaderBuilder
implementation.create in interface GraphReader.ReaderBuilder<GraphSONReader>Copyright © 2013–2015 Apache Software Foundation. All rights reserved.