Class GryoReader.Builder
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.structure.io.gryo.GryoReader.Builder
-
- All Implemented Interfaces:
GraphReader.ReaderBuilder<GryoReader>
- Enclosing class:
- GryoReader
public static final class GryoReader.Builder extends Object implements GraphReader.ReaderBuilder<GryoReader>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GryoReader.Builder
batchSize(long batchSize)
Number of mutations to perform before a commit is executed when usingGryoReader.readGraph(InputStream, Graph)
.GryoReader
create()
Creates theGraphReader
implementation given options provided to theGraphReader.ReaderBuilder
implementation.GryoReader.Builder
mapper(Mapper<org.apache.tinkerpop.shaded.kryo.Kryo> gryoMapper)
Supply a mapperGryoMapper
instance to use as the serializer for theKryoWriter
.
-
-
-
Method Detail
-
batchSize
public GryoReader.Builder batchSize(long batchSize)
Number of mutations to perform before a commit is executed when usingGryoReader.readGraph(InputStream, Graph)
.
-
mapper
public GryoReader.Builder mapper(Mapper<org.apache.tinkerpop.shaded.kryo.Kryo> gryoMapper)
Supply a mapperGryoMapper
instance to use as the serializer for theKryoWriter
.
-
create
public GryoReader create()
Description copied from interface:GraphReader.ReaderBuilder
Creates theGraphReader
implementation given options provided to theGraphReader.ReaderBuilder
implementation.- Specified by:
create
in interfaceGraphReader.ReaderBuilder<GryoReader>
-
-