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
Modifier and TypeMethodDescriptionbatchSize(long batchSize) Number of mutations to perform before a commit is executed when usingGryoReader.readGraph(InputStream, Graph).create()Creates theGraphReaderimplementation given options provided to theGraphReader.ReaderBuilderimplementation.Supply a mapperGryoMapperinstance to use as the serializer for theKryoWriter.
-
Method Details
-
batchSize
Number of mutations to perform before a commit is executed when usingGryoReader.readGraph(InputStream, Graph). -
mapper
Supply a mapperGryoMapperinstance to use as the serializer for theKryoWriter. -
create
Description copied from interface:GraphReader.ReaderBuilderCreates theGraphReaderimplementation given options provided to theGraphReader.ReaderBuilderimplementation.- Specified by:
createin interfaceGraphReader.ReaderBuilder<GryoReader>
-