public static final class GryoReader.Builder extends Object implements GraphReader.ReaderBuilder<GryoReader>
Modifier and Type | Method and Description |
---|---|
GryoReader.Builder |
batchSize(long batchSize)
Number of mutations to perform before a commit is executed when using
GryoReader.readGraph(InputStream, Graph) . |
GryoReader |
create()
Creates the
GraphReader implementation given options provided to the GraphReader.ReaderBuilder
implementation. |
GryoReader.Builder |
mapper(GryoMapper gryoMapper)
Supply a mapper
GryoMapper instance to use as the serializer for the KryoWriter . |
public GryoReader.Builder batchSize(long batchSize)
GryoReader.readGraph(InputStream, Graph)
.public GryoReader.Builder mapper(GryoMapper gryoMapper)
GryoMapper
instance to use as the serializer for the KryoWriter
.public GryoReader create()
GraphReader.ReaderBuilder
GraphReader
implementation given options provided to the GraphReader.ReaderBuilder
implementation.create
in interface GraphReader.ReaderBuilder<GryoReader>
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.