org.apache.tinkerpop.gremlin.structure.util.star

## Class StarGraphGryoSerializer

- java.lang.Object
- - org.apache.tinkerpop.shaded.kryo.Serializer<T>
  - - org.apache.tinkerpop.gremlin.structure.io.gryo.kryoshim.shaded.ShadedSerializerAdapter<StarGraph>
    - - org.apache.tinkerpop.gremlin.structure.util.star.StarGraphGryoSerializer

-     public final class StarGraphGryoSerializer
      extends ShadedSerializerAdapter<StarGraph>

  A wrapper for `StarGraphSerializer` that makes it compatible with TinkerPop's shaded Kryo.
  Author:
    Marko A. Rodriguez (http://markorodriguez.com), Stephen Mallette (http://stephen.genoprime.com)

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static StarGraphGryoSerializer` | `with(Direction direction)` Gets a serializer from the cache.
    `static StarGraphGryoSerializer` | `withGraphFilter(GraphFilter graphFilter)`

    - ### Methods inherited from class org.apache.tinkerpop.gremlin.structure.io.gryo.kryoshim.shaded.ShadedSerializerAdapter

      `getSerializerShim, read, write`

    - ### Methods inherited from class org.apache.tinkerpop.shaded.kryo.Serializer

      `copy, getAcceptsNull, isImmutable, setAcceptsNull, setGenerics, setImmutable`

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

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

- - ### Method Detail

    - #### with

          public static StarGraphGryoSerializer with(Direction direction)

      Gets a serializer from the cache. Use `null` for the direction when requiring a serializer that doesn't serialize the edges of a vertex.

    - #### withGraphFilter

          public static StarGraphGryoSerializer withGraphFilter(GraphFilter graphFilter)

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