org.apache.tinkerpop.gremlin.structure.io.graphson

## Class LegacyGraphSONReader.Builder

- java.lang.Object
- - org.apache.tinkerpop.gremlin.structure.io.graphson.LegacyGraphSONReader.Builder

- Enclosing class:
    LegacyGraphSONReader

      public static final class LegacyGraphSONReader.Builder
      extends Object

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `LegacyGraphSONReader.Builder` | `addCustomModule(SimpleModule custom)` Supply a mapper module for serialization/deserialization.
    `LegacyGraphSONReader.Builder` | `batchSize(long batchSize)` Number of mutations to perform before a commit is executed.
    `LegacyGraphSONReader` | `create()`
    `LegacyGraphSONReader.Builder` | `loadCustomModules(boolean loadCustomModules)` Try to load `SimpleModule` instances from the current classpath.

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

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

- - ### Method Detail

    - #### addCustomModule

          public LegacyGraphSONReader.Builder addCustomModule(SimpleModule custom)

      Supply a mapper module for serialization/deserialization.

    - #### loadCustomModules

          public LegacyGraphSONReader.Builder loadCustomModules(boolean loadCustomModules)

      Try to load `SimpleModule` instances from the current classpath. These are loaded in addition to the one supplied to the `addCustomModule(SimpleModule)`;

    - #### batchSize

          public LegacyGraphSONReader.Builder batchSize(long batchSize)

      Number of mutations to perform before a commit is executed.

    - #### create

          public LegacyGraphSONReader create()

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