org.apache.tinkerpop.gremlin.structure.io.gryo

## 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 and Description
    --- | ---
    `GryoWriter` | `create()` Create the `GryoWriter`.
    `GryoWriter.Builder` | `mapper(Mapper<org.apache.tinkerpop.shaded.kryo.Kryo> gryoMapper)` Supply a mapper `GryoMapper` instance to use as the serializer for the `KryoWriter`.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### mapper

          public GryoWriter.Builder mapper(Mapper<org.apache.tinkerpop.shaded.kryo.Kryo> gryoMapper)

      Supply a mapper `GryoMapper` instance to use as the serializer for the `KryoWriter`.

    - #### create

          public GryoWriter create()

      Create the `GryoWriter`.
      Specified by:
        `create` in interface `GraphWriter.WriterBuilder<GryoWriter>`

Copyright © 2013–2018 Apache Software Foundation. All rights reserved.