Class GryoWriter.Builder
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.structure.io.gryo.GryoWriter.Builder
-
- All Implemented Interfaces:
GraphWriter.WriterBuilder<GryoWriter>
- Enclosing class:
- GryoWriter
public static final class GryoWriter.Builder extends Object implements GraphWriter.WriterBuilder<GryoWriter>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GryoWriter
create()
Create theGryoWriter
.GryoWriter.Builder
mapper(Mapper<org.apache.tinkerpop.shaded.kryo.Kryo> gryoMapper)
Supply a mapperGryoMapper
instance to use as the serializer for theKryoWriter
.
-
-
-
Method Detail
-
mapper
public GryoWriter.Builder mapper(Mapper<org.apache.tinkerpop.shaded.kryo.Kryo> gryoMapper)
Supply a mapperGryoMapper
instance to use as the serializer for theKryoWriter
.
-
create
public GryoWriter create()
Create theGryoWriter
.- Specified by:
create
in interfaceGraphWriter.WriterBuilder<GryoWriter>
-
-