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(Mapper<Kryo> 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(Mapper<Kryo> 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–2021 Apache Software Foundation. All rights reserved.